-
-
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
recent crashes inside llvm-alloc-opt #23839
Comments
AFAICT this is a GCC 4.8 bug. I managed to reproduce this by running almost exactly the same code in almost exactly the same travis x86 environment and played it back and forth for a few hours in rr.... This is only reproducible with at least The particular failure I reproduce is cased by the line 0x2a445577 <+4911>: call 0x2a3327c0 <llvm::User::operator new(unsigned int, unsigned int)@plt>
0x2a44557c <+4916>: mov %eax,-0x16c(%ebp)
0x2a445582 <+4922>: mov -0x15c(%ebp),%edx
0x2a445588 <+4928>: mov %edx,0x10(%esp)
0x2a44558c <+4932>: lea -0x104(%ebp),%esi
0x2a445592 <+4938>: mov %esi,0xc(%esp)
0x2a445596 <+4942>: mov -0x160(%ebp),%ecx
0x2a44559c <+4948>: mov %ecx,0x8(%esp)
0x2a4455a0 <+4952>: mov %edi,0x4(%esp)
0x2a4455a4 <+4956>: mov %edi,(%esp)
0x2a4455a7 <+4959>: call 0x2a333960 <llvm::BitCastInst::BitCastInst(llvm::Value*, llvm::Type*, llvm::Twine const&, llvm::Instruction*)@plt> Note that the new operator call at operator new(...);
new (replace_i) BitCastInst(replace_i, cast_t, "", user); instead, which makes the new |
Damn, that's some find debugging. |
Seen in CI builds:
https://travis-ci.org/JuliaLang/julia/jobs/278782914 :
https://travis-ci.org/JuliaLang/julia/jobs/278783094 :
https://travis-ci.org/JuliaLang/julia/jobs/278786438 :
The text was updated successfully, but these errors were encountered: