! 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 !
xfwm4-settings crash when another WM is running
Status:
RESOLVED: FIXED

Comments

Description Christoph Wickert editbugs 2009-02-24 16:38:39 CET
Created attachment 2189 
backtrace generated with bug-buddy

xfwm4-settings crashed on startup ifanother window manager is already running. Backtrace generated in Gnome is attached.

Please let me know if you need another trace with more debug info installed or if you want me to try SVN.
Comment 1 Christoph Wickert editbugs 2009-02-24 16:50:28 CET
BTW: How about removing xfwm4-settings, xfwm4-tweaks-settings and xfwm4-workspace-settings from xfce4-settings-manager when another WM is used?
Comment 2 Olivier Fourdan editbugs 2009-02-24 17:43:10 CET
(In reply to comment #0)
> xfwm4-settings crashed on startup if another window manager is already running.
> Backtrace generated in Gnome is attached.

How to reproduce? I see no crash when replacing xfwm4 with metacity in xfce.

From where the crash occurs, it seems to me that it's rather xfconfd which is not running.

> Please let me know if you need another trace with more debug info installed or
> if you want me to try SVN.

For now, I need more info on how to reproduce.

(In reply to comment #1)
> BTW: How about removing xfwm4-settings, xfwm4-tweaks-settings and
> xfwm4-workspace-settings from xfce4-settings-manager when another WM is used?

The plugin could check for the value of _NET_WM_NAME, the previous MCS plugin used to do that, but somehow using gdk_x11_screen_get_window_manager_name() did not seem to be very reliable. Same goes for the compositing, xfwm4 might have been built without compositing support or the Xserver may not support compositing, that's why xfwm4 sets a property XFWM4_COMPOSITING_MANAGER, the previous setting manager used to test the selection owner of that property, but the new one in 4.6 does not do that.

I am not interested in supporting such a configuration myself, but maybe other are (copying jannis).
Comment 3 Christoph Wickert editbugs 2009-02-24 18:11:44 CET
(In reply to comment #2)

> How to reproduce? I see no crash when replacing xfwm4 with metacity in xfce.

Run xfwm4-settings in Gnome when metacity or any other WM is already running.
 
> From where the crash occurs, it seems to me that it's rather xfconfd which is
> not running.

It's running here because it get's started by xfce4-settings:
$ ps -U chris | grep xfconf
12226 ?        00:00:00 xfconfd

Nevertheless xfwm4-settings keeps crashing.
Comment 4 Olivier Fourdan editbugs 2009-02-24 18:29:29 CET
Unfortunately, I do not reproduce that here. But what's the point of running xfce4-setting from gnome?
Comment 5 Christoph Wickert editbugs 2009-02-24 18:43:47 CET
(In reply to comment #4)
> Unfortunately, I do not reproduce that here. But what's the point of running
> xfce4-setting from gnome?

None, I just wanted to look something up in xfce4-settings and certainly xfwm4-settings should not crash.
Comment 6 Olivier Fourdan editbugs 2009-02-24 18:59:59 CET
ok, I've added the same test we had in xfwm4 4.4 settings dialog so that they won't run with other WM. That'll do it for now.
Comment 7 Christoph Wickert editbugs 2009-07-22 23:15:07 CEST
For me this is fixed after your changes. Feel free to close this bug.
Comment 8 Christoph Wickert editbugs 2014-11-24 19:21:55 CET
Closing

Bug #4989

Reported by:
Christoph Wickert
Reported on: 2009-02-24
Last modified on: 2014-11-24

People

Assignee:
Olivier Fourdan
CC List:
1 user

Version

Version:
4.5.99.1 (4.6 rc 1)

Attachments

backtrace generated with bug-buddy (7.25 KB, text/plain)
2009-02-24 16:38 CET , Christoph Wickert
no flags

Additional information