You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Iframe sometimes don't load and sometimes spit suspicious logs #3932
For investigating cases like this, running gdb --args target/servo, setting a breakpoint on rust_fail and looking at the backtrace is usually the most helpful. Alternatively, running with the RUST_BACKTRACE=1 environment variable would also do the same.
So the thing I checked is that the offender is really sending to a closed channel in node.rs. I replaced send with send_opt and it looks like it no longer fails. However, it doesn't look like a fix and we should understand why is this happening and why the author did expect this LayoutChan to be alive. Any ideas?
Activity
jdm commentedon Nov 7, 2014
For investigating cases like this, running
gdb --args target/servo, setting a breakpoint onrust_failand looking at the backtrace is usually the most helpful. Alternatively, running with the RUST_BACKTRACE=1 environment variable would also do the same.neojski commentedon Nov 9, 2014
So with
RUST_BACKTRACE=1I get a little bit more of output:Even more info with lldb:
So the thing I checked is that the offender is really sending to a closed channel in node.rs. I replaced
sendwithsend_optand it looks like it no longer fails. However, it doesn't look like a fix and we should understand why is this happening and why the author did expect thisLayoutChanto be alive. Any ideas?jdm commentedon Nov 9, 2014
Oh right, I remember coming across that in #2122.