Wayland+sway+Firefox-ESR/tor-browser: strange browsers crash.

$ freebsd-version -kru
Code:
14.3-RELEASE
14.3-RELEASE
14.3-RELEASE
$ firefox -v
Code:
Mozilla Firefox 128.12.0esr
$ tor-browser -v
Code:
Tor Project Firefox 128.12.0esr
$ pkg info wayland
Code:
wayland-1.23.1
$ sway -v
Code:
sway version 1.10.1

To make both browsers crash, you need to:
1. try to save any web page (save page as...);
2. try to restore bookmarks from a file;
3. try to change the download folder (crashes when you click "Browse...");
It seems that this is caused by the fact that we are trying to connect the browser to the file system (UFS).
Browsers don't crash from the "Print..." option.


$ cat /var/log/messages
Code:
Jun 28 14:46:16 hk kernel: pid 45776 (firefox), jid 0, uid 1001: exited on signal 11 (core dumped)
Jun 28 15:23:28 hk kernel: pid 50187 (tor-browser), jid 0, uid 1001: exited on signal 11 (core dumped)
$ firefox --safe-mode]
Bash:
TypeError: aNode is null -- resource:///modules/CustomizableUI.sys.mjs:1724
[Parent 61005, Main Thread] WARNING: Native Windows wider than 65535 pixels are not supported: 'glib warning', file /wrkdirs/usr/ports/www/firefox-esr/work/firefox-128.12.0/toolkit/xre/nsSigHandlers.cpp:187

(firefox-esr:61005): Gdk-WARNING **: 16:54:24.089: Native Windows wider than 65535 pixels are not supported
[Parent 61005, Main Thread] WARNING: Native Windows taller than 65535 pixels are not supported: 'glib warning', file /wrkdirs/usr/ports/www/firefox-esr/work/firefox-128.12.0/toolkit/xre/nsSigHandlers.cpp:187

(firefox-esr:61005): Gdk-WARNING **: 16:54:24.090: Native Windows taller than 65535 pixels are not supported
[Parent 61005, Main Thread] WARNING: ../gdk/wayland/gdkdisplay-wayland.c:1366: Truncating shared memory file failed: Invalid argument: 'glib warning', file /wrkdirs/usr/ports/www/firefox-esr/work/firefox-128.12.0/toolkit/xre/nsSigHandlers.cpp:187

(firefox-esr:61005): Gdk-CRITICAL **: 16:54:24.162: ../gdk/wayland/gdkdisplay-wayland.c:1366: Truncating shared memory file failed: Invalid argument
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: CompositorBridgeChild receives IPC close with reason=AbnormalShutdown (t=55.0718) Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Segmentation fault (core dumped)

