STR: 1. Start a debug build on macOS, e.g. like so via mozregression: `mozregression --launch 2025-04-21 -B debug -a https://example.org ` 2. In a tab viewing e.g. https://example.org/ (or any site), do `Cmd+P` to print preview ACTUAL RESULTS: Print preview dialog briefly appears, but then the tab changes to show that the content process crashed. EXPECTED RESULTS: No such content-process crash. Regression range: https://hg-edge.mozilla.org/integration/autoland/pushloghtml?fromchange=bb569ae969013d377e6834c88b8bc9f6e7562eb7&tochange=3ddb53b6a1ce25c0a8c6421ef60a31c2f5a17ded I'm guessing that there's an assertion failure or something along those lines, given that this seems to be debug-only (based on my testing so far), but the issue isn't obviously shown in my terminal output... Here's the terminal-spam that appears when I print-preview: ``` 1:07.91 INFO: b'[Parent 90174, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/chrome/nsChromeRegistry.cpp:182' 1:07.91 INFO: b"[Parent 90174, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/checkouts/gecko/chrome/nsChromeProtocolHandler.cpp:73" 1:07.98 INFO: b'[Parent 90174, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1215' 1:08.37 INFO: b'[Parent 90174, Main Thread] WARNING: Caller should supply a printer name.: file /builds/worker/checkouts/gecko/widget/nsPrintSettingsService.cpp:921' 1:08.40 INFO: b'[Child 91741, Main Thread] WARNING: Caller should supply a printer name.: file /builds/worker/checkouts/gecko/widget/nsPrintSettingsService.cpp:921' 1:09.01 INFO: b"[Parent 90174, IPC I/O Parent] WARNING: [1.1]: Dropping message '<null>'; no connection to unknown peer 24415CD991C33CCC.D655D4B50D5D3962: file /builds/worker/checkouts/gecko/ipc/glue/NodeController.cpp:364" 1:09.02 INFO: b"[Parent 90174, Main Thread] WARNING: IPC message 'PBrowser::Msg_Destroy' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:545" 1:09.02 INFO: b'[Parent 90174, Main Thread] WARNING: No build ID mismatch: file /builds/worker/checkouts/gecko/dom/base/nsFrameLoader.cpp:3742' 1:09.02 INFO: b'JavaScript error: resource:///modules/ContentCrashHandlers.sys.mjs, line 289: TypeError: can\'t access property "getTabForBrowser", gBrowser is null' 1:09.02 INFO: b"[Parent 90174, ProcessHangMon] WARNING: IPC message 'PProcessHangMonitor::Msg_RequestContentJSInterrupt' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:545" 1:09.02 INFO: b"[Parent 90174, Main Thread] WARNING: IPC message 'PBrowser::Msg_Destroy' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:545" 1:09.02 INFO: b'[Parent 90174, Main Thread] WARNING: No build ID mismatch: file /builds/worker/checkouts/gecko/dom/base/nsFrameLoader.cpp:3742' 1:09.04 INFO: b"[Parent 90174, Main Thread] WARNING: IPC message 'PContent::Msg_GetLayoutHistoryState' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:545" 1:09.04 INFO: b"[Parent 90174, Main Thread] WARNING: IPC message 'PContent::Msg_CommitBrowsingContextTransaction' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:545" 1:09.04 INFO: b"[Parent 90174, Main Thread] WARNING: IPC message 'PContent::Msg_DiscardBrowsingContext' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:545" 1:09.14 INFO: b'[Parent 90174, IPC I/O Parent] WARNING: process 91741 exited with status 1: file /builds/worker/checkouts/gecko/ipc/chromium/src/chrome/common/process_watcher_posix_sigchld.cc:126' ```
Bug 1961975 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
STR: 1. Start a debug build on macOS, e.g. like so via mozregression: `mozregression --launch 2025-04-21 -B debug -a https://example.org ` 2. In a tab viewing e.g. https://example.org/ (or any site), do `Cmd+P` to print preview ACTUAL RESULTS: Print preview dialog briefly appears, but then the tab changes to show that the content process crashed. EXPECTED RESULTS: No such content-process crash. Regression range: https://hg-edge.mozilla.org/integration/autoland/pushloghtml?fromchange=bb569ae969013d377e6834c88b8bc9f6e7562eb7&tochange=3ddb53b6a1ce25c0a8c6421ef60a31c2f5a17ded I'm guessing that there's an assertion failure or something along those lines, given that this seems to be debug-only (based on my testing so far), but the issue isn't obviously shown in my terminal output... Here's the terminal-spam that appears when I print-preview (using mozregression as described in the STR): ``` 1:07.91 INFO: b'[Parent 90174, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/chrome/nsChromeRegistry.cpp:182' 1:07.91 INFO: b"[Parent 90174, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/checkouts/gecko/chrome/nsChromeProtocolHandler.cpp:73" 1:07.98 INFO: b'[Parent 90174, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1215' 1:08.37 INFO: b'[Parent 90174, Main Thread] WARNING: Caller should supply a printer name.: file /builds/worker/checkouts/gecko/widget/nsPrintSettingsService.cpp:921' 1:08.40 INFO: b'[Child 91741, Main Thread] WARNING: Caller should supply a printer name.: file /builds/worker/checkouts/gecko/widget/nsPrintSettingsService.cpp:921' 1:09.01 INFO: b"[Parent 90174, IPC I/O Parent] WARNING: [1.1]: Dropping message '<null>'; no connection to unknown peer 24415CD991C33CCC.D655D4B50D5D3962: file /builds/worker/checkouts/gecko/ipc/glue/NodeController.cpp:364" 1:09.02 INFO: b"[Parent 90174, Main Thread] WARNING: IPC message 'PBrowser::Msg_Destroy' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:545" 1:09.02 INFO: b'[Parent 90174, Main Thread] WARNING: No build ID mismatch: file /builds/worker/checkouts/gecko/dom/base/nsFrameLoader.cpp:3742' 1:09.02 INFO: b'JavaScript error: resource:///modules/ContentCrashHandlers.sys.mjs, line 289: TypeError: can\'t access property "getTabForBrowser", gBrowser is null' 1:09.02 INFO: b"[Parent 90174, ProcessHangMon] WARNING: IPC message 'PProcessHangMonitor::Msg_RequestContentJSInterrupt' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:545" 1:09.02 INFO: b"[Parent 90174, Main Thread] WARNING: IPC message 'PBrowser::Msg_Destroy' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:545" 1:09.02 INFO: b'[Parent 90174, Main Thread] WARNING: No build ID mismatch: file /builds/worker/checkouts/gecko/dom/base/nsFrameLoader.cpp:3742' 1:09.04 INFO: b"[Parent 90174, Main Thread] WARNING: IPC message 'PContent::Msg_GetLayoutHistoryState' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:545" 1:09.04 INFO: b"[Parent 90174, Main Thread] WARNING: IPC message 'PContent::Msg_CommitBrowsingContextTransaction' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:545" 1:09.04 INFO: b"[Parent 90174, Main Thread] WARNING: IPC message 'PContent::Msg_DiscardBrowsingContext' discarded: actor cannot send: file /builds/worker/checkouts/gecko/ipc/glue/ProtocolUtils.cpp:545" 1:09.14 INFO: b'[Parent 90174, IPC I/O Parent] WARNING: process 91741 exited with status 1: file /builds/worker/checkouts/gecko/ipc/chromium/src/chrome/common/process_watcher_posix_sigchld.cc:126' ```