Thunderbird crashes on startup if GTK_USE_PORTAL=1 is set
Categories
(Thunderbird :: General, defect, P1)
Tracking
(thunderbird_esr6869+ fixed, thunderbird69 wontfix, thunderbird70 fixed, thunderbird71 fixed)
People
(Reporter: elvis.angelaccio, Assigned: mkmelin)
References
()
Details
(Keywords: crash)
Crash Data
Attachments
(1 file)
1.24 KB,
patch
|
jorgk-bmo
:
review+
jorgk-bmo
:
approval-comm-beta+
jorgk-bmo
:
approval-comm-esr68+
|
Details | Diff | Splinter Review |
Reporter | ||
Comment 1•6 years ago
|
||
Comment 2•6 years ago
|
||
Reporter | ||
Comment 3•6 years ago
|
||
I got same crash on Ubuntu with GTK_USE_PORTAL=1 environment variable set.
Here is Report contents for this crash:
Add-ons: gconversation%40xulforum.org:2.14.7,%7Ba300a000-5e21-4ee0-a115-9ec8f4eaa92b%7D:0.3.17b1,%7B972ce4c6-7e08-4474-a285-3208198ce6fd%7D:60.4.0,messagingmenu%40mozilla.com:1.4
BuildID: 20190115190018
ContentSandboxCapabilities: 119
ContentSandboxCapable: 1
ContentSandboxLevel: 0
CrashTime: 1548746230
Email: murznn@gmail.com
FramePoisonBase: 9223372036600930304
FramePoisonSize: 4096
InstallTime: 1548745720
Notes: Ubuntu 18.10FP(D00-L1100-W00000000-T000) OpenGL: Intel Open Source Technology Center -- Mesa DRI Intel(R) Haswell -- 3.0 Mesa 18.2.2 -- texture_from_pixmap
WR? WR- OMTP? OMTP-
ProductID: {3550f703-e582-4d05-9a08-453d09bdfdc6}
ProductName: Thunderbird
ReleaseChannel: release
SafeMode: 0
SecondsSinceLastCrash: 487409
StartupCrash: 0
StartupTime: 1548746229
TelemetryEnvironment: {"build":{"applicationId":"{3550f703-e582-4d05-9a08-453d09bdfdc6}","applicationName":"Thunderbird","architecture":"x86-64","buildId":"20190115190018","version":"60.4.0","vendor":null,"platformVersion":"60.4.0","xpcomAbi":"x86_64-gcc3","updaterAvailable":false},"partner":{"distributionId":null,"distributionVersion":null,"partnerId":null,"distributor":null,"distributorChannel":null,"partnerNames":[]},"system":{"memoryMB":7792,"virtualMaxMB":null,"cpu":{"count":4,"cores":2,"vendor":"GenuineIntel","family":6,"model":60,"stepping":3,"l2cacheKB":256,"l3cacheKB":3072,"speedMHz":3400,"extensions":["hasMMX","hasSSE","hasSSE2","hasSSE3","hasSSSE3","hasSSE4_1","hasSSE4_2","hasAVX","hasAVX2","hasAES"]},"os":{"name":"Linux","version":"4.18.0-13-generic","locale":"ru-RU"},"hdd":{"profile":{"model":null,"revision":null},"binary":{"model":null,"revision":null},"system":{"model":null,"revision":null}},"gfx":{"D2DEnabled":null,"DWriteEnabled":null,"ContentBackend":"Skia","adapters":[{"description":"Intel Open Source Technology Center -- Mesa DRI Intel(R) Haswell ","vendorID":"Intel Open Source Technology Center","deviceID":"Mesa DRI Intel(R) Haswell ","subsysID":null,"RAM":null,"driver":null,"driverVersion":"3.0 Mesa 18.2.2","driverDate":null,"GPUActive":true}],"monitors":[],"features":{"compositor":"none","gpuProcess":{"status":"unused"}}},"appleModelId":null},"settings":{"blocklistEnabled":true,"e10sEnabled":false,"e10sMultiProcesses":4,"telemetryEnabled":false,"locale":"en-US","update":{"channel":"release","enabled":true,"autoDownload":true},"userPrefs":{"browser.cache.disk.capacity":276480,"browser.search.region":"RU"},"sandbox":{"effectiveContentProcessLevel":0},"addonCompatibilityCheckEnabled":true,"isDefaultBrowser":null},"profile":{}}
ThreadIdNameMapping: 28980:"Gecko_IOThread",28981:"Link Monitor",28982:"Socket Thread",28983:"JS Watchdog",28990:"BGReadURLs",28991:"Hang Monitor",28996:"Timer",28997:"StreamTrans #1",28998:"Cache2 I/O",28999:"Cookie",29000:"GMPThread",29001:"SoftwareVsyncThread",29002:"Compositor",29003:"VRListener",29004:"ImgDecoder #1",29005:"ImageIO",29010:"IPDL Background",29011:"LoadRoots",29012:"DataStorage",29013:"DataStorage",29015:"mozStorage #1",29016:"HTML5 Parser",29020:"ImgDecoder #2",29021:"DOM Worker",29022:"ImageBridgeChild",
Throttleable: 1
UptimeTS: 1.03866891
Vendor:
Version: 60.4.0
useragent_locale: en-US
This report also contains technical information about the state of the application when it crashed.
I've experienced this same crash with Thunderbird 60.5.1 from the mozilla team's ppa on Ubuntu 18.10.
In my case, I had to first add a mail account and when autoconfiguration was complete and I hit done/continue thunderbird crashes. Any subsequent launches result in a crash until the cache+profile is removed (I'm not sure if removing both is necessary but it works).
un-setting GTK_USE_PORTAL and then launching thunderbird seems to work (no more crashes).
package details
Package: thunderbird
Version: 1:60.5.1+build1-0ubuntu0.18.10.1~mt1
Priority: optional
Section: mail
Maintainer: Ubuntu Mozilla Team <ubuntu-mozillateam@lists.ubuntu.com>
Comment 7•6 years ago
|
||
murz
We need your crash ID - see https://support.mozilla.org/en-US/kb/mozilla-crash-reporter-tb#w_viewing-crash-reports
(Unfortunately "crash details" isn't useful here)
Comment 8•6 years ago
|
||
(In reply to Elvis Angelaccio from comment #3)
Thanks for the link, it doesn't crash using that package. I'll report the crash downstream.
Do you have a link?
Reporter | ||
Comment 9•6 years ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #8)
(In reply to Elvis Angelaccio from comment #3)
Thanks for the link, it doesn't crash using that package. I'll report the crash downstream.
Do you have a link?
Comment 10•6 years ago
|
||
Anyone else see crashes with this setting?
Comment 11•6 years ago
|
||
Here is my two fresh crash id's for this issue:
bp-b9d80041-48a4-42d9-a4fd-8a1eb0190309
bp-e0e1b55d-99be-43eb-8ace-487550190309
Comment 12•6 years ago
|
||
Thanks Murz. Was this using a download from https://releases.mozilla.org/pub/thunderbird/releases/60.5.1/linux-x86_64/en-US/ ?
Comment 13•6 years ago
|
||
I confirm I'm seeing the crash as well on TB 60.5.3 - since the Arch Linux build does not have debug symbols enabled, I'm recompiling the package to see if I can get a proper backtrace.
Comment 14•6 years ago
|
||
(In reply to Alessandro Menti from comment #13)
I confirm I'm seeing the crash as well on TB 60.5.3 - since the Arch Linux build does not have debug symbols enabled, I'm recompiling the package to see if I can get a proper backtrace.
Alessandro recompiling from http://ftp.mozilla.org/pub/thunderbird/releases/60.6.1/linux-x86_64/ ?
Did you have success?
And does this also happen with Firefox?
Comment 15•6 years ago
|
||
Hi Wayne,
I tried recompiling Thunderbird but, despite adding the proper configuration switches to add debug symbols, apparently the build process did not add them.
I can also confirm that the crash does not happen with Firefox (I tested it with the Arch Linux provided package, version 66.0.5-1).
Updated•6 years ago
|
Comment 16•6 years ago
|
||
Learned something new today. :)
No crash here starting Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 from Ubuntu with GTK_USE_PORTAL=1 thunderbird -p on Ubuntu 18.04.2 LTS.
I did get this message in the terminal.
"JavaScript error: jar:file:///usr/lib/thunderbird/omni.ja!/components/XULStore.js, line 65: Error: Can't find profile directory."
The Profile Manager opened anyway and I was able to use the associated profile.
I get the same error without using the -p switch.
Comment 17•6 years ago
|
||
I've tested 6.70.0, 6.70.1, 68.0b1, and the daily on Ubuntu 19.04, all crash after all dialogs are closed and it seems (still needs a little more testing) at least one email account is setup.
Whats odd is that unless you explicitly set GTK_USE_PORTAL = 1 in the string to launch TB (i.e. 'GTK_USE_PORTAL=1 thunderbird') the bug is not triggered.
It also happens regardless to the value you give GTK_USE_PORTAL as 'GTK_USE_PORTAL=0 thunderbird'
Updated•6 years ago
|
Comment 18•6 years ago
|
||
Here are the crash reports generated using the beta
bp-b5718f8c-7977-46a4-84b8-d190b0190618 <-- with 'GTK_USE_PORTAL=0 thunderbird'
bp-0fd780e4-9d38-4b70-b887-208e50190618 <-- with 'GTK_USE_PORTAL=1 thunderbird'
Updated•6 years ago
|
Updated•6 years ago
|
Comment 19•6 years ago
|
||
FWIW, 12 crashes from the same person today, on 69.0b1
Comment 20•5 years ago
|
||
I am experiencing this crash on kubuntu 18.10 using thunderbird 60.8.0. Installed package is 60.8.0+build1-0ubuntu0.18.10.1
I set GTK_USE_PORTAL=1 in the '.profile' file in the home folder.
Could provide debugging backtrace/data.
Comment 21•5 years ago
|
||
This seems to be the only reference to GTK_USE_PORTAL in Mozilla's code.
https://searchfox.org/comm-central/source/mozilla/toolkit/system/gnome/nsGIOService.cpp#35
I'm going to start a regression search, and looking around the Mozilla code to see if there is something they set that we don't.
Will update at the end of the day.
Comment 23•5 years ago
|
||
So it seems this has been in the code a LONG time. So if it is a regression I haven't found it yet. I still find it odd that Firefox doesn't suffer from the same issue given we share so much of the code base.
Updated•5 years ago
|
Assignee | ||
Comment 24•5 years ago
|
||
Can't reproduce at least on trunk. But if the crash report numbers are correct, this would be the issue.
Comment 25•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Comment 26•5 years ago
|
||
Seems fixed, GTK_USE_PORTAL=1 thunderbird
goes to work well on Ubuntu 19.04 with thunderbird-mozilla-build_68.0-0ubuntu1_amd64.deb
!
With thunderbird-mozilla-build_60.8.0-0ubuntu1_amd64.deb
now there are no crash, but dialog is still GTK.
Can any of other subscribers confirm, that this is fixed too?
Comment 27•5 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/aa6de4b5b0db
fix Thunderbird startup crash when GTK_USE_PORTAL=1 is set. r=jorgk
Updated•5 years ago
|
Assignee | ||
Comment 28•5 years ago
|
||
Updated•5 years ago
|
Comment 29•5 years ago
|
||
TB 70 beta 2:
https://hg.mozilla.org/releases/comm-beta/rev/366991cd4304a6d424f25a10d8899b83e2ae8469
Updated•5 years ago
|
Comment 30•5 years ago
|
||
TB 68.1.1 or TB 68.2:
https://hg.mozilla.org/releases/comm-esr68/rev/d741c4f6b95c5f3e063738d171b2fccea3695263
Comment 31•5 years ago
|
||
I am having this issue with the latest version 70.0b1 but I don't see any release for 70.0b2 so basically I cannot use thunderbird.
I can confirm that using the nightly there are no problems.
Comment 32•5 years ago
|
||
We'll release TB 70 beta 2 early next week.
Updated•5 years ago
|
Description
•