kenz-gelsoft / gecko-dev

Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
https://firefox-source-docs.mozilla.org/setup/index.html
Other
12 stars 1 forks source link

###!!! ASSERTION: bad inline size: 'reflowOutput.ISize(lineWM) >= 0', file /boot/home/src/gecko-dev/layout/generic/nsLineLayout.cpp:967 #38

Open kenz-gelsoft opened 3 weeks ago

kenz-gelsoft commented 3 weeks ago

tab crash at www.haiku-os.org randomly

[Child 45791, Main Thread] ###!!! ASSERTION: bad inline size: 'reflowOutput.ISize(lineWM) >= 0', file /boot/home/src/gecko-dev/layout/generic/nsLineLayout.cpp:967
[Child 45791, Main Thread] WARNING: 'presShell->NeedLayoutFlush()', file /boot/home/src/gecko-dev/layout/base/nsRefreshDriver.cpp:2244
[45608] add_native_font=/boot/system/data/fonts/ttfonts/NotoSansMono-Medium.ttf
[45608] add_font=/boot/system/data/fonts/ttfonts/NotoSansMono-Medium.ttf
[45608] add_native_font=/boot/system/data/fonts/ttfonts/NotoSansMono-Medium.ttf
[45608] add_native_font=/boot/system/data/fonts/ttfonts/NotoSansMono-Medium.ttf
[45608] add_native_font=/boot/system/data/fonts/ttfonts/NotoSansMono-Medium.ttf
[45608] add_native_font=/boot/system/data/fonts/ttfonts/NotoSansSymbols2-Regular.ttf
[45608] add_font=/boot/system/data/fonts/ttfonts/NotoSansSymbols2-Regular.ttf
[45608] add_native_font=/boot/system/data/fonts/ttfonts/NotoSansSymbols2-Regular.ttf
[45608] add_native_font=/boot/system/data/fonts/ttfonts/NotoSansSymbols2-Regular.ttf
[45608] add_native_font=/boot/system/data/fonts/ttfonts/NotoSansSymbols2-Regular.ttf
[45608] add_native_font=/boot/system/data/fonts/ttfonts/NotoSansMono-Bold.ttf
[45608] add_font=/boot/system/data/fonts/ttfonts/NotoSansMono-Bold.ttf
[45608] add_native_font=/boot/system/data/fonts/ttfonts/NotoSansMono-Bold.ttf
[45608] add_native_font=/boot/system/data/fonts/ttfonts/NotoSansMono-Bold.ttf
[45608] add_native_font=/boot/system/data/fonts/ttfonts/NotoSansMono-Bold.ttf
[Parent 45608, IPC I/O Parent] WARNING: Message needs unreceived descriptors channel:1096c482c530 message-type:3538947 header()->num_handles:1 num_fds:1 fds_i:1: file /boot/home/src/gecko-dev/ipc/chromium/src/chrome/common/ipc_channel_posix.cc:467
[Child 45791, IPC I/O Child] WARNING: [A5875AD8841CB2FD.D1AD214DB535EC46]: Dropping message '<null>'; no connection to unknown peer 1.1: file /boot/home/src/gecko-dev/ipc/glue/NodeController.cpp:365
[Parent 45608, IPC I/O Parent] WARNING: [1.1]: Dropping message '<null>'; no connection to unknown peer A5875AD8841CB2FD.D1AD214DB535EC46: file /boot/home/src/gecko-dev/ipc/glue/NodeController.cpp:365
Exiting due to channel error.


workaround

~/src/gecko-dev> git diff /boot/home/src/gecko-dev/layout/generic/nsLineLayout.cpp
diff --git a/layout/generic/nsLineLayout.cpp b/layout/generic/nsLineLayout.cpp
index 31ecc6b6aaa1..4bd3b7b80b95 100644
--- a/layout/generic/nsLineLayout.cpp
+++ b/layout/generic/nsLineLayout.cpp
@@ -964,7 +964,9 @@ void nsLineLayout::ReflowFrame(nsIFrame* aFrame, nsReflowStatus& aReflowStatus,

   mFloatManager->Translate(-tI, -tB);

+#if 0
   NS_ASSERTION(reflowOutput.ISize(lineWM) >= 0, "bad inline size");
+#endif
   NS_ASSERTION(reflowOutput.BSize(lineWM) >= 0, "bad block size");
   if (reflowOutput.ISize(lineWM) < 0) {
     reflowOutput.ISize(lineWM) = 0;
kenz-gelsoft commented 3 weeks ago

second crash on re-opening site

[Parent 45608, Socket Thread] WARNING: 'NS_FAILED(rv)', file /boot/home/src/gecko-dev/netwerk/base/nsUDPSocket.cpp:1464
[WARN  neqo_transport::ecn] ECN validation failed, no ECN counts in ACK frame
[45608] add_native_font=/boot/system/data/fonts/otfonts/NotoSansCJKjp-Bold.otf
[45608] add_font=/boot/system/data/fonts/otfonts/NotoSansCJKjp-Bold.otf
[45608] add_native_font=/boot/system/data/fonts/otfonts/NotoSansCJKjp-Bold.otf
[45608] add_native_font=/boot/system/data/fonts/otfonts/NotoSansCJKjp-Bold.otf
[45608] add_native_font=/boot/system/data/fonts/otfonts/NotoSansCJKjp-Bold.otf
[45608] add_native_font=/boot/system/data/fonts/ttfonts/NotoSansDisplay-Bold.ttf
[45608] add_font=/boot/system/data/fonts/ttfonts/NotoSansDisplay-Bold.ttf
[45608] add_native_font=/boot/system/data/fonts/ttfonts/NotoSansDisplay-Bold.ttf
[45608] add_native_font=/boot/system/data/fonts/ttfonts/NotoSansDisplay-Bold.ttf
[45608] add_native_font=/boot/system/data/fonts/ttfonts/NotoSansDisplay-Bold.ttf
[Child 45800, Main Thread] WARNING: IPC message 'PContent::Msg_StoreUserInteractionAsPermission' discarded: actor cannot send: file /boot/home/src/gecko-dev/ipc/glue/ProtocolUtils.cpp:551
[Parent 45608, IPC I/O Parent] WARNING: [1.1]: GetUserData call for port 'A890B47F270C373F.11A527B882668A15' failed: file /boot/home/src/gecko-dev/ipc/glue/NodeController.cpp:425
[Parent 45608, IPC I/O Parent] WARNING: [1.1]: GetUserData call for port '76FD516994447B06.93A56020266D5C' failed: file /boot/home/src/gecko-dev/ipc/glue/NodeController.cpp:425
console.error: (new ReferenceError("WebAssembly is not defined", "resource://gre/actors/TranslationsParent.sys.mjs", 2737))
[Child 45802, Main Thread] ###!!! ASSERTION: bad inline size: 'reflowOutput.ISize(lineWM) >= 0', file /boot/home/src/gecko-dev/layout/generic/nsLineLayout.cpp:967
[Child 45802, Main Thread] ###!!! ASSERTION: bad inline size: 'reflowOutput.ISize(lineWM) >= 0', file /boot/home/src/gecko-dev/layout/generic/nsLineLayout.cpp:967
[Child 45802, Main Thread] ###!!! ASSERTION: bad inline size: 'reflowOutput.ISize(lineWM) >= 0', file /boot/home/src/gecko-dev/layout/generic/nsLineLayout.cpp:967
[45608] add_native_font=/boot/system/data/fonts/ttfonts/NotoSansMono-Bold.ttf
[45608] add_font=/boot/system/data/fonts/ttfonts/NotoSansMono-Bold.ttf
[45608] add_native_font=/boot/system/data/fonts/ttfonts/NotoSansMono-Bold.ttf
[45608] add_native_font=/boot/system/data/fonts/ttfonts/NotoSansMono-Bold.ttf
[45608] add_native_font=/boot/system/data/fonts/ttfonts/NotoSansMono-Bold.ttf
[45608] add_native_font=/boot/system/data/fonts/ttfonts/NotoSansMono-Medium.ttf
[45608] add_font=/boot/system/data/fonts/ttfonts/NotoSansMono-Medium.ttf
[45608] add_native_font=/boot/system/data/fonts/ttfonts/NotoSansMono-Medium.ttf
[45608] add_native_font=/boot/system/data/fonts/ttfonts/NotoSansMono-Medium.ttf
[45608] add_native_font=/boot/system/data/fonts/ttfonts/NotoSansMono-Medium.ttf
[45608] add_native_font=/boot/system/data/fonts/ttfonts/NotoSansSymbols2-Regular.ttf
[45608] add_font=/boot/system/data/fonts/ttfonts/NotoSansSymbols2-Regular.ttf
[45608] add_native_font=/boot/system/data/fonts/ttfonts/NotoSansSymbols2-Regular.ttf
[45608] add_native_font=/boot/system/data/fonts/ttfonts/NotoSansSymbols2-Regular.ttf
[45608] add_native_font=/boot/system/data/fonts/ttfonts/NotoSansSymbols2-Regular.ttf
[Parent 45608, IPC I/O Parent] WARNING: Message needs unreceived descriptors channel:1096c482ceb0 message-type:3538947 header()->num_handles:1 num_fds:1 fds_i:1: file /boot/home/src/gecko-dev/ipc/chromium/src/chrome/common/ipc_channel_posix.cc:467
[Child 45802, IPC I/O Child] WARNING: [7D3EE864B979FB44.EF3DDE93C4DFE8BC]: Dropping message '<null>'; no connection to unknown peer 1.1: file /boot/home/src/gecko-dev/ipc/glue/NodeController.cpp:365
[Child 45802, RemoteLzyStream] WARNING: RemoteLazyInputStreamChild disconnected unexpectedly (1 streams remaining)! 1225eabd0750 {583228f8-8b0b-4586-9109-2cc6809c177d}: file /boot/home/src/gecko-dev/dom/file/ipc/RemoteLazyInputStreamChild.cpp:51
[Child 45802, RemoteLzyStream] WARNING: RemoteLazyInputStreamChild disconnected unexpectedly (1 streams remaining)! 1225eabd0900 {e0309c21-f933-45a0-b20d-d6f09e91b40d}: file /boot/home/src/gecko-dev/dom/file/ipc/RemoteLazyInputStreamChild.cpp:51
[Child 45802, RemoteLzyStream] WARNING: RemoteLazyInputStreamChild disconnected unexpectedly (1 streams remaining)! 1225eabd05a0 {18664259-eb24-4635-9200-fab0b18b90f2}: file /boot/home/src/gecko-dev/dom/file/ipc/RemoteLazyInputStreamChild.cpp:51
Exiting due to channel error.
kenz-gelsoft commented 3 weeks ago

third crash again with same STR, but this time, it seems because parent process IPC already stop working (no output found child process failure)

maybe restart needed like this situation.

[Parent 45608, IPC I/O Parent] WARNING: Message needs unreceived descriptors channel:1096c482bf40 message-type:65531 header()->num_handles:1 num_fds:1 fds_i:1: file /boot/home/src/gecko-dev/ipc/chromium/src/chrome/common/ipc_channel_posix.cc:467
[Parent 45608, Main Thread] WARNING: Call to Send() failed: file /boot/home/src/gecko-dev/ipc/glue/NodeChannel.cpp:199
[Parent 45608, IPC I/O Parent] WARNING: [1.1]: Dropping message '<null>'; no connection to unknown peer 2E6E9095F5BBC8C8.5332EE5A3425DA8C: file /boot/home/src/gecko-dev/ipc/glue/NodeController.cpp:365
[Child 46005, IPC I/O Child] WARNING: [2E6E9095F5BBC8C8.5332EE5A3425DA8C]: Dropping message '<null>'; no connection to unknown peer 1.1: file /boot/home/src/gecko-dev/ipc/glue/NodeController.cpp:365
[Child 46005, RemoteLzyStream] WARNING: RemoteLazyInputStreamChild disconnected unexpectedly (1 streams remaining)! 10cc5b6169b0 {6110398b-2eb0-4cd2-a44f-bd76ca78d7a4}: file /boot/home/src/gecko-dev/dom/file/ipc/RemoteLazyInputStreamChild.cpp:51
Exiting due to channel error.