-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
FYI: highly selective segfault when linked against LLVM 3.4 #6369
Comments
I should say clearly: I'm not asking for help on this. I don't regard it as a problem. I'm not interested in deviating from the nominally supported build configs without good reason. I stumbled into this and share it FYI. |
We are fairly actively maintaining support against the LLVM trunk, so that should work and if it doesn't, Keno or I will fix it pretty quickly (I haven't pulled since ~1 week). However, I believe the plan is to skip 3.4 entirely. |
@ihnorton Cool. Let me know if you need more data. |
Also see this recent development which may get in the way of your investigation: #6371. It seems I was just unlucky enough to stumble onto this LLVM skew issue just before the deletion of StoredArray made things more interesting. UPDATE: Never mind this StoredArray side-issue... got fixed a few minutes ago. Issue with LLVM 3.4 remains. |
If this isn't reproducible with LLVM 3.5 pre then I'd suggest closing this "issue" -- just an FYI for anyone unlucky enough to use the system LLVM @ 3.4 |
FYI. I just confirmed that this segfault continues in the post-StoredArray era. Building I have not tested with any LLVM 3.5 pre and you'll get there before me anyway I expect. |
I can reproduce with today's LLVM-svn. On OS X it's a bus error; I think the ios may be getting closed prematurely. The callback is in Cairo.jl, for what it's worth. |
Confirmed: we are both seeing the same callback fail in Cairo. Thanks for
|
I was able to reproduce this a few days ago, but no longer. Not sure what may have fixed it. @cmundi can you confirm? |
Good question. I switched to
Well that's disappointing. I won't have much time to tinker before the weekend. But if I can just get a stable build I'll be happy to try again in about 24 hours. |
The
Now, mein Deutsch ist alt und schwach but I think that means someone's ISP thinks he was naughty. |
Yep. |
Hydra is back up. Switching to or adding a backup server is #6532. You may now return to your regularly scheduled issue. |
LOL. Thanks. I'll be someplace where I can do a build in about 12 hours.
|
I'm still seeing a bus error on LLVM-svn (849ca45/r206385) and julia c921451 with OS X, but I'm now missing the backtrace label in (what still looks like) the callback frame. Otherwise looks identical. |
In a quick test (recompile to use LLVM 3.4) I was not able to reproduce the crash. This was a clean build with LLVM 3.3 called out in Update & Correction The segfault still exists, with the same backtrace, in a perfectly clean build with LLVM 3.4. julia |
Closing as we're not planning to use LLVM 3.4, and will be forced to fix any issues around LLVM 3.5 very soon. |
Caveat for anyone interested in building Julia with LLVM 3.4
I stumbled onto this after accidentally building Julia against LLVM 3.4. Since then I've done clean experiments (gist here) to confirm that the effect is plausibly related to LLVM 3.4. Although I have isolated the call where the segfault occurs, I still suspect trouble may be starting downstack. I have made no effort to study Julia's io internals and have not found a less byzantine way to trigger this fault.
The text was updated successfully, but these errors were encountered: