You are not logged in.

#1 2018-05-09 13:40:57

epinephrine
Member
From: Frankfurt
Registered: 2012-10-18
Posts: 92

Thunderbird crashes with "bus error" when resuming system from suspend

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

#2 2018-05-09 13:50:37

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,424

Re: Thunderbird crashes with "bus error" when resuming system from suspend

What's the output of

hostnamectl
loginctl show-session $XDG_SESSION_ID

Online

#3 2018-05-09 14:14:25

epinephrine
Member
From: Frankfurt
Registered: 2012-10-18
Posts: 92

Re: Thunderbird crashes with "bus error" when resuming system from suspend

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

#4 2018-05-09 14:36:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,424

Re: Thunderbird crashes with "bus error" when resuming system from suspend

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

#5 2018-05-09 14:48:27

epinephrine
Member
From: Frankfurt
Registered: 2012-10-18
Posts: 92

Re: Thunderbird crashes with "bus error" when resuming system from suspend

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

#6 2018-05-09 14:58:15

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,424

Re: Thunderbird crashes with "bus error" when resuming system from suspend

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

#7 2018-05-09 15:00:14

epinephrine
Member
From: Frankfurt
Registered: 2012-10-18
Posts: 92

Re: Thunderbird crashes with "bus error" when resuming system from suspend

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

#8 2018-05-09 15:15:58

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: Thunderbird crashes with "bus error" when resuming system from suspend

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

#9 2018-05-15 13:08:20

epinephrine
Member
From: Frankfurt
Registered: 2012-10-18
Posts: 92

Re: Thunderbird crashes with "bus error" when resuming system from suspend

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

#10 2018-05-15 13:59:25

seth
Member
Registered: 2012-09-03
Posts: 49,977

Re: Thunderbird crashes with "bus error" when resuming system from suspend

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

#11 2018-05-15 14:29:24

epinephrine
Member
From: Frankfurt
Registered: 2012-10-18
Posts: 92

Re: Thunderbird crashes with "bus error" when resuming system from suspend

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

#12 2018-05-15 14:36:13

seth
Member
Registered: 2012-09-03
Posts: 49,977

Re: Thunderbird crashes with "bus error" when resuming system from suspend

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

Board footer

Powered by FluxBB