Thunderbird crashes with GTK_USE_PORTAL environment variable.

Bug #1813471 reported by Ian Turner on 2019-01-27
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mozilla Thunderbird
thunderbird (Ubuntu)

Bug Description

Crash happens at startup, even for a new profile, as long as any e-mail accounts are configured.

In profile creation mode, the crash happens as soon as an e-mail account is added.

If all e-mail accounts are removed from prefs.js, then Thunderbird doesn't crash.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: thunderbird 1:60.4.0+build2-0ubuntu0.18.04.1
ProcVersionSignature: Ubuntu 4.15.0-43.46-generic 4.15.18
Uname: Linux 4.15.0-43-generic x86_64
AddonCompatCheckDisabled: False
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
 /dev/snd/controlC1: vectro 2619 F.... pulseaudio
 /dev/snd/controlC0: vectro 2619 F.... pulseaudio
BuildID: 20190116085154
Channel: Unavailable
CurrentDesktop: KDE
Date: Sun Jan 27 06:55:37 2019
DefaultProfileExtensions: extensions.sqlite corrupt or missing
DefaultProfileIncompatibleExtensions: Unavailable (corrupt or non-existant compatibility.ini or extensions.sqlite)
DefaultProfileLocales: extensions.sqlite corrupt or missing
DefaultProfilePrefSources: prefs.js
DefaultProfileThemes: extensions.sqlite corrupt or missing
ForcedLayersAccel: False
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
InstallationDate: Installed on 2018-03-23 (309 days ago)
InstallationMedia: Kubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180306.1)
 default via dev wlo1 proto dhcp metric 600 dev wlo1 scope link metric 1000 dev wlo1 proto kernel scope link src metric 600
MostRecentCrashID: bp-d74e2e85-8327-42af-bce7-559720190127
Profile1Extensions: extensions.sqlite corrupt or missing
Profile1IncompatibleExtensions: Unavailable (corrupt or non-existant compatibility.ini or extensions.sqlite)
Profile1Locales: extensions.sqlite corrupt or missing
Profile1PrefSources: prefs.js
 extensions.lastAppVersion: "60.4.0" (prefs.js)
 network.cookie.prefsMigrated: true (prefs.js)
 places.history.expiration.transient_current_max_pages: 104858 (prefs.js)
Profile1Themes: extensions.sqlite corrupt or missing
 Profile0 (Default) - LastVersion=60.4.0/20190116085154
 Profile1 - LastVersion=60.4.0/20190116085154
RunningIncompatibleAddons: False
SourcePackage: thunderbird
UpgradeStatus: No upgrade log present (probably fresh install) 01/25/2018
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: L78 Ver. 01.43 2101
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 16.3C
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvrL78Ver.01.43:bd01/25/2018:svnHewlett-Packard:pnHPProBook640G1:pvrA3009DD10303:rvnHewlett-Packard:rn2101:rvrKBCVersion16.3C:cvnHewlett-Packard:ct10:cvr: 103C_5336AN G=N L=BUS B=HP S=PRO HP ProBook 640 G1
dmi.product.version: A3009DD10303
dmi.sys.vendor: Hewlett-Packard

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

Steps to reproduce:

Run `GTK_USE_PORTAL=1 thunderbird`

Actual results:

Thunderbird crashes on startup

Expected results:

Thunderbird should not crash, or at least fail gracefully if running with GTK_USE_PORTAL=1 is not supported.

Note that I cannot post a backtrace because archlinux doesn't ship debug symbols. But given that this crash is 100% reproducible I hope that someone else will be able to.

If you cannot get symbols with archlinux then please get a backtrace using

Thanks for the link, it doesn't crash using that package. I'll report the crash downstream.

Ian Turner (vectro) wrote :
Ian Turner (vectro) wrote :

Also affects Arch Linux; see here:

The reporter there said that "It does not crash if I use the upstream build", but I have not tried that.

Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a backtrace following the instructions at and upload the backtrace (as an attachment) to the bug report. This will greatly help us in tracking down your problem.

Changed in thunderbird (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Murz (murznn) wrote :

Seems this issue will be fixed only in Thunderbird 68 version, here is issue:

Murz (murznn) wrote :

And here is KDE discussion about this problem.

Murz (murznn) wrote :

Here is same bug in Mozilla tracker.

I got same crash on Ubuntu with GTK_USE_PORTAL=1 environment variable set.

Download full text (3.2 KiB)

Here is Report contents for this crash:
BuildID: 20190115190018
ContentSandboxCapabilities: 119
ContentSandboxCapable: 1
ContentSandboxLevel: 0
CrashTime: 1548746230
Email: <email address hidden>
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
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,"":"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
Version: 60.4.0


Changed in thunderbird (Ubuntu):
status: Incomplete → Triaged
Changed in thunderbird:
importance: Unknown → Medium
status: Unknown → New

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 <email address hidden>


We need your crash ID - see
(Unfortunately "crash details" isn't useful here)

(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?

(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?


Anyone else see crashes with this setting?

Here is my two fresh crash id's for this issue:

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.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.