Skip to content

Instantly share code, notes, and snippets.

@bstrie
Created February 10, 2012 05:15
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 bstrie/1786879 to your computer and use it in GitHub Desktop.
Save bstrie/1786879 to your computer and use it in GitHub Desktop.
Rust unexpected failure backtrace
$ RUST_LOG=rustc=0,::rt::backtrace rustc .rustic.scratch.rs
rust: "parse_buf(): buf is empty"
rust: upcall fail 'explicit failure', src/libcore/u64.rs:118
/usr/local/bin/../lib/librustrt.so(_ZN9rust_task4failEv+0x25)[0x7ffed3e1d5f5]
/usr/local/bin/../lib/librustrt.so(+0x2cd39)[0x7ffed3e30d39]
/usr/local/bin/../lib/librustrt.so(upcall_fail+0x39)[0x7ffed3e20ad9]
/usr/local/bin/../lib/libcore-14bd852465126fe7-0.1.so(_ZN3u648from_str17_2c4beb2ad58728b6E+0x1bd)[0x7ffed49be7dd]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6syntax5parse5lexer11scan_number17_65325a3305b5b6dfE+0x9b4)[0x7ffed421ecb4]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6syntax5parse5lexer16next_token_inner17_dead4c7f3aca7ac9E+0xac)[0x7ffed421f29c]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6syntax5parse5lexer10next_token17_806c2ab64b9237bbE+0xc7)[0x7ffed421f1b7]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6syntax5parse6parser12parser10924910look_ahead17_f9162b79a8bdb87eE+0x80)[0x7ffed4224020]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6syntax5parse6parser10parse_path17_bc168af0f21a1e1eE+0x103)[0x7ffed422cd23]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6syntax5parse6parser30parse_path_and_ty_param_substs17_2f60c2bc27db6b8bE+0x5e)[0x7ffed422d03e]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6syntax5parse6parser17parse_bottom_expr17_5b433bf7b272acfaE+0x2c35)[0x7ffed4230945]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(+0x2f1208)[0x7ffed4356208]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6syntax5parse6parser22parse_dot_or_call_expr17_5b433bf7b272acfaE+0x3f)[0x7ffed423149f]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6syntax5parse6parser17parse_prefix_expr17_5b433bf7b272acfaE+0x7fa)[0x7ffed4232a7a]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6syntax5parse6parser12parse_binops17_1577c2ab14bcc816E+0x3f)[0x7ffed423315f]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6syntax5parse6parser13parse_ternary17_1577c2ab14bcc816E+0x4a)[0x7ffed4232b3a]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6syntax5parse6parser17parse_assign_expr17_1577c2ab14bcc816E+0x53)[0x7ffed42337a3]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6syntax5parse6parser14parse_expr_res17_47ce9c2382248bb0E+0x54)[0x7ffed4236fb4]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6syntax5parse6parser17parse_bottom_expr17_5b433bf7b272acfaE+0x22cb)[0x7ffed422ffdb]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(+0x2f1208)[0x7ffed4356208]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6syntax5parse6parser22parse_dot_or_call_expr17_5b433bf7b272acfaE+0x3f)[0x7ffed423149f]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6syntax5parse6parser17parse_prefix_expr17_5b433bf7b272acfaE+0x7fa)[0x7ffed4232a7a]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6syntax5parse6parser12parse_binops17_1577c2ab14bcc816E+0x3f)[0x7ffed423315f]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6syntax5parse6parser13parse_ternary17_1577c2ab14bcc816E+0x4a)[0x7ffed4232b3a]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6syntax5parse6parser17parse_assign_expr17_1577c2ab14bcc816E+0x53)[0x7ffed42337a3]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6syntax5parse6parser14parse_expr_res17_47ce9c2382248bb0E+0x54)[0x7ffed4236fb4]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6syntax5parse6parser10parse_stmt17_b3ae26517bc58cd4E+0xb64)[0x7ffed423a034]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6syntax5parse6parser17parse_block_tail_17_ea46a1215e8df2e0E+0x4b1)[0x7ffed423b401]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(+0x2f1208)[0x7ffed4356208]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6syntax5parse6parser27parse_inner_attrs_and_block17_cff7336863a63313E+0x42d)[0x7ffed423ac7d]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6syntax5parse6parser13parse_item_fn17_2e967e1616202eddE+0x88)[0x7ffed423d498]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6syntax5parse6parser10parse_item17_889a425cad940be8E+0x263)[0x7ffed4244373]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6syntax5parse6parser15parse_mod_items17_8f9026bdd7244582E+0x5ca)[0x7ffed423f8ba]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6syntax5parse6parser15parse_crate_mod17_e27a497315d320a2E+0xd5)[0x7ffed4248b85]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6syntax5parse6parser28parse_crate_from_source_file17_5639942c77863d88E+0x70)[0x7ffed4248850]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6syntax5parse6parser21parse_crate_from_file17_5639942c77863d88E+0x127)[0x7ffed424b527]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6driver6driver11parse_input17_d7d15bbb4d5dacb5E+0xc3)[0x7ffed42c52e3]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6driver6driver4time17_c4854a23efe304f2E+0x8c)[0x7ffed42c55bc]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6driver6driver12compile_upto17_8da1ec14ddae6aefE+0x1ab)[0x7ffed42c679b]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(+0x2f1208)[0x7ffed4356208]
/usr/local/bin/../lib/librustc-4171d83aef249987-0.1.so(_ZN6driver6driver13compile_input17_03cdf911eed72094E+0xc2)[0x7ffed42c84e2]
rustc[0x404ee6]
rustc[0x4076c8]
rustc[0x40720a]
rustc[0x406d0e]
/usr/local/bin/../lib/libcore-14bd852465126fe7-0.1.so(+0x3d9f2)[0x7ffed49e19f2]
/usr/local/bin/../lib/librustrt.so(task_start_wrapper+0x32)[0x7ffed3e1c812]
error: internal compiler error unexpected failure
note: The compiler hit an unexpected failure path. This is a bug. Try running with RUST_LOG=rustc=0,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues
rust: upcall fail 'explicit failure', src/comp/driver/rustc.rs:176
/usr/local/bin/../lib/librustrt.so(_ZN9rust_task4failEv+0x25)[0x7ffed3e1d5f5]
/usr/local/bin/../lib/librustrt.so(+0x2cd39)[0x7ffed3e30d39]
/usr/local/bin/../lib/librustrt.so(upcall_fail+0x39)[0x7ffed3e20ad9]
rustc[0x405292]
rustc[0x4054cc]
/usr/local/bin/../lib/librustrt.so(task_start_wrapper+0x32)[0x7ffed3e1c812]
rust: domain main @0x175a1e0 root task failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment