Skip to content
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

"ScriptTask PipelineId" Panic #9001

Closed
gordonbrander opened this issue Dec 16, 2015 · 1 comment
Closed

"ScriptTask PipelineId" Panic #9001

gordonbrander opened this issue Dec 16, 2015 · 1 comment

Comments

@gordonbrander
Copy link

@gordonbrander gordonbrander commented Dec 16, 2015

I don't know if this panic has deterministic STR, but it happens fairly frequently. Here's how the panic below happened:

  1. Run https://github.com/mozilla/browser.html
  2. ./mach run -r -- -b --pref dom.mozbrowser.enabled http://localhost:6060
  3. Open http://interconnected.org
  4. Click a link.
thread 'ScriptTask PipelineId { namespace_id: PipelineNamespaceId(1), index: PipelineIndex(1) }' panicked at 'called `Option::unwrap()` on a `None` value', ../src/libcore/option.rs:367
stack backtrace:
[object Object]
[object Object]
[object Object]
   1:        0x11191e8a8 - sys::backtrace::tracing::imp::write::hca66179add43b2e5lLt
   2:        0x11192096f - panicking::log_panic::_<closure>::closure.40842
   3:        0x111920412 - panicking::log_panic::h7a04edac7e1f2797HEx
   4:        0x11190c226 - sys_common::unwind::begin_unwind_inner::h39a94087039ae0efnOs
   5:        0x11190c60e - sys_common::unwind::begin_unwind_fmt::h7be0824d83765cd5tNs
   6:        0x11191dec7 - rust_begin_unwind
   7:        0x111942fd0 - panicking::panic_fmt::h871c0ef100fda9e9LFK
   8:        0x1119432cc - panicking::panic::hbe2e3a5159c3d178iEK
   9:        0x110322bc2 - option::_<impl>::unwrap::unwrap::h8240992818544208912
  10:        0x1101f7144 - script_task::_<impl>::root_page::hd5dc72f81c3916a5NO2
  11:        0x110327107 - script_task::_<impl>::handle_event::h539bbd1736caf108iQ3
  12:        0x1103540d5 - script_task::_<impl>::handle_msg_from_constellation::hfecffd5c9226bbc7D02
  13:        0x110352a91 - script_task::_<impl>::handle_msgs::_<closure>::closure.162594
  14:        0x110352682 - script_task::_<impl>::profile_event::h14717905755339109898
[object Object]
[object Object]
[object Object]
  15:        0x1103252bd - script_task::_<impl>::handle_msgs::h8c8659d87f8d3579LP2
  16:        0x1102ce750 - script_task::_<impl>::start::h5f499036547dcbd9BP2
  17:        0x1102ce704 - script_task::_<impl>::create::_<closure>::_<closure>::closure.161304
  18:        0x1102ce470 - mem::_<impl>::run_with_memory_reporting::run_with_memory_reporting::h7244890294817420583
  19:        0x1102b8acf - script_task::_<impl>::create::_<closure>::closure.160682
  20:        0x1102b7ea7 - util::task::spawn_named_with_send_on_failure::_<closure>::closure.160669
  21:        0x1102b7893 - std::thread::_<impl>::spawn::_<closure>::_<closure>::closure.160658
  22:        0x1102b7808 - sys_common::unwind::try::try_fn::try_fn::h14924432134403572301
  23:        0x11191dce8 - __rust_try
  24:        0x11191adee - sys_common::unwind::try::inner_try::h819d2da8e3dc4516VKs
  25:        0x1102b7745 - sys_common::unwind::try::try::h14691589896679170832
  26:        0x1102b757e - std::thread::_<impl>::spawn::_<closure>::closure.160655
  27:        0x1102b80c7 - boxed::_<impl>::call_box::call_box::h7728668965161310799
[object Object]
[object Object]
[object Object]
  28:        0x11191fbfd - sys::thread::_<impl>::new::thread_start::h328957c252b95d3cOYw
  29:     0x7fff8f808059 - _pthread_body
  30:     0x7fff8f807fd6 - _pthread_start
thread 'Constellation' panicked at 'unable to find pipeline - this is a bug', ../src/libcore/option.rs:335
stack backtrace:
thread 'PaintTask PipelineId { namespace_id: PipelineNamespaceId(1), index: PipelineIndex(1) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: Other, error: StringError("recursive IPC channel use during serialization") }) }', ../src/libcore/result.rs:741thread '
LayoutTask PipelineId { namespace_id: PipelineNamespaceId(1), index: PipelineIndex(1) }' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Custom(Custom { kind: Other, error: StringError("MPSC send failed") }) }', ../src/libcore/result.rs:741
   1:        0x11191e8a8 - sys::backtrace::tracing::imp::write::hca66179add43b2e5lLt
   2:        0x11192096f - panicking::log_panic::_<closure>::closure.40842
   3:        0x111920412 - panicking::log_panic::h7a04edac7e1f2797HEx
   4:        0x11190c226 - sys_common::unwind::begin_unwind_inner::h39a94087039ae0efnOs
   5:        0x11190c60e - sys_common::unwind::begin_unwind_fmt::h7be0824d83765cd5tNs
   6:        0x11191dec7 - rust_begin_unwind
   7:        0x111942fd0 - panicking::panic_fmt::h871c0ef100fda9e9LFK
   8:        0x10f160aff - option::_<impl>::expect::expect::h9588151852895437660
   9:        0x10f2271c8 - constellation::_<impl>::handle_failure_msg::handle_failure_msg::h2834703002492497736
  10:        0x10f0eed42 - constellation::_<impl>::handle_request::handle_request::h5688585175130277185
  11:        0x10f0ebadc - constellation::_<impl>::run::run::h17242540213491243687
[object Object]
[object Object]
[object Object]
  12:        0x10f0d0630 - export::compositing::constellation::_<impl>::start::_<closure>::closure.23553
  13:        0x10f0ce903 - std::thread::_<impl>::spawn::_<closure>::_<closure>::closure.23542
  14:        0x10f0ce878 - sys_common::unwind::try::try_fn::try_fn::h11372735546248349120
  15:        0x11191dce8 - __rust_try
  16:        0x11191adee - sys_common::unwind::try::inner_try::h819d2da8e3dc4516VKs
  17:        0x10f0ce7b5 - sys_common::unwind::try::try::h3551860486257248819
  18:        0x10f0ce5ee - std::thread::_<impl>::spawn::_<closure>::closure.23519
  19:        0x10f0d08d7 - boxed::_<impl>::call_box::call_box::h2057553694708904740
  20:        0x11191fbfd - sys::thread::_<impl>::new::thread_start::h328957c252b95d3cOYw
  21:     0x7fff8f808059 - _pthread_body
  22:     0x7fff8f807fd6 - _pthread_start
stack backtrace:
   1:        0x11191e8a8 - sys::backtrace::tracing::imp::write::hca66179add43b2e5lLt
   2:        0x11192096f - panicking::log_panic::_<closure>::closure.40842
   3:        0x111920412 - panicking::log_panic::h7a04edac7e1f2797HEx
   4:        0x11190c226 - sys_common::unwind::begin_unwind_inner::h39a94087039ae0efnOs
   5:        0x11190c60e - sys_common::unwind::begin_unwind_fmt::h7be0824d83765cd5tNs
   6:        0x11191dec7 - rust_begin_unwind
   7:        0x111942fd0 - panicking::panic_fmt::h871c0ef100fda9e9LFK
   8:        0x11050d206 - result::_<impl>::unwrap::unwrap::h2771201841968978469
   9:        0x11057d38e - gfx::paint_task::_<impl>::create::_<closure>::closure.32524
  10:        0x11057c577 - util::task::spawn_named_with_send_on_failure::_<closure>::closure.32495
  11:        0x11057bf63 - std::thread::_<impl>::spawn::_<closure>::_<closure>::closure.32484
  12:        0x11057bed8 - sys_common::unwind::try::try_fn::try_fn::h9283666893292663702
  13:        0x11191dce8 - __rust_try
  14:        0x11191adee - sys_common::unwind::try::inner_try::h819d2da8e3dc4516VKs
  15:        0x11057be15 - sys_common::unwind::try::try::h4604334351589468113
  16:        0x11057bc4e - std::thread::_<impl>::spawn::_<closure>::closure.32461
  17:        0x11057c7d7 - boxed::_<impl>::call_box::call_box::h14547268701459004310
  18:        0x11191fbfd - sys::thread::_<impl>::new::thread_start::h328957c252b95d3cOYw
  19:     0x7fff8f808059 - _pthread_body
  20:     0x7fff8f807fd6 - _pthread_start
