You are not logged in.

#1 2011-08-29 20:58:43

doorknob60
Member
Registered: 2008-09-29
Posts: 403

[SOLVED?]xfdesktop segfaults

EDIT: This problem seemed to fix itself. I installed the entire xfce group, as well as downgraded to a non [testing] system. I'm not sure what fixed it, but it works now (started via xfce4-session now), but I don't know, I suspect it could still be a bug if I undid that, oh well.

I don't use the full XFCE DE, I use Openbox, but I want to use xfdesktop to manage my desktop, but ever time I try to start it it immediately segfaults:

xfdesktop[26697]: starting up
Failed to connect to session manager: Failed to connect to the session manager: SESSION_MANAGER environment variable not defined
[1]    26697 segmentation fault  xfdesktop

I don't think the SESSION_MANAGER thing matters, but maybe it does, I don't know. I tried recompiling it, that didn't fix anything. Also, thunar works just fine, if that means anything. Any ideas? I've never known how to troubleshoot segfaults, they don't make much sense to me, and I never know what to try, but maybe someone here has some good ideas smile Also, it worked a while back, but it's been broken for at least a month now.

Last edited by doorknob60 (2011-09-02 04:54:39)

Offline

#2 2011-08-29 22:56:21

chr0nik
Member
From: Michigan, USA
Registered: 2011-03-13
Posts: 31

Re: [SOLVED?]xfdesktop segfaults

It will probably help if you can provide more info. There are some steps here from the xfdesktop maintainer on how to debug an xfdesktop crash, or at least how to get more info: http://spurint.org/projects/xfce4-debugging/#xfdesktop

From there, maybe you can compare yours to the entries in the xfce bug tracker that match up with a "xfdesktop segfault" keyword search: https://bugzilla.xfce.org/buglist.cgi?q … p+segfault

Offline

#3 2011-08-30 09:52:21

doorknob60
Member
Registered: 2008-09-29
Posts: 403

Re: [SOLVED?]xfdesktop segfaults

Thanks for the info chr0nik smile I did a backtrace and here's the output:

(gdb) run
Starting program: /usr/bin/xfdesktop 
[Thread debugging using libthread_db enabled]
xfdesktop[29472]: starting up
Failed to connect to session manager: Failed to connect to the session manager: SESSION_MANAGER environment variable not defined
[New Thread 0x7fffeeb85700 (LWP 29475)]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff4951b75 in g_slice_alloc () from /usr/lib/libglib-2.0.so.0
(gdb) bt
#0  0x00007ffff4951b75 in g_slice_alloc () from /usr/lib/libglib-2.0.so.0
#1  0x00007ffff56cb40e in pango_font_description_new ()
   from /usr/lib/libpango-1.0.so.0
#2  0x00007ffff56cbf3b in pango_font_description_from_string ()
   from /usr/lib/libpango-1.0.so.0
#3  0x00007ffff655dd7d in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#4  0x00007ffff652cc72 in gtk_rc_get_style () from /usr/lib/libgtk-x11-2.0.so.0
#5  0x00007ffff65fec88 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#6  0x00007ffff65fecf8 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#7  0x00007ffff6526a49 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#8  0x00007ffff65490d0 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#9  0x00007ffff4df11fe in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#10 0x00007ffff4e01815 in ?? () from /usr/lib/libgobject-2.0.so.0
#11 0x00007ffff4e0b7aa in g_signal_emit_valist ()
   from /usr/lib/libgobject-2.0.so.0
#12 0x00007ffff4e0b952 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#13 0x00007ffff4df2b37 in ?? () from /usr/lib/libgobject-2.0.so.0
#14 0x00007ffff4df4bbc in g_object_notify () from /usr/lib/libgobject-2.0.so.0
#15 0x00007ffff65497e3 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#16 0x00007ffff652a92a in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x00007ffff652bd50 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x00007ffff652bed0 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#19 0x00007ffff652c35f in gtk_rc_reparse_all_for_settings ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libgtk-x11-2.0.so.0
#20 0x00007ffff6549285 in gtk_settings_get_for_screen ()
   from /usr/lib/libgtk-x11-2.0.so.0
#21 0x00007ffff652cab0 in gtk_rc_get_style () from /usr/lib/libgtk-x11-2.0.so.0
#22 0x00007ffff65fec88 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#23 0x00007ffff654d7b8 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#24 0x00007ffff66069cf in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x00007ffff6609f89 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#26 0x00007ffff4df11fe in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#27 0x00007ffff4e01815 in ?? () from /usr/lib/libgobject-2.0.so.0
#28 0x00007ffff4e0b7aa in g_signal_emit_valist ()
   from /usr/lib/libgobject-2.0.so.0
#29 0x00007ffff4e0b952 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#30 0x00007ffff66005a6 in gtk_widget_show () from /usr/lib/libgtk-x11-2.0.so.0
#31 0x0000000000411365 in main ()
(gdb) 

Unfortunately, I checked Xfce's Bugtracker and Google, and there were a few people that had similar problems in the past (way past, like 2008), and some claim that recompiling fixed it, but nothing that would help me solve this that I could find. Unfortunately, I already tried that and it didn't work. I'll mess with it a bit more though, but I'm not optimistic at this point...Any ideas for alternatives? PcmanFM crashes too much, and I tried Gnome 2's Nautilus from Mate DE, but setting the wallpaper doesn't work from that (unless I'm missing a package, I didn't want to install the whole DE, just Nautilus).

Offline

#4 2011-08-30 12:40:38

chr0nik
Member
From: Michigan, USA
Registered: 2011-03-13
Posts: 31

Re: [SOLVED?]xfdesktop segfaults

What do you need xfdesktop for?  When I tinkered with openbox briefly, I used nitrogen to set wallpapers. I believe idesk provides a means for desktop icons and wallpapers. Both are well documented on the arch wiki.

Regarding your segfault, if you can't find anything similar & current and no one offers any suggestions, submit it to Xfce's bug tracker.

Offline

#5 2011-08-30 20:01:06

doorknob60
Member
Registered: 2008-09-29
Posts: 403

Re: [SOLVED?]xfdesktop segfaults

I tried Idesk, and it works, but it's not quite what I want. Idesk lets you add launchers on your desktop, but what I want is a desktop manager that displays all the files in my ~/Desktop folder. I'll figure out a good solution eventually, and in the meantime I'll just deal with PcmanFM's bugginess. But yeah, I'll submit it on their bug tracker, and hope something good comes out of that, but for some reason it seems like this bug will be impossible to reproduce, considering I haven't seen any other threads about it. Oh well, thanks for the help anyways smile

EDIT: Bug report: https://bugzilla.xfce.org/show_bug.cgi?id=7937

Last edited by doorknob60 (2011-08-30 20:06:35)

Offline

Board footer

Powered by FluxBB