Xfce Forum

Sub domains
 

You are not logged in.

#1 2007-02-18 18:22:26

ardnew
Member
Registered: 2007-02-18
Posts: 4

Xfce4.4 panel "Segmentation fault" when trying to add items

Hey guys,
First of all, thanks for the 4.4 release! Very, very cool.

I grabbed the installer package from the site and everything went smoothly during compilation and install. I have not changed anything; I simply installed and restarted X. Also, I should add this is a brand new, fresh install of Slackware 11.0. The only thing updated on the distro is the kernel (which I am now running 2.6.17, and it's fairly bloated).

EDIT: These are the versions of other software I have installed (I'm not sure which are applicable to my problem):
gcc-3.4.6
glib-1.2.10
glib2-2.10.3
glibc-2.3.6
gtk+-1.2.10
gtk+2-2.8.20

Now, after Xfce and all related apps have been loaded, the desktop looks fine. No problems. When I right click on one of my 2 panels and choose "Add items...", the panel suddenly crashes. I recompiled the panel with --debug=full (or whatever) and reinstalled it, but it's still crashing. Here's the output when run from a terminal:

DBG[panel-item-manager.c:327] update_plugin_list():  + directory: /home/andrew/.local/share/xfce4/panel-plugins
DBG[panel-item-manager.c:327] update_plugin_list():  + directory: /usr/share/xfce4/panel-plugins
DBG[panel-item-manager.c:327] update_plugin_list():  + directory: /usr/local/share/xfce4/panel-plugins
DBG[panel-properties.c:1171] panel_set_transparency(): Transparency: 50
DBG[panel-properties.c:1171] panel_set_transparency(): Transparency: 50
DBG[panel-config.c:134] panel_config_create_panels(): Successfully configured 2 panel(s).
DBG[panel-properties.c:969] panel_init_position():  + offsets: (0, 1004)

DBG[panel-properties.c:971] panel_init_position():  + coordinates: (0, 1004)

DBG[panel-properties.c:859] panel_init_signals():  + Connect signals for panel 0x80aa000
DBG[panel-properties.c:578] panel_set_position():
+ Position: 11
+ Offset: (0, 1004)
DBG[panel-properties.c:580] panel_set_position():  + coordinates: (0, 1004)

DBG[panel-properties.c:844] _window_mapped():  + coordinates: (0, 1004)

DBG[panel-properties.c:847] _window_mapped():
+ Position: 11
+ Offset: (0, 1004)
DBG[panel-properties.c:969] panel_init_position():  + offsets: (0, 0)

DBG[panel-properties.c:971] panel_init_position():  + coordinates: (0, 0)

DBG[panel-properties.c:859] panel_init_signals():  + Connect signals for panel 0x80aa150
DBG[panel-properties.c:578] panel_set_position():
+ Position: 2
+ Offset: (0, 0)
DBG[panel-properties.c:580] panel_set_position():  + coordinates: (0, 0)

DBG[panel-properties.c:844] _window_mapped():  + coordinates: (0, 0)

DBG[panel-properties.c:847] _window_mapped():
+ Position: 2
+ Offset: (0, 0)
DBG[panel-properties.c:469] panel_resize_function(): old: 1280x20       new: 1280x20
DBG[panel-properties.c:469] panel_resize_function(): old: 1280x20       new: 1280x20
DBG[panel-properties.c:338] _set_struts():
Struts
0       0      0     20
0       0      0     0
0       0      0     1280

DBG[panel-properties.c:376] _set_struts(): all struts are checked and updated
DBG[panel-properties.c:338] _set_struts():
Struts
0       0      20    0
0       0      0     0
0       1280   0  0

DBG[panel-properties.c:376] _set_struts(): all struts are checked and updated
DBG[panel-properties.c:469] panel_resize_function(): old: 1280x20       new: 1280x20
DBG[panel-properties.c:338] _set_struts():
Struts
0       0      20    0
0       0      0     0
0       1280   0  0

DBG[panel-properties.c:376] _set_struts(): all struts are checked and updated
DBG[panel-properties.c:469] panel_resize_function(): old: 1280x20       new: 1280x20
DBG[panel-properties.c:338] _set_struts():
Struts
0       0      0     20
0       0      0     0
0       0      0     1280

DBG[panel-properties.c:376] _set_struts(): all struts are checked and updated
DBG[panel-app.c:1014] panel_app_set_current_panel(): Current panel: 1
DBG[panel-properties.c:469] panel_resize_function(): old: 1280x20       new: 1280x20
DBG[panel-properties.c:338] _set_struts():
Struts
0       0      20    0
0       0      0     0
0       1280   0  0

DBG[panel-properties.c:376] _set_struts(): all struts are checked and updated
DBG[panel-properties.c:469] panel_resize_function(): old: 1280x20       new: 1280x20
DBG[panel-properties.c:338] _set_struts():
Struts
0       0      0     20
0       0      0     0
0       0      0     1280

DBG[panel-properties.c:376] _set_struts(): all struts are checked and updated
DBG[panel-item-manager.c:327] update_plugin_list():  + directory: /home/andrew/.local/share/xfce4/panel-plugins
DBG[panel-item-manager.c:327] update_plugin_list():  + directory: /usr/share/xfce4/panel-plugins
DBG[panel-item-manager.c:327] update_plugin_list():  + directory: /usr/local/share/xfce4/panel-plugins

(xfce4-panel:32744): Gtk-CRITICAL **: gtk_tree_model_filter_get_value: assertion `GTK_TREE_MODEL_FILTER (model)->priv->stamp == iter->stamp' failed

(xfce4-panel:32744): GLib-GObject-WARNING **: gtype.c:3312: type id `0' is invalid

(xfce4-panel:32744): GLib-GObject-WARNING **: can't peek value table for type `<invalid>' which is not currently referenced
Segmentation fault 

Thanks in advance to anyone who can help!

Offline

#2 2007-02-19 12:13:51

Nick
Dev
From: ~
Registered: 2005-02-17
Posts: 1,144
Website

Re: Xfce4.4 panel "Segmentation fault" when trying to add items

Can you create a backtrace in gdb? (gdb xfce4-panel -> run -> wait for crash -> bt)

Offline

#3 2007-02-19 16:28:29

ardnew
Member
Registered: 2007-02-18
Posts: 4

Re: Xfce4.4 panel "Segmentation fault" when trying to add items

(gdb) bt
#0  0xb7ddd6c8 in gtk_tree_model_get_valist ()
   from /usr/lib/libgtk-x11-2.0.so.0
#1  0xb7ddd8f6 in gtk_tree_model_get () from /usr/lib/libgtk-x11-2.0.so.0
#2  0x08057668 in cursor_changed (tv=0x80a3db0, pid=0x8090aa0)
    at panel-dialogs.c:212
#3  0xb7864cb8 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#4  0xb784dddb in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#5  0xb7863678 in g_signal_has_handler_pending ()
   from /usr/lib/libgobject-2.0.so.0
#6  0xb78645d4 in g_signal_emit_valist () from 
/usr/lib/libgobject-2.0.so.0
#7  0xb78648c6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#8  0xb7dfcd48 in gtk_tree_view_scroll_to_cell ()
   from /usr/lib/libgtk-x11-2.0.so.0
#9  0xb7e04142 in gtk_tree_view_set_cursor_on_cell ()
   from /usr/lib/libgtk-x11-2.0.so.0
#10 0xb7e0426c in gtk_tree_view_set_cursor () from 
/usr/lib/libgtk-x11-2.0.so.0
#11 0x08058607 in add_items_dialog (panels=0x80a59a0, active_item=0x0)
    at panel-dialogs.c:492
#12 0x08051ed2 in panel_app_customize_items (active_item=0x0)
    at panel-app.c:793
#13 0xb7864cb8 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#14 0xb784dddb in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#15 0xb7863678 in g_signal_has_handler_pending ()
   from /usr/lib/libgobject-2.0.so.0
#16 0xb78645d4 in g_signal_emit_valist () from 
/usr/lib/libgobject-2.0.so.0
#17 0xb78648c6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#18 0xb7e19d6b in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#19 0xb7d30dc2 in gtk_menu_shell_activate_item ()
   from /usr/lib/libgtk-x11-2.0.so.0
#20 0xb7d31098 in gtk_menu_shell_activate_item ()
   from /usr/lib/libgtk-x11-2.0.so.0
#21 0xb7d265b9 in gtk_menu_reorder_child () from 
/usr/lib/libgtk-x11-2.0.so.0
#22 0xb7d203f0 in gtk_marshal_VOID__UINT_STRING ()
   from /usr/lib/libgtk-x11-2.0.so.0
#23 0xb784e119 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#24 0xb784dddb in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#25 0xb78631eb in g_signal_has_handler_pending ()
   from /usr/lib/libgobject-2.0.so.0
#26 0xb786431d in g_signal_emit_valist () from 
/usr/lib/libgobject-2.0.so.0
#27 0xb78648c6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#28 0xb7e19ef4 in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#29 0xb7d1e857 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#30 0xb7d1eb8f in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#31 0xb7ba5841 in gdk_event_get_graphics_expose ()
   from /usr/lib/libgdk-x11-2.0.so.0
#32 0xb77db487 in g_main_context_dispatch () from 
/usr/lib/libglib-2.0.so.0
#33 0xb77dce25 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
#34 0xb77dd14a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#35 0xb7d1de33 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#36 0x08051b8f in panel_app_run (argc=1, argv=0xbf95f1d4) at 
panel-app.c:735
#37 0x08051047 in main (argc=1, argv=0xbf95f1d4) at main.c:167
(gdb)

Offline

#4 2007-02-20 19:06:24

huysmans
Member
From: NL
Registered: 2003-10-08
Posts: 19
Website

Re: Xfce4.4 panel "Segmentation fault" when trying to add items

I have created a bugzilla report for this, so I won't forget: http://bugzilla.xfce.org/show_bug.cgi?id=2933 .

I don't immediately see what is wrong here, but I haven't really looked at the code yet. Thanks for letting us know.


Jasper

Offline

#5 2007-02-22 14:59:48

ardnew
Member
Registered: 2007-02-18
Posts: 4

Re: Xfce4.4 panel "Segmentation fault" when trying to add items

Thanks for adding the report.

Can't wait to start using the panel! Alt+Tab will have to do for the time being. :razz:

Offline

#6 2007-03-13 19:53:43

huysmans
Member
From: NL
Registered: 2003-10-08
Posts: 19
Website

Re: Xfce4.4 panel "Segmentation fault" when trying to add items

It would be nice if you could try this patch:

http://www.loculus.nl/xfce/files/tree-selection.patch

I'm hoping it will solve the problem, but I need someone to test it.


Jasper

Offline

#7 2007-03-15 22:03:54

ardnew
Member
Registered: 2007-02-18
Posts: 4

Re: Xfce4.4 panel "Segmentation fault" when trying to add items

Wonderful! That worked perfectly.

For anyone else reading this with the same problem:
After recompiling and installing, the plugins were still not showing up in the "Add items" dialog. This was because my permission scheme wasn't allowing me access to the '/usr/share/xfce4/panel-plugins' directory.
I just simply `sudo chmod 755 /usr/share/xfce4/panel-plugins` and everything was good as new.

Thanks a lot, guys, and keep up the good work! big_smile

Offline

#8 2007-03-17 14:54:43

huysmans
Member
From: NL
Registered: 2003-10-08
Posts: 19
Website

Re: Xfce4.4 panel "Segmentation fault" when trying to add items

Thanks a lot for testing. I have closed the report and the next update for Xfce should contain the fix.


Jasper

Offline

Board footer

Powered by FluxBB