! 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 !
xfce4-session crashes with KWin
Status:
RESOLVED: FIXED
Product:
Xfce4-session
Component:
General

Comments

Description Luboš Luňák 2009-01-09 20:58:39 CET
Xfce4-session crashes when restoring session in which KDE's KWin is saved (KDE 4.1.3, but at least latest KDE3 should be affected too).
Steps to reproduce:
- log into xfce4
- Alt+F2, 'kwin --replace'
- logout+save session
- log in again

$HOME/.cache/sessions/xfce-session-<hostname><display> (also) contains:
Client5_Program=kwinsmhelper
Client5_RestartCommand=
Client5_RestartStyleHint=3

Backtrace:
#0  0xb74096bd in execvp () from /lib/libc.so.6
#1  0x08058ced in xfsm_startup_continue_session (
    previous_id=<value optimized out>) at xfsm-startup.c:521
#2  0x080591a8 in xfsm_startup_continue (previous_id=0x0) at xfsm-startup.c:441
#3  0x08055368 in xfsm_manager_startup_continue (previous_id=0x0)
    at xfsm-manager.c:459
#4  0x080559c1 in xfsm_manager_startup () at xfsm-manager.c:94
#5  0xb7544a71 in ?? () from /usr/lib/libglib-2.0.so.0
#6  0xb75469a8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#7  0xb754a063 in ?? () from /usr/lib/libglib-2.0.so.0
#8  0xb754a582 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#9  0xb7c72fc9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#10 0x0804fd0b in main (argc=) at main.c:250

The crash is presumably caused by the empty restart command, however RestartStyleHint=3 means RestartNever, so xfce4-session shouldn't try to use the command at all in the first place (this is just a helper libSM connection to implement special handling in KWin for which the generic Qt support is insufficient, it's not supposed to be restarted and as such it specifies empty restart command). Therefore I consider this to be xfce4-session bug.
Comment 1 Brian J. Tarricone (not reading bugmail) 2009-01-09 21:53:35 CET
Please see if you can reproduce this with xfce4-session 4.6beta2.  It supports RestartNever properly, and so this case shouldn't come up.  I'm not working on 4.4.x, no time to maintain it.

(Please delete the session file first before you test.)
Comment 2 Luboš Luňák 2009-01-25 19:53:28 CET
Seems to work fine there.

Bug #4793

Reported by:
Luboš Luňák
Reported on: 2009-01-09
Last modified on: 2009-07-14

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
0 users

Version

Attachments

Additional information