google-code-export / lxpanelx

Automatically exported from code.google.com/p/lxpanelx
Other
1 stars 0 forks source link

Lxpanelx crashes when right-clicking on a taskbar entry if it was started from a different VT #74

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start X
2. Switch to a different VT (e.g. Ctrl-Alt-F2)
3. Start lxpanelx (export DISPLAY=:0; lxpanelx)
4. Switch back to X (e.g. Ctrl-Alt-F7)
5. Right-click on a taskbar entry.
6. lxpanelx crashes.  Here is what I get if I start it from GDB:

Program received signal SIGSEGV, Segmentation fault.
0x08059bcc in load_window_action_icon_xfce (h=16, w=16, name=0xb642228c 
"close", name@entry=0x80794cb "XFCE", image=0x838fcd8) at window-icons.c:61
61          if (strcmp(get_de_name(), "XFCE") != 0)
(gdb) bt
#0  0x08059bcc in load_window_action_icon_xfce (h=16, w=16, name=0xb642228c 
"close", name@entry=0x80794cb "XFCE", image=0x838fcd8) at window-icons.c:61
#1  load_window_action_icon (image=0x838fcd8, name=name@entry=0xb642228c 
"close", icon_size=icon_size@entry=GTK_ICON_SIZE_MENU) at window-icons.c:130
#2  0xb64171c9 in menu_load_icon (mi=0x8280268, name=name@entry=0xb642228c 
"close") at taskbar.c:4602
#3  0xb641c770 in task_adjust_menu (from_popup_menu=0, tk=0x8314578) at 
taskbar.c:4715
#4  task_show_menu (from_popup_menu=0, visible_task=0x8314578, event=0x80f4598, 
tk=0x8314578) at taskbar.c:2194
#5  task_action (tk=tk@entry=0x8314578, action=action@entry=1, 
event=event@entry=0x80f4598, visible_task=visible_task@entry=0x8314578,
    from_popup_menu=from_popup_menu@entry=0) at taskbar.c:2304
#6  0xb641cfab in taskbar_task_control_event (widget=0x81cd1d0, 
event=0x80f4598, tk=0x8314578, popup_menu=0) at taskbar.c:3212
#7  0xb7c7057e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#8  0xb7784a6e in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#9  0xb7796fb9 in ?? () from /usr/lib/libgobject-2.0.so.0
#10 0xb779e63f in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#11 0xb779eba3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#12 0xb7d9c723 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#13 0xb7c6e954 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#14 0xb7c6ed50 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#15 0xb7aea848 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#16 0xb76ac5fe in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#17 0xb76ac9a8 in ?? () from /usr/lib/libglib-2.0.so.0
#18 0xb76ace0b in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#19 0xb7c6db30 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#20 0x08056bda in main (argc=3, argv=0xbffffb74, env=0xbffffb84) at panel.c:2688

Original issue reported on code.google.com by Alister....@gmail.com on 24 Nov 2013 at 10:15