-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
panic: What finished? (thread Script#1, at components/script/dom/html/htmllinkelement.rs:870) #42259
Copy link
Copy link
Closed
Labels
A-content/scriptRelated to the script threadRelated to the script threadC-has-manual-testcaseI-panicServo encounters a panic.Servo encounters a panic.
Description
Minimal testcase:
<!DOCTYPE html>
<link id="link" rel="stylesheet"></link>
<script>
link.type = "text/css";
link.type = "text/css";
</script>System: Linux
Version: Version: Servo 0.0.4-ecb4549e1
Command: ./servo/servo
What finished? (thread Script#1, at components/script/dom/html/htmllinkelement.rs:870)
0: servoshell::backtrace::print
1: servoshell::panic_hook::panic_hook
2: std::panicking::panic_with_hook
3: std::panicking::panic_handler::{{closure}}
4: std::sys::backtrace::__rust_end_short_backtrace
5: __rustc::rust_begin_unwind
6: core::panicking::panic_fmt
7: <script::dom::html::htmllinkelement::HTMLLinkElement as script::stylesheet_loader::StylesheetOwner>::load_finished
8: script::stylesheet_loader::StylesheetContext::do_post_parse_tasks
9: <T as script::task::TaskBox>::run_box
10: script::script_thread::ScriptThread::handle_msg_from_script
11: script::script_thread::ScriptThread::handle_msgs::{{closure}}
12: script::script_thread::ScriptThread::handle_msgs
13: std::sys::backtrace::__rust_begin_short_backtrace
14: core::ops::function::FnOnce::call_once{{vtable.shim}}
15: std::sys::thread::unix::Thread::new::thread_start
16: start_thread
at ./nptl/pthread_create.c:447:8
17: clone3
at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:78:0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-content/scriptRelated to the script threadRelated to the script threadC-has-manual-testcaseI-panicServo encounters a panic.Servo encounters a panic.