wnck-applet doesn't work at login, kill/reload fixes it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-panel (Ubuntu) |
Fix Committed
|
Medium
|
Ubuntu Desktop Bugs |
Bug Description
When I log in, the window list at the bottom of the screen "stops responding" - only the first xterm shows up in the list, Firefox and Evo do not. If I then do "killall wnck-applet" and hit "Reload" on all dialogs, it works fine, all applications appear in the list.
This started a few months ago with one of the Dapper upgrades.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Sebastien Bacher (seb128) wrote : | #1 |
Changed in gnome-panel: | |
assignee: | nobody → desktop-bugs |
status: | Unconfirmed → Needs Info |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Lee Revell (rlrevell) wrote : | #2 |
0xb7d77d02 in pthread_mutex_lock () from /lib/tls/
(gdb) thread apply all bt
Thread 1 (Thread -1222277440 (LWP 5874)):
#0 0xb7d77d02 in pthread_mutex_lock () from /lib/tls/
#1 0xb7974f38 in g_static_
#2 0xb79dac0c in g_type_
#3 0xb79dae82 in g_type_init () from /usr/lib/
#4 0xb7ed8c67 in wnck_window_
#5 0xb7ed923c in wnck_window_
#6 0xb7ed51e8 in wnck_tasklist_
#7 0xb79ce423 in g_cclosure_
#8 0xb79c279f in g_closure_invoke () from /usr/lib/
#9 0xb79d14de in g_signal_
#10 0xb79d2ae9 in g_signal_
#11 0xb79d2e59 in g_signal_emit () from /usr/lib/
#12 0xb7ecf8a3 in wnck_screen_
#13 0xb7ecf926 in wnck_screen_
#14 0xb7ecfe62 in wnck_screen_
#15 0xb7ed10ed in wnck_screen_
#16 0xb795aaf2 in g_child_watch_add () from /usr/lib/
#17 0xb79587d7 in g_main_
#18 0xb795b896 in g_main_
#19 0xb795bbb8 in g_main_loop_run () from /usr/lib/
#20 0xb7461477 in bonobo_main () from /usr/lib/
#21 0xb745f9b1 in bonobo_
#22 0xb745fa35 in bonobo_
#23 0xb7ef2ed8 in panel_applet_
#24 0xb7ef2faa in panel_applet_
#25 0x0804c59f in main (argc=-1214312552, argv=0xb79f0f98) at /build/
#26 0xb781aea4 in __libc_start_main () from /lib/tls/libc.so.6
#27 0x0804bec1 in _start () at ../sysdeps/
#0 0xb7d77d02 in pthread_mutex_lock () from /lib/tls/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Lee Revell (rlrevell) wrote : | #3 |
So, does this backtrace tell you where the problem is?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Sebastien Bacher (seb128) wrote : | #4 |
Not really. A backtrace with libglib2.0-0-dbg and debug build of libwnck would be nice (we don't have a -dbg for that one). Ccing Vincent who is upstream and might have an idea on the topic
Changed in gnome-panel: | |
status: | Needs Info → Unconfirmed |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Lee Revell (rlrevell) wrote : Re: [Bug 37646] Re: wnck-applet doesn't work at login, kill/reload fixes it | #5 |
On Tue, 2006-04-04 at 19:12 +0000, Sebastien Bacher wrote:
> Not really. A backtrace with libglib2.0-0-dbg and debug build of libwnck would be nice (we don't have a -dbg for that one). Ccing Vincent who is upstream and might have an idea on the topic
>
> ** Changed in: gnome-panel (Ubuntu)
> Status: Needs Info => Unconfirmed
Would only installing libglib2.0-0-dbg help at all? I'd like to help
resolve this but unfortunately don't have a ton of bandwidth to devote
to the issue.
I'd be glad to test a -dbg build of libwnck if you can post a .deb
somewhere.
Lee
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Sebastien Bacher (seb128) wrote : | #6 |
libgtk2.0-0-dbg would not be useful for that. What architecture do you use? We can build a package and put it on people.ubuntu.com
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Lee Revell (rlrevell) wrote : | #7 |
On Tue, 2006-04-04 at 20:33 +0000, Sebastien Bacher wrote:
> libgtk2.0-0-dbg would not be useful for that. What architecture do you use? We can build a package and put it on people.ubuntu.com
i386
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Vincent Untz (vuntz) wrote : | #8 |
When you say "stop responding", do you mean it doesn't react to window events (new windows, etc.) or that you can't do anything with it? Does right-click on the handle of the applet work?
Stack trace will help, of course :-)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Lee Revell (rlrevell) wrote : | #9 |
On Tue, 2006-04-04 at 20:57 +0000, Vincent Untz wrote:
> When you say "stop responding", do you mean it doesn't react to window
> events (new windows, etc.) or that you can't do anything with it? Does
> right-click on the handle of the applet work?
>
I'm 99% sure it's the former - it stops reacting to window events, but
will still respond to right click. Have to reboot to be 100% sure.
> Stack trace will help, of course :-)
I guess the one I posted is useless?
Lee
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Vincent Untz (vuntz) wrote : | #10 |
> > Stack trace will help, of course :-)
>
> I guess the one I posted is useless?
Yeah, it's a typical libwnck strack trace you get when you don't have the dbg package.
It's kind of interesting if it only doesn't react to new events. Does it also happen with other applets (the workspace switcher, the window selector, etc.)? Can you use those other applets or are they blocked?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Lee Revell (rlrevell) wrote : | #11 |
On Tue, 2006-04-04 at 20:57 +0000, Vincent Untz wrote:
> When you say "stop responding", do you mean it doesn't react to window
> events (new windows, etc.) or that you can't do anything with it? Does
> right-click on the handle of the applet work?
It seems that in fact I can't do anything at all with it. The workplace
switcher is garbled in appearance and does not respond to right click.
Neither the handle of the window list nor the single xterm that appears
in it respond to right clicks.
The panel does continue to work - right on the panel clicking
immediately to the right of the unresponsive xterm box gives me the
normal "Add to panel..." etc. menu.
Any progress on building some debug .debs that I can try?
Lee
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Sebastien Bacher (seb128) wrote : | #12 |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Lee Revell (rlrevell) wrote : | #13 |
On Wed, 2006-04-05 at 21:39 +0000, Sebastien Bacher wrote:
> debug deb: http://
(gdb) thread apply all bt
Thread 1 (Thread -1221536064 (LWP 2764)):
#0 0xb7a8fc5b in g_type_
#1 0xb7f91563 in wnck_window_
#2 0xb7f92003 in wnck_window_
#3 0xb7f8dc28 in wnck_tasklist_
#4 0xb7a83423 in g_cclosure_
#5 0xb7a7779f in g_closure_invoke () from /usr/lib/
#6 0xb7a864de in signal_
#7 0xb7a87ae9 in g_signal_
#8 0xb7a87e59 in g_signal_emit () from /usr/lib/
#9 0xb7f879c9 in emit_active_
#10 0xb7f873c0 in update_
#11 0xb7f878a4 in do_update_now (screen=0x80ce840) at screen.c:1917
#12 0xb7f878fa in update_idle (data=0x80ce840) at screen.c:1934
#13 0xb7a0faf2 in g_idle_dispatch () from /usr/lib/
#14 0xb7a0d7d7 in g_main_
#15 0xb7a10896 in g_main_
#16 0xb7a10bb8 in g_main_loop_run () from /usr/lib/
#17 0xb7516477 in bonobo_main () from /usr/lib/
#18 0xb75149b1 in bonobo_
#19 0xb7514a35 in bonobo_
#20 0xb7faeed8 in panel_applet_
#21 0xb7faefaa in panel_applet_
#22 0x0804c59f in main (argc=-1213571176, argv=0xb7aa5f98) at /build/
#23 0xb78cfea4 in __libc_start_main () from /lib/tls/libc.so.6
#24 0x0804bec1 in _start () at ../sysdeps/
#0 0xb7a8fc5b in g_type_
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Lee Revell (rlrevell) wrote : | #14 |
On Wed, 2006-04-05 at 21:39 +0000, Sebastien Bacher wrote:
> debug deb: http://
(gdb) thread apply all bt full
Thread 1 (Thread -1221536064 (LWP 2764)):
#0 0xb7a8fc5b in g_type_
No symbol table info available.
#1 0xb7f91563 in wnck_window_
object_type = 135047440
#2 0xb7f92003 in wnck_window_
__inst = (GTypeInstance *) 0x822be70
__t = 3086640468
__r = -1208427559
#3 0xb7f8dc28 in wnck_tasklist_
active_task = (WnckTask *) 0x0
#4 0xb7a83423 in g_cclosure_
No symbol table info available.
#5 0xb7a7779f in g_closure_invoke () from /usr/lib/
No symbol table info available.
#6 0xb7a864de in signal_
No symbol table info available.
#7 0xb7a87ae9 in g_signal_
No symbol table info available.
#8 0xb7a87e59 in g_signal_emit () from /usr/lib/
No symbol table info available.
#9 0xb7f879c9 in emit_active_
No locals.
#10 0xb7f873c0 in update_
window = (WnckWindow *) 0x822be70
xwindow = 27262985
#11 0xb7f878a4 in do_update_now (screen=0x80ce840) at screen.c:1917
No locals.
#12 0xb7f878fa in update_idle (data=0x80ce840) at screen.c:1934
screen = (WnckScreen *) 0x80ce840
#13 0xb7a0faf2 in g_idle_dispatch () from /usr/lib/
No symbol table info available.
#14 0xb7a0d7d7 in g_main_
No symbol table info available.
#15 0xb7a10896 in g_main_
No symbol table info available.
#16 0xb7a10bb8 in g_main_loop_run () from /usr/lib/
No symbol table info available.
#17 0xb7516477 in bonobo_main () from /usr/lib/
No symbol table info available.
#18 0xb75149b1 in bonobo_
No symbol table info available.
#19 0xb7514a35 in bonobo_
No symbol table info available.
#20 0xb7faeed8 in panel_applet_
No symbol table info available.
#21 0xb7faefaa in panel_applet_
No symbol table info available.
#22 0x0804c59f in main (argc=-1213571176, argv=0xb7aa5f98) at /build/
No locals.
#23 0xb78cfea4 in __libc_start_main () from /lib/tls/libc.so.6
No symbol table info available.
#24 0x0804bec1 in _start () at ../sysdeps/
No locals.
#0 0xb7a8fc5b in g_type_
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Lee Revell (rlrevell) wrote : | #15 |
On Wed, 2006-04-05 at 21:39 +0000, Sebastien Bacher wrote:
> debug deb: http://
It's definitely stuck in a loop of some kind. Here are a few more if I
continue and stop it again (I only included the top of the stack that
changes)
(gdb) thread apply all bt full
Thread 1 (Thread -1221536064 (LWP 2764)):
#0 0xb7f9a75c in _wnck_xid_equal (v1=0x80d12e0, v2=0xbffdd340) at xutils.c:788
No locals.
#1 0xb7f91a4d in wnck_window_get (xwindow=27262985) at window.c:341
No locals.
#2 0xb7f92082 in wnck_window_
#3 0xb7f8dc28 in wnck_tasklist_
active_task = (WnckTask *) 0x0
Thread 1 (Thread -1221536064 (LWP 2764)):
#0 0xb79f6554 in __i686.
No symbol table info available.
#1 0xb7a29ef6 in g_static_
No symbol table info available.
#2 0xb7a8fc0c in g_type_
No symbol table info available.
#3 0xb7a8fe82 in g_type_init () from /usr/lib/
No symbol table info available.
#4 0xb7f91563 in wnck_window_
object_type = 135047440
#5 0xb7f92003 in wnck_window_
__inst = (GTypeInstance *) 0x822be70
__t = 3086640468
__r = -1208427559
#6 0xb7f8dc28 in wnck_tasklist_
active_task = (WnckTask *) 0x0
Thread 1 (Thread -1221536064 (LWP 2764)):
#0 0xb7a2a180 in g_static_
No symbol table info available.
#1 0xb7a8fc24 in g_type_
No symbol table info available.
#2 0xb7a8fe82 in g_type_init () from /usr/lib/
No symbol table info available.
#3 0xb7f91563 in wnck_window_
object_type = 135047440
#4 0xb7f92003 in wnck_window_
__inst = (GTypeInstance *) 0x822be70
__t = 3086640468
__r = -1208427559
#5 0xb7f8dc28 in wnck_tasklist_
active_task = (WnckTask *) 0x0
Thread 1 (Thread -1221536064 (LWP 2764)):
#0 0xb7a29fc5 in g_static_
No symbol table info available.
#1 0xb7a8fc0c in g_type_
No symbol table info available.
#2 0xb7a8fe82 in g_type_init () from /usr/lib/
No symbol table info available.
#3 0xb7f91563 in wnck_window_
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Vincent Untz (vuntz) wrote : | #16 |
Could this be http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Sebastien Bacher (seb128) wrote : | #17 |
Packages with the upstream patch applied: http://
Could you try if that fixes your issue?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Lee Revell (rlrevell) wrote : | #18 |
On Thu, 2006-04-06 at 06:25 +0000, Vincent Untz wrote:
> Could this be http://
That's almost certainly it (I do run x11-ssh-askpass at login)
Testing now.
Lee
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Lee Revell (rlrevell) wrote : | #19 |
On Thu, 2006-04-06 at 08:02 +0000, Sebastien Bacher wrote:
> Packages with the upstream patch applied: http://
>
> Could you try if that fixes your issue?
Yes, I have confirmed that these fix the bug.
Lee
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Sebastien Bacher (seb128) wrote : | #20 |
Thank you for your bug on that, marking as duplicate of bug #20412, new tarballs for GNOME 2.14.1 are due monday and will fix that issue
Changed in gnome-panel: | |
status: | Unconfirmed → Fix Committed |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Sebastien Bacher (seb128) wrote : | #21 |
"Thank you for your work on that" rather
Thanks for your bug. Could you get a backtrace of the hang with gnome-panel-dbg installed?
- gdb $(pidof wnck-applet)
(gdb) thread apply all bt
and copy that to a comment