You are not logged in.
I have this strange issue for months now. After I resume the system from suspend, the moment thunderbird gains focus, it crashes with an esoteric "bus error". I have no idea where this comes from. Any idea how to hunt this bug down?
I use thunderbird from the official repos, currently in version 52.7.0-2, no self compiled TB. And the Enigmail add-on, from the AUR.
Offline
What's the output of
hostnamectl
loginctl show-session $XDG_SESSION_ID
Online
Chassis: desktop
Operating System: Arch Linux
Kernel: Linux 4.16.6-1-ARCH
Architecture: x86-64
[other fields retained]
Id=c2
User=<uid>
Name=<login>
Timestamp=Mon 2018-05-07 18:41:45 CEST
TimestampMonotonic=585962516
VTNr=2
Seat=seat0
TTY=tty2
Remote=no
Service=login
Scope=session-c2.scope
Leader=1234
Audit=0
Type=tty
Class=user
Active=yes
State=active
IdleHint=yes
IdleSinceHint=1525711312546692
IdleSinceHintMonotonic=0
LockedHint=no
Offline
You did redact the interesting parts. FWIW what I'm getting at is is your hostname set to something that isn't localhost ? If not fix that: https://wiki.archlinux.org/index.php/Ne … e_hostname
What might also be interesting
printenv | grep DBUS
and please use [ code ] tags for pasting command output
Online
Static hostname is set to my box's intranet name "client-pc-foo", not "localhost". It is the same string as in /etc/hostname. Is that a problem?
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/<uid>/bus
Offline
No that should be fine, and that session address also looks like what I'd expect. If you start thunderbird from a terminal, what output does remain after it dies?
Online
It just throws the "bus error", no other helpful information...
[1] 17982 bus error thunderbird
thunderbird 118.23s user 13.06s system 1% cpu 3:33:28.04 total
Offline
thunderbird --safe-mode
Then start with all extensions disabled to rule enigmail out if that fails
thunderbird -P
Create a new profile to see if it is a configuration issue with the existing profile.
Also is there a coredump for thunderbird when this issue happens?
Offline
Tried it out in safe-mode and with a new, empty profile (without even configuring any email account). Still a bus error.
thunderbird --safe-mode -P
[1] 30036 bus error thunderbird --safe-mode -P
No core dump produced.
Offline
Are you sure there's no coredump?
It would clarify whether this is actually a SIGBUS (and of course how exactly it's raised might be helpful to understand the cause)
In case: https://en.wikipedia.org/wiki/Bus_error
Check dmesg for conincidental HW issues in if there's indeed no coredump, try to run t'bird in gdb.
Online
I had core dumps disabled in /etc/security/limits.conf. I now compiled my own thunderbird which I checked out with the asp tool. Let's see how that works.
Anyways, even though I used gdb a few times for some easy stuff, I wouldn't really know what to do with the core dump.
Offline
https://wiki.archlinux.org/index.php/De … _the_trace
As for what to read from the backtrace, the main aspect is consistency (is it always the same routine that leads to the SIGBUS) and beyond that, it's just taking a close look at the causing functions (zen style ...)
Online