#358 Latest lxpanel from git crashes at launch.

None
closed-fixed
lxpanel (267)
5
2014-09-04
2011-05-23
No

I've just built lxpanel from git in Debian Sid and it crashes at launch. Below is the backrace when running without other parameters.

~$ gdb lxpanel
GNU gdb (GDB) 7.2-debian
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/lxpanel...done.
(gdb) run
Starting program: /usr/bin/lxpanel
[Thread debugging using libthread_db enabled]

(lxpanel:27398): Gtk-CRITICAL **: IA__gtk_widget_get_allocation: assertion `allocation != NULL' failed

Program received signal SIGSEGV, Segmentation fault.
desk_configure_event (widget=0x80a1dd8, event=0x8113cb0, d=0x8111490)
at pager.c:276
276 int new_pixmap_width = allocation->width;
(gdb) bt
#0 desk_configure_event (widget=0x80a1dd8, event=0x8113cb0, d=0x8111490)
at pager.c:276
#1 0xb7d2b984 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#2 0xb7af99f2 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#3 0xb7b0c988 in ?? () from /usr/lib/libgobject-2.0.so.0
#4 0xb7b1517b in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#5 0xb7b155a2 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#6 0xb7e605a6 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#7 0xb7ca2b50 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#8 0xb7ca2c51 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#9 0xb7b15d6c in g_cclosure_marshal_VOID__VOID ()
from /usr/lib/libgobject-2.0.so.0
#10 0xb7af8347 in ?? () from /usr/lib/libgobject-2.0.so.0
#11 0xb7af99f2 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#12 0xb7b0c0fe in ?? () from /usr/lib/libgobject-2.0.so.0
#13 0xb7b153f6 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#14 0xb7b155a2 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#15 0xb7e67feb in gtk_widget_realize () from /usr/lib/libgtk-x11-2.0.so.0
#16 0xb7e68788 in gtk_widget_map () from /usr/lib/libgtk-x11-2.0.so.0
#17 0xb7ce0a29 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#18 0xb7c9f034 in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#19 0xb7c9f194 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#20 0xb7b15d6c in g_cclosure_marshal_VOID__VOID ()
---Type <return> to continue, or q <return> to quit---

Discussion

  • Sérgio Cipolla

    Sérgio Cipolla - 2011-05-23

    Same error if run with '--profile LXDE'.

     
  • Sérgio Cipolla

    Sérgio Cipolla - 2011-06-01

    Reverting src/plugins/pager.c to the earlier version makes lxpanel start fine but it segfaults when trying to open the menu:

    $ gdb lxpanel
    GNU gdb (GDB) 7.2-debian
    Copyright (C) 2010 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "i486-linux-gnu".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from /usr/bin/lxpanel...done.
    (gdb) run --profile LXDE
    Starting program: /usr/bin/lxpanel --profile LXDE
    [Thread debugging using libthread_db enabled]

    (lxpanel:29214): Gtk-WARNING **: Não foi possível localizar a ferramenta de temas no module_path: "pixmap",

    (lxpanel:29214): Gtk-WARNING **: Não foi possível localizar a ferramenta de temas no module_path: "pixmap",

    (lxpanel:29214): Gtk-CRITICAL **: IA__gtk_widget_get_allocation: assertion `allocation != NULL' failed

    Program received signal SIGSEGV, Segmentation fault.
    0x0806bdae in my_button_pressed (widget=0x80a2e88, event=0x819aae0,
    plugin=0x80f8280) at menu.c:647
    647 && (event->x >=0 && event->x < allocation->width)
    (gdb) bt
    #0 0x0806bdae in my_button_pressed (widget=0x80a2e88, event=0x819aae0,
    plugin=0x80f8280) at menu.c:647
    #1 0xb7d2b984 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
    #2 0xb7af99f2 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
    #3 0xb7b0c988 in ?? () from /usr/lib/libgobject-2.0.so.0
    #4 0xb7b1517b in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
    #5 0xb7b155a2 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
    #6 0xb7e605a6 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
    #7 0xb7d29b0d in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
    #8 0xb7d2a197 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
    #9 0xb7baa05a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
    #10 0xb7a46252 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
    #11 0xb7a46a30 in ?? () from /lib/libglib-2.0.so.0
    #12 0xb7a470f3 in g_main_loop_run () from /lib/libglib-2.0.so.0
    #13 0xb7d28bd9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
    #14 0x080552a2 in main (argc=3, argv=0xbffff594, env=0xbffff5a4)
    at panel.c:1668
    (gdb)

     
  • Sérgio Cipolla

    Sérgio Cipolla - 2011-06-02

    Thank you very much for this, ntd (as an LXDE user and one who hopes its apps will be updated soon, even if only to included improved translations).
    Currently I'm using commit 1ba232d270bea64bdcfd83ec3e694ca6dcab70bf but I'll try with your patch soon.

     
  • Sérgio Cipolla

    Sérgio Cipolla - 2011-06-11

    The code in git was changed yesterday but it still segfaults and crashes when opening the menu. I couldn't get the backtrace as lxpanel's crash completely freezes Openbox (and whatever is running).
    I had to login as root from another virtual terminal and terminate gdb.

    $ gdb lxpanel
    GNU gdb (GDB) 7.2-debian
    Copyright (C) 2010 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "i486-linux-gnu".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from /usr/bin/lxpanel...done.
    (gdb) run
    Starting program: /usr/bin/lxpanel
    [Thread debugging using libthread_db enabled]

    (lxpanel:26894): Gtk-CRITICAL **: IA__gtk_widget_get_requisition: assertion `requisition != NULL' failed

    Program received signal SIGSEGV, Segmentation fault.
    menu_pos (menu=0x80f9080, x=0xbfffee7c, y=0xbfffee78, push_in=0x80f9148,
    widget=0x80a1688) at menu.c:147
    147 w = requisition->width;

     
  • Nicola Fontana

    Nicola Fontana - 2011-06-12

    The same bug was affecting also the menu plugin and a similar one was caused by gtk_widget_get_requisition(). I updated the patch accordingly.

     
  • Mihai Militaru

    Mihai Militaru - 2011-07-16

    @ntd: I tried your changes, but although the panel doesn't crash anymore, the menu widget pops-up covering the menu icon and the first launchers, unlike the previous behavior I recall. Note that I'm having the panel placed vertically on the left (using LXDE profile), with the menu launcher at the top. Is that the behavior I should expect? I'm using GTK v2.24.5.

     
  • Nicola Fontana

    Nicola Fontana - 2011-07-30

    @mihai: the patch addresses some allocation errors, it does not touch the behavior of the panel. If the previous release was acting in a different way I can only suggest you to open a new issue.

     
  • PCMan

    PCMan - 2012-07-28
    • labels: --> lxpanel
     
  • Lonely Stranger

    Lonely Stranger - 2014-08-22

    I believe this issue is completely fixed in the latest version of LXPanel. Try it, please, and let us know if something is still wrong. Thank you very much.

     
  • Lonely Stranger

    Lonely Stranger - 2014-08-22
    • status: open --> closed-fixed
    • assigned_to: Lonely Stranger
    • Group: --> -
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks