{"action":"created","issue":{"url":"https://api.github.com/repos/servo/servo/issues/11223","repository_url":"https://api.github.com/repos/servo/servo","labels_url":"https://api.github.com/repos/servo/servo/issues/11223/labels{/name}","comments_url":"https://api.github.com/repos/servo/servo/issues/11223/comments","events_url":"https://api.github.com/repos/servo/servo/issues/11223/events","html_url":"https://github.com/servo/servo/issues/11223","id":155202521,"number":11223,"title":"Reddit.com doesn't load completely within browser.html","user":{"login":"paulrouget","id":373579,"avatar_url":"https://avatars.githubusercontent.com/u/373579?v=3","gravatar_id":"","url":"https://api.github.com/users/paulrouget","html_url":"https://github.com/paulrouget","followers_url":"https://api.github.com/users/paulrouget/followers","following_url":"https://api.github.com/users/paulrouget/following{/other_user}","gists_url":"https://api.github.com/users/paulrouget/gists{/gist_id}","starred_url":"https://api.github.com/users/paulrouget/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulrouget/subscriptions","organizations_url":"https://api.github.com/users/paulrouget/orgs","repos_url":"https://api.github.com/users/paulrouget/repos","events_url":"https://api.github.com/users/paulrouget/events{/privacy}","received_events_url":"https://api.github.com/users/paulrouget/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/servo/servo/labels/A-browserhtml/P1","name":"A-browserhtml/P1","color":"d7e102"},{"url":"https://api.github.com/repos/servo/servo/labels/C-looking%20for%20assistance","name":"C-looking for assistance","color":"02d7e1"}],"state":"open","locked":false,"assignee":{"login":"nox","id":123095,"avatar_url":"https://avatars.githubusercontent.com/u/123095?v=3","gravatar_id":"","url":"https://api.github.com/users/nox","html_url":"https://github.com/nox","followers_url":"https://api.github.com/users/nox/followers","following_url":"https://api.github.com/users/nox/following{/other_user}","gists_url":"https://api.github.com/users/nox/gists{/gist_id}","starred_url":"https://api.github.com/users/nox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nox/subscriptions","organizations_url":"https://api.github.com/users/nox/orgs","repos_url":"https://api.github.com/users/nox/repos","events_url":"https://api.github.com/users/nox/events{/privacy}","received_events_url":"https://api.github.com/users/nox/received_events","type":"User","site_admin":false},"milestone":null,"comments":39,"created_at":"2016-05-17T08:25:44Z","updated_at":"2016-05-30T22:34:15Z","closed_at":null,"body":"Duplicate of https://github.com/browserhtml/browserhtml/issues/1037 as this is apparently a servo bug.\r\n\r\nOften the mozbrowser iframe doesn't get the `loadend` event when loading reddit.com.\r\n\r\nIt appears to happen only with browserhtml.\r\n\r\nThis is what I managed to figure out so far:\r\n\r\n- In document.rs, in `finish_load`, for the `reddit.com` pipeline, `DocumentLoadsComplete` is properly sent. Which means that `loader.is_blocked()` return `false`.\r\n- then, in `script_thread.rs`, in `handle_loads_complete`, `doc.loader().is_blocked()` returns `true`, preventing finishing the load.\r\n\r\nSo I guess we need to figure out why sometimes the loader gets blocked."},"comment":{"url":"https://api.github.com/repos/servo/servo/issues/comments/222561904","html_url":"https://github.com/servo/servo/issues/11223#issuecomment-222561904","issue_url":"https://api.github.com/repos/servo/servo/issues/11223","id":222561904,"user":{"login":"jdm","id":27658,"avatar_url":"https://avatars.githubusercontent.com/u/27658?v=3","gravatar_id":"","url":"https://api.github.com/users/jdm","html_url":"https://github.com/jdm","followers_url":"https://api.github.com/users/jdm/followers","following_url":"https://api.github.com/users/jdm/following{/other_user}","gists_url":"https://api.github.com/users/jdm/gists{/gist_id}","starred_url":"https://api.github.com/users/jdm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdm/subscriptions","organizations_url":"https://api.github.com/users/jdm/orgs","repos_url":"https://api.github.com/users/jdm/repos","events_url":"https://api.github.com/users/jdm/events{/privacy}","received_events_url":"https://api.github.com/users/jdm/received_events","type":"User","site_admin":false},"created_at":"2016-05-30T22:34:15Z","updated_at":"2016-05-30T22:34:15Z","body":"Meanwhile, the layout thread for that page doesn't appear to be doing anything interesting:\r\n```\r\n(lldb) bt\r\nerror: need to add support for DW_TAG_base_type '()' encoded with DW_ATE = 0x7, bit_size = 0\r\n* thread #102: tid = 0x9f589, 0x00007fff8e230716 libsystem_kernel.dylib`__psynch_cvwait + 10\r\n  * frame #0: 0x00007fff8e230716 libsystem_kernel.dylib`__psynch_cvwait + 10\r\n    frame #1: 0x00007fff84e37c3b libsystem_pthread.dylib`_pthread_cond_wait + 727\r\n    frame #2: 0x0000000103c47fa9 servo`std::thread::park::h73cb11855e7141e1 + 297\r\n    frame #3: 0x0000000103c57f10 servo`std::sync::mpsc::select::Select::wait::h0b444db680dca85f + 288\r\n    frame #4: 0x0000000100fdbee3 servo`layout::layout_thread::{{impl}}::handle_request(self=0x000000013b4f6a38, possibly_locked_rw_data=0x000000013b4f69c8) + 611 at <std macros>:6\r\n    frame #5: 0x0000000100fa1a42 servo`layout::layout_thread::{{impl}}::start(self=LayoutThread at 0x000000013b4f6a38) + 370 at layout_thread.rs:494\r\n    frame #6: 0x0000000100fa1888 servo`layout::layout_thread::{{impl}}::create::{{closure}}::{{closure}} + 104 at layout_thread.rs:287\r\n    frame #7: 0x0000000100f9b7d0 servo`profile_traits::mem::{{impl}}::run_with_memory_reporting<closure,fn(self=0x000000013b4f7dd0, f=closure at 0x000000013b4f7278, reporter_name=String at 0x000000013b4f7260, channel_for_reporter=Sender<script::layout_interface::Msg> at 0x000000013b4f7248, msg=0x000000013b4f7280) -> script::layout_interface::Msg,script::layout_interface::Msg,std::sync::mpsc::Sender<script::layout_interface::Msg>> + 912 at mem.rs:59\r\n    frame #8: 0x0000000100f7e9f3 servo`layout::layout_thread::{{impl}}::create::{{closure}} + 2323 at layout_thread.rs:286\r\n    frame #9: 0x0000000100f7a7a1 servo`util::thread::spawn_named_with_send_on_panic::_$u7b$$u7b$closure$u7d$$u7d$::h34b295e330d3a42d + 561 at boxed.rs:234\r\n    frame #10: 0x0000000100f7a518 servo`std::panic::{{impl}}::call_once<(self=AssertUnwindSafe<closure> at 0x000000013b4f7ff0, _args=<unavailable>),closure> + 136 at panic.rs:284\r\n    frame #11: 0x0000000100f7a46f servo`std::panicking::try::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h8d2fe62ffa2338ab + 79\r\n    frame #12: 0x0000000100f7ad45 servo`std::panicking::try::call<closure>(f=0x000000013b4f8480) + 21 at panicking.rs:272\r\n    frame #13: 0x0000000103c64d3c servo`__rust_try + 12\r\n    frame #14: 0x0000000103c64cd6 servo`__rust_maybe_catch_panic + 38\r\n    frame #15: 0x0000000100f7a15e servo`std::panicking::try::_$u7b$$u7b$closure$u7d$$u7d$::h0508309180bde640 + 174\r\n    frame #16: 0x0000000100f7a030 servo`std::thread::local::{{impl}}::with<core::cell::Cell<usize>,closure,core::result::Result<(self=0x000000010501b020, f=closure at 0x000000013b4f8518), Box<Any>>> + 208 at local.rs:211\r\n    frame #17: 0x0000000100f79e60 servo`std::panicking::try<(f=AssertUnwindSafe<closure> at 0x000000013b4f8700),std::panic::AssertUnwindSafe<closure>> + 192 at panicking.rs:235\r\n    frame #18: 0x0000000100f79d3f servo`std::panic::catch_unwind<std::panic::AssertUnwindSafe<closure>,(f=AssertUnwindSafe<closure> at 0x000000013b4f89b0)> + 143 at panic.rs:387\r\n    frame #19: 0x0000000100f79baf servo`std::thread::Builder::spawn::_$u7b$$u7b$closure$u7d$$u7d$::h226a550ab4accc2b + 383\r\n    frame #20: 0x0000000100f7af88 servo`alloc::boxed::{{impl}}::call_box<(self=0x000000011b035640, args=<unavailable>),closure> + 104 at boxed.rs:543\r\n    frame #21: 0x0000000103c609f9 servo`std::sys::thread::Thread::new::thread_start::h6f266e069bf4ec2b + 57\r\n    frame #22: 0x00007fff84e35899 libsystem_pthread.dylib`_pthread_body + 138\r\n    frame #23: 0x00007fff84e3572a libsystem_pthread.dylib`_pthread_start + 137\r\n    frame #24: 0x00007fff84e39fc9 libsystem_pthread.dylib`thread_start + 13\r\n```"}}
{"actor":{"display_login":"jdm"}}