-
-
Notifications
You must be signed in to change notification settings - Fork 228
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
Segfault (when compiled with GDC) #109
Comments
Tough to judge, but taking into account how the std.net.curl interface works I'd say this is probably more of a Phobos bug than a DUB bug. Does it always occur or just sporadically? Which DMD version was used to compile DUB? |
Likely a bug in std.net.curl which is hidden in DMD because of NRVO. It's a rather nasty stack corruption issue, see http://forum.dlang.org/thread/[email protected] . I have a fix for std.net.curl which I'll send to phobos today and I'll probably backport it to gdc. It's not a dub bug though. |
Can anyone confirm that it works on GDC now? I've verified it for LDC, so it should also be fine for GDC. @jpf91 Thanks a lot for investigating this! |
With those changes it's working on GDC as well :-) |
(Sorry, this browser tag kind of got lost under a heap load of others) Thanks for the confirmation! |
Segfault leaving dub at source/dub/utils.d:100.
gdb run output below.
The text was updated successfully, but these errors were encountered: