-
Notifications
You must be signed in to change notification settings - Fork 15
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 running julialang/julia#3775 #22
Comments
Did not segfault for me on Kubuntu 12.04. Are you on OSX? If so, this is presumably the same as #14. |
Yes, I am on OS X, and I suspect it is the same thing. |
OK, closing. If you get evidence that this is somehow different, feel free to reopen. |
Sure. I just wanted it recorded here, so that it is yet another test case, if we do ever find a way to fix #14. I am hoping that @loladiro 's recent work on OS X backtraces might help. |
@timholy You might want to try if you can make this work for OS X: http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_sample.html . The basic implementation should be similar to my recent pull request against julia. If you need help figuring this out, feel free to ping me. |
There's also http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/thread_sample.html, which might actually be better in this case. |
Thanks @loladiro. I may give this a go at some point, though I'll need willing testers on the Mac. From another perspective, what's probably happening is that Profile is revealing a bug in Julia's backtraces. For what may be a separate problem, that eventually became clear in JuliaLang/julia#3469. So in a sense maybe it's better not to fix it by working around the problem specifically in Profile, but to focus our attention on the Julia side. |
I am happy to test! |
:-) |
It's interesting to walk the stack for this in gdb -- the frame before it faults has the instruction pointer off by one. I'm not sure how the |
I get a segfault running this from JuliaLang/julia#3775
The text was updated successfully, but these errors were encountered: