Hi Nika, we're having a few issues porting bug 1908725 to Thunderbird. The builds work with the patches that are already listed here (which isn't to say they're entirely correct), but we're hitting some failures with tests and I was wondering if you could share your thoughts on what might be the cause, as the author of the aforementioned bug. A number of our Linux mochitests are timing out with this output: ``` 0:05.82 GECKO(980519) [980632, Main Thread] WARNING: XPCOM object ProfilerParentTracker destroyed from static ctor/dtor: file /home/babolivier/Documents/mozilla/mozilla-central/xpcom/base/nsTraceRefcnt.cpp:216 0:05.83 GECKO(980519) [Parent 980519, Main Thread] WARNING: IPC Connection Error: [Parent][PContentParent] Send(msgname=PWindowGlobal::Msg_RawMessage) Channel error: cannot send/recv: file /home/babolivier/Documents/mozilla/mozilla-central/ipc/glue/MessageChannel.cpp:1943 0:05.83 INFO Console message: [JavaScript Warning: "HTTPS-First Mode: Upgrading insecure speculative TCP connection “http://example.org/browser/comm/mail/base/test/widgets/files/links.html” to use “https”."] 0:05.83 GECKO(980519) [Parent 980519, Main Thread] WARNING: IPC message 'PBrowser::Msg_Destroy' discarded: actor cannot send: file /home/babolivier/Documents/mozilla/mozilla-central/ipc/glue/ProtocolUtils.cpp:557 0:05.83 GECKO(980519) [Parent 980519, ProcessHangMon] WARNING: IPC message 'PProcessHangMonitor::Msg_RequestContentJSInterrupt' discarded: actor cannot send: file /home/babolivier/Documents/mozilla/mozilla-central/ipc/glue/ProtocolUtils.cpp:557 0:05.83 GECKO(980519) [Parent 980519, Main Thread] WARNING: build ID mismatch false alarm: file /home/babolivier/Documents/mozilla/mozilla-central/dom/base/nsFrameLoader.cpp:3739 0:05.83 GECKO(980519) [Parent 980519, GMPThread] WARNING: Failed to delete GMP storage directory: file /home/babolivier/Documents/mozilla/mozilla-central/dom/media/gmp/GMPServiceParent.cpp:1909 0:05.83 GECKO(980519) console.error: 0:05.83 GECKO(980519) remote browser crashed while on 0:05.83 GECKO(980519) about:blank 0:05.83 GECKO(980519) [Parent 980519, Main Thread] WARNING: IPC message 'PContent::Msg_CommitBrowsingContextTransaction' discarded: actor cannot send: file /home/babolivier/Documents/mozilla/mozilla-central/ipc/glue/ProtocolUtils.cpp:557 0:05.83 GECKO(980519) [Parent 980519, Main Thread] WARNING: content process childid = 1 pid = 980632 crashed without leaving a minidump behind: file /home/babolivier/Documents/mozilla/mozilla-central/dom/ipc/ContentParent.cpp:4246 0:05.83 GECKO(980519) [Parent 980519, IPC I/O Parent] WARNING: process 980632 exited with status 1: file /home/babolivier/Documents/mozilla/mozilla-central/ipc/chromium/src/base/process_util_posix.cc:341 ``` This specific output comes from https://searchfox.org/comm-central/source/mail/base/test/widgets/browser_linkHandler.js, when running the first test in there (`testNoGroup`) - I have also seen it coming from other tests (most of the mochitests that are timing out on Linux here: https://treeherder.mozilla.org/jobs?repo=comm-central&revision=2a91c425ea0326dadc9953b9ae2125aaf2558d4e). We're also seeing instances of bug 1824444 (except permanent) on Windows debug mochitest runs, and "Tests should have failed" on MSIX xpcshell-tests for Windows (both opt and debug). I haven't managed to make 100% sure these failures are related to bug 1908725, but they started appearing after its patches were pushed to mozilla-central, so I have a suspicion that might be the case. Here is a try run that exhibits these failures: https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=0d3a726e5d4285661b3291aba10e4e39d8e7b62c As I'm a bit unfamiliar with Firefox's IPC, I'm struggling to figure out what's going on, and how to properly fix this - would you be able to have a quick look and share some thoughts and/or pointers, please?
Bug 1912236 Comment 5 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Hi Nika, we're having a few issues porting bug 1908725 to Thunderbird. The builds work with the patches that are already listed here (which isn't to say they're entirely correct), but we're hitting some failures with tests and I was wondering if you could share your thoughts on what might be the cause, as the author of the aforementioned bug. A number of our Linux mochitests are timing out with this output: ``` 0:05.82 GECKO(980519) [980632, Main Thread] WARNING: XPCOM object ProfilerParentTracker destroyed from static ctor/dtor: file /home/babolivier/Documents/mozilla/mozilla-central/xpcom/base/nsTraceRefcnt.cpp:216 0:05.83 GECKO(980519) [Parent 980519, Main Thread] WARNING: IPC Connection Error: [Parent][PContentParent] Send(msgname=PWindowGlobal::Msg_RawMessage) Channel error: cannot send/recv: file /home/babolivier/Documents/mozilla/mozilla-central/ipc/glue/MessageChannel.cpp:1943 0:05.83 INFO Console message: [JavaScript Warning: "HTTPS-First Mode: Upgrading insecure speculative TCP connection “http://example.org/browser/comm/mail/base/test/widgets/files/links.html” to use “https”."] 0:05.83 GECKO(980519) [Parent 980519, Main Thread] WARNING: IPC message 'PBrowser::Msg_Destroy' discarded: actor cannot send: file /home/babolivier/Documents/mozilla/mozilla-central/ipc/glue/ProtocolUtils.cpp:557 0:05.83 GECKO(980519) [Parent 980519, ProcessHangMon] WARNING: IPC message 'PProcessHangMonitor::Msg_RequestContentJSInterrupt' discarded: actor cannot send: file /home/babolivier/Documents/mozilla/mozilla-central/ipc/glue/ProtocolUtils.cpp:557 0:05.83 GECKO(980519) [Parent 980519, Main Thread] WARNING: build ID mismatch false alarm: file /home/babolivier/Documents/mozilla/mozilla-central/dom/base/nsFrameLoader.cpp:3739 0:05.83 GECKO(980519) [Parent 980519, GMPThread] WARNING: Failed to delete GMP storage directory: file /home/babolivier/Documents/mozilla/mozilla-central/dom/media/gmp/GMPServiceParent.cpp:1909 0:05.83 GECKO(980519) console.error: 0:05.83 GECKO(980519) remote browser crashed while on 0:05.83 GECKO(980519) about:blank 0:05.83 GECKO(980519) [Parent 980519, Main Thread] WARNING: IPC message 'PContent::Msg_CommitBrowsingContextTransaction' discarded: actor cannot send: file /home/babolivier/Documents/mozilla/mozilla-central/ipc/glue/ProtocolUtils.cpp:557 0:05.83 GECKO(980519) [Parent 980519, Main Thread] WARNING: content process childid = 1 pid = 980632 crashed without leaving a minidump behind: file /home/babolivier/Documents/mozilla/mozilla-central/dom/ipc/ContentParent.cpp:4246 0:05.83 GECKO(980519) [Parent 980519, IPC I/O Parent] WARNING: process 980632 exited with status 1: file /home/babolivier/Documents/mozilla/mozilla-central/ipc/chromium/src/base/process_util_posix.cc:341 ``` This specific output comes from https://searchfox.org/comm-central/source/mail/base/test/widgets/browser_linkHandler.js, when running the first test in there (`testNoGroup`) - I have also seen it coming from other tests (most of the mochitests that are timing out on Linux here: https://treeherder.mozilla.org/jobs?repo=comm-central&revision=2a91c425ea0326dadc9953b9ae2125aaf2558d4e). We're also seeing instances of bug 1824444 (except permanent) on Windows debug mochitest runs, and "Tests should have failed" on MSIX xpcshell-tests for Windows (both opt and debug). I haven't managed to make 100% sure these failures are related to bug 1908725 (or the patches in here), but they started appearing after its patches were pushed to mozilla-central, so I have a suspicion that might be the case. Here is a try run that exhibits these failures: https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=0d3a726e5d4285661b3291aba10e4e39d8e7b62c As I'm a bit unfamiliar with Firefox's IPC, I'm struggling to figure out what's going on, and how to properly fix this - would you be able to have a quick look and share some thoughts and/or pointers, please?