-
Notifications
You must be signed in to change notification settings - Fork 78
Segmentation violation (reproducible) #19
Comments
Here's a reproducible test case without the docker requirements. Just clone the gist and run Seems to be lots of libraries/issues with a similar problem:
libgit2/git2go#373 |
@paulsmith from ianlancetaylor
|
I think that the package is correct, but in a usage outside of the package one should be aware of runtime.KeepAlive |
Ignore this comment. Go to the update.
I'm sorry that this is going to be very vague but we haven't had the time to investigate too much.
The gist is, we have some gogeos WKT processing that pretty consistently crashes with a
segmentation violation
when compiled using 1.8.1. The same doesn't happen with 1.7.3.The main diagnosis we tried was removing the concurrency, both with code changes and
GOMAXPROCS=1
and various GOGC settings. It still seemed to consistently crash with 1.8.1.We use a Dockerfile to compile the code to ensure that all the dependencies are stable between compilations.
One of the stacks:
The Dockerfile and build:
(the
main.go
in that gist obviously doesn't represent our code which we can't post and haven't had time to create a reproducible case to post)The text was updated successfully, but these errors were encountered: