Created attachment 6540 coredump xfwm4 Program terminated with signal SIGSEGV, Segmentation fault. ... Stack trace of thread 1631: #0 0x00007f66ad94bbaf __rawmemchr (libc.so.6) #1 0x00007f66ad932ff2 _IO_str_init_static_internal (libc.so.6) #2 0x00007f66ad921c17 __GI___isoc99_vsscanf (libc.so.6) #3 0x00007f66ad921bb7 __isoc99_sscanf (libc.so.6) #4 0x00007f66b25d5e52 epoxy_glx_version (libepoxy.so.0) #5 0x0000565552cbf83d init_glx (xfwm4) #6 0x0000565552cb274b initialize (xfwm4) #7 0x00007f66ad8d6780 __libc_start_main (libc.so.6) #8 0x0000565552cb2829 _start (xfwm4) ... $ xfwm4 --version This is xfwm4 version 4.12.3git.e180e80.20151109 (revision e180e80.20151109) for Xfce 4.12 Released under the terms of the GNU General Public License. Compiled against GTK+-2.24.28, using GTK+-2.24.28. Build configuration and supported features: - Startup notification support: Yes - XSync support: Yes - Render support: Yes - Xrandr support: Yes - Xpresent support: Yes - Embedded compositor: Yes - Epoxy support: Yes - KDE systray proxy (deprecated): No
HW: 00:02.0 VGA compatible controller [0300]: Red Hat, Inc. QXL paravirtual graphic card [1b36:0100] (rev 04) Subsystem: Red Hat, Inc QEMU Virtual Machine [1af4:1100] Kernel driver in use: qxl Kernel modules: qxl SW: kernel-core-4.4.0-0.rc2.git0.2.fc24.x86_64 xorg-x11-server-Xorg-1.18.0-2.fc24.x86_64 xorg-x11-drv-qxl-0.1.4-20.fc24.x86_64 libepoxy-1.3.1-1.fc24.x86_64 libXpresent-1.0.0-2.fc24.x86_64 libXrender-0.9.9-2.fc23.x86_64 libdrm-2.4.65-1.fc24.x86_64 mesa-dri-drivers-11.2.0-0.devel.1.86fc97d.fc24.x86_64 xfwm4-4.12.3-18.gite180e80.20151109.fc24.x86_64
For comparison, XRender and XPresent compositor - no problemos with QXL.
That does not look like a bug in xfwm4, the crash occurs within epoxy_glx_version() while it tries to parse the string returned by glXQueryServerString()
(In reply to Olivier Fourdan from comment #3) > That does not look like a bug in xfwm4, the crash occurs within > epoxy_glx_version() while it tries to parse the string returned by > glXQueryServerString() Out of curiosity, what does "glxinfo" give on that system?
$ rpm -q xfwm4 xfwm4-4.12.3-18.2.xpresent.git20151109.fc24.x86_64 $ xfwm4 --replace --compositor=on Waiting for current window manager (Xfwm4) on screen :0.0 to exit: Done $ xfwm4 --version This is xfwm4 version 4.12.3git.20151109 (revision 20151109) for Xfce 4.12 Released under the terms of the GNU General Public License. Compiled against GTK+-2.24.28, using GTK+-2.24.28. Build configuration and supported features: - Startup notification support: Yes - XSync support: Yes - Render support: Yes - Xrandr support: Yes - Xpresent support: Yes - Embedded compositor: Yes - Epoxy support: No - KDE systray proxy (deprecated): No $ glxinfo name of display: :0.0 Error: couldn't find RGB GLX visual or fbconfig ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ $ rpm -q xfwm4 xfwm4-4.12.3-18.2.xpresent.git20151109.fc24.x86_64 $ xfwm4 --replace --compositor=on Waiting for current window manager (Xfwm4) on screen :0.0 to exit: Done (xfwm4:2638): xfwm4-WARNING **: No vsync support in compositor $ xfwm4 --version This is xfwm4 version 4.12.3git.20151109 (revision 20151109) for Xfce 4.12 Released under the terms of the GNU General Public License. Compiled against GTK+-2.24.28, using GTK+-2.24.28. Build configuration and supported features: - Startup notification support: Yes - XSync support: Yes - Render support: Yes - Xrandr support: Yes - Xpresent support: No - Embedded compositor: Yes - Epoxy support: No - KDE systray proxy (deprecated): No $ glxinfo name of display: :0.0 Error: couldn't find RGB GLX visual or fbconfig ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ $ rpm -q xfwm4 xfwm4-4.12.3-18.0.glx.git20151109.fc24.x86_64 $ xfwm4 --replace --compositor=on Waiting for current window manager (Xfwm4) on screen :0.0 to exit: Done Segmentation fault (core dumped) $ xfwm4 --version This is xfwm4 version 4.12.3git.20151109 (revision 20151109) for Xfce 4.12 Released under the terms of the GNU General Public License. Compiled against GTK+-2.24.28, using GTK+-2.24.28. Build configuration and supported features: - Startup notification support: Yes - XSync support: Yes - Render support: Yes - Xrandr support: Yes - Xpresent support: No - Embedded compositor: Yes - Epoxy support: Yes - KDE systray proxy (deprecated): No $ glxinfo name of display: :0.0 Error: couldn't find RGB GLX visual or fbconfig ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ $ rpm -q xfwm4 xfwm4-4.12.3-18.gite180e80.20151109.fc24.x86_64 $ xfwm4 --replace --compositor=on Segmentation fault (core dumped) $ xfwm4 --version This is xfwm4 version 4.12.3git.e180e80.20151109 (revision e180e80.20151109) for Xfce 4.12 Released under the terms of the GNU General Public License. Compiled against GTK+-2.24.28, using GTK+-2.24.28. Build configuration and supported features: - Startup notification support: Yes - XSync support: Yes - Render support: Yes - Xrandr support: Yes - Xpresent support: Yes - Embedded compositor: Yes - Epoxy support: Yes - KDE systray proxy (deprecated): No $ glxinfo name of display: :0.0 Error: couldn't find RGB GLX visual or fbconfig ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ $ coredumpctl list TIME PID UID GID SIG PRESENT EXE Wed 2015-11-25 17:36:39 EST 2151 1000 1000 11 * /usr/bin/xfwm4 Wed 2015-11-25 17:36:39 EST 2153 1000 1000 11 * /usr/bin/xfwm4 Wed 2015-11-25 17:36:40 EST 2155 1000 1000 11 * /usr/bin/xfwm4 Wed 2015-11-25 17:36:40 EST 2157 1000 1000 11 * /usr/bin/xfwm4 Wed 2015-11-25 17:36:40 EST 2159 1000 1000 11 * /usr/bin/xfwm4 Wed 2015-11-25 17:36:40 EST 2161 1000 1000 11 * /usr/bin/xfwm4 Wed 2015-11-25 17:41:23 EST 2429 1000 1000 11 * /usr/bin/xfwm4 Wed 2015-11-25 17:54:57 EST 2761 1000 1000 11 * /usr/bin/xfwm4 Wed 2015-11-25 17:55:21 EST 2770 1000 1000 11 * /usr/bin/xfwm4 Wed 2015-11-25 17:58:00 EST 2867 1000 1000 11 * /usr/bin/xfwm4 $ dmesg -T ... [Wed Nov 25 17:36:38 2015] xfwm4[2151]: segfault at 0 ip 00007fbf4de19baf sp 00007ffd22093078 error 4 in libc-2.22.90.so[7fbf4dd84000+1be000] [Wed Nov 25 17:36:39 2015] xfwm4[2153]: segfault at 0 ip 00007fe3116f4baf sp 00007ffc3bc1e6b8 error 4 in libc-2.22.90.so[7fe31165f000+1be000] [Wed Nov 25 17:36:39 2015] xfwm4[2155]: segfault at 0 ip 00007f106d6cfbaf sp 00007ffdf942a078 error 4 in libc-2.22.90.so[7f106d63a000+1be000] [Wed Nov 25 17:36:39 2015] xfwm4[2157]: segfault at 0 ip 00007fd42642fbaf sp 00007ffd877858d8 error 4 in libc-2.22.90.so[7fd42639a000+1be000] [Wed Nov 25 17:36:39 2015] xfwm4[2159]: segfault at 0 ip 00007f66db145baf sp 00007ffea99ffe18 error 4 in libc-2.22.90.so[7f66db0b0000+1be000] [Wed Nov 25 17:36:39 2015] xfwm4[2161]: segfault at 0 ip 00007f9bfd1fcbaf sp 00007ffc23b1b058 error 4 in libc-2.22.90.so[7f9bfd167000+1be000] [Wed Nov 25 17:41:22 2015] xfwm4[2429]: segfault at 0 ip 00007f70f796fbaf sp 00007ffe3fb81d08 error 4 in libc-2.22.90.so[7f70f78da000+1be000] [Wed Nov 25 17:54:56 2015] xfwm4[2761]: segfault at 0 ip 00007f68f86b7baf sp 00007fff421d2f58 error 4 in libc-2.22.90.so[7f68f8622000+1be000] [Wed Nov 25 17:55:21 2015] xfwm4[2770]: segfault at 0 ip 00007fa68261ebaf sp 00007ffd3ea75528 error 4 in libc-2.22.90.so[7fa682589000+1be000] [Wed Nov 25 17:57:59 2015] xfwm4[2867]: segfault at 0 ip 00007fdd31616baf sp 00007fff6b444638 error 4 in libc-2.22.90.so[7fdd31581000+1be000]
Pardon me, 2nd is $ rpm -q xfwm4 xfwm4-4.12.3-18.1.xrender.git20151109.fc24.x86_64 - Render support: Yes - Xrandr support: Yes - Xpresent support: No - Embedded compositor: Yes - Epoxy support: No
Oh, please hold on before filing bugs everywhere...
Can you try with git master? It now first check for the availability of the glx extension in X, so if not present it would not crash in epoxy_glx_version()
$ xfwm4 --replace --compositor=on & [1] 2163 Waiting for current window manager (Xfwm4) on screen :0.0 to exit: Done $ coredumpctl list No coredumps found. $ LIBGL_DEBUG=verbose glxinfo name of display: :0.0 Error: couldn't find RGB GLX visual or fbconfig $ grep -i glx /var/log/Xorg.0.log [ 42.764] (II) LoadModule: "glx" [ 42.765] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so [ 42.916] (II) Module glx: vendor="X.Org Foundation" [ 42.916] (==) AIGLX enabled [ 42.984] (II) AIGLX: Screen 0 is not DRI2 capable [ 42.984] (EE) AIGLX: reverting to software rendering [ 44.014] (EE) AIGLX error: Calling driver entry point failed [ 44.040] (EE) GLX: could not load software renderer [ 44.040] (II) GLX: no usable GL providers found for screen 0 $ xfwm4 --version This is xfwm4 version 4.12.3git.a64b743.20151126 (revision a64b743.20151126) for Xfce 4.12 Released under the terms of the GNU General Public License. Compiled against GTK+-2.24.28, using GTK+-2.24.28. Build configuration and supported features: - Startup notification support: Yes - XSync support: Yes - Render support: Yes - Xrandr support: Yes - Xpresent support: Yes - Embedded compositor: Yes - Epoxy support: Yes - KDE systray proxy (deprecated): No
Sorry, I was expecting a simple answers, something like "yes, it works" or "no it doesn't fix the issue". In doubt, I'll close this bug as fixed.
$ grep -i glx /var/log/Xorg.0.log [ 43.027] (II) LoadModule: "glx" [ 43.029] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so [ 43.220] (II) Module glx: vendor="X.Org Foundation" [ 43.220] (==) AIGLX enabled [ 43.289] (II) AIGLX: Screen 0 is not DRI2 capable [ 43.289] (EE) AIGLX: reverting to software rendering [ 44.566] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer [ 44.567] (II) AIGLX: Loaded and initialized swrast [ 44.567] (II) GLX: Initialized DRISWRAST GL provider for screen 0 $ glxinfo | grep -w renderer OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.7, 128 bits) $ rpm -q mesa-dri-drivers mesa-dri-drivers-11.2.0-0.devel.2.59cfb21.fc24.x86_64 Done, mesa upstream.