Skip to content

'lookup_item: id not found: 7184' while building q3 #5862

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

Closed
seclorum opened this issue Apr 13, 2013 · 10 comments
Closed

'lookup_item: id not found: 7184' while building q3 #5862

seclorum opened this issue Apr 13, 2013 · 10 comments
Labels
I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

Comments

@seclorum
Copy link

While trying to build q3 from git://github.com/Jeaye/q3.git

w1x@w1x0-dev:~/hak/rust/q3$ RUST_LOG=rustc=1,::rt::backtrace make
rust: task failed at 'lookup_item: id not found: 7184', /home/w1x/hak/rust/rust-0.6/src/librustc/metadata/decoder.rs:91
/home/w1x/bin/../lib/librustrt.so(_ZN9rust_task13begin_failureEPKcS1_m+0x4b)[0x2af367d75ffb]
/home/w1x/bin/../lib/librustrt.so(+0x2aef9)[0x2af367d86ef9]
/home/w1x/bin/../lib/librustrt.so(upcall_fail+0x1b3)[0x2af367d77d93]
/home/w1x/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x10550b)[0x2af36616950b]
/home/w1x/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x1054b2)[0x2af3661694b2]
/home/w1x/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(_ZN3sys12begin_unwind17_61fe198059b9e3fc3_06E+0x71)[0x2af3660b1581]
/home/w1x/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8441fe)[0x2af36785a1fe]
/home/w1x/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN8metadata7decoder25get_method_names_if_trait16_ba57026bb43b2343_06E+0x5c)[0x2af36786589c]
/home/w1x/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN8metadata7csearch25get_method_names_if_trait17_d5b64d7f6d4879b23_06E+0xc9)[0x2af3673f8319]
/home/w1x/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle7resolve14__extensions__10meth_4361819handle_external_def15_da17ae231227133_06E+0x8ab)[0x2af3673f5f2b]
/home/w1x/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8b8fc4)[0x2af3678cefc4]
/home/w1x/bin/../lib/librustc-c84825241471686d-0.6.so(+0x3e3720)[0x2af3673f9720]
/home/w1x/bin/../lib/librustc-c84825241471686d-0.6.so(+0x849772)[0x2af36785f772]
/home/w1x/bin/../lib/libstd-4782a756585a81-0.6.so(_ZN4ebml6reader11tagged_docs17_dc1a836cb512bc9f3_06E+0xe6)[0x2af366652d36]
/home/w1x/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN8metadata7decoder9each_path17_5499d75c1ab14cc83_06E+0x17f)[0x2af36785f32f]
/home/w1x/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN8metadata7csearch9each_path17_e1e32cf11ae45a9e3_06E+0xe9)[0x2af3673f86a9]
/home/w1x/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle7resolve14__extensions__10meth_4358638build_reduced_graph_for_external_crate17_4edaf22381edc9c63_06E+0xb3)[0x2af3673f3483]
/home/w1x/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle7resolve14__extensions__10meth_4305633build_reduced_graph_for_view_item17_d568ae1024cd94323_06E+0x38e)[0x2af3673e2b5e]
/home/w1x/bin/../lib/librustc-c84825241471686d-0.6.so(+0x3cc76b)[0x2af3673e276b]
/home/w1x/bin/../lib/librustc-c84825241471686d-0.6.so(+0x3cd49a)[0x2af3673e349a]
/home/w1x/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle7resolve14__extensions__10meth_4267219build_reduced_graph15_c4de63b748e03d3_06E+0x870)[0x2af3673d5610]
/home/w1x/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle7resolve14__extensions__10meth_426707resolve15_c4de63b748e03d3_06E+0x33)[0x2af3673d4d23]
/home/w1x/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6middle7resolve13resolve_crate17_b9f7787e2dc6214f3_06E+0x81)[0x2af367441cb1]
/home/w1x/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6driver6driver12compile_rest17_b2b258b84b35f3533_06E+0xed3)[0x2af36788b343]
/home/w1x/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8b8fc4)[0x2af3678cefc4]
/home/w1x/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6driver6driver12compile_upto17_12335154b455986e3_06E+0x108)[0x2af367890998]
/home/w1x/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8b8fc4)[0x2af3678cefc4]
/home/w1x/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN6driver6driver13compile_input15_bb29edf7a232863_06E+0xca)[0x2af367890dda]
/home/w1x/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN12run_compiler17_64d52739a36d169c3_06E+0x20aa)[0x2af3678c045a]
/home/w1x/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8b6a91)[0x2af3678cca91]
/home/w1x/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8b32bc)[0x2af3678c92bc]
/home/w1x/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8b8fc4)[0x2af3678cefc4]
/home/w1x/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0xcdfbe)[0x2af366131fbe]
/home/w1x/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x14dbe4)[0x2af3661b1be4]
/home/w1x/bin/../lib/librustrt.so(_Z18task_start_wrapperP10spawn_args+0x24)[0x2af367d76844]
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=1,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues
rust: task failed at 'explicit failure', /home/w1x/hak/rust/rust-0.6/src/librustc/rustc.rc:357
/home/w1x/bin/../lib/librustrt.so(_ZN9rust_task13begin_failureEPKcS1_m+0x4b)[0x2af367d75ffb]
/home/w1x/bin/../lib/librustrt.so(+0x2aef9)[0x2af367d86ef9]
/home/w1x/bin/../lib/librustrt.so(upcall_fail+0x1b3)[0x2af367d77d93]
/home/w1x/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x10550b)[0x2af36616950b]
/home/w1x/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x1054b2)[0x2af3661694b2]
/home/w1x/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(_ZN3sys12begin_unwind17_61fe198059b9e3fc3_06E+0x71)[0x2af3660b1581]
/home/w1x/bin/../lib/libcore-c3ca5d77d81b46c1-0.6.so(+0x14dbe4)[0x2af3661b1be4]
/home/w1x/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN7monitor17_78935df9ff9e1afa3_06E+0x1577)[0x2af3678c2a87]
/home/w1x/bin/../lib/librustc-c84825241471686d-0.6.so(+0x8b8fc4)[0x2af3678cefc4]
/home/w1x/bin/../lib/librustc-c84825241471686d-0.6.so(_ZN4main15_c4de63b748e03d3_06E+0x7e)[0x2af3678cebde]
/home/w1x/bin/../lib/librustrt.so(_Z18task_start_wrapperP10spawn_args+0x24)[0x2af367d76844]
rust: domain main @0xfd63c0 root task failed
make: *** [all] Error 101

@jeaye
Copy link

jeaye commented May 11, 2013

I'm getting this on the latest incoming on Arch 32bit, but with a different ID. I definitely wasn't seeing this a month ago, like @seclorum, though. If I jump back to incoming as of last week or so, things work fine.

┌─[jeaye@darkstar]─[~/projects/q3][master]
└──╼ RUST_LOG=rustc=1,::rt::backtrace make
rust: task failed at 'lookup_item: id not found: 117681', /build/rust-incoming-git/src/rust/src/librustc/metadata/decoder.rs:90
/usr/lib/librustrt.so(_ZN9rust_task13begin_failureEPKcS1_j+0x54)[0xb5a88e74]
/usr/lib/librustrt.so(rust_task_fail+0x36)[0xb5a88f66]
/usr/lib/librustrt.so(_ZN9rust_task4failEPKcS1_j+0x32)[0xb5a88fd2]
/usr/lib/librustrt.so(upcall_s_fail+0x4d)[0xb5a8a66d]
/usr/lib/librustrt.so(+0x28e9f)[0xb5a9ae9f]
/usr/lib/librustrt.so(upcall_fail+0x16c)[0xb5a8af4c]
/usr/lib/librustrt.so(rust_upcall_fail+0x2b)[0xb5a8b08b]
/usr/lib/libcore-c3ca5d77d81b46c1-0.7-pre.so(_ZN3sys13begin_unwind_16_6b6e3a77a90bfa96_07preE+0x5b)[0xb7495ecb]
/usr/lib/libcore-c3ca5d77d81b46c1-0.7-pre.so(+0x118e6d)[0xb7495e6d]
/usr/lib/libcore-c3ca5d77d81b46c1-0.7-pre.so(_ZN3sys14__extensions__9meth_89299fail_with17_ac9eb45dc42bd6906_07preE+0x72)[0xb73ce2e2]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(+0xb0d2e7)[0xb65ce2e7]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN8metadata7decoder13get_item_path16_f94484f1912ef2e6_07preE+0xa0)[0xb65d9170]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN8metadata7csearch13get_item_path17_87d89d598913fcf16_07preE+0x1e0)[0xb5e23030]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle2ty9item_path17_87d89d598913fcf16_07preE+0xa7)[0xb5ba4c17]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle2ty13item_path_str17_ad70d353aa8066bd6_07preE+0x78)[0xb5b96328]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle2ty11ty_sort_str17_2af42e775db8317e6_07preE+0x15e)[0xb5f0ca7e]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle2ty15type_err_to_str16_a0592e81fb14d6e6_07preE+0x1239)[0xb5f0e139]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle6typeck5infer14__extensions__10meth_4787522type_error_message_str17_377032ebe333eb326_07preE+0xe4)[0xb600bce4]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle6typeck5infer14__extensions__10meth_5215018type_error_message17_fa33edb543c052aa6_07preE+0x112)[0xb60ec1e2]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle6typeck5infer14__extensions__10meth_4811523report_mismatched_types17_a4a4168fa844c3ad6_07preE+0x119)[0xb6017e79]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle6typeck5check14__extensions__10meth_5046723report_mismatched_types17_26f47bf049cbd5ac6_07preE+0xca)[0xb608724a]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle6typeck5check6demand6coerce17_34d7c7f227e25f266_07preE+0x313)[0xb6088053]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(+0x658a2d)[0xb6119a2d]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle6typeck5check23check_expr_with_unifier16_d7e24965bb6eaaf6_07preE+0x2282)[0xb60efab2]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle6typeck5check28check_expr_coercable_to_type16_ab04655a43e9c206_07preE+0xe5)[0xb6119805]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(+0x65b21c)[0xb611c21c]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(+0x211ba2)[0xb5cd2ba2]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(+0x65a7c8)[0xb611b7c8]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle6typeck5check23check_expr_with_unifier16_d7e24965bb6eaaf6_07preE+0x1fb44)[0xb610d374]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle6typeck5check28check_expr_coercable_to_type16_ab04655a43e9c206_07preE+0xe5)[0xb6119805]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle6typeck5check22check_decl_initializer17_e35cb3466a33c9d56_07preE+0x1ad)[0xb613251d]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle6typeck5check16check_decl_local16_4ad77bca0f983a36_07preE+0x8f9)[0xb6132fe9]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(+0x6748d0)[0xb61358d0]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(+0x13f72e)[0xb5c0072e]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle6typeck5check10check_stmt17_472117f9f63562326_07preE+0x2c4)[0xb61350c4]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(+0x674adc)[0xb6135adc]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(+0x13f72e)[0xb5c0072e]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle6typeck5check25check_block_with_expected15_a1de778623ccf96_07preE+0x3ff)[0xb60b316f]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle6typeck5check23check_expr_with_unifier16_d7e24965bb6eaaf6_07preE+0x7b62)[0xb60f5392]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle6typeck5check10check_expr17_1336c67c92bf53aa6_07preE+0xbe)[0xb6119f3e]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle6typeck5check10check_stmt17_472117f9f63562326_07preE+0x3a8)[0xb61351a8]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(+0x674adc)[0xb6135adc]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(+0x13f72e)[0xb5c0072e]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle6typeck5check25check_block_with_expected15_a1de778623ccf96_07preE+0x3ff)[0xb60b316f]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle6typeck5check23check_expr_with_unifier16_d7e24965bb6eaaf6_07preE+0x7b62)[0xb60f5392]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle6typeck5check19check_expr_has_type16_ab04655a43e9c206_07preE+0xe5)[0xb5ff7575]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle6typeck5check10check_stmt17_472117f9f63562326_07preE+0x122)[0xb6134f22]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(+0x674adc)[0xb6135adc]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(+0x13f72e)[0xb5c0072e]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle6typeck5check25check_block_with_expected15_a1de778623ccf96_07preE+0x3ff)[0xb60b316f]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle6typeck5check8check_fn17_4c17fcd219806da76_07preE+0x17e1)[0xb60b0d51]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle6typeck5check13check_bare_fn17_4e10c45e4c8a54656_07preE+0x22b)[0xb60aee6b]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle6typeck5check12check_method16_cdd254f1af7382f6_07preE+0x1ec)[0xb60bad4c]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(+0x602b19)[0xb60c3b19]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(+0x13f72e)[0xb5c0072e]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle6typeck5check10check_item16_6f359ffeb6cba8b6_07preE+0xf12)[0xb60ae852]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(+0x5ec726)[0xb60ad726]
/usr/lib/libsyntax-84efebcb12c867a2-0.7-pre.so(+0xf484e)[0xb6a2284e]
/usr/lib/libsyntax-84efebcb12c867a2-0.7-pre.so(+0xea34a)[0xb6a1834a]
/usr/lib/libsyntax-84efebcb12c867a2-0.7-pre.so(+0x5baae)[0xb6989aae]
/usr/lib/libsyntax-84efebcb12c867a2-0.7-pre.so(+0xf39a8)[0xb6a219a8]
/usr/lib/libsyntax-84efebcb12c867a2-0.7-pre.so(+0xf50bc)[0xb6a230bc]
/usr/lib/libsyntax-84efebcb12c867a2-0.7-pre.so(+0xea34a)[0xb6a1834a]
/usr/lib/libsyntax-84efebcb12c867a2-0.7-pre.so(+0x5baae)[0xb6989aae]
/usr/lib/libsyntax-84efebcb12c867a2-0.7-pre.so(+0xf39a8)[0xb6a219a8]
/usr/lib/libsyntax-84efebcb12c867a2-0.7-pre.so(+0xf50bc)[0xb6a230bc]
/usr/lib/libsyntax-84efebcb12c867a2-0.7-pre.so(+0xea34a)[0xb6a1834a]
/usr/lib/libsyntax-84efebcb12c867a2-0.7-pre.so(+0x5baae)[0xb6989aae]
/usr/lib/libsyntax-84efebcb12c867a2-0.7-pre.so(+0xf39a8)[0xb6a219a8]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(+0x2ceec7)[0xb5d8fec7]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle6typeck5check16check_item_types17_cd19776682e28deb6_07preE+0x321)[0xb60ad3c1]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(+0x7b2379)[0xb6273379]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(+0x7b2079)[0xb6273079]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6middle6typeck11check_crate17_c63048f2518b9ced6_07preE+0x2b2)[0xb626fc22]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6driver6driver12compile_rest16_c1de953e520c38c6_07preE+0x19d4)[0xb6609364]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6driver6driver12compile_upto16_63534919b42d4b56_07preE+0x1a4)[0xb6611634]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN6driver6driver13compile_input17_24f592c0a96269e66_07preE+0x154)[0xb6611c74]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN12run_compiler17_91176f6b8a4d83ae6_07preE+0x34ac)[0xb663f70c]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(+0xb93ad0)[0xb6654ad0]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(+0xb937e8)[0xb66547e8]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(+0xb90bb8)[0xb6651bb8]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(+0xb89d85)[0xb664ad85]
/usr/lib/libcore-c3ca5d77d81b46c1-0.7-pre.so(+0xde99f)[0xb745b99f]
/usr/lib/libcore-c3ca5d77d81b46c1-0.7-pre.so(+0x1661fc)[0xb74e31fc]
/usr/lib/librustrt.so(_Z18task_start_wrapperP10spawn_args+0x31)[0xb5a89921]
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=1,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues
rust: task failed at 'explicit failure', /build/rust-incoming-git/src/rust/src/librustc/rustc.rc:355
/usr/lib/librustrt.so(_ZN9rust_task13begin_failureEPKcS1_j+0x54)[0xb5a88e74]
/usr/lib/librustrt.so(rust_task_fail+0x36)[0xb5a88f66]
/usr/lib/librustrt.so(_ZN9rust_task4failEPKcS1_j+0x32)[0xb5a88fd2]
/usr/lib/librustrt.so(upcall_s_fail+0x4d)[0xb5a8a66d]
/usr/lib/librustrt.so(+0x28e9f)[0xb5a9ae9f]
/usr/lib/librustrt.so(upcall_fail+0x16c)[0xb5a8af4c]
/usr/lib/librustrt.so(rust_upcall_fail+0x2b)[0xb5a8b08b]
/usr/lib/libcore-c3ca5d77d81b46c1-0.7-pre.so(_ZN3sys13begin_unwind_16_6b6e3a77a90bfa96_07preE+0x5b)[0xb7495ecb]
/usr/lib/libcore-c3ca5d77d81b46c1-0.7-pre.so(+0x118f8d)[0xb7495f8d]
/usr/lib/libcore-c3ca5d77d81b46c1-0.7-pre.so(+0xb173f)[0xb742e73f]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN7monitor17_7c89c43af55f627f6_07preE+0x26e9)[0xb66433b9]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(+0xb93ad0)[0xb6654ad0]
/usr/lib/librustc-c84825241471686d-0.7-pre.so(_ZN4main15_c4de63b748e03d6_07preE+0x67)[0xb6654727]
rustc(_rust_main+0x31)[0x8048a01]
/usr/lib/librustrt.so(_Z18task_start_wrapperP10spawn_args+0x31)[0xb5a89921]
rust: domain main @0x8aaa7c8 root task failed
make: *** [debug] Error 101

@jeaye
Copy link

jeaye commented May 12, 2013

I found this was a side effect of glfw-rs, an external module, having been compiled with a previous version of Rust. I'll clarify, this ICE is due to an incompatibility with binaries compiled from an earlier (by no more than two weeks) version. After rebuilding my submodules, everything looks to be working again.

This means, for Q^3, remeber to ./configure whenever you've updated Rust.

@lilyball
Copy link
Contributor

I just had a similar error occur when I tried to build a crate that linked against a library compiled with a previous version of Rust (only a few days old).

@lilyball
Copy link
Contributor

Possibly the same thing as issue #5446.

@kmcallister
Copy link
Contributor

I got a similar error updating my Servo build today. I don't think the rustc version changed since I last built Servo. A full clean build works fine.

@alexcrichton
Copy link
Member

@jeaye is this still a problem for you? The possibly related issue that @kballard linked to has now been closed.

If not, could you post a code sample that reproduces the bug? The repository at git://github.com/Jeaye/q3.git no longer exists :(

@jeaye
Copy link

jeaye commented Sep 3, 2013

@alexcrichton, I'm no longer seeing this problem. There is, however, still an
incompatibility between rustc versions, but (I just tested now) it no
longer results in an ICE -- just a bunch of linker errors. I think it's
safe to mark this closed.

