Bug: Wayland protocol error: error marshalling arguments for start_drag (signature ?oo?ou): null value passed for arg 1
Status: UNCONFIRMED
Priority: --
Created: 2024-12-01 13:25:02+00:00
Resolved: 2024-12-02 11:13:09+00:00

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0

Steps to reproduce:

I use Thunderbird 128.5.0 on linux using KDE/Plasma 6 with wayland as the graphics protocol. I installed version 2.4.1 of the Correct Identity addon. I interact with the addon's setting screen.


Actual results:

The interaction causes Thunderbird to crash (segfault) every time. The segfault coredump as captured in my logs is attached. Below I include possibly other relevant log info:

```
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 reported the bug to the addon developer <https://github.com/dennisverspuij/tb-correctidentity/issues/46>, who referred me to the main Thunderbird bugtracker. I assume there may be a link to Bug 1742225, which has the same crash message. 


Expected results:

No crash.