FS#24861 - [lxpanel] segfault

Attached to Project: Community Packages
Opened by Ilya (Bkmz) - Friday, 24 June 2011, 12:22 GMT
Last edited by Angel Velasquez (angvp) - Tuesday, 23 August 2011, 15:06 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Angel Velasquez (angvp)
Architecture i686
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description: lxpanel 0.5.6-1 falls into segfault when I try to close window of Pidgin, or Skype window. Other not tested.
After that, I did, yaourt -G lxpane, add -ggdb -ggdb3 CFLAGS into downloaded PKGBUILD, and compile this package. Now you can see My current backtrace:

Breakpoint 2 at 0x8064612: file taskbar.c, line 312.
(gdb) bt
#0 0x08064612 in task_draw_label (tk=0x821cc10) at taskbar.c:312
#1 0x08065662 in flash_window_timeout (tk=0x821cc10) at taskbar.c:941
#2 0xb79a553f in ?? () from /usr/lib/libglib-2.0.so.0
#3 0xb79a3c4f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#4 0xb79a43b0 in ?? () from /usr/lib/libglib-2.0.so.0
#5 0xb79a4aeb in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#6 0xb7cb3b2f in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#7 0x08060c41 in main (argc=5, argv=0xbffff8f4, env=0xbffff90c) at panel.c:1668


(gdb) up
#1 0x08065662 in flash_window_timeout (tk=0x821cc10) at taskbar.c:941
941 task_draw_label(tk);
(gdb) up
#2 0xb79a553f in ?? () from /usr/lib/libglib-2.0.so.0
(gdb) up
#3 0xb79a3c4f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
(gdb) up
#4 0xb79a43b0 in ?? () from /usr/lib/libglib-2.0.so.0
(gdb) up
#5 0xb79a4aeb in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
(gdb) up
#6 0xb7cb3b2f in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
(gdb) up
#7 0x08060c41 in main (argc=5, argv=0xbffff8f4, env=0xbffff90c) at panel.c:1668
1668 gtk_main();

I don't know how to use GDB, what kind of information do you need? When It segfault yet, I can repeat you actions.

Steps to reproduce: Not each closing event it's crash.

PS Sorry for my English.
This task depends upon

Closed by  Angel Velasquez (angvp)
Tuesday, 23 August 2011, 15:06 GMT
Reason for closing:  Upstream
Additional comments about closing:  Seems that upstream fix this bug
Comment by Angel Velasquez (angvp) - Saturday, 25 June 2011, 00:08 GMT
What architecture ? are you using testing ?

could you run from a terminal with gdb lxpanel ?

Thanks
Comment by Ilya (Bkmz) - Saturday, 25 June 2011, 10:42 GMT
Linux bkmz-laptop 2.6.37-ARCH #1 SMP PREEMPT Fri Feb 11 16:55:18 UTC 2011 i686 Intel(R) Atom(TM) CPU N280 @ 1.66GHz GenuineIntel GNU/Linux

Only Stable, and a little aur.

I've already run lxpanel under gdb, and wait for next segfault. This backtraces were getting under It.
But i don't know what information i should provide, and which commands i need to run.
Comment by Ilya (Bkmz) - Saturday, 25 June 2011, 11:02 GMT
New segfault. I caught it when the pidgin 2.8.0 closed, before update to 2.9.0

lxpanel : X error: BadWindow (invalid Window parameter)
lxpanel : X error: BadWindow (invalid Window parameter)
lxpanel : X error: BadWindow (invalid Window parameter)
lxpanel : X error: BadWindow (invalid Window parameter)
lxpanel : X error: BadWindow (invalid Window parameter)

Program received signal SIGSEGV, Segmentation fault.
0x08064526 in task_draw_label (tk=0x80bfa40) at taskbar.c:300
300 if ((tk->tb->grouped_tasks) && (tc != NULL) && (tc->visible_task == tk) && (tc->visible_count > 1))
(gdb) bt
#0 0x08064526 in task_draw_label (tk=0x80bfa40) at taskbar.c:300
#1 0x08065662 in flash_window_timeout (tk=0x80bfa40) at taskbar.c:941
#2 0xb79a553f in ?? () from /usr/lib/libglib-2.0.so.0
#3 0xb79a3c4f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#4 0xb79a43b0 in ?? () from /usr/lib/libglib-2.0.so.0
#5 0xb79a4aeb in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#6 0xb7cb3b2f in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#7 0x08060c41 in main (argc=5, argv=0xbffff8f4, env=0xbffff90c) at panel.c:1668
Comment by Ilya (Bkmz) - Saturday, 25 June 2011, 11:09 GMT
And now i can repeat it. When Pidgin starts, I click right button in system tray of pidgin and click quit. Than get segfault, with given type of backtraces with gdb.
http://pastebin.com/GDsXsexs
Comment by Angel Velasquez (angvp) - Friday, 29 July 2011, 17:28 GMT
Would you mind to try with the new lxpanel release, since this is an upstream bug, I cannot assure you if the bug is solved yet, at least it doesn't look on the changelist applied for this new version, but it's worth to try if it's fixed.

Thanks
Comment by Angel Velasquez (angvp) - Wednesday, 03 August 2011, 20:09 GMT
status of this ? I've never reproduced this, so i'm tempting to close this ..
Comment by Jelle van der Waa (jelly) - Saturday, 06 August 2011, 08:08 GMT
I have heard various people on irc saying it works.
Comment by Ilya (Bkmz) - Saturday, 06 August 2011, 13:31 GMT
Unfortunately, I was forced to resign from LXDE, and unfortunately can not currently confirm this problem, but recently I was using lxpanel, I have not seen this problem

Loading...