stack backtrace:
   1:        0x11191e8a8 - sys::backtrace::tracing::imp::write::hca66179add43b2e5lLt
   2:        0x11192096f - panicking::log_panic::_<closure>::closure.40842
   3:        0x111920412 - panicking::log_panic::h7a04edac7e1f2797HEx
   4:        0x11190c226 - sys_common::unwind::begin_unwind_inner::h39a94087039ae0efnOs
   5:        0x11190c60e - sys_common::unwind::begin_unwind_fmt::h7be0824d83765cd5tNs
   6:        0x11191dec7 - rust_begin_unwind
   7:        0x111942fd0 - panicking::panic_fmt::h871c0ef100fda9e9LFK
   8:        0x10f6481b6 - result::_<impl>::unwrap::unwrap::h11170890287382796421
   9:        0x10f881c5b - layout_task::_<impl>::exit_now::h5a63b02eee361d13YLq
  10:        0x10f852b52 - layout_task::_<impl>::handle_request_helper::h931dc612a9a8a34amBq
  11:        0x10f829f5b - layout_task::_<impl>::handle_request::h7b0899414c669fcfMvq
  12:        0x10f7f636a - layout_task::_<impl>::start::hb5f4977bc025c11d2tq
  13:        0x10f7f61b7 - layout_task::_<impl>::create::_<closure>::_<closure>::closure.55462
  14:        0x10f7f0383 - mem::_<impl>::run_with_memory_reporting::run_with_memory_reporting::h5244211801073323039
  15:        0x10f7bad00 - layout_task::_<impl>::create::_<closure>::closure.53753
  16:        0x10f7ba107 - util::task::spawn_named_with_send_on_failure::_<closure>::closure.53724
thread '<main>' panicked at 'called `Result::unwrap()` on an `Err` value: "SendError(..)"', ../src/libcore/result.rs:741
  17:        0x10f7b9af3 - std::thread::_<impl>::spawn::_<closure>::_<closure>::closure.53713
  18:        0x10f7b9a68 - sys_common::unwind::try::try_fn::try_fn::h3346737908274401483
  19:        0x11191dce8 - __rust_try
  20:        0x11191adee - sys_common::unwind::try::inner_try::h819d2da8e3dc4516VKs
  21:        0x10f7b99a5 - sys_common::unwind::try::try::h5873060135202733099
  22:        0x10f7b97de - std::thread::_<impl>::spawn::_<closure>::closure.53690
  23:        0x10f7ba367 - boxed::_<impl>::call_box::call_box::h3141961925543327181
  24:        0x11191fbfd - sys::thread::_<impl>::new::thread_start::h328957c252b95d3cOYw
  25:     0x7fff8f808059 - _pthread_body
  26:     0x7fff8f807fd6 - _pthread_start
stack backtrace:
   1:        0x11191e8a8 - sys::backtrace::tracing::imp::write::hca66179add43b2e5lLt
   2:        0x11192096f - panicking::log_panic::_<closure>::closure.40842
   3:        0x111920412 - panicking::log_panic::h7a04edac7e1f2797HEx
   4:        0x11190c226 - sys_common::unwind::begin_unwind_inner::h39a94087039ae0efnOs
   5:        0x11190c60e - sys_common::unwind::begin_unwind_fmt::h7be0824d83765cd5tNs
   6:        0x11191dec7 - rust_begin_unwind
   7:        0x111942fd0 - panicking::panic_fmt::h871c0ef100fda9e9LFK
   8:        0x10ef1f98e - result::_<impl>::unwrap::unwrap::h6206053853890979455
   9:        0x10ef99a67 - compositor::_<impl>::update_subpage_size_if_necessary::update_subpage_size_if_necessary::h12692692784544764823
  10:        0x10ef95b8a - compositor::_<impl>::create_or_update_descendant_layer::create_or_update_descendant_layer::h12788451195021287847
  11:        0x10ef2456c - compositor::_<impl>::handle_browser_message::handle_browser_message::h424872536862062028
  12:        0x10ef21f22 - compositor::_<impl>::handle_events::handle_events::h9910740313028280841
  13:        0x10f068888 - _<impl>::handle_events::h1169c8c565313f92Tda
  14:        0x10eee612c - main::hb77cfbfb032d8741Laa
  15:        0x111920192 - sys_common::unwind::try::try_fn::h9781900235654175042
  16:        0x11191dce8 - __rust_try
  17:        0x111920039 - rt::lang_start::h7f8cb47bb0ba3293PBx
  18:        0x10efd9529 - main
