-
Notifications
You must be signed in to change notification settings - Fork 43
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
Crash in Julia 1.5 and later #75
Comments
I did some debugging but I still don't know why that happens but it does offer some workarounds, i.e. setting I tried several configurations to get a better backtrace and could reproduce that crash only in some rather specific cases:
And with that
So far for today, maybe someone else wants to have a look again. |
@benlorenz thanks for that, that helps a lot. So perhaps we can just rebuild this with GCC 8 or 9. It may "just" be a compiler bug, after all. |
This may fix the crash reported here: <JuliaInterop/libcxxwrap-julia#75>
I made JuliaPackaging/Yggdrasil#2236 let's see if that helps |
That indeed seems to have fixed it, great! Now I guess the CI in this repository should be switched to use GCC 8+, too? |
Alright, great news that it works with the newer GCC, but I'm still quite nervous that this is a bug in libcxxwrap-julia. We'll see if it resurfaces elsewhere somehow, for now this seems like a good solution, thanks for the help! |
This may fix the crash reported here: <JuliaInterop/libcxxwrap-julia#75>
(This comes from comments on JuliaPackaging/Yggdrasil#2160 but I think it deserves its own full issue):
There are at least two issues with
libcxxwrap_julia_jll
v0.8.5 in Julia 1.5 and laterIt fails to load on macOS with error
Symbol not found: __Unwind_Resume
; this is addressed in libjulia 1.5: link LibOSXUnwind dynamically JuliaPackaging/Yggdrasil#2190 ; see also LibOSXUnwind: drop julia_compat JuliaPackaging/Yggdrasil#2199 andOn Linux there is a segfault; this segfault can also be seen on this repo in the nightly CI tests, which fail with the same error (the CI tests here only test with Julia 1.4 and nightly, it might be useful to also test 1.5 there?). This is a backtrace:
Applying
c++filt
to_ZN5jlcxx6detail11CallFunctorINS_10ConstArrayIdLl1EEEJEE5applyEPKv
givesjlcxx::detail::CallFunctor<jlcxx::ConstArray<double, 1l>>::apply(void const*)
.It might be helpful to attack this with
rr
, but my early attempts failed due to a lack of instructions, and then I had to work on other stuff.The text was updated successfully, but these errors were encountered: