Hello Torbjörn, On Tue, Aug 28, 2018 at 06:38:03PM +0200, Torbjörn Andersson wrote: > For what it's worth, Thunderbird 60.0-2 doesn't start for me either. I tried > following the instructions in the Debian Wiki, and this is what I found: > > Only Thunderbird has changed. If I reinstall 52.9.1-1, the crash goes away.
well, it's of course possible that internally something has changed that way you or the other reporters will see now a crash. > Safe mode makes no difference. O.k. Than we can exclude some problems which might come along with AddOns which are now incompatible. > Starting with a dummy profile (where I haven't even tried to set up any mail > server or access my old mail) does work. I haven't tried setting up a proper > profile yet. Thanks for checking this, by this we can probably also exclude some AppArmor misbehavior. This is unlikely nevertheless if you did not have issues with AppArmor and the previous Thunderbird ESR version. > Sometimes I do get AppArmor messages about Thunderbird in "dmesg", but not > every time I start so I don't know if they're relevant. I did try disabling > AppArmor, but it didn't make any difference. I may have done it wrong, > though. No, you don't have done anything wrong. For AppArmor it's mostly easy to see, Thunderbird is usable or not. For a more detailed answer the messages you have got would be needed. I guess these are not related to this bug report. > I wanted to try "thunderbird -g", as suggested by the man page, but I don't > have thunderbird-dbgsym installed, and it doesn't seem to be available for > amd64 in sid. It is, but you need to add an additional source to your sources.list. I added a hint into the output of 'thunderbird -help' right now, you are the first person who spotted this issue. > Even if it was, there doesn't seem to be any run-mozilla.sh script > with the new version of Thunderbird, though there is one in the old > version. By the way, "thunderbird --help" says it's thunderbird-dbg I > need, but that doesn't seem to exist either. Yes, the next issue you have found. thunderbird-dbg is now migrated to thunderbird-dbgsym. I changed this too within the starting wrapper and man page file. Will be fixed within the next upload. So, what di you need to do now? You need to add an extra line to your sources.list, pick the entry for unstable from here: https://wiki.debian.org/SourcesList#Debug_Symbol_Packages Next update the package list as usual by 'sudo apt update' and install the dbgsym for thunderbird. $ sudo apt install -t unstable thunderbird-dbgsym Next you need to call gdb manually as the wrapper script needs to modified first. $ gdb -ex run /usr/lib/thunderbird/thunderbird Please be patient, thew start of thunderbird take significantly longer as usual. If you don't want to start thunderbird directly remove the options '-ex run'. > Since I was out of any better ideas, I ran it through strace. This piece of > the output may be relevant: Yeah, good try and catch! > lstat("/home", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 > lstat("/home/d91tan", {st_mode=S_IFDIR|0700, st_size=12288, ...}) = 0 > lstat("/home/d91tan/.thunderbird", {st_mode=S_IFDIR|S_ISGID|0755, > st_size=4096, ...}) = 0 > lstat("/home/d91tan/.thunderbird/rhu4a0c1.default", > {st_mode=S_IFDIR|S_ISGID|0700, st_size=4096, ...}) = 0 > lstat("/home/d91tan/.thunderbird/rhu4a0c1.default/Mail", > {st_mode=S_IFDIR|S_ISGID|0755, st_size=4096, ...}) = 0 > lstat("/home/d91tan/.thunderbird/rhu4a0c1.default/Mail/Local Folders", > {st_mode=S_IFDIR|S_ISGID|0755, st_size=4096, ...}) = 0 > access("/home/d91tan/.thunderbird/rhu4a0c1.default/Mail/Local Folders", > F_OK) = 0 > stat("/home/d91tan/.thunderbird/rhu4a0c1.default/Mail/Local Folders", > {st_mode=S_IFDIR|S_ISGID|0755, st_size=4096, ...}) = 0 > openat(AT_FDCWD, "/home/d91tan/.thunderbird/rhu4a0c1.default/Mail/Local > Folders", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 45 > fstat(45, {st_mode=S_IFDIR|S_ISGID|0755, st_size=4096, ...}) = 0 > getdents(45, /* 91 entries */, 32768) = 3016 > getdents(45, /* 0 entries */, 32768) = 0 > close(45) = 0 > --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} --- > unlink("/home/d91tan/.thunderbird/rhu4a0c1.default/lock") = 0 > close(8) = 0 > > Temporarily moving ~/.thunderbird /rhu4a0c1.default/Mail/Local Folder out of > the way did allow me to start Thunderbird. Unfortunately, "Local Folders" is > apparently where my main mailbox resides, so that's not a good workaround. > (I'm using POP, not IMAP, so my mail is stored locally.) > > Any suggestions for where I go from here? Yes, the line gdb is showing were thunderbird is crashing is the interesting part, I'm sure this will show us an upstream issue. I see a small possibility that gcc8 might be the root for this crash. But then I also expect we would see a lot more bug reports related to thunderbird crashes. If the other reporters could give a message if they also use POP would also interesting! Also if the redo the steps of Torbjörn and get the same output would good to knoe. As written earlier, if the issue can be reproduced it's mostly much easier to get it fixed. Your report is more informative than the previous ones and gives me more clear picture that the crashes are probably not related to AppArmor. Let's see what gdb is showing, after this especially your report will need to get reported upstream. Regards Carsten