thread 'LayoutTask PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(0) }' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', ../src/libcore/result.rs:741
stack backtrace:
thread 'LayoutTask PipelineId { namespace_id: PipelineNamespaceId(1), index: PipelineIndex(0) }' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', ../src/libcore/result.rs:741
   1:        0x11191e8a8 - sys::backtrace::tracing::imp::write::hca66179add43b2e5lLt
   2:        0x11192096f - panicking::log_panic::_<closure>::closure.40842
   3:        0x111920412 - panicking::log_panic::h7a04edac7e1f2797HEx
   4:        0x11190c226 - sys_common::unwind::begin_unwind_inner::h39a94087039ae0efnOs
   5:        0x11190c60e - sys_common::unwind::begin_unwind_fmt::h7be0824d83765cd5tNs
   6:        0x11191dec7 - rust_begin_unwind
   7:        0x111942fd0 - panicking::panic_fmt::h871c0ef100fda9e9LFK
   8:        0x10f849419 - result::_<impl>::unwrap::unwrap::h8987826244185417907
   9:        0x10f8299e6 - layout_task::_<impl>::handle_request::h7b0899414c669fcfMvq
  10:        0x10f7f636a - layout_task::_<impl>::start::hb5f4977bc025c11d2tq
  11:        0x10f7f61b7 - layout_task::_<impl>::create::_<closure>::_<closure>::closure.55462
  12:        0x10f7f0383 - mem::_<impl>::run_with_memory_reporting::run_with_memory_reporting::h5244211801073323039
  13:        0x10f7bad00 - layout_task::_<impl>::create::_<closure>::closure.53753
  14:        0x10f7ba107 - util::task::spawn_named_with_send_on_failure::_<closure>::closure.53724
  15:        0x10f7b9af3 - std::thread::_<impl>::spawn::_<closure>::_<closure>::closure.53713
  16:        0x10f7b9a68 - sys_common::unwind::try::try_fn::try_fn::h3346737908274401483
  17:        0x11191dce8 - __rust_try
  18:        0x11191adee - sys_common::unwind::try::inner_try::h819d2da8e3dc4516VKs
  19:        0x10f7b99a5 - sys_common::unwind::try::try::h5873060135202733099
  20:        0x10f7b97de - std::thread::_<impl>::spawn::_<closure>::closure.53690
  21:        0x10f7ba367 - boxed::_<impl>::call_box::call_box::h3141961925543327181
  22:        0x11191fbfd - sys::thread::_<impl>::new::thread_start::h328957c252b95d3cOYw
  23:     0x7fff8f808059 - _pthread_body
  24:     0x7fff8f807fd6 - _pthread_start
stack backtrace:
thread 'PaintTask PipelineId { namespace_id: PipelineNamespaceId(0), index: PipelineIndex(0) }' panicked at 'called `Result::unwrap()` on an `Err` value: RecvErrorthread '', LayoutWorker worker 1/6../src/libcore/result.rs' panicked at ':called `Result::unwrap()` on an `Err` value: RecvError741', 
../src/libcore/result.rsthread ':LayoutWorker worker 3/6741' panicked at '
called `Result::unwrap()` on an `Err` value: RecvErrorthread '', LayoutWorker worker 2/6../src/libcore/result.rs' panicked at ':called `Result::unwrap()` on an `Err` value: RecvError741', 
../src/libcore/result.rs:741
thread 'LayoutWorker worker 5/6' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', thread 'thread '../src/libcore/result.rsLayoutWorker worker 4/6LayoutWorker worker 6/6:' panicked at '' panicked at '741called `Result::unwrap()` on an `Err` value: RecvError', 
../src/libcore/result.rscalled `Result::unwrap()` on an `Err` value: RecvError:', 741../src/libcore/result.rs
:741
   1:        0x11191e8a8 - sys::backtrace::tracing::imp::write::hca66179add43b2e5lLt
   2:        0x11192096f - panicking::log_panic::_<closure>::closure.40842
   3:        0x111920412 - panicking::log_panic::h7a04edac7e1f2797HEx
   4:        0x11190c226 - sys_common::unwind::begin_unwind_inner::h39a94087039ae0efnOs
   5:        0x11190c60e - sys_common::unwind::begin_unwind_fmt::h7be0824d83765cd5tNs
   6:        0x11191dec7 - rust_begin_unwind
   7:        0x111942fd0 - panicking::panic_fmt::h871c0ef100fda9e9LFK
   8:        0x10f849419 - result::_<impl>::unwrap::unwrap::h8987826244185417907
   9:        0x10f8299e6 - layout_task::_<impl>::handle_request::h7b0899414c669fcfMvq
  10:        0x10f7f636a - layout_task::_<impl>::start::hb5f4977bc025c11d2tq
  11:        0x10f7f61b7 - layout_task::_<impl>::create::_<closure>::_<closure>::closure.55462
  12:        0x10f7f0383 - mem::_<impl>::run_with_memory_reporting::run_with_memory_reporting::h5244211801073323039
  13:        0x10f7bad00 - layout_task::_<impl>::create::_<closure>::closure.53753
  14:        0x10f7ba107 - util::task::spawn_named_with_send_on_failure::_<closure>::closure.53724
Servo exited with return value 101

(filing per #8758 (comment))

@paulrouget
Copy link
Contributor

@paulrouget paulrouget commented Feb 2, 2016

Fixed by #9418

@paulrouget paulrouget closed this Feb 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.