Skip to content

Instantly share code, notes, and snippets.

@evanmcc
Created April 6, 2012 21:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evanmcc/2323230 to your computer and use it in GitHub Desktop.
Save evanmcc/2323230 to your computer and use it in GitHub Desktop.
rust jit exception bt
(gdb) run --cfg=ndebug --target=x86_64-unknown-linux-gnu -o x86_64-unknown-linux-gnu/test/rustctest.stage2-x86_64-unknown-linux-gnu src/rustc/rustc.rc --jit --test
Starting program: /home/evan/src/rust_jit/x86_64-unknown-linux-gnu/stage2/bin/rustc --cfg=ndebug --target=x86_64-unknown-linux-gnu -o x86_64-unknown-linux-gnu/test/rustctest.stage2-x86_64-unknown-linux-gnu src/rustc/rustc.rc --jit --test
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffff7fe5700 (LWP 31924)]
[New Thread 0x7ffff7fcc700 (LWP 31925)]
[New Thread 0x7ffff7fb3700 (LWP 31926)]
[New Thread 0x7ffff7f9a700 (LWP 31927)]
[New Thread 0x7ffff32c1700 (LWP 909)]
[New Thread 0x7ffff32a8700 (LWP 910)]
[New Thread 0x7ffff328f700 (LWP 911)]
[New Thread 0x7ffff3276700 (LWP 912)]
terminate called after throwing an instance of 'rust_task*'
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffff32c1700 (LWP 909)]
0x00007ffff595f3a5 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0 0x00007ffff595f3a5 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff5962b0b in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007ffff3b20d7d in __gnu_cxx::__verbose_terminate_handler() ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007ffff3b1ef26 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007ffff3b1ef53 in std::terminate() ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007ffff3b1f04e in __cxa_throw ()
from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00007ffff5ef503d in rust_task::fail (this=0x1b7e0510)
at ./src/rt/rust_task.cpp:269
#7 0x00007ffff5f078a9 in __morestack ()
from /home/evan/src/rust_jit/x86_64-unknown-linux-gnu/stage2/bin/../lib/librustrt.so
#8 0x00007ffff5ef7b0d in call_on_c_stack (fn_ptr=0x7ffff5ef7290,
args=0x164e6d10, this=0x1b7e0510) at ./src/rt/rust_task.h:323
#9 call_upcall_on_c_stack (fn_ptr=0x7ffff5ef7290, args=0x164e6d10)
at ./src/rt/rust_upcall.cpp:51
#10 upcall_fail (expr=<optimized out>, file=<optimized out>,
line=<optimized out>) at ./src/rt/rust_upcall.cpp:131
#11 0x00007ffff76be6e6 in vec::slice1875::_ab84d45a90ed11d8 ()
from /home/evan/src/rust_jit/x86_64-unknown-linux-gnu/stage2/bin/../lib/libstd-d399da1ab6f5bec0-0.2.so
#12 0x00007ffff76be657 in vec::tail1874::_ec10233fec76c728 ()
from /home/evan/src/rust_jit/x86_64-unknown-linux-gnu/stage2/bin/../lib/libstd-d399da1ab6f5bec0-0.2.so
#13 0x00007ffff76bc6b3 in test::parse_opts::_d33414ffdc782a6c ()
from /home/evan/src/rust_jit/x86_64-unknown-linux-gnu/stage2/bin/../lib/libstd-d399da1ab6f5bec0-0.2.so
#14 0x00007ffff76ca4e4 in __morestack ()
from /home/evan/src/rust_jit/x86_64-unknown-linux-gnu/stage2/bin/../lib/libstd-d399da1ab6f5bec0-0.2.so
#15 0x00007ffff76bc3e2 in test::test_main::_938cbc5ad8bceb7e ()
from /home/evan/src/rust_jit/x86_64-unknown-linux-gnu/stage2/bin/../lib/libstd-d399da1ab6f5bec0-0.2.so
#16 0x00007ffff3462104 in ?? ()
#17 0xcdcdcdcdcdcdcdcd in ?? ()
#18 0xcdcdcdcdcdcdcdcd in ?? ()
#19 0xcdcdcdcdcdcdcdcd in ?? ()
#20 0xcdcdcdcdcdcdcdcd in ?? ()
#21 0xcdcdcdcdcdcdcdcd in ?? ()
#22 0xcdcdcdcdcdcdcdcd in ?? ()
#23 0x000000001bc55420 in ?? ()
#24 0x000000000f998ba0 in ?? ()
#25 0xcdcdcdcdcdcdcdcd in ?? ()
#26 0xcdcdcdcdcdcdcdcd in ?? ()
#27 0x000000001bc55420 in ?? ()
#28 0x00007ffff34620a6 in ?? ()
#29 0x0000000000000000 in ?? ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment