foudfou/FireTray

Constant random crashes

Closed this issue · 21 comments

I initially reported this bug (incorrectly) as a comment to issue #152.

TB has been crashing for me since I upgraded to TB 38.0.1 (in Arch Linux). It launches fine, but crashes within a few minutes, even if starting from the command line. I have replicated this over a dozen times, and it crashes 100% of the time. If I disable Firetray, then it works fine. I built Firetray from source (0.5.7pre1) for debugging purposes. Here is the output on the command line, although I'm not sure how informative it is.

TB 38.0.1
Arch Linux
KDE Plasma 5.3.2 (also 5.3.1)
gtk2 2.24.28
gtk3 3.16.4

I've since tried downgrading Firetray. I can confirm that TB crashes within minutes for 0.5.7pre1, 0.5.6.1-signed, and 0.5.4.1-signed. 0.5.3.1-signed.1-signed doesn't crash TB, but obviously lacks tray support for KDE Plasma 5.

I've isolated the issue to a conflict with the add-on Virtual Identity 0.9.33. If I disable either add-on, TB will not crash. Alternatively, I can make TB crash at will if I only enable these two add-ons.

I've tried to reproduce this crash in a VirtualBox environment but for some reason cannot. FWIW I also tried totally uninstalling both, removing all entries in about:config related to either add-on, then reinstalling. This did not prevent crashes.

I can replicate this bug on my wife's computer, which does not have Virtual Identity installed. TB crashes consistently with FireTray as the only extension installed. In an attempt to isolate the bug, I copied her TB directory to my computer, but could no longer replicate the bug! We're both using Arch Linux with KDE Plasma 5, so I'm not sure how to progress.

Quite possibly I'm facing the same bug as #177 and #153, but I can't really test it. If I remove libappindicator-gtk2, libappindicator-gtk3 and associated dependencies, FireTray won't crash TB. However, I get no tray icon in Plasma 5, so presumably it's not a very specific test.

dh4 commented

Same issue on Arch Linux without Virtual Identity:
Thunderbird 38.1.0
FireTray 0.5.6
KDE Plasma 5.3.2
GTK 2.24.28
libappindicator 12.10.0

The following is printed to the console when Thunderbird freezes:

(thunderbird:10951): GLib-GObject-WARNING **: cannot register existing type 'GdkKeymap'

(thunderbird:10951): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(thunderbird:10951): Gdk-CRITICAL **: gdk_keymap_have_bidi_layouts: assertion 'GDK_IS_KEYMAP (keymap)' failed

Only happens with FireTray enabled.

Same issue on Debian Jessie.

Qt: 4.8.6
KDE Development Platform: 4.14.2
Plasma Desktop Shell: 4.11.13
Icedove (Thunderbird) 31.8.0
libappindicator3-1 0.4.92-3.1

FireTray 0.5.3.1 seems to work fine so far, though.

Update: Indeed FireTray 0.5.3.1 never crashed for a month now!

Same issue on Debian Sid

Qt: 5.4.2
KDE Plasma: 5.4.1
Icedove (Thunderbird): 38.2.0
Iceweasel (Firefox): 38.3.0
libappindicator3-1: 0.4.92-3.1

FireTray 0.5.3.1 (and 0.5.7pre1) crashes ff and tb when i click thumb buttons on my mouse. then i get same error
(iceweasel:30963): GLib-GObject-WARNING *: cannot register existing type 'GdkKeymap'
(iceweasel:30963): GLib-CRITICAL *
: g_once_init_leave: assertion 'result != 0' failed
(iceweasel:30963): Gdk-CRITICAL **: gdk_keymap_have_bidi_layouts: assertion 'GDK_IS_KEYMAP (keymap)' failed

ka223 commented

Have the same for some time now with TB 38.3.0 on Xubuntu 14.04 64Bit.
FireTray 0.5.6.1 -signed
Both my thunderbird profiles where unreachable, tray icon gone and the thunderbird process is still running.

Same error messages at the terminal:
code: GLib-GObject-WARNING **: cannot register existing type 'GdkKeymap'

(thunderbird:3348): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(thunderbird:3348): Gdk-CRITICAL **: gdk_keymap_have_bidi_layouts: assertion 'GDK_IS_KEYMAP (keymap)' failed

When did it happen?

  • I do not know, had a mouse without thumb buttons connected and I was some time afk ...
  • but I can reproduce this with a thumb button mouse as @jackyohh described once
  • it is definitely crashing if I connect my wifi mouse or my medion gaming keyboard or my graphic tablet when the FireTray Plugin is enabled

... it is reproducible!

Exact same issue since yesterday (Ubuntu 12.04 64b, TB 38.3.0 FireTray 0.5.6.1-signed). After a few minutes, TB cannot be opened anymore from the tray bar. Sometimes the tray icon also disappears, though not always.

Same issue with:
Ubuntu 14.04.3 LTS
Thunderbird 38.3.0
FireTray 0.5.6-signed
Ubuntu 14.04.3 LTS

Thunderbird is unusable after several minutes or just minimizing to tray.
Following error is displayed:

(thunderbird:29451): GLib-GObject-WARNING **: cannot register existing type 'GdkKeymap'

(thunderbird:29451): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(thunderbird:29451): Gdk-CRITICAL **: gdk_keymap_have_bidi_layouts: assertion 'GDK_IS_KEYMAP (keymap)' failed

I have same error whenever i use mute/volume up/volume down buttons on my keyboard. It started less than month ago

(thunderbird:5473): GLib-GObject-WARNING **: cannot register existing type 'GdkKeymap'
(thunderbird:5473): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed
(thunderbird:5473): Gdk-CRITICAL **: gdk_keymap_have_bidi_layouts: assertion 'GDK_IS_KEYMAP (keymap)' failed

Ubuntu 15.04, Plasma 5.2.2

Freezenig thunderbird 38.3.0 on Linux (debian based) with firetray 0.5.6.1.

Work around: Use older addon. At my case version 0.5.3.x working without any problems.

@boussouira So that is consistent with my testing in the first post. However, that version lacks support for the newer versions of KDE Plasma.

can you set extensions.firetray.with_appindicator to false in about:config and try to reproduce the crash?

@boussouira I've actually stopped using Thunderbird now for a number of reasons (including the lack of a tray icon). From memory I tried this, but I think it prevented the tray icon from working at all. If any of the other bug subscribers want to try, please feel free.

@boussouira i've checked this setting, but no change on thunderbird. Dies with same message as before

Does v0.6.0 solve the issue ?

@protist what mail client do you use now ?

@foudfou I'm using mutt. It doesn't have a tray icon, of course, but I'm finding it much better than Thunderbird in many other ways (after the learning curve!). FWIW I've hacked together my own tray icon using imapnotify, which triggers a count of the new maildir folders, which is then displayed in a textbox in KDE Plasma's panel.

@foudfou yes for me v0.6.0 solved problem. Thanks

0.6.0 fixes bug on Debian Jessie as well!

@protist thx. I must say mutt is tempting!
Closing this one then.

@foudfou I can definitely recommend it, but I've spent something like 30+ hours tweaking it so far! Be prepared for the (short-term) time sink!