! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Xfdesktop segfaults immediately on startup
Status:
RESOLVED: INVALID
Product:
Xfdesktop
Component:
General

Comments

Description Austin 2011-08-30 22:05:21 CEST
Any time I try to start xfdesktop, it immediately gives a segmentation fault and crashes, here is the terminal output:

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

And here is a gdb backtrace:

(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) 

I'm using Arch Linux fully up to date (and with [testing] repo enabled, for the record). Here's the version information:

austin@austin-desktop ~ % xfdesktop --version
This is xfdesktop version 4.8.2, running on Xfce 4.8.0.
Built with GTK+ 2.24.5, linked with GTK+ 2.24.5.
Build options:
    Desktop Menu:        enabled
    Desktop Icons:       enabled
    Desktop File Icons:  enabled
Comment 1 Austin 2011-09-02 06:56:52 CEST
Okay, I installed the full XFCE DE now (it wasn't all installed before, just bits and pieces), and also downgraded to a non [testing] system in Arch, and now when I start up an XFCE session, Xfdesktop functions properly. So at this point, I'm not sure that this is an xfdesktop bug, it seems more likely to be an Arch packaging bug, but I have no clue to be honest. I'll mark it as resolved though...I guess.

Bug #7937

Reported by:
Austin
Reported on: 2011-08-30
Last modified on: 2011-09-02

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
1 user

Version

Attachments

Additional information