{"action":"created","issue":{"url":"https://api.github.com/repos/servo/servo/issues/6560","labels_url":"https://api.github.com/repos/servo/servo/issues/6560/labels{/name}","comments_url":"https://api.github.com/repos/servo/servo/issues/6560/comments","events_url":"https://api.github.com/repos/servo/servo/issues/6560/events","html_url":"https://github.com/servo/servo/issues/6560","id":93152394,"number":6560,"title":"Panic in HTMLScriptElement::execute","user":{"login":"dzbarsky","id":1565842,"avatar_url":"https://avatars.githubusercontent.com/u/1565842?v=3","gravatar_id":"","url":"https://api.github.com/users/dzbarsky","html_url":"https://github.com/dzbarsky","followers_url":"https://api.github.com/users/dzbarsky/followers","following_url":"https://api.github.com/users/dzbarsky/following{/other_user}","gists_url":"https://api.github.com/users/dzbarsky/gists{/gist_id}","starred_url":"https://api.github.com/users/dzbarsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzbarsky/subscriptions","organizations_url":"https://api.github.com/users/dzbarsky/orgs","repos_url":"https://api.github.com/users/dzbarsky/repos","events_url":"https://api.github.com/users/dzbarsky/events{/privacy}","received_events_url":"https://api.github.com/users/dzbarsky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-05T22:31:29Z","updated_at":"2015-07-06T11:08:35Z","closed_at":null,"body":"This started happening today, so I guess it's due to a dependency update. \r\n\r\n```\r\n0:03.35 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"thread 'ScriptTask PipelineId(0)' panicked at 'assertion failed: *self.stack == mem::transmute(&*self)', /Users/dzbarsky/mozilla/servo/.cargo/git/checkouts/rust-mozjs-ebb4917e843c0a11/master/src/rust.rs:286\"\r\n 0:03.35 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"stack backtrace:\"\r\n 0:03.35 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"   1:        0x10da6a505 - sys::backtrace::write::he3deb85ec8e4ed0bVns\"\r\n 0:03.35 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"   2:        0x10da6dc73 - panicking::on_panic::h21c33173ec16d38c2Fw\"\r\n 0:03.36 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"   3:        0x10da5b632 - rt::unwind::begin_unwind_inner::h31480c30be70e77aeow\"\r\n 0:03.36 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"   4:        0x10bdc0e9c - rt::unwind::begin_unwind::h9812340742036291163\"\r\n 0:03.36 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"   5:        0x10be3cf55 - rust::Rooted<T>.Drop::drop::h3068231817485322291\"\r\n 0:03.36 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"   6:        0x10be3ce91 - js..jsapi..Rooted<js..jsapi..Value>::drop.98399::h5fc07437e8c21b0a\"\r\n 0:03.37 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"   7:        0x10c461a91 - dom::htmlscriptelement::_&'a HTMLScriptElement.HTMLScriptElementHelpers::execute::hcd87fa186851209bpoG\"\r\n 0:03.37 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"   8:        0x10c464841 - dom::htmlscriptelement::_&'a HTMLScriptElement.HTMLScriptElementHelpers::prepare::h65fb08976626d201RfG\"\r\n 0:03.37 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"   9:        0x10c4e165d - parse::html::servohtmlparser..Sink.TreeSink::complete_script::h1245ed93907b5232S3V\"\r\n 0:03.37 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  10:        0x10c4c617e - tree_builder::rules::super..TreeBuilder<Handle, Sink>.TreeBuilderStep::step::h10796864166137125107\"\r\n 0:03.38 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  11:        0x10c4af08e - tree_builder::TreeBuilder<Handle, Sink>::process_to_completion::h10801747369467102240\"\r\n 0:03.38 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  12:        0x10c4a9f79 - tree_builder::TreeBuilder<Handle, Sink>.TokenSink::process_token::h11242808500378188673\"\r\n 0:03.38 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  13:        0x10c4a8fa0 - tokenizer::Tokenizer<Sink>::process_token::h3999070574494572578\"\r\n 0:03.38 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  14:        0x10c4f4e25 - tokenizer::Tokenizer<Sink>::emit_current_tag::h2396751511550616765\"\r\n 0:03.38 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  15:        0x10c4ec116 - tokenizer::Tokenizer<Sink>::step::h10466039728177091039\"\r\n 0:03.38 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  16:        0x10c4e8f05 - tokenizer::Tokenizer<Sink>::run::h6814097636205892914\"\r\n 0:03.38 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  17:        0x10c50d127 - tokenizer::Tokenizer<Sink>::feed::h9289397564629001577\"\r\n 0:03.38 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  18:        0x10c4a355b - dom::servohtmlparser::_&'a ServoHTMLParser.PrivateServoHTMLParserHelpers::parse_sync::ha01628bd0966ce095eO\"\r\n 0:03.39 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  19:        0x10c46215f - dom::servohtmlparser::_&'a ServoHTMLParser.ServoHTMLParserHelpers::resume::h549ee706033bb54dHhO\"\r\n 0:03.39 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  20:        0x10c45fe33 - dom::htmlscriptelement::ScriptContext.AsyncResponseListener::response_complete::hafde6f4de9005436geG\"\r\n 0:03.39 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  21:        0x10d3abac2 - ResponseAction::process::hf16eeb88878ff2c3nxa\"\r\n 0:03.39 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  22:        0x10c4695ee - network_listener::ListenerRunnable<T>.Runnable::handler::h13307857005013675002\"\r\n 0:03.40 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  23:        0x10c60470f - script_task::ScriptTask::handle_msg_from_script::ha1290229d70ebaabThX\"\r\n 0:03.40 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  24:        0x10c60a514 - script_task::ScriptTask::handle_msgs::h9cc6fbcd28c75bf8J5W\"\r\n 0:03.40 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  25:        0x10c608971 - script_task::ScriptTask::start::h7586c179ae0a44c8z5W\"\r\n 0:03.40 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  26:        0x10b43a74b - script_task::ScriptTask.ScriptTaskFactory::create::closure.17658\"\r\n 0:03.42 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  27:        0x10b439e24 - task::spawn_named_with_send_on_failure::closure.17652\"\r\n 0:03.42 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  28:        0x10b439d44 - boxed::F.FnBox<A>::call_box::h10721316356645795148\"\r\n 0:03.42 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  29:        0x10b367a70 - boxed::Box<FnBox<A, Output $u3d$$u20$R$GT$$u2b$$u20$Send$u20$$u2b$$u20$$u27$a$GT$.FnOnce$LT$A$GT$::call_once::h3577640062854552606\"\r\n 0:03.43 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  30:        0x10b3674e2 - thread::Builder::spawn_inner::closure.11148\"\r\n 0:03.43 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  31:        0x10b36745e - rt::unwind::try::try_fn::__rust_abi::h16800799774934185075\"\r\n 0:03.43 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  32:        0x10b3673f9 - rt::unwind::try::try_fn::h16800799774934185075\"\r\n 0:03.44 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  33:        0x10da6f428 - rust_try_inner\"\r\n 0:03.44 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  34:        0x10da6f415 - rust_try\"\r\n 0:03.45 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  35:        0x10da68aa5 - rt::unwind::try::inner_try::h25d204b9a867a7067jw\"\r\n 0:03.45 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  36:        0x10b367358 - rt::unwind::try::h4984482456927847207\"\r\n 0:03.45 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  37:        0x10b367191 - thread::Builder::spawn_inner::closure.11097\"\r\n 0:03.46 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  38:        0x10b367d8d - boxed::F.FnBox<A>::call_box::h9718747548115631367\"\r\n 0:03.47 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  39:        0x10da6c3ed - sys::thread::Thread::new::thread_start::h7529cef3921faffbrIv\"\r\n 0:03.47 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  40:     0x7fff8f2c0267 - _pthread_body\"\r\n 0:03.47 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"  41:     0x7fff8f2c01e4 - _pthread_start\"\r\n 0:03.47 PROCESS_OUTPUT: Thread-TestrunnerManager-1 (pid:24806) \"thread panicked while panicking. aborting.\"\r\n 0:03.86 LOG: Thread-TestrunnerManager-2 WARNING u'runner_teardown' ()\r\n```"},"comment":{"url":"https://api.github.com/repos/servo/servo/issues/comments/118818985","html_url":"https://github.com/servo/servo/issues/6560#issuecomment-118818985","issue_url":"https://api.github.com/repos/servo/servo/issues/6560","id":118818985,"user":{"login":"Ms2ger","id":111161,"avatar_url":"https://avatars.githubusercontent.com/u/111161?v=3","gravatar_id":"","url":"https://api.github.com/users/Ms2ger","html_url":"https://github.com/Ms2ger","followers_url":"https://api.github.com/users/Ms2ger/followers","following_url":"https://api.github.com/users/Ms2ger/following{/other_user}","gists_url":"https://api.github.com/users/Ms2ger/gists{/gist_id}","starred_url":"https://api.github.com/users/Ms2ger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ms2ger/subscriptions","organizations_url":"https://api.github.com/users/Ms2ger/orgs","repos_url":"https://api.github.com/users/Ms2ger/repos","events_url":"https://api.github.com/users/Ms2ger/events{/privacy}","received_events_url":"https://api.github.com/users/Ms2ger/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T11:08:35Z","updated_at":"2015-07-06T11:08:35Z","body":"That's an issue with either moving `Rooted`s or out-of-order destruction. @michaelwu?"}}