Closed soundconjurer closed 5 years ago
Is there anyway to install a previous version of Thunderbird using flatpak?
revert the last version: flatpak update --commit=6d772dbdd5ca95dfa70121d1d1cb91c3f4a1501a330c24c5be36a24e16ac7471 org.mozilla.Thunderbird
I blew away Thunderbird's config and my personal data, so this is from a pristine installation of Thunderbird 60. It just plain out crashes trying to add an account. I suppose I will be stuck using web mail for a while.
$ flatpak run --verbose org.mozilla.Thunderbird F: No installations directory in /etc/flatpak/installations.d. Skipping F: Opening user flatpak installation at path /home/USERNAME/.local/share/flatpak F: Opening system flatpak installation at path /var/lib/flatpak F: Opening user flatpak installation at path /home/USERNAME/.local/share/flatpak F: Opening system flatpak installation at path /var/lib/flatpak F: Regenerating ld.so.cache /home/USERNAME/.var/app/org.mozilla.Thunderbird/.ld.so/060ca706223f513ec3d96b50797303b0b6ecd3c8b1ded8321fae9d51c2cc5e8b F: Allowing dri access F: Allowing homedir access F: Allowing x11 access F: Allowing pulseaudio access F: Pulseaudio user configuration file '/home/USERNAME/.config/pulse/client.conf': Error opening file /home/USERNAME/.config/pulse/client.conf: No such file or directory 1533904801076 addons.xpi WARN Can't get modified time of /app/lib/thunderbird/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi 1533904801215 addons.xpi WARN Can't get modified time of /app/lib/thunderbird/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi [calBackendLoader] Using Thunderbird's builtin libical backend console.warn: Lightning: Warning: Using guessed timezone America/Chicago (UTC-0600/-0500). This ZoneInfo timezone seems to match the operating system timezone this year. This ZoneInfo timezone was chosen based on matching the operating system timezone with likely timezones for internet users using US English. client config xml = "\r\n<!DOCTYPE html>\r\n\r\n
\r\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=Edge\" />\r\n <meta http-equiv=\"Content-Type\" content=\"text/html; CH ARSET=utf-8\">\r\n <meta http-equiv=\"pragma\" content=\"no-cache\"/>\r\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, minimum-scale=1, maximum-scale=1\">\r\nI'll spin up a few VMs and test this myself.
@soundconjurer I can reproduce the crash on account addition, except with gmail and not office365. (since I don't have an o365 account, not that it should matter)
alc@ubuntu:~$ flatpak run --verbose org.mozilla.Thunderbird
F: Opening user flatpak installation at path /home/alc/.local/share/flatpak
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening user flatpak installation at path /home/alc/.local/share/flatpak
F: Cleaning up unused container id 3077479606
F: Allocated instance id 750921041
F: Allowing dri access
F: Allowing homedir access
F: Allowing x11 access
F: Allowing pulseaudio access
F: Pulseaudio user configuration file '/home/alc/.config/pulse/client.conf': Error opening file /home/alc/.config/pulse/client.conf: No such file or directory
F: Running '/usr/lib/flatpak/flatpak-bwrap --args 22 /usr/lib/flatpak/flatpak-dbus-proxy --args=24'
F: Running '/usr/lib/flatpak/flatpak-bwrap --args 18 thunderbird'
1533955332258 addons.xpi WARN Can't get modified time of /app/lib/thunderbird/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
[calBackendLoader] Using Thunderbird's builtin libical backend
-- Exception object --
+ _message (string) ''
+ stack (string) 303 chars
+ code (number) 0
+ uri (string) 'http://autoconfig.gmail.com/mail/config-v1.1.xml'
+ constructor (function) 6 lines
+ message (string) ''
+ toString (function) 4 lines
*
-- Stack Trace --
Exception@chrome://messenger/content/accountcreation/util.js:126:5
ServerException@chrome://messenger/content/accountcreation/fetchhttp.js:261:3
_response@chrome://messenger/content/accountcreation/fetchhttp.js:189:19
start/request.onerror@chrome://messenger/content/accountcreation/fetchhttp.js:117:36
JavaScript error: chrome://messenger/content/folderPane.js, line 273: TypeError: gFolderTreeView._treeElement is undefined
JavaScript error: chrome://messenger/content/folderPane.js, line 273: TypeError: gFolderTreeView._treeElement is undefined
1533955483925 addons.update-checker WARN Update manifest for {972ce4c6-7e08-4474-a285-3208198ce6fd} did not contain an updates property
@ovari what LTS is Linux Mint 19 based on? Also what version of flatpak?
Decided to report upstream to see if they have anything to say about this... https://bugzilla.mozilla.org/show_bug.cgi?id=1482588
Crashes on startup with Linux Mint 19 (64-bit) Cinnamon
(based on Ubuntu 18.04 LTS).
Add-ons in Thunderbird (version 52.9.1) were all removed except for Messaging Menu and Unity Launcher integration
. It was unable to be removed so it was disabled.
Removed the following using the Linux Mint Software Manager:
The following were already shown as installed in the Linux Mint Software Manager:
Installed the following using the Linux Mint Software Manager:
$ flatpak run --verbose org.mozilla.Thunderbird
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening user flatpak installation at path /home/…/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/…/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Allowing dri access
F: Allowing homedir access
F: Allowing x11 access
F: Allowing pulseaudio access
F: Pulseaudio user configuration file '/home/…/.config/pulse/client.conf': Error opening file /home/…/.config/pulse/client.conf: No such file or directory
1533961637556 addons.xpi WARN Can't get modified time of /app/lib/thunderbird/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
This is strange...because on fedora 28, flatpak version 0.99.3
everything has been smooth for me. I might wanna spin up a clean f28 VM and see whether it works or crashes.
Crashes on startup with Linux Mint 18.3 (64-bit) Cinnamon
(based on Ubuntu 16.04 LTS).
The following were already shown as installed in the Linux Mint Software Manager:
Installed the following using the Linux Mint Software Manager:
$ flatpak run --verbose org.mozilla.Thunderbird
XA: No installations directory in /etc/flatpak/installations.d. Skipping
XA: Opening user flatpak installation at path /home/…/.local/share/flatpak
XA: Opening system flatpak installation at path /var/lib/flatpak
XA: Opening user flatpak installation at path /home/…/.local/share/flatpak
XA: Opening system flatpak installation at path /var/lib/flatpak
XA: Allowing dri access
XA: Allowing homedir access
XA: Allowing x11 access
XA: Allowing pulseaudio access
1533964532943 addons.xpi WARN Can't get modified time of /app/lib/thunderbird/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
Fedora 28 kde-spin user here.
flatpak run --verbose org.mozilla.Thunderbird
gives me:
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening user flatpak installation at path /home/USER/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/USER/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Allocated instance id 484346177
F: Allowing dri access
F: Allowing homedir access
F: Allowing x11 access
F: Allowing pulseaudio access
F: Pulseaudio user configuration file '/home/USER/.config/pulse/client.conf': Fehler beim Öffnen der Datei »/home/USER/.config/pulse/client.conf«: No such file or directory
F: Running 'bwrap --args 23 /usr/libexec/flatpak-dbus-proxy --args=25'
F: Running 'bwrap --args 20 thunderbird'
1533994892172 addons.xpi WARN Can't get modified time of /app/lib/thunderbird/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
[calBackendLoader] Using Thunderbird's builtin libical backend
flatpak --version Flatpak 0.99.3
XDG-Portal 0.10
@joergister So is that running correctly, or crashing?
@AdrianKoshka Its crashing
Interesting development:
~/.thunderbird
from my host machine to the VMmv .thunderbird .thunderbird.bak
[alc@fedora ~]$ flatpak run --verbose org.mozilla.Thunderbird
F: Opening user flatpak installation at path /home/alc/.local/share/flatpak
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening user flatpak installation at path /home/alc/.local/share/flatpak
F: Cleaning up unused container id 3326285818
F: Allocated instance id 3591525166
F: Allowing dri access
F: Allowing homedir access
F: Allowing x11 access
F: Allowing pulseaudio access
F: Pulseaudio user configuration file '/home/alc/.config/pulse/client.conf': Error opening file /home/alc/.config/pulse/client.conf: No such file or directory
F: Running 'bwrap --args 24 /usr/libexec/flatpak-dbus-proxy --args=26'
F: Running 'bwrap --args 22 thunderbird'
1534123798987 addons.xpi WARN Can't get modified time of /app/lib/thunderbird/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
1534123799739 addons.xpi WARN Can't get modified time of /app/lib/thunderbird/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
[calBackendLoader] Using Thunderbird's builtin libical backend
console.warn: Lightning: Warning: Using guessed timezone
America/New_York (UTC-0500/-0400).
This ZoneInfo timezone seems to match the operating system timezone this year.
This ZoneInfo timezone was chosen based on matching the operating system
timezone with likely timezones for internet users using US English.
I have a hunch this has to do something with Thunderbird's account creation/inbox creation.
I don't know if it's related but there are issues with non-english characters in thunderbird config: https://bugs.archlinux.org/task/59585
My Thunderbird is English though, and it crashes.
I'm running latest Fedora 28 w/ Flatpak 0.99.3 and T60 also crashes for me after creating an account. Nuking .thunderbird and .var/app/org.mozilla.Thunderbird directories and recreating an account does not resolve the issue. Unfortunately no crash dump is available but abrtd reports the crash.
uname -a Linux box 4.17.12-200.fc28.x86_64 #1 SMP Fri Aug 3 15:01:13 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux sudo dnf info flatpak Last metadata expiration check: 0:45:45 ago on Tue 14 Aug 2018 01:05:47 PM EDT. Installed Packages Name : flatpak Version : 0.99.3 Release : 1.fc28 Arch : x86_64 Size : 3.8 M Source : flatpak-0.99.3-1.fc28.src.rpm Repo : @System
Same for me on Linux Mint 19
F: No installations directory in /etc/flatpak/installations.d. Skipping F: Opening user flatpak installation at path /home/gpearce/.local/share/flatpak F: Opening system flatpak installation at path /var/lib/flatpak F: Opening user flatpak installation at path /home/gpearce/.local/share/flatpak F: Opening system flatpak installation at path /var/lib/flatpak F: Allowing dri access F: Allowing homedir access F: Allowing x11 access F: Allowing pulseaudio access F: Pulseaudio user configuration file '/home/gpearce/.config/pulse/client.conf': Error opening file /home/gpearce/.config/pulse/client.conf: No such file or directory 1534311146705 addons.xpi WARN Can't get modified time of /app/lib/thunderbird/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi [calBackendLoader] Using Thunderbird's builtin libical backend
I have the same issue as reported in the original poster. I used my existing profile with the Thunderbird flatpak (60.0) on Ubuntu 18.04.1, and a crash occurs. When I clean the profile (remove the .thunderbird
folder), it starts up normally. When I manually re-add all of my accounts and extensions, it crashes again on startup. I can't figure out if it is an extension causing the crash or the accounts (I have to assume it is the accounts because all of the extensions are from the Thunderbird store). Here is the verbose output of flatpak:
$ flatpak run --verbose org.mozilla.Thunderbird
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening user flatpak installation at path /home/ramesh/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/ramesh/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Allowing dri access
F: Allowing homedir access
F: Xdg dir xdg-download is $HOME (i.e. disabled), ignoring
F: Allowing x11 access
F: Allowing pulseaudio access
F: Pulseaudio user configuration file '/home/ramesh/.config/pulse/client.conf': Error opening file /home/ramesh/.config/pulse/client.conf: No such file or directory
1534505531764 addons.xpi WARN Can't get modified time of /app/lib/thunderbird/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
[calBackendLoader] Using Thunderbird's builtin libical backend
Flatpak version:
$ flatpak --version
Flatpak 0.11.7
The accounts I have associated with Thunderbird: 2 Gmail accounts, 1 Google Apps account, 2 outlook.com accounts, 1 yahoo account. I believe the 3 Google accounts are using OAuth, and the rest are IMAP. I have the following extensions/Add-ons installed: gContactSync, Identity Chooser, Lightning (by default), Provider for Google Calendar, Quicktext I have also synced contacts using gContactSync, and 2 Google accounts with Provider for Google Calendar
As you might expect, the Thunderbird 60.0 version from thunderbird.net works fine with this profile. Unfortunately it doesn't look like a crash log is generated by the flatpak Thunderbird on startup. Any idea how to force it to produce some more verbose logging (than the above) within flatpak? I can tell those logs are normal for any version of Thunderbird, crash or not.
flatpak run --devel --command=sh --verbose org.mozilla.Thunderbird
https://blogs.gnome.org/mclasen/2017/01/20/debugging-a-flatpak-application/
It's good to test with all extension disabled.
Had same issue. https://github.com/flathub/org.mozilla.Thunderbird/issues/46#issuecomment-411987627 works for me, but it downgrades TB to 52...
Using the blog post above, I installed org.mozilla.Thunderbird.Debug
and the sdk flatpak. Running gives the following output:
$ flatpak run --devel --command=sh --verbose org.mozilla.Thunderbird
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening user flatpak installation at path /home/ramesh/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/ramesh/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Allowing dri access
F: Allowing homedir access
F: Xdg dir xdg-download is $HOME (i.e. disabled), ignoring
F: Allowing x11 access
F: Allowing pulseaudio access
F: Pulseaudio user configuration file '/home/ramesh/.config/pulse/client.conf': Error opening file /home/ramesh/.config/pulse/client.conf: No such file or directory
sh-4.3$ gdb thunderbird
GNU gdb (GDB) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from thunderbird...(no debugging symbols found)...done.
(gdb) run --safe-mode
Starting program: /app/bin/thunderbird --safe-mode
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
[New LWP 65]
[LWP 65 exited]
[New LWP 69]
[New LWP 70]
[New LWP 71]
[New LWP 72]
[New LWP 73]
[New LWP 74]
[New LWP 75]
[New LWP 76]
[New LWP 77]
[New LWP 78]
[New LWP 79]
[New LWP 80]
[New LWP 81]
[New LWP 82]
[New LWP 83]
[LWP 83 exited]
[New LWP 84]
[New LWP 85]
[New LWP 86]
[New LWP 87]
1534766155344 addons.xpi WARN Can't get modified time of /app/lib/thunderbird/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
[New LWP 88]
[New LWP 89]
[New LWP 90]
[New LWP 91]
[New LWP 92]
[New LWP 93]
[New LWP 94]
[New LWP 95]
[New LWP 96]
[New LWP 97]
[New LWP 98]
[New LWP 99]
[New LWP 100]
[New LWP 101]
[New LWP 102]
[New LWP 103]
[LWP 98 exited]
[LWP 94 exited]
[LWP 95 exited]
[New LWP 104]
[New LWP 105]
[New LWP 106]
[New LWP 107]
[New LWP 108]
[New LWP 109]
[New LWP 110]
[New LWP 111]
Thread 1 "thunderbird" received signal SIGSEGV, Segmentation fault.
0x00007fffe932d743 in ?? () from /app/lib/thunderbird/libxul.so
(gdb) backtrace
#0 0x00007fffe932d743 in () at /app/lib/thunderbird/libxul.so
#1 0x00007fffe932d874 in () at /app/lib/thunderbird/libxul.so
#2 0x00007fffe93e7ef2 in () at /app/lib/thunderbird/libxul.so
#3 0x00007fffe99e122d in () at /app/lib/thunderbird/libxul.so
#4 0x00007fffe99e7b8e in () at /app/lib/thunderbird/libxul.so
#5 0x00007fffec1bf54b in () at /app/lib/thunderbird/libxul.so
#6 0x00007fffec1baa3f in () at /app/lib/thunderbird/libxul.so
#7 0x00007fffec1bf20d in () at /app/lib/thunderbird/libxul.so
#8 0x00007fffec1bf69b in () at /app/lib/thunderbird/libxul.so
#9 0x00007fffec1bf938 in () at /app/lib/thunderbird/libxul.so
#10 0x00007fffec49d9ce in () at /app/lib/thunderbird/libxul.so
#11 0x00007fffea6d9fbd in () at /app/lib/thunderbird/libxul.so
#12 0x00007fffe9f9ba70 in () at /app/lib/thunderbird/libxul.so
#13 0x00007fffea054e76 in () at /app/lib/thunderbird/libxul.so
#14 0x00007fffea02d764 in () at /app/lib/thunderbird/libxul.so
#15 0x00007fffea02d799 in () at /app/lib/thunderbird/libxul.so
#16 0x00007fffe93d9968 in () at /app/lib/thunderbird/libxul.so
#17 0x00007fffe93e27a8 in () at /app/lib/thunderbird/libxul.so
#18 0x00007fffe96fb8ca in () at /app/lib/thunderbird/libxul.so
#19 0x00007fffe96cff7d in () at /app/lib/thunderbird/libxul.so
#20 0x00007fffeb2210c8 in () at /app/lib/thunderbird/libxul.so
#21 0x00007fffec040c3e in () at /app/lib/thunderbird/libxul.so
#22 0x00007fffec0dd76c in () at /app/lib/thunderbird/libxul.so
#23 0x00007fffec0de5be in () at /app/lib/thunderbird/libxul.so
#24 0x00007fffec0de9a6 in () at /app/lib/thunderbird/libxul.so
#25 0x0000555555559ff6 in ()
#26 0x0000555555559729 in ()
#27 0x00007ffff6da0291 in __libc_start_main () at /lib/libc.so.6
#28 0x0000555555559a3a in _start ()
(gdb)
I'm not an expert at running gdb under Linux, but this backtrace seems to be lacking something (like symbols). I assumed having the Thunderbird.Debug package would load the symbols automatically when using the --devel
flag, but this doesn't shed any light on what is causing the Segmentation Fault. Gdb itself states it couldn't find the debug symbols. Also, I am running the above command with --safe-mode
to disable extensions.
Any ideas on how to get some reasonable debug output?
Perhaps it need to be rebuild with ac_add_options --disable-debug and ac_add_options --enable-strip options removed.
I also get crashes on Fedora 28, removed a symbolic link to a languagepack, but that didn't help much.
$ flatpak run org.mozilla.Thunderbird
Gtk-Message: 18:59:27.171: Failed to load module "pk-gtk-module"
Gtk-Message: 18:59:27.175: Failed to load module "pk-gtk-module"
1534870767276 addons.xpi WARN Can't get modified time of /app/lib/thunderbird/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
1534870767291 addons.xpi-utils WARN addMetadata: Add-on langpack-de@thunderbird.mozilla.org is invalid: [Exception... "Component returned failure code: 0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST) [nsIFile.isFile]" nsresult: "0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST)" location: "JS frame :: resource://gre/modules/addons/XPIInstall.jsm :: loadManifestFromFile :: line 924" data: no] Stack trace: loadManifestFromFile()@resource://gre/modules/addons/XPIInstall.jsm:924
syncLoadManifestFromFile()@resource://gre/modules/addons/XPIProvider.jsm:938
addMetadata()@resource://gre/modules/addons/XPIProvider.jsm -> resource://gre/modules/addons/XPIProviderUtils.js:1167
processFileChanges()@resource://gre/modules/addons/XPIProvider.jsm -> resource://gre/modules/addons/XPIProviderUtils.js:1523
checkForChanges()@resource://gre/modules/addons/XPIProvider.jsm:3289
startup()@resource://gre/modules/addons/XPIProvider.jsm:2194
callProvider()@resource://gre/modules/AddonManager.jsm:253
_startProvider()@resource://gre/modules/AddonManager.jsm:728
startup()@resource://gre/modules/AddonManager.jsm:892
startup()@resource://gre/modules/AddonManager.jsm:2976
observe()@jar:file:///app/lib/thunderbird/omni.ja!/components/addonManager.js:63
1534870767292 addons.xpi-utils WARN Could not uninstall invalid item from locked install location
1534870767293 addons.xpi-utils WARN addMetadata: Add-on {847b3a00-7ab1-11d4-8f02-006008948af5} is invalid: [Exception... "Component returned failure code: 0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST) [nsIFile.isFile]" nsresult: "0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST)" location: "JS frame :: resource://gre/modules/addons/XPIInstall.jsm :: loadManifestFromFile :: line 924" data: no] Stack trace: loadManifestFromFile()@resource://gre/modules/addons/XPIInstall.jsm:924
syncLoadManifestFromFile()@resource://gre/modules/addons/XPIProvider.jsm:938
addMetadata()@resource://gre/modules/addons/XPIProvider.jsm -> resource://gre/modules/addons/XPIProviderUtils.js:1167
processFileChanges()@resource://gre/modules/addons/XPIProvider.jsm -> resource://gre/modules/addons/XPIProviderUtils.js:1523
checkForChanges()@resource://gre/modules/addons/XPIProvider.jsm:3289
startup()@resource://gre/modules/addons/XPIProvider.jsm:2194
callProvider()@resource://gre/modules/AddonManager.jsm:253
_startProvider()@resource://gre/modules/AddonManager.jsm:728
startup()@resource://gre/modules/AddonManager.jsm:892
startup()@resource://gre/modules/AddonManager.jsm:2976
observe()@jar:file:///app/lib/thunderbird/omni.ja!/components/addonManager.js:63
1534870767293 addons.xpi-utils WARN Could not uninstall invalid item from locked install location
1534870767321 AutomaticDictionary INFO 2018-08-21T16:59:27.321Z [warn] Logger started
1534870767321 AutomaticDictionary INFO 2018-08-21T16:59:27.321Z [warn] Thunderbird version is 60.0
1534870767327 addons.xpi ERROR Attempted to load bootstrap scope from missing directory /usr/share/mozilla/extensions/{3550f703-e582-4d05-9a08-453d09bdfdc6}/{847b3a00-7ab1-11d4-8f02-006008948af5}
1534870767328 addons.xpi WARN Add-on {847b3a00-7ab1-11d4-8f02-006008948af5} is missing bootstrap method startup
[calBackendLoader] Using Thunderbird's builtin libical backend
Did you tried with --safe-mode
?
safe-mode crashes as well:
$ flatpak run org.mozilla.Thunderbird --safe-mode
Gtk-Message: 19:21:41.715: Failed to load module "pk-gtk-module"
Gtk-Message: 19:21:41.718: Failed to load module "pk-gtk-module"
1534872101814 addons.xpi WARN Can't get modified time of /app/lib/thunderbird/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
1534872101826 addons.xpi-utils WARN addMetadata: Add-on langpack-de@thunderbird.mozilla.org is invalid: [Exception... "Component returned failure code: 0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST) [nsIFile.isFile]" nsresult: "0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST)" location: "JS frame :: resource://gre/modules/addons/XPIInstall.jsm :: loadManifestFromFile :: line 924" data: no] Stack trace: loadManifestFromFile()@resource://gre/modules/addons/XPIInstall.jsm:924
syncLoadManifestFromFile()@resource://gre/modules/addons/XPIProvider.jsm:938
addMetadata()@resource://gre/modules/addons/XPIProvider.jsm -> resource://gre/modules/addons/XPIProviderUtils.js:1167
processFileChanges()@resource://gre/modules/addons/XPIProvider.jsm -> resource://gre/modules/addons/XPIProviderUtils.js:1523
checkForChanges()@resource://gre/modules/addons/XPIProvider.jsm:3289
startup()@resource://gre/modules/addons/XPIProvider.jsm:2194
callProvider()@resource://gre/modules/AddonManager.jsm:253
_startProvider()@resource://gre/modules/AddonManager.jsm:728
startup()@resource://gre/modules/AddonManager.jsm:892
startup()@resource://gre/modules/AddonManager.jsm:2976
observe()@jar:file:///app/lib/thunderbird/omni.ja!/components/addonManager.js:63
1534872101827 addons.xpi-utils WARN Could not uninstall invalid item from locked install location
1534872101827 addons.xpi-utils WARN addMetadata: Add-on {847b3a00-7ab1-11d4-8f02-006008948af5} is invalid: [Exception... "Component returned failure code: 0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST) [nsIFile.isFile]" nsresult: "0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST)" location: "JS frame :: resource://gre/modules/addons/XPIInstall.jsm :: loadManifestFromFile :: line 924" data: no] Stack trace: loadManifestFromFile()@resource://gre/modules/addons/XPIInstall.jsm:924
syncLoadManifestFromFile()@resource://gre/modules/addons/XPIProvider.jsm:938
addMetadata()@resource://gre/modules/addons/XPIProvider.jsm -> resource://gre/modules/addons/XPIProviderUtils.js:1167
processFileChanges()@resource://gre/modules/addons/XPIProvider.jsm -> resource://gre/modules/addons/XPIProviderUtils.js:1523
checkForChanges()@resource://gre/modules/addons/XPIProvider.jsm:3289
startup()@resource://gre/modules/addons/XPIProvider.jsm:2194
callProvider()@resource://gre/modules/AddonManager.jsm:253
_startProvider()@resource://gre/modules/AddonManager.jsm:728
startup()@resource://gre/modules/AddonManager.jsm:892
startup()@resource://gre/modules/AddonManager.jsm:2976
observe()@jar:file:///app/lib/thunderbird/omni.ja!/components/addonManager.js:63
1534872101828 addons.xpi-utils WARN Could not uninstall invalid item from locked install location
The same .config runs fine with Thunderbird v60.0 from the vanilla tarball, downloaded via my quick and dirty ansible role:
Mirror of the stacktrace log I was able to obtain:
[alc@virgil ~]$ flatpak run --devel --verbose org.mozilla.Thunderbird//master
F: Opening user flatpak installation at path /home/alc/.local/share/flatpak
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening user flatpak installation at path /home/alc/.local/share/flatpak
F: Cleaning up unused container id 939968218
F: Allocated instance id 1664986469
F: Allowing dri access
F: Allowing homedir access
F: Allowing x11 access
F: Allowing pulseaudio access
F: Pulseaudio user configuration file '/home/alc/.config/pulse/client.conf': Error opening file /home/alc/.config/pulse/client.conf: No such file or directory
F: Running 'bwrap --args 24 /usr/libexec/flatpak-dbus-proxy --args=26'
F: Running 'bwrap --args 21 thunderbird'
1535010641158 addons.xpi WARN Can't get modified time of /app/lib/thunderbird/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
[calBackendLoader] Using Thunderbird's builtin libical backend
console.warn: Lightning: Warning: Using guessed timezone
America/New_York (UTC-0500/-0400).
This ZoneInfo timezone seems to match the operating system timezone this year.
This ZoneInfo timezone was chosen based on matching the operating system
timezone with likely timezones for internet users using US English.
-- Exception object --
+ _message (string) ''
+ stack (string) 303 chars
+ code (number) 0
+ uri (string) 'http://autoconfig.gmail.com/mail/config-v1.1.xml'
+ constructor (function) 6 lines
+ message (string) ''
+ toString (function) 4 lines
*
-- Stack Trace --
Exception@chrome://messenger/content/accountcreation/util.js:126:5
ServerException@chrome://messenger/content/accountcreation/fetchhttp.js:261:3
_response@chrome://messenger/content/accountcreation/fetchhttp.js:189:19
start/request.onerror@chrome://messenger/content/accountcreation/fetchhttp.js:117:36
That log was collected by doing: flatpak run --devel --verbose org.mozilla.Thunderbird
and then adding an account. I had those debug and strip options in mozconfig disabled when I built Thunderbird.
I also ran flatpak run --devel --command=sh --verbose org.mozilla.Thunderbird
, then ran /app/bin/Thunderbird
, added an account, and got it to coredump for me.
[alc@virgil ~]$ abrt-cli p
reason: thunderbird killed by SIGSEGV
time: Thu 23 Aug 2018 04:00:52 AM EDT
cmdline: /app/bin/thunderbird
Directory: /var/spool/abrt/ccpp-2018-08-23-04:00:52.624296-2800
Actions: remove(rm), report(e), info(i), skip(s): i
reason: thunderbird killed by SIGSEGV
time: Thu 23 Aug 2018 04:00:52 AM EDT
cmdline: /app/bin/thunderbird
uid: 1000 (alc)
count: 1
Directory: /var/spool/abrt/ccpp-2018-08-23-04:00:52.624296-2800
abrt_version: 2.10.10
analyzer: abrt-journal-core
architecture: x86_64
container_cmdline: bwrap --args 20 sh
executable: /app/lib/thunderbird/thunderbird
hostname: virgil.localdomain
journald_cursor: s=058124ebc00e492eb40ad237c9f35c1e;i=352c;b=295431c1cadd48cba48a87f3ce0f4b04;m=5808a656;t=57415a86aa196;x=e02e6a3d486ffc86
kernel: 4.17.14-202.fc28.x86_64
last_occurrence: 1535011252
os_release: Fedora release 28 (Twenty Eight)
pid: 2800
pwd: /home/alc
rootdir: /
runlevel: N 5
type: CCpp
username: alc
uuid: c3e09b482d280c68f0681be41960c7dda874ee82
coredump: Binary file, 667848704 bytes
maps: Text file, 73349 bytes
mountinfo: Text file, 21417 bytes
open_fds: Text file, 6023 bytes
cgroup:
:11:memory:/user.slice/user-1000.slice/user@1000.service
:10:perf_event:/
:9:hugetlb:/
:8:devices:/user.slice
:7:net_cls,net_prio:/
:6:pids:/user.slice/user-1000.slice/user@1000.service
:5:cpuset:/
:4:freezer:/
:3:cpu,cpuacct:/
:2:blkio:/
:1:name=systemd:/user.slice/user-1000.slice/user@1000.service/flatpak-org.mozilla.Thunderbird-2778.scope
:0::/user.slice/user-1000.slice/user@1000.service/flatpak-org.mozilla.Thunderbird-2778.scope
cpuinfo:
:Architecture: x86_64
:CPU op-mode(s): 32-bit, 64-bit
:Byte Order: Little Endian
:CPU(s): 4
:On-line CPU(s) list: 0-3
:Thread(s) per core: 1
:Core(s) per socket: 1
:Socket(s): 4
:NUMA node(s): 1
:Vendor ID: AuthenticAMD
:CPU family: 22
:Model: 0
:Model name: AMD Athlon(tm) 5350 APU with Radeon(tm) R3
:Stepping: 1
:CPU MHz: 2046.162
:BogoMIPS: 4092.32
:Virtualization: AMD-V
:Hypervisor vendor: KVM
:Virtualization type: full
:NUMA node0 CPU(s): 0-3
:Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext ssbd vmmcall tsc_adjust bmi1 xsaveopt virt_ssbd arat npt nrip_save
dso_list:
:/usr/lib/locale/en_US/LC_CTYPE glibc-langpack-en-2.27-30.fc28.x86_64 (Fedora Project) 1534572626
:/usr/lib/locale/en_US/LC_PAPER glibc-langpack-en-2.27-30.fc28.x86_64 (Fedora Project) 1534572626
:/usr/share/fonts/dejavu/DejaVuSans-Bold.ttf dejavu-sans-fonts-2.35-6.fc28.noarch (Fedora Project) 1534573744
:/usr/lib/locale/en_US/LC_MEASUREMENT glibc-langpack-en-2.27-30.fc28.x86_64 (Fedora Project) 1534572626
:/usr/lib/locale/en_US/LC_MESSAGES/SYS_LC_MESSAGES glibc-langpack-en-2.27-30.fc28.x86_64 (Fedora Project) 1534572626
:/usr/share/fonts/gnu-free/FreeSerif.ttf gnu-free-serif-fonts-20120503-17.fc28.noarch (Fedora Project) 1534573745
:/usr/lib/locale/en_US/LC_NUMERIC glibc-langpack-en-2.27-30.fc28.x86_64 (Fedora Project) 1534572626
:/usr/lib/locale/en_US/LC_TIME glibc-langpack-en-2.27-30.fc28.x86_64 (Fedora Project) 1534572626
:/usr/share/icons/hicolor/icon-theme.cache hicolor-icon-theme-0.17-2.fc28.noarch (Fedora Project) 1534572004
:/usr/lib/locale/en_US/LC_NAME glibc-langpack-en-2.27-30.fc28.x86_64 (Fedora Project) 1534572626
:/usr/share/icons/Adwaita/icon-theme.cache adwaita-icon-theme-3.28.0-1.fc28.noarch (Fedora Project) 1534572755
:/usr/lib/locale/en_US/LC_MONETARY glibc-langpack-en-2.27-30.fc28.x86_64 (Fedora Project) 1534572626
:/usr/lib/locale/en_US/LC_IDENTIFICATION glibc-langpack-en-2.27-30.fc28.x86_64 (Fedora Project) 1534572626
:/usr/share/fonts/dejavu/DejaVuSans-ExtraLight.ttf dejavu-sans-fonts-2.35-6.fc28.noarch (Fedora Project) 1534573744
:/usr/share/fonts/dejavu/DejaVuSans.ttf dejavu-sans-fonts-2.35-6.fc28.noarch (Fedora Project) 1534573744
:/usr/lib/locale/en_US/LC_ADDRESS glibc-langpack-en-2.27-30.fc28.x86_64 (Fedora Project) 1534572626
:/usr/lib/locale/en_US/LC_TELEPHONE glibc-langpack-en-2.27-30.fc28.x86_64 (Fedora Project) 1534572626
:/usr/lib/locale/en_US/LC_COLLATE glibc-langpack-en-2.27-30.fc28.x86_64 (Fedora Project) 1534572626
:/usr/share/locale/en/LC_MESSAGES/gtk30.mo gtk3-3.22.30-1.fc28.x86_64 (Fedora Project) 1534573212
environ:
:XDG_VTNR=1
:DCONF_USER_CONFIG_DIR=.config/dconf
:SSH_AGENT_PID=1388
:XDG_SESSION_ID=2
:PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket
:HOSTNAME=virgil.localdomain
:XDG_DATA_HOME=/home/alc/.var/app/org.mozilla.Thunderbird/data
:IMSETTINGS_INTEGRATE_DESKTOP=yes
:SHELL=/bin/sh
:TERM=xterm-256color
:XDG_MENU_PREFIX=kf5-
:HISTSIZE=1000
:KONSOLE_DBUS_SERVICE=:1.67
:GTK2_RC_FILES=/home/alc/.gtkrc-2.0-kde4
:KONSOLE_PROFILE_NAME=Default
:GS_LIB=
:FLATPAK_SANDBOX_DIR=/home/alc/.var/app/org.mozilla.Thunderbird/sandbox
:WINDOWID=88080390
:SHELL_SESSION_ID=a1df32f6e71e49ed88dc38d8569233dc
:PULSE_SERVER=unix:/run/user/1000/pulse/native
:XDG_SESSION_CLASS=user
:KDE_FULL_SESSION=true
:IMSETTINGS_MODULE=none
:USER=alc
:GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0:/usr/lib/extensions/gstreamer-1.0:/usr/lib/gstreamer-1.0
:LS_COLORS=rs=0:di=38;5;33:ln=38;5;51:mh=00:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=01;05;37;41:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;40:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.zst=38;5;9:*.tzst=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.wim=38;5;9:*.swm=38;5;9:*.dwm=38;5;9:*.esd=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.mjpg=38;5;13:*.mjpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.m4a=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.oga=38;5;45:*.opus=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:
:XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
:QT_AUTO_SCREEN_SCALE_FACTOR=0
:XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
:SSH_AUTH_SOCK=/tmp/ssh-9jANJKcZIlyX/agent.1256
:SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/1448,unix/unix:/tmp/.ICE-unix/1448
:PULSE_CLIENTCONFIG=/run/user/1000/pulse/config
:XDG_CONFIG_DIRS=/app/etc/xdg:/etc/xdg
:PATH=/app/bin:/usr/bin
:MAIL=/var/spool/mail/alc
:DESKTOP_SESSION=/usr/share/xsessions/plasma
:QT_IM_MODULE=xim
:XDG_SESSION_TYPE=x11
:PWD=/home/alc
:AT_SPI_BUS_ADDRESS=unix:path=/run/user/1000/at-spi-bus
:XMODIFIERS=@im=none
:KONSOLE_DBUS_WINDOW=/Windows/1
:KDE_SESSION_UID=1000
:LANG=en_US.UTF-8
:KDEDIRS=/usr
:KONSOLE_DBUS_SESSION=/Sessions/1
:SSH_ASKPASS=/usr/bin/ksshaskpass
:HISTCONTROL=ignoredups
:COLORFGBG=15;0
:SHLVL=4
:XDG_SEAT=seat0
:GDK_CORE_DEVICE_EVENTS=1
:HOME=/home/alc
:XDG_CONFIG_HOME=/home/alc/.var/app/org.mozilla.Thunderbird/config
:KDE_SESSION_VERSION=5
:LANGUAGE=
:XCURSOR_THEME=breeze_cursors
:XDG_CACHE_HOME=/home/alc/.var/app/org.mozilla.Thunderbird/cache
:LOGNAME=alc
:XDG_SESSION_DESKTOP=KDE
:DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
:XDG_DATA_DIRS=/app/share:/usr/share:/usr/share/runtime/share:/run/host/share
:LESSOPEN=||/usr/bin/lesspipe.sh %s
:GI_TYPELIB_PATH=/app/lib/girepository-1.0
:XDG_RUNTIME_DIR=/run/user/1000
:DISPLAY=:99.0
:PROFILEHOME=
:GTK_IM_MODULE=gtk-im-context-simple
:XDG_CURRENT_DESKTOP=KDE
:XAUTHORITY=/run/user/1000/Xauthority
:COLORTERM=truecolor
:_=/app/bin/thunderbird
limits:
:Limit Soft Limit Hard Limit Units
:Max cpu time unlimited unlimited seconds
:Max file size unlimited unlimited bytes
:Max data size unlimited unlimited bytes
:Max stack size 8388608 unlimited bytes
:Max core file size unlimited unlimited bytes
:Max resident set unlimited unlimited bytes
:Max processes 23429 23429 processes
:Max open files 1024 4096 files
:Max locked memory 16777216 16777216 bytes
:Max address space unlimited unlimited bytes
:Max file locks unlimited unlimited locks
:Max pending signals 23429 23429 signals
:Max msgqueue size 819200 819200 bytes
:Max nice priority 0 0
:Max realtime priority 0 0
:Max realtime timeout unlimited unlimited us
os_info:
:NAME=Fedora
:VERSION="28 (Twenty Eight)"
:ID=fedora
:VERSION_ID=28
:PLATFORM_ID="platform:f28"
:PRETTY_NAME="Fedora 28 (Twenty Eight)"
:ANSI_COLOR="0;34"
:CPE_NAME="cpe:/o:fedoraproject:fedora:28"
:HOME_URL="https://fedoraproject.org/"
:SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
:BUG_REPORT_URL="https://bugzilla.redhat.com/"
:REDHAT_BUGZILLA_PRODUCT="Fedora"
:REDHAT_BUGZILLA_PRODUCT_VERSION=28
:REDHAT_SUPPORT_PRODUCT="Fedora"
:REDHAT_SUPPORT_PRODUCT_VERSION=28
:PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
proc_pid_status:
:Name: thunderbird
:Umask: 0002
:State: S (sleeping)
:Tgid: 2800
:Ngid: 0
:Pid: 2800
:PPid: 2786
:TracerPid: 0
:Uid: 1000 1000 1000 1000
:Gid: 1000 1000 1000 1000
:FDSize: 128
:Groups: 10 1000
:NStgid: 2800 7
:NSpid: 2800 7
:NSpgid: 2800 7
:NSsid: 1976 0
:VmPeak: 2147708 kB
:VmSize: 2139748 kB
:VmLck: 0 kB
:VmPin: 0 kB
:VmHWM: 383588 kB
:VmRSS: 370068 kB
:RssAnon: 242528 kB
:RssFile: 119856 kB
:RssShmem: 7684 kB
:VmData: 631792 kB
:VmStk: 168 kB
:VmExe: 196 kB
:VmLib: 129076 kB
:VmPTE: 1568 kB
:VmSwap: 0 kB
:HugetlbPages: 0 kB
:CoreDumping: 1
:Threads: 56
:SigQ: 1/23429
:SigPnd: 0000000000000000
:ShdPnd: 0000000000000000
:SigBlk: 0000000000000000
:SigIgn: 0000000000001000
:SigCgt: 0000000f820040af
:CapInh: 0000000000000000
:CapPrm: 0000000000000000
:CapEff: 0000000000000000
:CapBnd: 0000003fffffffff
:CapAmb: 0000000000000000
:NoNewPrivs: 1
:Seccomp: 2
:Speculation_Store_Bypass: thread force mitigated
:Cpus_allowed: f
:Cpus_allowed_list: 0-3
:Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
:Mems_allowed_list: 0
:voluntary_ctxt_switches: 6201
:nonvoluntary_ctxt_switches: 6947
At which point this crash was supposed to happen? I reverted to v60 and tried with fresh profile adding new gmail account (I stopped when gmail login window popped up. I had same stacktrace as @AdrianKoshka but there was no crash.
-- Exception object --
+ _message (string) ''
+ stack (string) 425 chars
+ code (number) 0
+ uri (string) 'http://autoconfig.gmail.com/mail/config-v1.1.xml'
+ constructor (function) 6 lines
+ message (string) ''
+ toString (function) 4 lines
*
-- Stack Trace --
Exception@chrome://messenger/content/accountcreation/util.js:126:5
ServerException@chrome://messenger/content/accountcreation/fetchhttp.js:261:3
_response@chrome://messenger/content/accountcreation/fetchhttp.js:189:19
start/request.onerror@chrome://messenger/content/accountcreation/fetchhttp.js:117:36
MsgAccountManager@chrome://messenger/content/accountUtils.js:256:9
oncommand@chrome://messenger/content/messenger.xul:1:1
After that I tried with my old profile and it works completely clean.
@Erick555 I think it's either directly after account creation, and/or when a user tries to access their inbox. I too could copy my ~/.thunderbird
file and have things work just fine on v60.
But you agree that it is not accceptable to delete the users tb-profile when using the flatpak version? Acessing the inbox is one of the major features of a mail client, right? ;-)
As I understand this is just to spot the problems right now ... another impression I had was that in my case it seems to have problems with the enigmail-addon that comes with the upstream tb-package and therefore is installed to /usr/share/mozilla/extensions/ (and symlinked into the users profile dir). "--safe-mode" didn't help much but maybe the flatpak version lacks permissions in a way to follow these symlinks? Just a guess, not more.
Flatpak permissions could be the issue, for example I can't open link or attachment from flatpak version.
@AdrianKoshka I think the stacktrace you posted isn't related to crash, just a noise. The real one was posted in https://github.com/flathub/org.mozilla.Thunderbird/issues/46#issuecomment-414291642 but those build didn't include debug symbols. Can you try checking this with your debug-enabled build? You will have to run it through gdb
as in linked comment.
BTW: Perhaps options linked in https://github.com/flathub/org.mozilla.Thunderbird/issues/46#issuecomment-414310101 should be disabled by default to make debugging possible without re-compiling whole package.
But you agree that it is not accceptable to delete the users tb-profile when using the flatpak version? Acessing the inbox is one of the major features of a mail client, right? ;-)
Deleting it doesn't solve any issue, once you add an account, or try to access that account, TB crashes, this is a moot point.
As I understand this is just to spot the problems right now ... another impression I had was that in my case it seems to have problems with the enigmail-addon that comes with the upstream tb-package and therefore is installed to /usr/share/mozilla/extensions/ (and symlinked into the users profile dir). "--safe-mode" didn't help much but maybe the flatpak version lacks permissions in a way to follow these symlinks? Just a guess, not more.
Haven't tested installing/using enigmail in a while, at the moment there isn't a portal for GPG keys, so it wouldn't function anyway unless we included gpg
and exposed the users keys directly (not something I want to do).
Can you try checking this with your debug-enabled build? You will have to run it through gdb as in linked comment.
I'll try to remember to do this later today.
BTW: Perhaps options linked in #46 (comment) should be disabled by default to make debugging possible without re-compiling whole package.
Perhaps
Seems I had missed installing the .Debug
extension, none-the-less, when I tried to run gdb
, it didn't find any symbols, which confused me.
Maybe you can try with --enable-debug-symbols.
Maybe you can try with --enable-debug-symbols.
Will do.
No dice...
flatpak run --devel --command=sh --verbose org.mozilla.Thunderbird//master
F: Opening user flatpak installation at path /home/alc/.local/share/flatpak
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening user flatpak installation at path /home/alc/.local/share/flatpak
F: Regenerating ld.so.cache /home/alc/.var/app/org.mozilla.Thunderbird/.ld.so/d1b762be4821fd95ee05da9d7d553424b2ce85a4c0e4c9cf4a4233c6d7aef83f
F: Running: 'bwrap --args 5 ldconfig -X -C /run/ld-so-cache-dir/d1b762be4821fd95ee05da9d7d553424b2ce85a4c0e4c9cf4a4233c6d7aef83f'
F: Allocated instance id 632163179
F: Allowing dri access
F: Allowing homedir access
F: Allowing x11 access
F: Allowing pulseaudio access
F: Pulseaudio user configuration file '/home/alc/.config/pulse/client.conf': Error opening file /home/alc/.config/pulse/client.conf: No such file or directory
F: Running 'bwrap --args 24 /usr/libexec/flatpak-dbus-proxy --args=27'
F: Running 'bwrap --args 23 sh'
sh-4.3$ gdb /app/bin/thunderbird
GNU gdb (GDB) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /app/bin/thunderbird...(no debugging symbols found)...done.
(gdb)
Btw, If you want the config I'm using, you can fetch my setup from the debug branch
You can try if this patch fixes crash: https://git.archlinux.org/svntogit/packages.git/plain/trunk/bz1482248.patch?h=packages/thunderbird
@AdrianKoshka you may also look at debian build configs, maybe you get some ideas: https://salsa.debian.org/mozilla-team/thunderbird/blob/debian/sid/debian/mozconfig.default https://salsa.debian.org/mozilla-team/thunderbird/blob/debian/sid/debian/mozconfig.thunderbird
That patch made thunderbird instantly crash :c
alc@virgil ~]$ flatpak run --verbose org.mozilla.Thunderbird
F: Opening user flatpak installation at path /home/alc/.local/share/flatpak
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening user flatpak installation at path /home/alc/.local/share/flatpak
F: Cleaning up unused container id 4277036121
F: Allocated instance id 1623702047
F: Allowing dri access
F: Allowing homedir access
F: Allowing x11 access
F: Allowing pulseaudio access
F: Pulseaudio user configuration file '/home/alc/.config/pulse/client.conf': Error opening file /home/alc/.config/pulse/client.conf: No such file or directory
F: Running 'bwrap --args 24 /usr/libexec/flatpak-dbus-proxy --args=27'
F: Running 'bwrap --args 20 thunderbird'
[2, Unnamed thread 7f872de5f040] WARNING: XPCOM objects created/destroyed from static ctor/dtor: file /run/build/thunderbird/xpcom/base/nsTraceRefcnt.cpp, line 194
Assertion failure: !locale.IsEmpty(), at /run/build/thunderbird/intl/locale/LocaleService.cpp:696
#01: ???[/app/lib/thunderbird/libxul.so +0x136cf93]
#02: ???[/app/lib/thunderbird/libxul.so +0x136d028]
#03: ???[/app/lib/thunderbird/libxul.so +0x136d0b2]
#04: ???[/app/lib/thunderbird/libxul.so +0x136d25d]
#05: ???[/app/lib/thunderbird/libxul.so +0x134d06d]
#06: ???[/app/lib/thunderbird/libxul.so +0x134d3f6]
#07: ???[/app/lib/thunderbird/libxul.so +0x1315ad6]
#08: ???[/app/lib/thunderbird/libxul.so +0x1315c1b]
#09: ???[/app/lib/thunderbird/libxul.so +0x1315cc8]
#10: ???[/app/lib/thunderbird/libxul.so +0x1315b91]
#11: ???[/app/lib/thunderbird/libxul.so +0x1315c1b]
#12: ???[/app/lib/thunderbird/libxul.so +0x1315d31]
#13: ???[/app/lib/thunderbird/libxul.so +0x131606b]
#14: ???[/app/lib/thunderbird/libxul.so +0x1355afd]
#15: ???[/app/lib/thunderbird/libxul.so +0x3dccb40]
#16: ???[/app/lib/thunderbird/libxul.so +0x3dd53e8]
#17: ???[/app/lib/thunderbird/libxul.so +0x3dd57c1]
#18: ???[thunderbird +0x6152]
#19: ???[thunderbird +0x5951]
#20: __libc_start_main[/lib/libc.so.6 +0x20291]
#21: _start[thunderbird +0x5bda]
#22: ??? (???:???)
Program thunderbird (pid = 2) received signal 11.
Stack:
#01: ???[/lib/libpthread.so.0 +0x11800]
#02: ???[/app/lib/thunderbird/libxul.so +0x136ca6f]
#03: ???[/app/lib/thunderbird/libxul.so +0x136cf93]
#04: ???[/app/lib/thunderbird/libxul.so +0x136d028]
#05: ???[/app/lib/thunderbird/libxul.so +0x136d0b2]
#06: ???[/app/lib/thunderbird/libxul.so +0x136d25d]
#07: ???[/app/lib/thunderbird/libxul.so +0x134d06d]
#08: ???[/app/lib/thunderbird/libxul.so +0x134d3f6]
#09: ???[/app/lib/thunderbird/libxul.so +0x1315ad6]
#10: ???[/app/lib/thunderbird/libxul.so +0x1315c1b]
#11: ???[/app/lib/thunderbird/libxul.so +0x1315cc8]
#12: ???[/app/lib/thunderbird/libxul.so +0x1315b91]
#13: ???[/app/lib/thunderbird/libxul.so +0x1315c1b]
#14: ???[/app/lib/thunderbird/libxul.so +0x1315d31]
#15: ???[/app/lib/thunderbird/libxul.so +0x131606b]
#16: ???[/app/lib/thunderbird/libxul.so +0x1355afd]
#17: ???[/app/lib/thunderbird/libxul.so +0x3dccb40]
#18: ???[/app/lib/thunderbird/libxul.so +0x3dd53e8]
#19: ???[/app/lib/thunderbird/libxul.so +0x3dd57c1]
#20: ???[thunderbird +0x6152]
#21: ???[thunderbird +0x5951]
#22: __libc_start_main[/lib/libc.so.6 +0x20291]
#23: _start[thunderbird +0x5bda]
#24: ??? (???:???)
Sleeping for 300 seconds.
Type 'gdb thunderbird 2' to attach your debugger to this thread.
@AdrianKoshka did you tried build config from debian?
Not yet, haven't had the time.
Getting closer to something that is almost building...I think this mozconfig
should do the trick, but I'll have to wait and see.
# -*- mode: makefile; coding: utf-8 -*-
# use/use not packaged software instead of preshipped
ac_add_options --with-system-bz2
ac_add_options --with-system-icu
#ac_add_options --with-system-nspr
#ac_add_options --with-system-nss
ac_add_options --with-system-zlib
# other packaged software
ac_add_options --with-system-libevent
ac_add_options --with-system-libvpx
# disabled features
ac_add_options --disable-gconf
ac_add_options --disable-install-strip
ac_add_options --disable-strip
ac_add_options --disable-tests
ac_add_options --disable-updater
ac_add_options --disable-webrtc
# enabled features
#ac_add_options --enable-default-toolkit=cairo-gtk3
ac_add_options --enable-extensions=default
ac_add_options --enable-official-branding # use the official artwork
ac_add_options --enable-optimize
ac_add_options --enable-pie
ac_add_options --enable-readline
ac_add_options --enable-startup-notification
ac_add_options --enable-system-ffi
ac_add_options --enable-system-hunspell
ac_add_options --enable-system-sqlite
ac_add_options --with-pthreads
ac_add_options --disable-debug
ac_add_options --enable-application=comm/mail # enable Thunderbird
ac_add_options --enable-calendar # enable Lightning
ac_add_options --with-system-jpeg
ac_add_options --enable-system-pixman
Roughdraft manifest:
{
"app-id": "org.mozilla.Thunderbird",
"runtime": "org.gnome.Platform",
"runtime-version": "3.28",
"sdk": "org.gnome.Sdk",
"sdk-extensions": ["org.freedesktop.Sdk.Extension.rust-stable"],
"command": "thunderbird",
"rename-icon": "thunderbird",
"finish-args": [
"--share=ipc", "--socket=x11",
"--device=dri",
"--share=network",
"--socket=pulseaudio",
"--filesystem=~/.cache/thunderbird:create", "--filesystem=~/.thunderbird:create",
"--filesystem=home:ro",
"--filesystem=xdg-download:rw",
"--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro",
"--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf",
"--talk-name=org.a11y.*",
"--talk-name=org.freedesktop.Notifications"
],
"build-options" : {
"append-path": "/usr/lib/sdk/rust-stable/bin",
"cflags": "-O2 -g",
"cxxflags": "-O2 -g",
"env": {
"V": "1",
"CARGO_HOME": "/run/build/Thunderbird/cargo"
}
},
"cleanup": [
"/include",
"/lib/pkgconfig",
"/share/pkgconfig",
"/share/aclocal",
"/man",
"/share/man",
"*.la", "*.a"
],
"modules": [
{
"name": "sqlite",
"build-options":{
"cflags": "-O2 -g -DSQLITE_SECURE_DELETE -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_ENABLE_DBSTAT_VTAB",
"cxxflags": "-O2 -g -DSQLITE_SECURE_DELETE -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_ENABLE_DBSTAT_VTAB"
},
"sources": [
{
"type": "archive",
"url": "https://www.sqlite.org/2018/sqlite-autoconf-3240000.tar.gz",
"sha256": "d9d14e88c6fb6d68de9ca0d1f9797477d82fc3aed613558f87ffbdbbc5ceb74a"
}
]
},
{
"name": "hunspell",
"sources": [
{
"type": "script",
"commands": [
"autoreconf -fis"
]
},
{
"type": "archive",
"url": "https://github.com/hunspell/hunspell/archive/v1.6.2.tar.gz",
"sha256": "3cd9ceb062fe5814f668e4f22b2fa6e3ba0b339b921739541ce180cac4d6f4c4"
}
]
},
{
"name": "libevent",
"sources": [
{
"type": "archive",
"url": "https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz",
"sha256": "965cc5a8bb46ce4199a47e9b2c9e1cae3b137e8356ffdad6d94d3b9069b71dc2"
}
]
},
{
"name": "startup-notification",
"sources": [
{
"type": "archive",
"url": "http://www.freedesktop.org/software/startup-notification/releases/startup-notification-0.12.tar.gz",
"sha256": "3c391f7e930c583095045cd2d10eb73a64f085c7fde9d260f2652c7cb3cfbe4a"
}
]
},
{
"name": "autoconf-2.13",
"cleanup": [ "*" ],
"sources": [
{
"type": "archive",
"url": "http://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz",
"sha256": "f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e"
}
],
"post-install": [
"ln -s /app/bin/autoconf /app/bin/autoconf-2.13"
]
},
{
"name": "icu",
"cleanup": ["/bin/*", "/sbin/*"],
"sources": [
{
"type": "archive",
"url":"http://download.icu-project.org/files/icu4c/60.1/icu4c-60_1-src.tgz",
"sha256":"f8f5a6c8fbf32c015a467972bdb1477dc5f5d5dfea908b6ed218715eeb5ee225"
}
],
"subdir": "source"
},
{
"name": "thunderbird",
"buildsystem": "simple",
"build-options":{
"cflags": "-fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2",
"cxxflags": "-fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2",
"env":{
"VERSION": "60.0",
"TERM": "linux"
}
},
"build-commands": [
"./mach configure",
"./mach build -j $FLATPAK_BUILDER_N_JOBS",
"./mach buildsymbols",
"./mach install",
"for i in 16 22 24 32 48 64 128 256;do mkdir -p /app/share/icons/hicolor/${i}x${i}/apps;cp comm/mail/branding/thunderbird/default${i}.png /app/share/icons/hicolor/${i}x${i}/apps/thunderbird.png;done",
"mkdir -p /app/share/icons/hicolor/symbolic/apps",
"cp comm/mail/branding/thunderbird/TB-symbolic.svg /app/share/icons/hicolor/symbolic/apps/thunderbird-symbolic.svg",
"mkdir -p /app/share/applications",
"cp org.mozilla.Thunderbird.desktop /app/share/applications",
"mkdir -p /app/share/appdata",
"cp org.mozilla.Thunderbird.appdata.xml /app/share/appdata"
],
"sources": [
{
"type": "file",
"path": "mozconfig"
},
{
"type": "file",
"path": "org.mozilla.Thunderbird.desktop"
},
{
"type": "file",
"path": "org.mozilla.Thunderbird.appdata.xml"
},
{
"type": "archive",
"url": "https://ftp.mozilla.org/pub/thunderbird/releases/60.0/source/thunderbird-60.0.source.tar.xz",
"sha256": "bd7da88dcc03c448a4e975b5a1d3e9bf466ec9151b1059392bcdb50955a22056"
}
]
}
]
}
@Erick555 Any idea why Thunderbird would be trying to put something in /usr/local/
when it should be using the prefix /app
?
2:07.94 ../../../config/nsinstall: cannot make directory /usr/local: Read-only file system
2:07.94 make[1]: *** [/run/build/thunderbird/toolkit/mozapps/installer/packager.mk:128: install] Error 1
2:07.95 make[1]: Leaving directory '/run/build/thunderbird/obj-x86_64-pc-linux-gnu/comm/mail/installer'
2:07.95 make: *** [/run/build/thunderbird/comm/mail/build.mk:16: install] Error 2
2:07.95 make: Leaving directory '/run/build/thunderbird/obj-x86_64-pc-linux-gnu'
Error: module thunderbird: Child process exited with code 2
Makefile:8: recipe for target 'build' failed
60.1
is releasing soon-ish apparently? Hopefully this will solve some of the problems we've been having...
Crashes immediately on start up. Task manager shows the application starting up, then immediately dying. Running on Kubuntu 18.04.1 LTS 64 bit.
Workaround: Changed ~/.thunderbird/ and the ~/.var/app/org.mozilla.Thunderbird to.old, starts up correctly.
What expected: Incompatible extensions should gracefully be ignored.
Terminal output: $ flatpak run org.mozilla.Thunderbird -v Thunderbird 60.0
$ flatpak run --verbose org.mozilla.Thunderbird F: No installations directory in /etc/flatpak/installations.d. Skipping F: Opening user flatpak installation at path /home//.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home//.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Allowing dri access
F: Allowing homedir access
F: Allowing x11 access
F: Allowing pulseaudio access
F: Pulseaudio user configuration file '/home//.config/pulse/client.conf': Error opening file /home//.config/pulse/client.conf: No such file or directory
1533878203345 addons.xpi WARN Can't get modified time of /app/lib/thunderbird/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
[calBackendLoader] Using Thunderbird's builtin libical backend