-
-
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
Unreachable reached/illegal instruction by generating instances of random concrete types #37630
Comments
Trying to get an rr trace on master was a little... challenging.. but it did crash there as well.
|
I've got a trace from 1.5.1 (same machine as before, the IvyBridge Xeon) now. https://s3.amazonaws.com/julialang-dumps/reports/2020-09-17T16-22-11-Seelengrab.tar.zst This one should actually include the crash. |
MWE from that particular rr trace:
edit: or more precisely:
|
Wow, that's amazing! Without rr, this would have been very hard to debug, I imagine. Let's hope that this is the only one :D |
Not too bad without it, all I did was print the backtrace frame ( |
Well, without rr I certainly wouldn't have been able to give you the opportunity for a traced backtrace 😅 If this fixes the issue, I'm happy :) |
The fields are not accessible, so it is awkward to report they exist. Fixes JuliaLang#37630 Caused issues starting with JuliaLang#34804
Hi!
The code for generating crashes can be found in this gist. Simply include that and run
generate(Any)
to (non-deterministically, sadly) crash julia with something similar to this (with varying degrees of depth, depending on how deep thegenerate
rabbit hole goes):The machine this specific crash was generated on looked like this:
but I could also create the crash on this:
as well as this:
but not on this:
, where the julia process never seemed to crash but instead seemed to be stuck in an infinite loop.
The command that was run was basically
julia -e 'include("unreachablereached.jl"); while true; generate(Any); end'
(in order to ensure that it crashed, at least at some point), but even just runninggenerate(Any)
with that file included seemed to result in an endless loop/crash.The machine with the IvyBridge Xeon CPU also was helpful in that I could create an rr trace with it, but the first one I made was wrong so I'll make a new one.
Anyhow, I hope I'm not doing something monumentally stupid in my code, I'd really like it if this could work 😅
I haven't tested master yet, but I plan to do that next.
The text was updated successfully, but these errors were encountered: