{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/36122","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/36122/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/36122/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/36122/events","html_url":"https://github.com/rust-lang/rust/issues/36122","id":173891272,"number":36122,"title":"ICE when accessing externed DST","user":{"login":"JustAPerson","id":789308,"avatar_url":"https://avatars1.githubusercontent.com/u/789308?v=4","gravatar_id":"","url":"https://api.github.com/users/JustAPerson","html_url":"https://github.com/JustAPerson","followers_url":"https://api.github.com/users/JustAPerson/followers","following_url":"https://api.github.com/users/JustAPerson/following{/other_user}","gists_url":"https://api.github.com/users/JustAPerson/gists{/gist_id}","starred_url":"https://api.github.com/users/JustAPerson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustAPerson/subscriptions","organizations_url":"https://api.github.com/users/JustAPerson/orgs","repos_url":"https://api.github.com/users/JustAPerson/repos","events_url":"https://api.github.com/users/JustAPerson/events{/privacy}","received_events_url":"https://api.github.com/users/JustAPerson/received_events","type":"User","site_admin":false},"labels":[{"id":650731663,"url":"https://api.github.com/repos/rust-lang/rust/labels/C-bug","name":"C-bug","color":"f5f1fd","default":false},{"id":9618520,"url":"https://api.github.com/repos/rust-lang/rust/labels/I-ICE","name":"I-ICE","color":"e10c02","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-29T22:50:03Z","updated_at":"2018-03-18T14:10:16Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I realize it's kinda nonsensical, but here:\n\n``` rust\nfn main() {\n    extern {\n        static symbol: [usize];\n    }\n    println!(\"{}\", symbol[0]);\n}\n```\n\n```\nthread 'rustc' panicked at 'assertion failed: self.llextra != ptr::null_mut()', ../src/librustc_trans/mir/lvalue.rs:64\nstack backtrace:\n   1:     0x7f8aedf3eb13 - std::sys::backtrace::tracing::imp::write::h46f28e67d38b4637\n   2:     0x7f8aedf4f40d - std::panicking::default_hook::{{closure}}::h1d3243f546573ff4\n   3:     0x7f8aedf4d95d - std::panicking::default_hook::h96c288d728df3ebf\n   4:     0x7f8aedf4e058 - std::panicking::rust_panic_with_hook::hb1322e5f2588b4db\n   5:     0x7f8aed023f9f - std::panicking::begin_panic::h0914615a412ba184\n   6:     0x7f8aed0fd12b - rustc_trans::mir::lvalue::LvalueRef::len::h7704b2160ae8eef8\n   7:     0x7f8aed10216f - rustc_trans::mir::rvalue::<impl rustc_trans::mir::MirContext<'bcx, 'tcx>>::trans_rvalue_operand::hc6bf66aa2cc81d96\n   8:     0x7f8aed0ed8e4 - rustc_trans::mir::block::<impl rustc_trans::mir::MirContext<'bcx, 'tcx>>::trans_block::he2f6252e2877e76b\n   9:     0x7f8aed0eb438 - rustc_trans::mir::trans_mir::hc6963a43e5e7752b\n  10:     0x\n7f8aed08aeae - rustc_trans::base::trans_closure::h2174ffc103f3d309\n  11:     0x7f8aed10de82 - rustc_trans::trans_item::TransItem::define::h159a1f0a8708f3d3\n  12:     0x7f8aed08e3b3 - rustc_trans::base::trans_crate::hf067cf9d0a8bcbf2\n  13:     0x7f8aee308962 - rustc_driver::driver::phase_4_translate_to_llvm::he9d5d0022988d46e\n  14:     0x7f8aee3439a0 - rustc_driver::driver::compile_input::{{closure}}::h13e3af2358852a64\n  15:     0x7f8aee340450 - rustc_driver::driver::phase_3_run_analysis_passes::{{closure}}::h63e83c14f91c1ee5\n  16:     0x7f8aee286a5f - rustc::ty::context::TyCtxt::create_and_enter::h6d5dc8f8bc2765a0\n  17:     0x7f8aee2f7f64 - rustc_driver::driver::compile_input::h7dacd98cd2fd7d2b\n  18:     0x7f8aee31e05d - rustc_driver::run_compiler::h37c4294ab73436f7\n  19:     0x7f8aee25fbb3 - std::panicking::try::do_call::h4d040997e2efdaf3\n  20:     0x7f8aedf5d626 - __rust_maybe_catch_panic\n  21:     0x7f8aee27cf19 - <F as alloc::boxed::FnBox<A>>::call_box::hefd1c85fab3e6c31\n  22:     0x7f8aedf4be90 - std::sys::thread::Thread::new::thread_start::h5b631f48cd23f128\n  23:     0x7f8ae63b06f9 - start_thread\n  24:     0x7f8aedb8fb5c - clone\n  25:                0x0 - <unknown>\n```\n\n```\nrustc 1.13.0-nightly (acd3f796d 2016-08-28)\nbinary: rustc\ncommit-hash: acd3f796d26e9295db1eba1ef16e0d4cc3b96dd5\ncommit-date: 2016-08-28\nhost: x86_64-unknown-linux-gnu\nrelease: 1.13.0-nightly\n```\n"},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/374002202","html_url":"https://github.com/rust-lang/rust/issues/36122#issuecomment-374002202","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/36122","id":374002202,"user":{"login":"istankovic","id":1312091,"avatar_url":"https://avatars2.githubusercontent.com/u/1312091?v=4","gravatar_id":"","url":"https://api.github.com/users/istankovic","html_url":"https://github.com/istankovic","followers_url":"https://api.github.com/users/istankovic/followers","following_url":"https://api.github.com/users/istankovic/following{/other_user}","gists_url":"https://api.github.com/users/istankovic/gists{/gist_id}","starred_url":"https://api.github.com/users/istankovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/istankovic/subscriptions","organizations_url":"https://api.github.com/users/istankovic/orgs","repos_url":"https://api.github.com/users/istankovic/repos","events_url":"https://api.github.com/users/istankovic/events{/privacy}","received_events_url":"https://api.github.com/users/istankovic/received_events","type":"User","site_admin":false},"created_at":"2018-03-18T14:10:16Z","updated_at":"2018-03-18T14:10:16Z","author_association":"CONTRIBUTOR","body":"Still reproducible with `rustc 1.26.0-nightly (adf2135ad 2018-03-17)`."}}
{"actor":{"display_login":"istankovic"}}