$ tor-browser --safe-mode
Bash:
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt (t=4.35724) [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt
[Parent 66009, Main Thread] WARNING: Native Windows wider than 65535 pixels are not supported: 'glib warning', file /wrkdirs/usr/ports/www/tor-browser/work/firefox-tor-browser-128.12.0esr-14.5-1-build1/toolkit/xre/nsSigHandlers.cpp:187

(tor-browser:66009): Gdk-WARNING **: 17:35:26.819: Native Windows wider than 65535 pixels are not supported
[Parent 66009, Main Thread] WARNING: Native Windows taller than 65535 pixels are not supported: 'glib warning', file /wrkdirs/usr/ports/www/tor-browser/work/firefox-tor-browser-128.12.0esr-14.5-1-build1/toolkit/xre/nsSigHandlers.cpp:187

(tor-browser:66009): Gdk-WARNING **: 17:35:26.819: Native Windows taller than 65535 pixels are not supported
[Parent 66009, Main Thread] WARNING: ../gdk/wayland/gdkdisplay-wayland.c:1446: Unable to create Cairo image surface: invalid value (typically too big) for the size of the input (surface, pattern, etc.): 'glib warning', file /wrkdirs/usr/ports/www/tor-browser/work/firefox-tor-browser-128.12.0esr-14.5-1-build1/toolkit/xre/nsSigHandlers.cpp:187

(tor-browser:66009): Gdk-CRITICAL **: 17:35:26.900: ../gdk/wayland/gdkdisplay-wayland.c:1446: Unable to create Cairo image surface: invalid value (typically too big) for the size of the input (surface, pattern, etc.)
Exiting due to channel error.
Exiting due to channel error.
Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: CompositorBridgeChild receives IPC close with reason=AbnormalShutdown (t=27.1214) Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.
Segmentation fault (core dumped)
 
OK.
I did a quick comparison trick: Debian 12 (netinst.iso), without all the extra stuff (with default configuration variables!).
The browser works cleanly, without polluting the atmosphere with exhaust:
$ firefox --safe-mode
Code:
[GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt
And I didn't configure anything, I just launched sway from the command line, without my configured variables:
$sway

But options work that do not work in FreeBSD.
 
I don’t understand why Falkon works great, and Firefox constantly throws out a train of error?
Actually, Falkon and Firefox opened the same tabs ...
But the exhaust of the Falkon does not contain a single error, all dialogs open, preserved pictures, etc.
And what is the firfox what is furious?
Those, it became clear to me purely experimental way that Firefox and the Tor -Browser were just a bit.
Falkon does not freeze tightly and does not fall from the fact that he was simply asked to change the catalog for downloading ...
I'm in shock, to be honest. What kind of garbage?
$ falkon --safe-mode
Code:
Falkon: 1 extensions loaded
$ firefox --safe-mode
Code:
console.error: ({})
console.error: (new TypeError("Cc[aContract] is undefined", "resource://gre/modules/XPCOMUtils.sys.mjs", 140))
JavaScript error: resource://gre/modules/XPCOMUtils.sys.mjs, line 140: TypeError: Cc[aContract] is undefined
JavaScript error: resource://gre/modules/XPCOMUtils.sys.mjs, line 140: TypeError: Cc[aContract] is undefined
JavaScript error: resource://gre/modules/XPCOMUtils.sys.mjs, line 140: TypeError: Cc[aContract] is undefined
JavaScript error: resource://gre/modules/XPCOMUtils.sys.mjs, line 140: TypeError: Cc[aContract] is undefined
1751384861102    FirefoxAccounts    ERROR    FxA rejecting with error NO_ACCOUNT, details: undefined
JavaScript error: chrome://browser/content/firefoxview/syncedtabs.mjs, line 84: TypeError: this.controller is undefined
JavaScript warning: https://www.google.com/js/th/HgcPXyXnZAzlGtHP0-rcMKQlk-tVpLiTCJ8moB_n4Tg.js, line 906: unreachable code after return statement
JavaScript warning: https://www.google.com/js/th/HgcPXyXnZAzlGtHP0-rcMKQlk-tVpLiTCJ8moB_n4Tg.js, line 906: unreachable code after return statement
JavaScript warning: https://www.google.com/js/th/HgcPXyXnZAzlGtHP0-rcMKQlk-tVpLiTCJ8moB_n4Tg.js, line 906: unreachable code after return statement
JavaScript warning: https://www.google.com/js/th/HgcPXyXnZAzlGtHP0-rcMKQlk-tVpLiTCJ8moB_n4Tg.js, line 906: unreachable code after return statement
JavaScript warning: https://www.google.com/js/th/HgcPXyXnZAzlGtHP0-rcMKQlk-tVpLiTCJ8moB_n4Tg.js line 2 > eval, line 906: unreachable code after return statement
JavaScript warning: https://www.google.com/js/th/HgcPXyXnZAzlGtHP0-rcMKQlk-tVpLiTCJ8moB_n4Tg.js line 2 > eval, line 906: unreachable code after return statement
JavaScript warning: https://www.google.com/js/th/HgcPXyXnZAzlGtHP0-rcMKQlk-tVpLiTCJ8moB_n4Tg.js line 2 > eval, line 1: unreachable code after return statement
JavaScript warning: https://www.google.com/js/th/HgcPXyXnZAzlGtHP0-rcMKQlk-tVpLiTCJ8moB_n4Tg.js line 2 > eval line 906 > eval, line 1: unreachable code after return statement
JavaScript warning: https://www.google.com/js/th/HgcPXyXnZAzlGtHP0-rcMKQlk-tVpLiTCJ8moB_n4Tg.js line 2 > eval, line 906: unreachable code after return statement
JavaScript warning: https://www.google.com/js/th/HgcPXyXnZAzlGtHP0-rcMKQlk-tVpLiTCJ8moB_n4Tg.js line 2 > eval, line 906: unreachable code after return statement
JavaScript warning: https://www.google.com/js/th/HgcPXyXnZAzlGtHP0-rcMKQlk-tVpLiTCJ8moB_n4Tg.js line 2 > eval line 906 > eval line 1 > eval, line 1: unreachable code after return statement
JavaScript warning: https://www.google.com/js/th/HgcPXyXnZAzlGtHP0-rcMKQlk-tVpLiTCJ8moB_n4Tg.js line 2 > eval line 906 > eval line 1 > eval, line 1: unreachable code after return statement
JavaScript warning: https://www.google.com/js/th/HgcPXyXnZAzlGtHP0-rcMKQlk-tVpLiTCJ8moB_n4Tg.js line 2 > eval line 906 > eval line 1 > eval line 1 > eval, line 1: unreachable code after return statement
JavaScript warning: https://www.google.com/js/th/HgcPXyXnZAzlGtHP0-rcMKQlk-tVpLiTCJ8moB_n4Tg.js line 2 > eval line 906 > eval line 1 > eval line 1 > eval, line 1: unreachable code after return statement
JavaScript warning: https://www.google.com/js/th/HgcPXyXnZAzlGtHP0-rcMKQlk-tVpLiTCJ8moB_n4Tg.js line 2 > eval line 906 > eval line 1 > eval line 1 > eval, line 1: Failed to create WebGL context: WebGL is currently disabled.
W: [] caps.c: Normally all extra capabilities would be dropped now, but that's impossible because PulseAudio was built without capabilities support.
JavaScript warning: https://www.googletagmanager.com/gtag/js?id=G-1QHPF5KQTV, line 797: Script terminated by timeout at:
k.sj@https://www.googletagmanager.com/gtag/js?id=G-1QHPF5KQTV:797:30
get@https://www.googletagmanager.com/gtag/js?id=G-1QHPF5KQTV:795:119
stop@https://www.googletagmanager.com/gtag/js?id=G-1QHPF5KQTV:795:87
k.po/c/<@https://www.googletagmanager.com/gtag/js?id=G-1QHPF5KQTV:795:410

JavaScript error: https://forums.freebsd.org/js/freebsd/freebsd-forums-mobile-layout-fixer-xf2.min.js?_v=fe5587df, line 1: ReferenceError: jQuery is not defined
JavaScript error: https://forums.freebsd.org/js/freebsd/freebsd-forums-mobile-layout-fixer-xf2.min.js?_v=fe5587df, line 1: ReferenceError: jQuery is not defined
JavaScript error: https://forums.freebsd.org/js/freebsd/freebsd-forums-mobile-layout-fixer-xf2.min.js?_v=fe5587df, line 1: ReferenceError: jQuery is not defined
console.error: "update.locale" " file doesn't exist in either the application or GRE directories"
console.warn: services.settings: Could not determine network status. Message: TypeError: Cc[aContract] is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
console.warn: services.settings: Could not determine network status. Message: TypeError: lazy.gNetworkLinkService is undefined
JavaScript warning: https://www.youtube.com/s/_/ytmainappweb/_/js/k=ytmainappweb.kevlar_base.en_US.4J0J8RiE2oY.es5.O/am=AAAACA/d=0/br=1/rs=AGKMywF2qHOxUBbD4iDPia4-RbaSuLgbkg, line 6927: Script terminated by timeout at:
G7.prototype.transition@https://www.youtube.com/s/_/ytmainappweb/_/js/k=ytmainappweb.kevlar_base.en_US.4J0J8RiE2oY.es5.O/am=AAAACA/d=0/br=1/rs=AGKMywF2qHOxUBbD4iDPia4-RbaSuLgbkg:6927:33
Sk/<@https://www.youtube.com/s/_/ytmainappweb/_/js/k=ytmainappweb.kevlar_base.en_US.4J0J8RiE2oY.es5.O/am=AAAACA/d=0/br=1/rs=AGKMywF2qHOxUBbD4iDPia4-RbaSuLgbkg:13228:114

Crash Annotation GraphicsCriticalError: |[0][GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt (t=146.867) [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt
JavaScript error: resource://gre/modules/XPCOMUtils.sys.mjs, line 140: TypeError: Cc[aContract] is undefined
 
Back
Top