-
Notifications
You must be signed in to change notification settings - Fork 18k
runtime: bad pointer 0xc900000000 in unexpected span (dup #13160?) #13176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
CC @RLH @aclements See also #12157. |
I just tried running it using go 1.4.3 and it worked perfectly on the same machine. |
This issue has forced us to roll back building InfluxDB 0.9.5 with Go 1.5.1. We've reverted to Go 1.4.2 for the 0.9.5 release. We are quite disappointed the 0.9.5 release will not be able to use the improved GC. Hopefully we'll have more luck with 0.9.6. |
Any clues at how to reproduce this would be appreciated. You have already Is there any use of the unsafe package in the code? If not then the next step is to work on reproducing the problem. On Wed, Nov 11, 2015 at 6:53 PM, otoolep notifications@github.com wrote:
|
We don't have specific repro steps unfortunately. The problems were independently reported by two users in the InfluxDB community, who had their systems panic on them during normal usage, with this error. |
Given the number of zeroes in the bad pointer Also, if you need a workaround, set the GODEBUG=invalidptr=0 environment variable. (But obviously we'd like to fix this issue rather than work around it. :) |
@RLH No use of unsafe in my code. I am trying to find the exact input that would make it crash (though this might be gigs of data). @aclements Will try and update on results. Thanks! |
@fluhus, it's most likely not a particular input that makes it crash. The underlying bug is a concurrency issue between the garbage collector and copying/zeroing structures that have a pointer field at the end, so you just have to be unlucky. Thanks for working on reproducing it! |
I would try Austin's suggestions before working on a repo.... On Thu, Nov 12, 2015 at 1:14 PM, Amit Lavon notifications@github.com
|
Would reducing GOGC below 100 increase the chance of reproducing the issue ? On Fri, Nov 13, 2015 at 5:31 AM, Austin Clements notifications@github.com
|
Hmm. Probably, though I don't have an intuition for how much. Of course, if you set it too low it may perturb things enough to make the failure less likely. |
I'm almost certain this is a duplicate of #13160, for the reasons Austin gives (low zeros in pointer). |
Closing as duplicate of #13160. |
I am getting this mysterious error message after my program runs for 2-3 hours (full stack trace below). The program runs on tons of data as a part of my academic research, so unfortunately I can't provide the data for you to reproduce it.
The code is here:
https://github.com/fluhus/prices/tree/master/src/items2
(sorry for scrappiness; It's in the middle of a rework)
More info
Let me know if you need additional information.
Thanks a lot!
The text was updated successfully, but these errors were encountered: