dennisverspuij / tb-correctidentity

Source of the Mozilla Thunderbird extension "Correct Identity"
https://addons.mozilla.org/thunderbird/addon/correct-identity/
Mozilla Public License 2.0
23 stars 17 forks source link

Interacting with the addon settings screen causes Thunderbird to segfault (linux/wayland) #46

Open equaeghe opened 9 hours ago

equaeghe commented 9 hours ago

I use Thunderbird 128.5.0 on linux with wayland as the graphics protocol. I installed version 2.4.1 of the addon. When interacting with the addon's setting screen, it causes Thunderbird to segfault every time.

Below the information related to the crash in my logs:

nov 30 13:10:56.410004 thunderbird[1944262]: WARNING: content window passed to PrivateBrowsingUtils.isWindowPrivate. Use isContentWindowPrivate instead (but only for frame scripts).
nov 30 13:10:56.410004 thunderbird[1944262]: pbu_isWindowPrivate@resource://gre/modules/PrivateBrowsingUtils.sys.mjs:23:11
nov 30 13:10:56.410004 thunderbird[1944262]: _update/useDarkTheme<@resource://gre/modules/LightweightThemeConsumer.sys.mjs:277:36
nov 30 13:10:56.410004 thunderbird[1944262]: _update@resource://gre/modules/LightweightThemeConsumer.sys.mjs:292:7
nov 30 13:10:56.410004 thunderbird[1944262]: LightweightThemeConsumer@resource://gre/modules/LightweightThemeConsumer.sys.mjs:220:8
nov 30 13:10:56.410004 thunderbird[1944262]: observe/<@resource:///modules/MailGlue.sys.mjs:476:15
nov 30 13:10:56.949552 thunderbird[1944262]: console.warn: "Please use ChromeUtils.defineLazyGetter instead of XPCOMUtils.defineLazyGetter. XPCOMUtils.defineLazyGetter will be removed soon."
nov 30 13:10:56.949808 thunderbird[1944262]: console.warn: "Please use ChromeUtils.defineLazyGetter instead of XPCOMUtils.defineLazyGetter. XPCOMUtils.defineLazyGetter will be removed soon."
nov 30 13:10:56.949914 thunderbird[1944262]: console.warn: "Please use ChromeUtils.defineLazyGetter instead of XPCOMUtils.defineLazyGetter. XPCOMUtils.defineLazyGetter will be removed soon."
nov 30 13:10:56.949914 thunderbird[1944262]: console.warn: "Please use ChromeUtils.defineLazyGetter instead of XPCOMUtils.defineLazyGetter. XPCOMUtils.defineLazyGetter will be removed soon."
nov 30 13:10:57.017724 thunderbird[1944262]: console.log: "IETNG: importMboxModule.js -v5"
nov 30 13:10:57.018007 thunderbird[1944262]: console.log: "IETNG: mboximportExport.js -v7"
nov 30 13:11:03.095949 thunderbird[1944262]: WARNING: content window passed to PrivateBrowsingUtils.isWindowPrivate. Use isContentWindowPrivate instead (but only for frame scripts).
nov 30 13:11:03.095949 thunderbird[1944262]: pbu_isWindowPrivate@resource://gre/modules/PrivateBrowsingUtils.sys.mjs:23:11
nov 30 13:11:03.095949 thunderbird[1944262]: isBrowserPrivate@resource://gre/modules/PrivateBrowsingUtils.sys.mjs:43:19
nov 30 13:11:03.095949 thunderbird[1944262]: fixupAndLoadURIString@resource://gre/modules/RemoteWebNavigation.sys.mjs:129:56
nov 30 13:11:03.095949 thunderbird[1944262]: fixupAndLoadURIString/<@chrome://global/content/elements/browser-custom-element.js:959:28
nov 30 13:11:03.095949 thunderbird[1944262]: _wrapURIChangeCall@chrome://global/content/elements/browser-custom-element.js:887:9
nov 30 13:11:03.095949 thunderbird[1944262]: fixupAndLoadURIString@chrome://global/content/elements/browser-custom-element.js:958:12
nov 30 13:11:03.095949 thunderbird[1944262]: fixupAndLoadURIString@chrome://mozapps/content/extensions/aboutaddons.js:1832:18
nov 30 13:11:03.095949 thunderbird[1944262]: render/<@chrome://mozapps/content/extensions/aboutaddons.js:1811:14
nov 30 13:11:03.095949 thunderbird[1944262]: render@chrome://mozapps/content/extensions/aboutaddons.js:1767:11
nov 30 13:11:13.073471 thunderbird[1944262]: Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Wayland protocol error: error marshalling arguments for start_drag (signature ?oo?ou): null value passed for arg 1
nov 30 13:11:13.073471 thunderbird[1944262]:  (t=19.5613) [GFX1-]: Wayland protocol error: error marshalling arguments for start_drag (signature ?oo?ou): null value passed for arg 1
nov 30 13:11:13.080452 systemd-coredump[1944627]: Process 1944262 (thunderbird) of user 1000 terminated abnormally with signal 11/SEGV, processing...

I attach the coredump from the segfault as well: segfault_coredump.txt

ldreier commented 2 hours ago

@equaeghe , I tried a 128.5.0esr version on wayland and saw no issues... Seems that from time to time Thunderbird and Mozilla run into those crash issues. E.g: https://bugzilla.mozilla.org/show_bug.cgi?id=1742225

I am not excluding a problem in the add-on, but crashing Thunderbird is something the Thunderbird developers should look at and fix...