xfwm4 segfault

Jens Luedicke jens.luedicke at gmail.com
Mon Mar 27 14:24:21 CEST 2006


Hi Olivier,

I updated xfce4 from svn and xfwm4 is segfaulting on my laptop (rev 20600):

jens at laptop ~ $ gdb /opt/xfce4-svn/bin/xfwm4
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host
libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /opt/xfce4-svn/bin/xfwm4

** (xfwm4:30646): WARNING **: The display does not support the XRender
extension.

** (xfwm4:30646): WARNING **: The display does not support the XRandr extension.

** (xfwm4:30646): WARNING **: The display does not support the
XComposite extension.

** (xfwm4:30646): WARNING **: Compositing manager disabled.

Program received signal SIGSEGV, Segmentation fault.
getWMProtocols (display_info=0x80ac5e8, w=6291473) at hints.c:133
133         *protocols = None;
(gdb) bt
#0  getWMProtocols (display_info=0x80ac5e8, w=6291473) at hints.c:133
#1  0x08051bc5 in clientGetWMProtocols (c=0x81cc488) at client.c:1142
#2  0x080542a1 in clientFrame (display_info=0x80ac5e8, w=6291473, recapture=0)
    at client.c:1670
#3  0x0805f74a in handleEvent (display_info=0x80ac5e8, ev=0xbfb6b4a0)
    at events.c:1095
#4  0x08060065 in xfwm4_event_filter (xevent=0x600011, data=0x0)
    at events.c:2217
#5  0x4003facf in anXEventFilter (gdk_xevent=0xbfb6b4a0, event=0x80c7028,
    data=0x0) at gtktoxevent.c:158
#6  0x403c698a in gdk_event_apply_filters () from /usr/lib/libgdk-x11-2.0.so.0
#7  0x403c743b in gdk_event_translate () from /usr/lib/libgdk-x11-2.0.so.0
#8  0x403c90c9 in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#9  0x403c929d in gdk_event_dispatch () from /usr/lib/libgdk-x11-2.0.so.0
#10 0x4066cb77 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#11 0x4066e504 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#12 0x4066e82a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#13 0x401a8e63 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#14 0x08068171 in main (argc=1, argv=0xbfb6c7d4) at main.c:583
(gdb)

The revision 20584 I have on my PC works though.

a working fix suggested by Jannis:

<JPohlmann> perldude: Try to replace *protocols = None with protocols = None.
<JPohlmann> In line 133 of hints.c.


jens

--
Jens Luedicke
web: http://perldude.de/



More information about the Xfce4-dev mailing list