@alexcrichton
Copy link
Member

ok, thanks for looking into it! If any other issues arise though, feel free to open a new issue.

@sfackler
Copy link
Member

sfackler commented Sep 9, 2013

I just ran into this trying to compile https://github.com/sfackler/rust-sdl_ttf with version dd5c737 linking against https://github.com/brson/rust-sdl compiled with version 7f8ada9.

 ❯ env RUSTFLAGS="-L ../rust-sdl" RUST_LOG=rustc=1 make                                                                              [rust-sdl_ttf/master=]
rustc -L ../rust-sdl src/./ttf.rs -o libsdl_ttf.dummy
warning: ignoring specified output filename for library.
task <unnamed> failed at 'lookup_item: id not found: 89886', /build/rust-git/src/rust/src/librustc/metadata/decoder.rs:92
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=1 to get further details and report the results to github.com/mozilla/rust/issues
task <unnamed> failed at 'explicit failure', /build/rust-git/src/rust/src/librustc/rustc.rs:376

@jeaye
Copy link

jeaye commented Sep 9, 2013

@sfackler Be sure that rust-sdl was compiled with the same version of Rust as you're trying to compile rust-sdl_ttf. To be safe, recompile both each time you update Rust. Sad to see this ICE still exists though. @alexcrichton re-open this? :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Projects
None yet
Development

No branches or pull requests

6 participants