I can reliably reproduce this crash, even though it doesn't always crash xfwm4 (but maybe like 90% of the time it does) by opening vlc's Media Information on a playing audio file then clicking on that new window's top-left corner button then choosing Close (but note that double clicking that button, even though it has the same effect of closing the window, will not crash xfwm4) What I see on journald (command is: journalctl -efa --no-hostname ): Apr 03 14:21:01 kernel: traps: xfwm4[14276] trap int3 ip:7fc503686d62 sp:7ffcad858e30 error:0 in libglib-2.0.so.0.5600.0[7fc503625000+133000] Apr 03 14:21:01 systemd-coredump[20714]: Process 14276 (xfwm4) of user 1000 dumped core. Stack trace of thread 14276: #0 0x00007fc503686d62 _g_log_abort (libglib-2.0.so.0) #1 0x00007fc503689f06 g_log_writer_default (libglib-2.0.so.0) #2 0x00007fc503688b93 g_log_structured_array (libglib-2.0.so.0) #3 0x00007fc503688e0c g_log_structured_standard (libglib-2.0.so.0) #4 0x00007fc5049f4a5f _gdk_x11_display_error_event (libgdk-3.so.0) #5 0x00007fc504a04cfb gdk_x_error (libgdk-3.so.0) #6 0x00007fc502f146ed _XError (libX11.so.6) #7 0x00007fc502f11617 n/a (libX11.so.6) #8 0x00007fc502f116d5 n/a (libX11.so.6) #9 0x00007fc502f125e8 _XReply (libX11.so.6) #10 0x00007fc505b18917 XIQueryPointer (libXi.so.6) #11 0x00007fc5049e6a5a gdk_x11_device_xi2_window_at_position (libgdk-3.so.0) #12 0x00007fc5049ad9a1 _gdk_device_window_at_position (libgdk-3.so.0) #13 0x00007fc5049b0991 get_current_toplevel (libgdk-3.so.0) #14 0x00007fc5049b0c10 switch_to_pointer_grab (libgdk-3.so.0) #15 0x00007fc5049b0fc3 _gdk_display_device_grab_update (libgdk-3.so.0) #16 0x00007fc5049f31a7 device_grab_update_callback (libgdk-3.so.0) #17 0x00007fc5049e30ef roundtrip_callback_idle (libgdk-3.so.0) #18 0x00007fc5049a6c8c gdk_threads_dispatch (libgdk-3.so.0) #19 0x00007fc503680ca7 g_idle_dispatch (libglib-2.0.so.0) #20 0x00007fc50367e111 g_main_dispatch (libglib-2.0.so.0) #21 0x00007fc50367f027 g_main_context_dispatch (libglib-2.0.so.0) #22 0x00007fc50367f21a g_main_context_iterate (libglib-2.0.so.0) #23 0x00007fc50367f651 g_main_loop_run (libglib-2.0.so.0) #24 0x00007fc504f7d16f gtk_main (libgtk-3.so.0) #25 0x000056128a27b4db main (xfwm4) #26 0x00007fc5023ccf4a __libc_start_main (libc.so.6) #27 0x000056128a27b8ca _start (xfwm4) Stack trace of thread 14314: #0 0x00007fc50249797b __poll (libc.so.6) #1 0x00007fc5036924bc g_poll (libglib-2.0.so.0) #2 0x00007fc50367f874 g_main_context_poll (libglib-2.0.so.0) #3 0x00007fc50367f1ef g_main_context_iterate (libglib-2.0.so.0) #4 0x00007fc50367f651 g_main_loop_run (libglib-2.0.so.0) #5 0x00007fc50103d89a gdbus_shared_thread_func (libgio-2.0.so.0) #6 0x00007fc5036affad g_thread_proxy (libglib-2.0.so.0) #7 0x00007fc50276a08c start_thread (libpthread.so.0) #8 0x00007fc5024a1e7f __clone (libc.so.6) Stack trace of thread 14325: #0 0x00007fc5027703bd pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0) #1 0x00007fc4f34038ec n/a (r600_dri.so) #2 0x00007fc4f34037f8 n/a (r600_dri.so) #3 0x00007fc50276a08c start_thread (libpthread.so.0) #4 0x00007fc5024a1e7f __clone (libc.so.6) Stack trace of thread 14313: #0 0x00007fc50249797b __poll (libc.so.6) #1 0x00007fc5036924bc g_poll (libglib-2.0.so.0) #2 0x00007fc50367f874 g_main_context_poll (libglib-2.0.so.0) #3 0x00007fc50367f1ef g_main_context_iterate (libglib-2.0.so.0) #4 0x00007fc50367f2f2 g_main_context_iteration (libglib-2.0.so.0) #5 0x00007fc503680f81 glib_worker_main (libglib-2.0.so.0) #6 0x00007fc5036affad g_thread_proxy (libglib-2.0.so.0) #7 0x00007fc50276a08c start_thread (libpthread.so.0) #8 0x00007fc5024a1e7f __clone (libc.so.6) Stack trace of thread 14326: #0 0x00007fc5027703bd pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0) #1 0x00007fc4f34038ec n/a (r600_dri.so) #2 0x00007fc4f34037f8 n/a (r600_dri.so) #3 0x00007fc50276a08c start_thread (libpthread.so.0) #4 0x00007fc5024a1e7f __clone (libc.so.6) What I see in file .xfce4-session.log , something like this every time it crashes: (xfwm4:7518): Gdk-ERROR **: 14:42:17.076: The program 'xfwm4' received an X Window System error. This probably reflects a bug in the program. The error was 'BadDamage (invalid Damage parameter)'. (Details: serial 1197576 error_code 151 request_code 143 (DAMAGE) minor_code 2) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the GDK_SYNCHRONIZE environment variable to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) I'm on ArchLinux and tested latest git xfwm4 commit a1cc12c183333f65f185b184edc06a6a24038879 (HEAD -> makepkg, origin/master, origin/HEAD) This is xfwm4 version 4.13.0git.a1cc12c1 (revision a1cc12c1) for Xfce 4.12 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 local/glib2 2.56.0+16+gecabc6e21-1 compiled with --enable-debug=minimum (because --enable-debug=yes causes another bug: https://bugzilla.xfce.org/show_bug.cgi?id=14320 )
I should probably mention that even though xfwm4 itself crashes (and gets restarted automatically by something in xfce) , VLC is unaffected and I can just repeat the steps to crash xfwm4 again... I'm willing to test any patches / provide any more info. Hints welcome.
$ coredumpctl -r gdb PID: 26402 (xfwm4) UID: 1000 (xftroxgpx) GID: 1000 (xftroxgpx) Signal: 5 (TRAP) Timestamp: Tue 2018-04-03 15:03:11 CEST (14min ago) Command Line: xfwm4 --display :0.0 --sm-client-id 270b10202-898c-4f9a-9118-17d2f74d7d9e Executable: /usr/bin/xfwm4 Control Group: /user.slice/user-1000.slice/session-c2.scope Unit: session-c2.scope Slice: user-1000.slice Session: c2 Owner UID: 1000 (xftroxgpx) Boot ID: ba655554cc5c4b77aaca55888109b055 Machine ID: ac27e28ecb9e47208f622bcf7f772c6b Hostname: z5 Storage: /var/lib/systemd/coredump/core.xfwm4.1000.ba655554cc5c4b77aaca55888109b055.26402.1522760591000000 Message: Process 26402 (xfwm4) of user 1000 dumped core. Stack trace of thread 26402: #0 0x00007f7179c41df9 _g_log_abort (libglib-2.0.so.0) #1 0x00007f7179c44f9d g_log_writer_default (libglib-2.0.so.0) #2 0x00007f7179c43c2a g_log_structured_array (libglib-2.0.so.0) #3 0x00007f7179c43ea3 g_log_structured_standard (libglib-2.0.so.0) #4 0x00007f717afb1a5f _gdk_x11_display_error_event (libgdk-3.so.0) #5 0x00007f717afc1cfb gdk_x_error (libgdk-3.so.0) #6 0x00007f71794cf6ed _XError (libX11.so.6) #7 0x00007f71794cc617 n/a (libX11.so.6) #8 0x00007f71794cc6d5 n/a (libX11.so.6) #9 0x00007f71794cd5e8 _XReply (libX11.so.6) #10 0x00007f717c0d5917 XIQueryPointer (libXi.so.6) #11 0x00007f717afa3a5a gdk_x11_device_xi2_window_at_position (libgdk-3.so.0) #12 0x00007f717af6a9a1 _gdk_device_window_at_position (libgdk-3.so.0) #13 0x00007f717af6d991 get_current_toplevel (libgdk-3.so.0) #14 0x00007f717af6dc10 switch_to_pointer_grab (libgdk-3.so.0) #15 0x00007f717af6dfc3 _gdk_display_device_grab_update (libgdk-3.so.0) #16 0x00007f717afb01a7 device_grab_update_callback (libgdk-3.so.0) #17 0x00007f717afa00ef roundtrip_callback_idle (libgdk-3.so.0) #18 0x00007f717af63c8c gdk_threads_dispatch (libgdk-3.so.0) #19 0x00007f7179c3bd3e g_idle_dispatch (libglib-2.0.so.0) #20 0x00007f7179c391a8 g_main_dispatch (libglib-2.0.so.0) #21 0x00007f7179c3a0be g_main_context_dispatch (libglib-2.0.so.0) #22 0x00007f7179c3a2b1 g_main_context_iterate (libglib-2.0.so.0) #23 0x00007f7179c3a6e8 g_main_loop_run (libglib-2.0.so.0) #24 0x00007f717b53a16f gtk_main (libgtk-3.so.0) #25 0x0000561df4e074db main (xfwm4) #26 0x00007f7178987f4a __libc_start_main (libc.so.6) #27 0x0000561df4e078ca _start (xfwm4) Stack trace of thread 26488: #0 0x00007f7178d2b3bd pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0) #1 0x00007f7169f828ec n/a (r600_dri.so) #2 0x00007f7169f827f8 n/a (r600_dri.so) #3 0x00007f7178d2508c start_thread (libpthread.so.0) #4 0x00007f7178a5ce7f __clone (libc.so.6) Stack trace of thread 26451: #0 0x00007f7178a5297b __poll (libc.so.6) #1 0x00007f7179c4d553 g_poll (libglib-2.0.so.0) #2 0x00007f7179c3a90b g_main_context_poll (libglib-2.0.so.0) #3 0x00007f7179c3a286 g_main_context_iterate (libglib-2.0.so.0) #4 0x00007f7179c3a389 g_main_context_iteration (libglib-2.0.so.0) #5 0x00007f7179c3c018 glib_worker_main (libglib-2.0.so.0) #6 0x00007f7179c6b425 g_thread_proxy (libglib-2.0.so.0) #7 0x00007f7178d2508c start_thread (libpthread.so.0) #8 0x00007f7178a5ce7f __clone (libc.so.6) Stack trace of thread 26452: #0 0x00007f7178a5297b __poll (libc.so.6) #1 0x00007f7179c4d553 g_poll (libglib-2.0.so.0) #2 0x00007f7179c3a90b g_main_context_poll (libglib-2.0.so.0) #3 0x00007f7179c3a286 g_main_context_iterate (libglib-2.0.so.0) #4 0x00007f7179c3a6e8 g_main_loop_run (libglib-2.0.so.0) #5 0x00007f71775f51be gdbus_shared_thread_func (libgio-2.0.so.0) #6 0x00007f7179c6b425 g_thread_proxy (libglib-2.0.so.0) #7 0x00007f7178d2508c start_thread (libpthread.so.0) #8 0x00007f7178a5ce7f __clone (libc.so.6) Stack trace of thread 26489: #0 0x00007f7178d2b3bd pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0) #1 0x00007f7169f828ec n/a (r600_dri.so) #2 0x00007f7169f827f8 n/a (r600_dri.so) #3 0x00007f7178d2508c start_thread (libpthread.so.0) #4 0x00007f7178a5ce7f __clone (libc.so.6) GNU gdb (GDB) 8.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/bin/xfwm4...done. [New LWP 26402] [New LWP 26488] [New LWP 26451] [New LWP 26452] [New LWP 26489] [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Core was generated by `xfwm4 --display :0.0 --sm-client-id 270b10202-898c-4f9a-9118-17d2f74d7d9e'. Program terminated with signal SIGTRAP, Trace/breakpoint trap. #0 _g_log_abort (breakpoint=1) at gmessages.c:583 583 } [Current thread is 1 (Thread 0x7f717d1cde00 (LWP 26402))] (gdb) bt full #0 0x00007f7179c41df9 in _g_log_abort (breakpoint=1) at gmessages.c:583 debugger_present = 1 #1 0x00007f7179c44f9d in g_log_writer_default (log_level=6, fields=0x7ffcae2f2c40, n_fields=6, user_data=0x0) at gmessages.c:2735 __func__ = "g_log_writer_default" #2 0x00007f7179c43c2a in g_log_structured_array (log_level=G_LOG_LEVEL_ERROR, fields=0x7ffcae2f2c40, n_fields=6) at gmessages.c:1970 writer_func = 0x7f7179c44d89 <g_log_writer_default> writer_user_data = 0x0 recursion = 0 depth = 1 __func__ = "g_log_structured_array" #3 0x00007f7179c43ea3 in g_log_structured_standard (log_domain=0x7f717b0293af "Gdk", log_level=G_LOG_LEVEL_ERROR, file=0x7f717b02939e "gdkdisplay-x11.c", line=0x7f717b029c40 "2766", func=0x7f717b029e20 <__func__.74440> "_gdk_x11_display_error_event", message_format=0x7f717b029c3d "%s") at gmessages.c:2027 fields = {{key = 0x7f7179ca18e6 "PRIORITY", value = 0x7f7179ca18af, length = -1}, {key = 0x7f7179ca19d3 "CODE_FILE", value = 0x7f717b02939e, length = -1}, {key = 0x7f7179ca19dd "CODE_LINE", value = 0x7f717b029c40, length = -1}, {key = 0x7f7179ca19e7 "CODE_FUNC", value = 0x7f717b029e20 <__func__.74440>, length = -1}, {key = 0x7f7179ca18de "MESSAGE", value = 0x561df631e5e0, length = -1}, {key = 0x7f7179ca18ef "GLIB_DOMAIN", value = 0x7f717b0293af, length = -1}} n_fields = 6 message_allocated = 0x561df631e5e0 "The program 'xfwm4' received an X Window System error.\nThis probably reflects a bug in the program.\nThe error was 'BadDamage (invalid Damage parameter)'.\n (Details: serial 55853 error_code 151 reques"... buffer = " ./\256\374\177\000\000\252\006\000\000\000\000\000\000\300\060\276yq\177\000\000\001\000\000\000\000\000\000\000\000P\036}q\177\000\000\224f\377|q\177\000\000\252\006\000\000\000\000\000\000\330\343\276yq\177\000\000\000P\036}q\177\000\000\230-/\256\374\177\000\000\224-/\256\374\177\000\000\260^\036}q\177\000\000\000\000\000\000\374\177\000\000\330\343\276yq\177\000\000\200\063\276yq\177\000\000\344-\364zq\177\000\000Q\234\372\017\000\000\000\000q\352?\000\000\000\000\000\030\333\363zq\177\000\000p./\256\374\177\000\000`./\256\374\177\000\000\230-/\256\374\177\000\000@zQ\366\035V\000\000f\000\000\000\000\000\000\000\270\032Iy", '\000' <repeats 13 times>... args = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 0x7ffcae2f31a8, reg_save_area = 0x7ffcae2f30e0}} #4 0x00007f717afb1a5f in _gdk_x11_display_error_event (display=0x561df61ba0e0 [GdkX11Display], error=0x7ffcae2f32f0) at gdkdisplay-x11.c:2766 buf = "BadDamage (invalid Damage parameter)", '\000' <repeats 27 times> msg = 0x561df6382be0 "The program 'xfwm4' received an X Window System error.\nThis probably reflects a bug in the program.\nThe error was 'BadDamage (invalid Damage parameter)'.\n (Details: serial 55853 error_code 151 reques"... display_x11 = 0x561df61ba0e0 [GdkX11Display] tmp_list = 0x0 ignore = 0 __func__ = "_gdk_x11_display_error_event" #5 0x00007f717afc1cfb in gdk_x_error (xdisplay=0x561df61a40f0, error=0x7ffcae2f32f0) at gdkmain-x11.c:307 ---Type <return> to continue, or q <return> to quit--- error_display = 0x561df61ba0e0 [GdkX11Display] manager = 0x561df61a2000 [GdkDisplayManager] displays = 0x0 #6 0x00007f71794cf6ed in _XError () at /usr/lib/libX11.so.6 #7 0x00007f71794cc617 in () at /usr/lib/libX11.so.6 #8 0x00007f71794cc6d5 in () at /usr/lib/libX11.so.6 #9 0x00007f71794cd5e8 in _XReply () at /usr/lib/libX11.so.6 #10 0x00007f717c0d5917 in XIQueryPointer () at /usr/lib/libXi.so.6 #11 0x00007f717afa3a5a in gdk_x11_device_xi2_window_at_position (device=0x561df61e5830 [GdkX11DeviceXI2], win_x=0x7ffcae2f37b0, win_y=0x7ffcae2f37b8, mask=0x7ffcae2f37ac, get_toplevel=1) at gdkdevice-xi2.c:523 impl = 0x561df618b7c0 device_xi2 = 0x561df61e5830 [GdkX11DeviceXI2] display = 0x561df61ba0e0 [GdkX11Display] screen = 0x561df61c2020 [GdkX11Screen] xdisplay = 0x561df61a40f0 window = 0xf618bc10 xwindow = 1224 root = 25603650192 child = 140125353891040 last = 0 xroot_x = 8.3991159793011913e-323 xroot_y = 4.7430302000759668e-322 xwin_x = 4.6781439685786338e-310 xwin_y = 1.1619357607295251e-313 button_state = {mask_len = 0, mask = 0x0} mod_state = {base = 400, latched = 0, locked = -165902752, effective = 22045} group_state = {base = 2043005137, latched = 24, locked = -166152256, effective = 22045} retval = 32625 #12 0x00007f717af6a9a1 in _gdk_device_window_at_position (device=0x561df61e5830 [GdkX11DeviceXI2], win_x=0x7ffcae2f37b0, win_y=0x7ffcae2f37b8, mask=0x7ffcae2f37ac, get_toplevel=1) at gdkdevice.c:1894 #13 0x00007f717af6d991 in get_current_toplevel (display=0x561df61ba0e0 [GdkX11Display], device=0x561df61e5830 [GdkX11DeviceXI2], x_out=0x7ffcae2f3818, y_out=0x7ffcae2f381c, state_out=0x7ffcae2f3814) at gdkdisplay.c:998 pointer_window = 0x561df61e5830 [GdkX11DeviceXI2] x = 4.678143729968642e-310 y = 4.161995704272e-314 state = 22045 #14 0x00007f717af6dc10 in switch_to_pointer_grab (display=0x561df61ba0e0 [GdkX11Display], device=0x561df61e5830 [GdkX11DeviceXI2], source_device=0x561df61e5db0 [GdkX11DeviceXI2], grab=0x0, last_grab=0x561df67adbc0, time=29543250, serial=55656) at gdkdisplay.c:1085 ---Type <return> to continue, or q <return> to quit--- src_window = 0x7ffcae2f3860 pointer_window = 0x7f717af685b1 new_toplevel = 0x0 info = 0x561df61a3200 old_grabs = 0x0 state = 22045 x = 0 y = 0 #15 0x00007f717af6dfc3 in _gdk_display_device_grab_update (display=0x561df61ba0e0 [GdkX11Display], device=0x561df61e5830 [GdkX11DeviceXI2], source_device=0x561df61e5db0 [GdkX11DeviceXI2], current_serial=55656) at gdkdisplay.c:1200 current_grab = 0x561df67adbc0 next_grab = 0x0 grabs = 0x0 time = 29543250 #16 0x00007f717afb01a7 in device_grab_update_callback (display=0x561df61ba0e0 [GdkX11Display], data=0x561df61e5830, serial=55656) at gdkdisplay-x11.c:1917 pointer_info = 0x561df61a3200 device = 0x561df61e5830 [GdkX11DeviceXI2] #17 0x00007f717afa00ef in roundtrip_callback_idle (data=0x561df6798380) at gdkasync.c:674 state = 0x561df6798380 #18 0x00007f717af63c8c in gdk_threads_dispatch (data=0x561df6330720) at gdk.c:743 dispatch = 0x561df6330720 ret = 0 #19 0x00007f7179c3bd3e in g_idle_dispatch (source=0x561df6765fb0, callback=0x7f717af63c44 <gdk_threads_dispatch>, user_data=0x561df6330720) at gmain.c:5535 again = 1 #20 0x00007f7179c391a8 in g_main_dispatch (context=0x561df61e41c0) at gmain.c:3177 dispatch = 0x7f7179c3bcef <g_idle_dispatch> prev_source = 0x0 was_in_call = 0 user_data = 0x561df6330720 callback = 0x7f717af63c44 <gdk_threads_dispatch> cb_funcs = 0x7f7179f14b00 <g_source_callback_funcs> cb_data = 0x561df676f070 need_destroy = 1 source = 0x561df6765fb0 current = 0x561df6310b40 i = 2 ---Type <return> to continue, or q <return> to quit--- __func__ = "g_main_dispatch" #21 0x00007f7179c3a0be in g_main_context_dispatch (context=0x561df61e41c0) at gmain.c:3830 #22 0x00007f7179c3a2b1 in g_main_context_iterate (context=0x561df61e41c0, block=1, dispatch=1, self=0x561df62b9090) at gmain.c:3903 max_priority = 200 timeout = 0 some_ready = 1 nfds = 4 allocated_nfds = 4 fds = 0x561df6232510 #23 0x00007f7179c3a6e8 in g_main_loop_run (loop=0x561df6702ec0) at gmain.c:4099 self = 0x561df62b9090 __func__ = "g_main_loop_run" #24 0x00007f717b53a16f in gtk_main () at gtkmain.c:1323 loop = 0x561df6702ec0 #25 0x0000561df4e074db in main () (gdb) (gdb) frame 0 #0 _g_log_abort (breakpoint=1) at gmessages.c:583 583 } (gdb) frame 1 #1 0x00007f7179c44f9d in g_log_writer_default (log_level=6, fields=0x7ffcae2f2c40, n_fields=6, user_data=0x0) at gmessages.c:2735 2735 _g_log_abort (!(log_level & G_LOG_FLAG_RECURSION)); (gdb) frame 2 #2 0x00007f7179c43c2a in g_log_structured_array (log_level=G_LOG_LEVEL_ERROR, fields=0x7ffcae2f2c40, n_fields=6) at gmessages.c:1970 1970 writer_func (log_level, fields, n_fields, writer_user_data); (gdb) frame 3 #3 0x00007f7179c43ea3 in g_log_structured_standard (log_domain=0x7f717b0293af "Gdk", log_level=G_LOG_LEVEL_ERROR, file=0x7f717b02939e "gdkdisplay-x11.c", line=0x7f717b029c40 "2766", func=0x7f717b029e20 <__func__.74440> "_gdk_x11_display_error_event", message_format=0x7f717b029c3d "%s") at gmessages.c:2027 2027 g_log_structured_array (log_level, fields, n_fields); (gdb) frame 4 #4 0x00007f717afb1a5f in _gdk_x11_display_error_event (display=0x561df61ba0e0 [GdkX11Display], error=0x7ffcae2f32f0) at gdkdisplay-x11.c:2766 2766 g_error ("%s", msg); (gdb) frame 5 #5 0x00007f717afc1cfb in gdk_x_error (xdisplay=0x561df61a40f0, error=0x7ffcae2f32f0) at gdkmain-x11.c:307 307 _gdk_x11_display_error_event (error_display, error); (gdb) frame 6 #6 0x00007f71794cf6ed in _XError () from /usr/lib/libX11.so.6 (gdb) frame 7 #7 0x00007f71794cc617 in ?? () from /usr/lib/libX11.so.6 (gdb) frame 8 #8 0x00007f71794cc6d5 in ?? () from /usr/lib/libX11.so.6 (gdb) frame 9 #9 0x00007f71794cd5e8 in _XReply () from /usr/lib/libX11.so.6 (gdb) frame 10 #10 0x00007f717c0d5917 in XIQueryPointer () from /usr/lib/libXi.so.6 (gdb) frame 11 #11 0x00007f717afa3a5a in gdk_x11_device_xi2_window_at_position (device=0x561df61e5830 [GdkX11DeviceXI2], win_x=0x7ffcae2f37b0, win_y=0x7ffcae2f37b8, mask=0x7ffcae2f37ac, get_toplevel=1) at gdkdevice-xi2.c:523 523 XIQueryPointer (xdisplay, (gdb) frame 12 #12 0x00007f717af6a9a1 in _gdk_device_window_at_position (device=0x561df61e5830 [GdkX11DeviceXI2], win_x=0x7ffcae2f37b0, win_y=0x7ffcae2f37b8, mask=0x7ffcae2f37ac, get_toplevel=1) at gdkdevice.c:1894 1894 return GDK_DEVICE_GET_CLASS (device)->window_at_position (device, (gdb) frame 13 #13 0x00007f717af6d991 in get_current_toplevel (display=0x561df61ba0e0 [GdkX11Display], device=0x561df61e5830 [GdkX11DeviceXI2], x_out=0x7ffcae2f3818, y_out=0x7ffcae2f381c, state_out=0x7ffcae2f3814) at gdkdisplay.c:998 998 pointer_window = _gdk_device_window_at_position (device, &x, &y, &state, TRUE); (gdb) frame 14 #14 0x00007f717af6dc10 in switch_to_pointer_grab (display=0x561df61ba0e0 [GdkX11Display], device=0x561df61e5830 [GdkX11DeviceXI2], source_device=0x561df61e5db0 [GdkX11DeviceXI2], grab=0x0, last_grab=0x561df67adbc0, time=29543250, serial=55656) at gdkdisplay.c:1085 1085 new_toplevel = get_current_toplevel (display, device, &x, &y, &state); (gdb) frame 15 #15 0x00007f717af6dfc3 in _gdk_display_device_grab_update (display=0x561df61ba0e0 [GdkX11Display], device=0x561df61e5830 [GdkX11DeviceXI2], source_device=0x561df61e5db0 [GdkX11DeviceXI2], current_serial=55656) at gdkdisplay.c:1200 1200 switch_to_pointer_grab (display, device, source_device, (gdb) frame 16 #16 0x00007f717afb01a7 in device_grab_update_callback (display=0x561df61ba0e0 [GdkX11Display], data=0x561df61e5830, serial=55656) at gdkdisplay-x11.c:1917 1917 _gdk_display_device_grab_update (display, device, (gdb) frame 17 #17 0x00007f717afa00ef in roundtrip_callback_idle (data=0x561df6798380) at gdkasync.c:674 674 state->callback (state->display, state->data, state->get_input_focus_req); (gdb) frame 18 #18 0x00007f717af63c8c in gdk_threads_dispatch (data=0x561df6330720) at gdk.c:743 743 ret = dispatch->func (dispatch->data); (gdb) frame 19 #19 0x00007f7179c3bd3e in g_idle_dispatch (source=0x561df6765fb0, callback=0x7f717af63c44 <gdk_threads_dispatch>, user_data=0x561df6330720) at gmain.c:5535 5535 again = callback (user_data); (gdb) frame 20 #20 0x00007f7179c391a8 in g_main_dispatch (context=0x561df61e41c0) at gmain.c:3177 3177 need_destroy = !(* dispatch) (source, callback, user_data); (gdb) frame 21 #21 0x00007f7179c3a0be in g_main_context_dispatch (context=0x561df61e41c0) at gmain.c:3830 3830 g_main_dispatch (context); (gdb) frame 22 #22 0x00007f7179c3a2b1 in g_main_context_iterate (context=0x561df61e41c0, block=1, dispatch=1, self=0x561df62b9090) at gmain.c:3903 3903 g_main_context_dispatch (context); (gdb) frame 23 #23 0x00007f7179c3a6e8 in g_main_loop_run (loop=0x561df6702ec0) at gmain.c:4099 4099 g_main_context_iterate (loop->context, TRUE, TRUE, self); (gdb) frame 24 #24 0x00007f717b53a16f in gtk_main () at gtkmain.c:1323 1323 g_main_loop_run (loop); (gdb) frame 25 #25 0x0000561df4e074db in main () (gdb) frame 26 #0 0x0000000000000000 in ?? () (gdb)
Created attachment 7658 crashed xfwm4 which was now compiled with --enable-debug (thus it generated a .log file) recompiled xfwm4 with --enable-debug here's the generated /tmp/xfwm4-debug-15154.log from when reproduced the crash. (attached) and new gdb dump(with even more symbols): $ coredumpctl -r gdb PID: 15154 (xfwm4) UID: 1000 (xftroxgpx) GID: 1000 (xftroxgpx) Signal: 5 (TRAP) Timestamp: Tue 2018-04-03 15:23:13 CEST (4min 32s ago) Command Line: xfwm4 --display :0.0 --sm-client-id 270b10202-898c-4f9a-9118-17d2f74d7d9e Executable: /usr/bin/xfwm4 Control Group: /user.slice/user-1000.slice/session-c2.scope Unit: session-c2.scope Slice: user-1000.slice Session: c2 Owner UID: 1000 (xftroxgpx) Boot ID: ba655554cc5c4b77aaca55888109b055 Machine ID: ac27e28ecb9e47208f622bcf7f772c6b Hostname: z5 Storage: /var/lib/systemd/coredump/core.xfwm4.1000.ba655554cc5c4b77aaca55888109b055.15154.1522761793000000 Message: Process 15154 (xfwm4) of user 1000 dumped core. Stack trace of thread 15154: #0 0x00007f1d7fbc3df9 _g_log_abort (libglib-2.0.so.0) #1 0x00007f1d7fbc6f9d g_log_writer_default (libglib-2.0.so.0) #2 0x00007f1d7fbc5c2a g_log_structured_array (libglib-2.0.so.0) #3 0x00007f1d7fbc5ea3 g_log_structured_standard (libglib-2.0.so.0) #4 0x00007f1d80f33a5f _gdk_x11_display_error_event (libgdk-3.so.0) #5 0x00007f1d80f43cfb gdk_x_error (libgdk-3.so.0) #6 0x00007f1d7f4516ed _XError (libX11.so.6) #7 0x00007f1d7f44e617 n/a (libX11.so.6) #8 0x00007f1d7f44e6d5 n/a (libX11.so.6) #9 0x00007f1d7f44f5e8 _XReply (libX11.so.6) #10 0x00007f1d82057917 XIQueryPointer (libXi.so.6) #11 0x00007f1d80f25a5a gdk_x11_device_xi2_window_at_position (libgdk-3.so.0) #12 0x00007f1d80eec9a1 _gdk_device_window_at_position (libgdk-3.so.0) #13 0x00007f1d80eef991 get_current_toplevel (libgdk-3.so.0) #14 0x00007f1d80eefc10 switch_to_pointer_grab (libgdk-3.so.0) #15 0x00007f1d80eeffc3 _gdk_display_device_grab_update (libgdk-3.so.0) #16 0x00007f1d80f321a7 device_grab_update_callback (libgdk-3.so.0) #17 0x00007f1d80f220ef roundtrip_callback_idle (libgdk-3.so.0) #18 0x00007f1d80ee5c8c gdk_threads_dispatch (libgdk-3.so.0) #19 0x00007f1d7fbbdd3e g_idle_dispatch (libglib-2.0.so.0) #20 0x00007f1d7fbbb1a8 g_main_dispatch (libglib-2.0.so.0) #21 0x00007f1d7fbbc0be g_main_context_dispatch (libglib-2.0.so.0) #22 0x00007f1d7fbbc2b1 g_main_context_iterate (libglib-2.0.so.0) #23 0x00007f1d7fbbc6e8 g_main_loop_run (libglib-2.0.so.0) #24 0x00007f1d814bc16f gtk_main (libgtk-3.so.0) #25 0x000056011bb42749 main (xfwm4) #26 0x00007f1d7e909f4a __libc_start_main (libc.so.6) #27 0x000056011bb173ca _start (xfwm4) Stack trace of thread 15199: #0 0x00007f1d7e9d497b __poll (libc.so.6) #1 0x00007f1d7fbcf553 g_poll (libglib-2.0.so.0) #2 0x00007f1d7fbbc90b g_main_context_poll (libglib-2.0.so.0) #3 0x00007f1d7fbbc286 g_main_context_iterate (libglib-2.0.so.0) #4 0x00007f1d7fbbc6e8 g_main_loop_run (libglib-2.0.so.0) #5 0x00007f1d7d5771be gdbus_shared_thread_func (libgio-2.0.so.0) #6 0x00007f1d7fbed425 g_thread_proxy (libglib-2.0.so.0) #7 0x00007f1d7eca708c start_thread (libpthread.so.0) #8 0x00007f1d7e9dee7f __clone (libc.so.6) Stack trace of thread 15235: #0 0x00007f1d7ecad3bd pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0) #1 0x00007f1d6f4038ec n/a (r600_dri.so) #2 0x00007f1d6f4037f8 n/a (r600_dri.so) #3 0x00007f1d7eca708c start_thread (libpthread.so.0) #4 0x00007f1d7e9dee7f __clone (libc.so.6) Stack trace of thread 15198: #0 0x00007f1d7e9d497b __poll (libc.so.6) #1 0x00007f1d7fbcf553 g_poll (libglib-2.0.so.0) #2 0x00007f1d7fbbc90b g_main_context_poll (libglib-2.0.so.0) #3 0x00007f1d7fbbc286 g_main_context_iterate (libglib-2.0.so.0) #4 0x00007f1d7fbbc389 g_main_context_iteration (libglib-2.0.so.0) #5 0x00007f1d7fbbe018 glib_worker_main (libglib-2.0.so.0) #6 0x00007f1d7fbed425 g_thread_proxy (libglib-2.0.so.0) #7 0x00007f1d7eca708c start_thread (libpthread.so.0) #8 0x00007f1d7e9dee7f __clone (libc.so.6) Stack trace of thread 15236: #0 0x00007f1d7ecad3bd pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0) #1 0x00007f1d6f4038ec n/a (r600_dri.so) #2 0x00007f1d6f4037f8 n/a (r600_dri.so) #3 0x00007f1d7eca708c start_thread (libpthread.so.0) #4 0x00007f1d7e9dee7f __clone (libc.so.6) GNU gdb (GDB) 8.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/bin/xfwm4...done. [New LWP 15154] [New LWP 15199] [New LWP 15235] [New LWP 15198] [New LWP 15236] [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Core was generated by `xfwm4 --display :0.0 --sm-client-id 270b10202-898c-4f9a-9118-17d2f74d7d9e'. Program terminated with signal SIGTRAP, Trace/breakpoint trap. #0 _g_log_abort (breakpoint=1) at gmessages.c:583 583 } [Current thread is 1 (Thread 0x7f1d8314fe00 (LWP 15154))] (gdb) bt full #0 0x00007f1d7fbc3df9 in _g_log_abort (breakpoint=1) at gmessages.c:583 debugger_present = 1 #1 0x00007f1d7fbc6f9d in g_log_writer_default (log_level=6, fields=0x7ffe2af80a40, n_fields=6, user_data=0x0) at gmessages.c:2735 __func__ = "g_log_writer_default" #2 0x00007f1d7fbc5c2a in g_log_structured_array (log_level=G_LOG_LEVEL_ERROR, fields=0x7ffe2af80a40, n_fields=6) at gmessages.c:1970 writer_func = 0x7f1d7fbc6d89 <g_log_writer_default> writer_user_data = 0x0 recursion = 0 depth = 1 __func__ = "g_log_structured_array" #3 0x00007f1d7fbc5ea3 in g_log_structured_standard (log_domain=0x7f1d80fab3af "Gdk", log_level=G_LOG_LEVEL_ERROR, file=0x7f1d80fab39e "gdkdisplay-x11.c", line=0x7f1d80fabc40 "2766", func=0x7f1d80fabe20 <__func__.74440> "_gdk_x11_display_error_event", message_format=0x7f1d80fabc3d "%s") at gmessages.c:2027 fields = {{key = 0x7f1d7fc238e6 "PRIORITY", value = 0x7f1d7fc238af, length = -1}, {key = 0x7f1d7fc239d3 "CODE_FILE", value = 0x7f1d80fab39e, length = -1}, {key = 0x7f1d7fc239dd "CODE_LINE", value = 0x7f1d80fabc40, length = -1}, {key = 0x7f1d7fc239e7 "CODE_FUNC", value = 0x7f1d80fabe20 <__func__.74440>, length = -1}, {key = 0x7f1d7fc238de "MESSAGE", value = 0x56011d6b63b0, length = -1}, {key = 0x7f1d7fc238ef "GLIB_DOMAIN", value = 0x7f1d80fab3af, length = -1}} n_fields = 6 message_allocated = 0x56011d6b63b0 "The program 'xfwm4' received an X Window System error.\nThis probably reflects a bug in the program.\nThe error was 'BadDamage (invalid Damage parameter)'.\n (Details: serial 90760 error_code 151 reques"... buffer = "`\361!\035\001V\000\000\252\006\000\000\000\000\000\000\300P\266\177\035\177\000\000\001\000\000\000\000\000\000\000\000p\026\203\035\177\000\000\224\206\367\202\035\177\000\000\252\006\000\000\000\000\000\000\330\003\267\177\035\177\000\000\000p\026\203\035\177\000\000\230\v\370*\376\177\000\000\224\v\370*\376\177\000\000\250\v\370*\376\177\000\000\000\000\000\000\376\177\000\000\330\003\267\177\035\177\000\000\200S\266\177\035\177\000\000\344M\354\200\035\177\000\000Q\234\372\017\000\000\000\000q\352?\000\000\000\000\000\030\373\353\200\035\177\000\000p\f\370*\376\177\000\000`\f\370*\376\177\000\000\230\v\370*\376\177\000\000@\203R\035\001V\000\000f\000\000\000\000\000\000\000@\203R\035", '\000' <repeats 13 times>... args = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 0x7ffe2af80fa8, reg_save_area = 0x7ffe2af80ee0}} #4 0x00007f1d80f33a5f in _gdk_x11_display_error_event (display=0x56011d1cc0e0 [GdkX11Display], error=0x7ffe2af810f0) at gdkdisplay-x11.c:2766 buf = "BadDamage (invalid Damage parameter)", '\000' <repeats 27 times> msg = 0x56011d7a8130 "The program 'xfwm4' received an X Window System error.\nThis probably reflects a bug in the program.\nThe error was 'BadDamage (invalid Damage parameter)'.\n (Details: serial 90760 error_code 151 reques"... display_x11 = 0x56011d1cc0e0 [GdkX11Display] tmp_list = 0x0 ignore = 0 __func__ = "_gdk_x11_display_error_event" #5 0x00007f1d80f43cfb in gdk_x_error (xdisplay=0x56011d1b6260, error=0x7ffe2af810f0) at gdkmain-x11.c:307 ---Type <return> to continue, or q <return> to quit--- error_display = 0x56011d1cc0e0 [GdkX11Display] manager = 0x56011d1b4000 [GdkDisplayManager] displays = 0x0 #6 0x00007f1d7f4516ed in _XError () at /usr/lib/libX11.so.6 #7 0x00007f1d7f44e617 in () at /usr/lib/libX11.so.6 #8 0x00007f1d7f44e6d5 in () at /usr/lib/libX11.so.6 #9 0x00007f1d7f44f5e8 in _XReply () at /usr/lib/libX11.so.6 #10 0x00007f1d82057917 in XIQueryPointer () at /usr/lib/libXi.so.6 #11 0x00007f1d80f25a5a in gdk_x11_device_xi2_window_at_position (device=0x56011d1f4830 [GdkX11DeviceXI2], win_x=0x7ffe2af815b0, win_y=0x7ffe2af815b8, mask=0x7ffe2af815ac, get_toplevel=1) at gdkdevice-xi2.c:523 impl = 0x56011d1797c0 device_xi2 = 0x56011d1f4830 [GdkX11DeviceXI2] display = 0x56011d1cc0e0 [GdkX11Display] screen = 0x56011d1d4020 [GdkX11Screen] xdisplay = 0x56011d1b6260 window = 0x1d179c10 xwindow = 1224 root = 21962920592 child = 139764676785376 last = 0 xroot_x = 8.3991159793011913e-323 xroot_y = 4.7430302000759668e-322 xwin_x = 4.6720225047253692e-310 xwin_y = 1.1668836898342443e-313 button_state = {mask_len = 0, mask = 0x0} mod_state = {base = 400, latched = 0, locked = 488568416, effective = 22017} group_state = {base = 2143152337, latched = 24, locked = 488085440, effective = 22017} retval = 32541 #12 0x00007f1d80eec9a1 in _gdk_device_window_at_position (device=0x56011d1f4830 [GdkX11DeviceXI2], win_x=0x7ffe2af815b0, win_y=0x7ffe2af815b8, mask=0x7ffe2af815ac, get_toplevel=1) at gdkdevice.c:1894 #13 0x00007f1d80eef991 in get_current_toplevel (display=0x56011d1cc0e0 [GdkX11Display], device=0x56011d1f4830 [GdkX11DeviceXI2], x_out=0x7ffe2af81618, y_out=0x7ffe2af8161c, state_out=0x7ffe2af81614) at gdkdisplay.c:998 pointer_window = 0x56011d1f4830 [GdkX11DeviceXI2] x = 4.67202227249001e-310 y = 2.36330913605853e-314 state = 22017 #14 0x00007f1d80eefc10 in switch_to_pointer_grab (display=0x56011d1cc0e0 [GdkX11Display], device=0x56011d1f4830 [GdkX11DeviceXI2], source_device=0x56011d1f4db0 [GdkX11DeviceXI2], grab=0x0, last_grab=0x56011d7874f0, time=30746003, serial=90563) at gdkdisplay.c:1085 ---Type <return> to continue, or q <return> to quit--- src_window = 0x7ffe2af81660 pointer_window = 0x7f1d80eea5b1 new_toplevel = 0x0 info = 0x56011d1b5600 old_grabs = 0x0 state = 22017 x = 0 y = 0 #15 0x00007f1d80eeffc3 in _gdk_display_device_grab_update (display=0x56011d1cc0e0 [GdkX11Display], device=0x56011d1f4830 [GdkX11DeviceXI2], source_device=0x56011d1f4db0 [GdkX11DeviceXI2], current_serial=90563) at gdkdisplay.c:1200 current_grab = 0x56011d7874f0 next_grab = 0x0 grabs = 0x0 time = 30746003 #16 0x00007f1d80f321a7 in device_grab_update_callback (display=0x56011d1cc0e0 [GdkX11Display], data=0x56011d1f4830, serial=90563) at gdkdisplay-x11.c:1917 pointer_info = 0x56011d1b5600 device = 0x56011d1f4830 [GdkX11DeviceXI2] #17 0x00007f1d80f220ef in roundtrip_callback_idle (data=0x56011d6f1d90) at gdkasync.c:674 state = 0x56011d6f1d90 #18 0x00007f1d80ee5c8c in gdk_threads_dispatch (data=0x56011d33fb40) at gdk.c:743 dispatch = 0x56011d33fb40 ret = 0 #19 0x00007f1d7fbbdd3e in g_idle_dispatch (source=0x56011d67f260, callback=0x7f1d80ee5c44 <gdk_threads_dispatch>, user_data=0x56011d33fb40) at gmain.c:5535 again = 1 #20 0x00007f1d7fbbb1a8 in g_main_dispatch (context=0x56011d1f33e0) at gmain.c:3177 dispatch = 0x7f1d7fbbdcef <g_idle_dispatch> prev_source = 0x0 was_in_call = 0 user_data = 0x56011d33fb40 callback = 0x7f1d80ee5c44 <gdk_threads_dispatch> cb_funcs = 0x7f1d7fe96b00 <g_source_callback_funcs> cb_data = 0x56011d46c150 need_destroy = 1 source = 0x56011d67f260 current = 0x56011d320d40 i = 2 ---Type <return> to continue, or q <return> to quit--- __func__ = "g_main_dispatch" #21 0x00007f1d7fbbc0be in g_main_context_dispatch (context=0x56011d1f33e0) at gmain.c:3830 #22 0x00007f1d7fbbc2b1 in g_main_context_iterate (context=0x56011d1f33e0, block=1, dispatch=1, self=0x56011d263490) at gmain.c:3903 max_priority = 200 timeout = 0 some_ready = 1 nfds = 4 allocated_nfds = 4 fds = 0x56011d65dac0 #23 0x00007f1d7fbbc6e8 in g_main_loop_run (loop=0x56011d3bd630) at gmain.c:4099 self = 0x56011d263490 __func__ = "g_main_loop_run" #24 0x00007f1d814bc16f in gtk_main () at gtkmain.c:1323 loop = 0x56011d3bd630 #25 0x000056011bb42749 in main (argc=1, argv=0x7ffe2af81b28) at main.c:762 version = 0 replace_wm = 0 status = 1 context = 0x56011d189100 error = 0x0 option_entries = {{long_name = 0x56011bb6b536 "daemon", short_name = 0 '\000', flags = 8, arg = G_OPTION_ARG_CALLBACK, arg_data = 0x56011bb41dc5 <daemon_callback>, description = 0x56011bb6b540 "Fork to the background (not supported)", arg_description = 0x0}, {long_name = 0x56011bb6b567 "compositor", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_CALLBACK, arg_data = 0x56011bb41c17 <compositor_callback>, description = 0x56011bb6b572 "Set the compositor mode", arg_description = 0x56011bb6b58a "on|off|auto"}, {long_name = 0x56011bb6b596 "vblank", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_CALLBACK, arg_data = 0x56011bb41d01 <vblank_callback>, description = 0x56011bb6b59d "Set the vblank mode", arg_description = 0x56011bb6b5b1 "off|present|glx"}, {long_name = 0x56011bb6b5c1 "replace", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7ffe2af81908, description = 0x56011bb6b5d0 "Replace the existing window manager", arg_description = 0x0}, {long_name = 0x56011bb6b5f4 "version", short_name = 86 'V', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7ffe2af81904, description = 0x56011bb6b600 "Print version information and exit", arg_description = 0x0}, {long_name = 0x0, short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0, arg_description = 0x0}} __func__ = "main" (gdb) (gdb) frame 0 #0 _g_log_abort (breakpoint=1) at gmessages.c:583 583 } (gdb) frame 1 #1 0x00007f1d7fbc6f9d in g_log_writer_default (log_level=6, fields=0x7ffe2af80a40, n_fields=6, user_data=0x0) at gmessages.c:2735 2735 _g_log_abort (!(log_level & G_LOG_FLAG_RECURSION)); (gdb) frame 2 #2 0x00007f1d7fbc5c2a in g_log_structured_array (log_level=G_LOG_LEVEL_ERROR, fields=0x7ffe2af80a40, n_fields=6) at gmessages.c:1970 1970 writer_func (log_level, fields, n_fields, writer_user_data); (gdb) frame 3 #3 0x00007f1d7fbc5ea3 in g_log_structured_standard (log_domain=0x7f1d80fab3af "Gdk", log_level=G_LOG_LEVEL_ERROR, file=0x7f1d80fab39e "gdkdisplay-x11.c", line=0x7f1d80fabc40 "2766", func=0x7f1d80fabe20 <__func__.74440> "_gdk_x11_display_error_event", message_format=0x7f1d80fabc3d "%s") at gmessages.c:2027 2027 g_log_structured_array (log_level, fields, n_fields); (gdb) frame 4 #4 0x00007f1d80f33a5f in _gdk_x11_display_error_event (display=0x56011d1cc0e0 [GdkX11Display], error=0x7ffe2af810f0) at gdkdisplay-x11.c:2766 2766 g_error ("%s", msg); (gdb) frame 5 #5 0x00007f1d80f43cfb in gdk_x_error (xdisplay=0x56011d1b6260, error=0x7ffe2af810f0) at gdkmain-x11.c:307 307 _gdk_x11_display_error_event (error_display, error); (gdb) frame 6 #6 0x00007f1d7f4516ed in _XError () from /usr/lib/libX11.so.6 (gdb) frame 7 #7 0x00007f1d7f44e617 in ?? () from /usr/lib/libX11.so.6 (gdb) frame 8 #8 0x00007f1d7f44e6d5 in ?? () from /usr/lib/libX11.so.6 (gdb) frame 9 #9 0x00007f1d7f44f5e8 in _XReply () from /usr/lib/libX11.so.6 (gdb) frame 10 #10 0x00007f1d82057917 in XIQueryPointer () from /usr/lib/libXi.so.6 (gdb) frame 11 #11 0x00007f1d80f25a5a in gdk_x11_device_xi2_window_at_position (device=0x56011d1f4830 [GdkX11DeviceXI2], win_x=0x7ffe2af815b0, win_y=0x7ffe2af815b8, mask=0x7ffe2af815ac, get_toplevel=1) at gdkdevice-xi2.c:523 523 XIQueryPointer (xdisplay, (gdb) frame 12 #12 0x00007f1d80eec9a1 in _gdk_device_window_at_position (device=0x56011d1f4830 [GdkX11DeviceXI2], win_x=0x7ffe2af815b0, win_y=0x7ffe2af815b8, mask=0x7ffe2af815ac, get_toplevel=1) at gdkdevice.c:1894 1894 return GDK_DEVICE_GET_CLASS (device)->window_at_position (device, (gdb) frame 13 #13 0x00007f1d80eef991 in get_current_toplevel (display=0x56011d1cc0e0 [GdkX11Display], device=0x56011d1f4830 [GdkX11DeviceXI2], x_out=0x7ffe2af81618, y_out=0x7ffe2af8161c, state_out=0x7ffe2af81614) at gdkdisplay.c:998 998 pointer_window = _gdk_device_window_at_position (device, &x, &y, &state, TRUE); (gdb) frame 14 #14 0x00007f1d80eefc10 in switch_to_pointer_grab (display=0x56011d1cc0e0 [GdkX11Display], device=0x56011d1f4830 [GdkX11DeviceXI2], source_device=0x56011d1f4db0 [GdkX11DeviceXI2], grab=0x0, last_grab=0x56011d7874f0, time=30746003, serial=90563) at gdkdisplay.c:1085 1085 new_toplevel = get_current_toplevel (display, device, &x, &y, &state); (gdb) frame 15 #15 0x00007f1d80eeffc3 in _gdk_display_device_grab_update (display=0x56011d1cc0e0 [GdkX11Display], device=0x56011d1f4830 [GdkX11DeviceXI2], source_device=0x56011d1f4db0 [GdkX11DeviceXI2], current_serial=90563) at gdkdisplay.c:1200 1200 switch_to_pointer_grab (display, device, source_device, (gdb) frame 16 #16 0x00007f1d80f321a7 in device_grab_update_callback (display=0x56011d1cc0e0 [GdkX11Display], data=0x56011d1f4830, serial=90563) at gdkdisplay-x11.c:1917 1917 _gdk_display_device_grab_update (display, device, (gdb) frame 17 #17 0x00007f1d80f220ef in roundtrip_callback_idle (data=0x56011d6f1d90) at gdkasync.c:674 674 state->callback (state->display, state->data, state->get_input_focus_req); (gdb) frame 18 #18 0x00007f1d80ee5c8c in gdk_threads_dispatch (data=0x56011d33fb40) at gdk.c:743 743 ret = dispatch->func (dispatch->data); (gdb) frame 19 #19 0x00007f1d7fbbdd3e in g_idle_dispatch (source=0x56011d67f260, callback=0x7f1d80ee5c44 <gdk_threads_dispatch>, user_data=0x56011d33fb40) at gmain.c:5535 5535 again = callback (user_data); (gdb) frame 20 #20 0x00007f1d7fbbb1a8 in g_main_dispatch (context=0x56011d1f33e0) at gmain.c:3177 3177 need_destroy = !(* dispatch) (source, callback, user_data); (gdb) frame 21 #21 0x00007f1d7fbbc0be in g_main_context_dispatch (context=0x56011d1f33e0) at gmain.c:3830 3830 g_main_dispatch (context); (gdb) frame 22 #22 0x00007f1d7fbbc2b1 in g_main_context_iterate (context=0x56011d1f33e0, block=1, dispatch=1, self=0x56011d263490) at gmain.c:3903 3903 g_main_context_dispatch (context); (gdb) frame 23 #23 0x00007f1d7fbbc6e8 in g_main_loop_run (loop=0x56011d3bd630) at gmain.c:4099 4099 g_main_context_iterate (loop->context, TRUE, TRUE, self); (gdb) frame 24 #24 0x00007f1d814bc16f in gtk_main () at gtkmain.c:1323 1323 g_main_loop_run (loop); (gdb) frame 25 #25 0x000056011bb42749 in main (argc=1, argv=0x7ffe2af81b28) at main.c:762 762 gtk_main (); (gdb) frame 26 #0 0x0000000000000000 in ?? () (gdb) xfwm4 commit a1cc12c183333f65f185b184edc06a6a24038879 (HEAD -> makepkg, origin/master, origin/HEAD)
I can only reproduce this crash with xfwm4 from git master, not from the xfce-4.12 branch. Actually, almost any dialog cause this crash not only Media Info. P.S. next time, please consider attaching those long stack traces as text files, it's really uncomfortable to find your comments between them.
Ah sorry about that Andre, I mistakenly remembered that I should paste them in comments, but that was for gnome: "You should then copy-and-paste the obtained trace into your previously filed bug report. We ask you to paste it into the comment text field, not an attatchment." from here: https://wiki.gnome.org/Community/GettingInTouch/Bugzilla/GettingTraces
Created attachment 7659 found something to make it easier for Andre; see? i care :)
Funny thing is, this is not a crash but an abort() due to an (unhandled) Xerror and the entire stack trace is actually from gtk+ itself.
Olivier Fourdan referenced this bugreport in commit e4b8d96f1d1270ff2be3ba9c6ada10fb7c7cb4df compositor: avoid damage errors https://git.xfce.org/xfce/xfwm4/commit?id=e4b8d96f1d1270ff2be3ba9c6ada10fb7c7cb4df
Works for me, thanks!
Closing.