[Pkg-mozext-maintainers] Bug#787803: xul-ext-firetray: firetray loads in GTK3 symbols causing Icedove/Iceweasel hang

Gian-Carlo Pascutto gcp at sjeng.org
Fri Jun 5 09:14:32 UTC 2015


Package: xul-ext-firetray
Version: 0.5.7~1+dfsg-1
Severity: grave
Justification: renders package unusable

Icedove is completely hanging after a few minutes. Some investigating with GDB
shows GTK3 symbols in the stack being mixed with the GTK2 which
Icedove/Iceweasel use.

#0  0x00007faf927e7fd9 in syscall () at
.../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007faf89e9f8ef in g_cond_wait (cond=cond at entry=0x7faf8a11f560
<g_once_cond>, mutex=mutex at entry=0x7faf8a11f570 <g_once_mutex>) at
/build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gthread-posix.c:1395
#2  0x00007faf89e81aab in g_once_init_enter (location=0x7faf67efafa8)
    at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gthread.c:649
#3  0x00007faf67c6ca98 in gdk_keymap_get_type () at /usr/lib/x86_64-linux-
gnu/libgdk-3.so.0
#4  0x00007faf67c6cb9e in gdk_keymap_have_bidi_layouts () at /usr/lib/x86_64
-linux-gnu/libgdk-3.so.0
#5  0x00007faf8e31cd48 in nsBidiKeyboard::Reset() (this=0x7faf516077c0)
    at /build/icedove-
lQokGR/icedove-31.7.0/mozilla/widget/gtk/nsBidiKeyboard.cpp:42
#9  0x00007faf8a14ae4a in <emit signal 0x80 <error: Cannot access memory at
address 0x80> on instance 0x7faf7b2a8110 [GdkKeymapX11]>
(instance=0x7faf8a11f568 <g_once_cond+8>, detailed_signal=0x80 <error: Cannot
access memory at address 0x80>) at
/build/glib2.0-NiYzoW/glib2.0-2.44.1/./gobject/gsignal.c:3401
    #6  0x00007faf8a1302d5 in g_closure_invoke (closure=0x7faf598999e0,
return_value=0x0, n_param_values=1, param_values=0x7ffcf6d8e750,
invocation_hint=0x7ffcf6d8e6f0)
    at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./gobject/gclosure.c:768
    #7  0x00007faf8a14203c in signal_emit_unlocked_R
(node=node at entry=0x7faf737abf20, detail=detail at entry=0,
instance=instance at entry=0x7faf7b2a8110,
emission_return=emission_return at entry=0x0,
instance_and_params=instance_and_params at entry=0x7ffcf6d8e750) at
/build/glib2.0-NiYzoW/glib2.0-2.44.1/./gobject/gsignal.c:3549
    #8  0x00007faf8a14a698 in g_signal_emit_valist (instance=<optimized out>,
signal_id=<optimized out>, detail=<optimized out>, var_args=<optimized out>) at
/build/glib2.0-NiYzoW/glib2.0-2.44.1/./gobject/gsignal.c:3305
#10 0x00007faf888c3518 in  () at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#11 0x00007faf888c3a86 in  () at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#12 0x00007faf888c3b2e in  () at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#13 0x00007faf89e5ac3d in g_main_context_dispatch (context=0x7faf926e9110)
    at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gmain.c:3122
#14 0x00007faf89e5ac3d in g_main_context_dispatch
(context=context at entry=0x7faf926e9110)
    at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gmain.c:3737
#15 0x00007faf89e5af20 in g_main_context_iterate
(context=context at entry=0x7faf926e9110, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at
/build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gmain.c:3808
#16 0x00007faf89e5afcc in g_main_context_iteration (context=0x7faf926e9110,
may_block=1)
    at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gmain.c:3869
#17 0x00007faf8e30a92e in nsAppShell::ProcessNextNativeEvent(bool)
(this=<optimized out>, mayWait=<optimized out>) at /build/icedove-
lQokGR/icedove-31.7.0/mozilla/widget/gtk/nsAppShell.cpp:141
#18 0x00007faf8e33384d in nsBaseAppShell::DoProcessNextNativeEvent(bool,
unsigned int) (this=this at entry=0x7faf790e04e0, mayWait=<optimized out>,
recursionDepth=recursionDepth at entry=0)
    at /build/icedove-
lQokGR/icedove-31.7.0/mozilla/widget/xpwidgets/nsBaseAppShell.cpp:140
#19 0x00007faf8e333974 in
nsBaseAppShell::OnProcessNextEvent(nsIThreadInternal*, bool, unsigned int)
(this=0x7faf790e04e0, thr=0x7faf926e9c10, mayWait=true, recursionDepth=0)
    at /build/icedove-
lQokGR/icedove-31.7.0/mozilla/widget/xpwidgets/nsBaseAppShell.cpp:298
#20 0x00007faf8dadf9de in nsThread::ProcessNextEvent(bool, bool*)
(this=0x7faf926e9c10, mayWait=<optimized out>, result=0x7ffcf6d8ef27) at /build
/icedove-lQokGR/icedove-31.7.0/mozilla/xpcom/threads/nsThread.cpp:688
#21 0x00007faf8da99b3c in NS_ProcessNextEvent(nsIThread*, bool)
(thread=<optimized out>, mayWait=mayWait at entry=true) at /build/icedove-
lQokGR/icedove-31.7.0/mozilla/xpcom/glue/nsThreadUtils.cpp:263
#22 0x00007faf8dc8dd3e in
mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) (this=
    0x7faf83e4de00, aDelegate=0x7faf83e56500)
    at /build/icedove-
lQokGR/icedove-31.7.0/mozilla/ipc/glue/MessagePump.cpp:136
#23 0x00007faf8dc7eb2f in MessageLoop::Run() (this=0x7faf83e56500)
    at /build/icedove-
lQokGR/icedove-31.7.0/mozilla/ipc/chromium/src/base/message_loop.cc:222
#24 0x00007faf8dc7eb2f in MessageLoop::Run() (this=0x7faf83e56500)
    at /build/icedove-
lQokGR/icedove-31.7.0/mozilla/ipc/chromium/src/base/message_loop.cc:196
#25 0x00007faf8e333306 in nsBaseAppShell::Run() (this=0x7faf8a11f568
<g_once_cond+8>)
    at /build/icedove-
lQokGR/icedove-31.7.0/mozilla/widget/xpwidgets/nsBaseAppShell.cpp:164
#26 0x00007faf8ec56605 in nsAppStartup::Run() (this=0x7faf78155100)
    at /build/icedove-
lQokGR/icedove-31.7.0/mozilla/toolkit/components/startup/nsAppStartup.cpp:278
#27 0x00007faf8ec31b3b in XREMain::XRE_mainRun()
(this=this at entry=0x7ffcf6d8f1c0)

This is also seen in the console output just before the hang:

(icedove:26456): GLib-GObject-WARNING **: cannot register existing type
'GdkKeymap'

(icedove:26456): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0'
failed

(icedove:26456): Gdk-CRITICAL **: gdk_keymap_have_bidi_layouts: assertion
'GDK_IS_KEYMAP (keymap)' failed

Which is due to GTK3 being loaded into a GTK2 program.

As far as I can tell it's firetray that is loading in GTK3. The time this
failure started is also consistent with firetray getting an update. I did not
find anything hinting at GTK changes in the changelog, though.

Removing firetray makes Icedove work again.



-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.4 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages xul-ext-firetray depends on:
ii  icedove    31.7.0-1
ii  iceweasel  40.0~a2+20150527004004-1

Versions of packages xul-ext-firetray recommends:
ii  libappindicator3-1  0.4.92-3.1

xul-ext-firetray suggests no packages.

-- no debconf information



More information about the Pkg-mozext-maintainers mailing list