opening devtools yield 'uncaught exception: Object'
Categories
(Thunderbird :: Mail Window Front End, defect, P2)
Tracking
(Not tracked)
People
(Reporter: gaston, Unassigned)
Details
Not sure if this is the right component, but testing 115.0 on OpenBSD (im the packager) trying to open devtools only yields an exception in the error console.
'uncaught exception: Object'
i have no way to open the error console from the ui, so im starting thunderbird --jsconsole
. error also reproduces straight away with thunderbird --jsconsole --devtools
.
same thing for ctrl-shift-i, another occurence of the exception at each keycombo.
if that matters (i've seen bug #1120863) OpenBSD is a tier3 so there's no update channel since updates are handled by the packaging system and not mozilla.
Reporter | ||
Comment 1•2 years ago
|
||
ofc devtools work fine in firefox on OpenBSD :)
Updated•2 years ago
|
Updated•2 years ago
|
Comment 2•2 years ago
|
||
I don't have much clues. But from that bug, perhaps you can try setting the MOZ_TEST_PROCESS_UPDATES env variable to see if that makes any difference.
Reporter | ||
Comment 3•2 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #2)
I don't have much clues. But from that bug, perhaps you can try setting the MOZ_TEST_PROCESS_UPDATES env variable to see if that makes any difference.
looking at the code in https://searchfox.org/mozilla-central/source/toolkit/xre/nsAppRunner.cpp#4877 MOZ_TEST_PROCESS_UPDATES is only looked for if MOZ_UPDATER is defined which isnt the case on OpenBSD. and i dont really see how that can be related to opening devtools..
anyway, env MOZ_TEST_PROCESS_UPDATES=1 thunderbird --jsconsole --devtools
doesnt give more info on stderr or in the js console, those are the first messages at startup:
08:47:09.064 1691477229064 addons.xpi WARN Checking /usr/local/lib/thunderbird/distribution/extensions for addons
08:47:11.131 uncaught exception: Object
08:47:11.978
TypeError: menu is null
browser-menus.js:283:3
addTopLevelItems resource://devtools/client/framework/browser-menus.js:283
addMenus resource://devtools/client/framework/browser-menus.js:325
_registerBrowserWindow resource://devtools/client/framework/devtools-browser.js:364
observe resource://devtools/client/framework/devtools-browser.js:162
_delayedStartup chrome://messenger/content/messenger.js:378
08:47:12.031 Found 4 public keys and 0 secret keys (0 protected, 0 unprotected)
Comment 4•2 years ago
|
||
Did you try with --safe-mode
?
You may have to debug around https://searchfox.org/mozilla-central/rev/0058dbdd1c2eb9164e195082d18f3a657f291824/devtools/startup/DevToolsStartup.sys.mjs#534
Comment 5•2 months ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #4)
Did you try with
--safe-mode
?
You may have to debug around https://searchfox.org/mozilla-central/rev/0058dbdd1c2eb9164e195082d18f3a657f291824/devtools/startup/DevToolsStartup.sys.mjs#534
Landry,
Is this still seen with 128?
Reporter | ||
Comment 6•2 months ago
|
||
just retested witn 128.5.0, i still see uncaught exception: Object
and NotFoundError: No such JSProcessActor 'BrowserToolboxDevToolsProcess'
in the error console when starting thunderbird --jsconsole
and thunderbird --devtools
, but the devtools window show up correctly (after prompting for accepting the incoming debugging connection) and 'seems' to work. ctrl-shift-i also works.
Description
•