FS#41456 - [weston] 1.5.0-1 crashes when running any XWayland app
Attached to Project:
Community Packages
Opened by smikims (smikims) - Monday, 04 August 2014, 10:41 GMT
Last edited by Sébastien Luttringer (seblu) - Friday, 26 September 2014, 09:05 GMT
Opened by smikims (smikims) - Monday, 04 August 2014, 10:41 GMT
Last edited by Sébastien Luttringer (seblu) - Friday, 26 September 2014, 09:05 GMT
|
Details
Description: See title. Crashes usually happen after about a
minute of running the app, give or take.
Additional info: My weston.ini has [core] modules=xwayland.so,desktop-shell.so Steps to reproduce: Open any X app (I used glxgears) in weston with XWayland enabled and play around with it for about a minute. Two backtraces: Reading symbols from /usr/bin/weston...done. [New LWP 1003] [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Core was generated by `/usr/bin/weston'. Program terminated with signal SIGTRAP, Trace/breakpoint trap. #0 0x00007fa251329d67 in raise () from /usr/lib/libc.so.6 (gdb) bt #0 0x00007fa251329d67 in raise () from /usr/lib/libc.so.6 #1 <signal handler called> #2 surface_resize (shsurf=0xfe75a0, seat=0x0, edges=1) at desktop-shell/shell.c:1772 #3 0x00007fa24ba3452f in weston_wm_handle_button (wm=<optimized out>, wm=<optimized out>, event=<optimized out>) at xwayland/window-manager.c:1650 #4 weston_wm_handle_event (fd=0, mask=16847332, data=0xfcc7a0) at xwayland/window-manager.c:1742 #5 0x00007fa2522b8042 in wl_event_loop_dispatch () from /usr/lib/libwayland-server.so.0 #6 0x00007fa2522b6535 in wl_display_run () from /usr/lib/libwayland-server.so.0 #7 0x0000000000407d9b in main (argc=1, argv=<optimized out>) at src/compositor.c:4316 (gdb) quit Reading symbols from /usr/bin/weston...done. [New LWP 23814] [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Core was generated by `/usr/bin/weston'. Program terminated with signal SIGTRAP, Trace/breakpoint trap. #0 0x00007fe8d4617d67 in raise () from /usr/lib/libc.so.6 (gdb) bt #0 0x00007fe8d4617d67 in raise () from /usr/lib/libc.so.6 #1 <signal handler called> #2 surface_move (shsurf=0xafa060, client_initiated=1, seat=<optimized out>) at desktop-shell/shell.c:1577 #3 0x00007fe8ced22550 in weston_wm_handle_button (wm=<optimized out>, wm=<optimized out>, event=<optimized out>) at xwayland/window-manager.c:1645 #4 weston_wm_handle_event (fd=11534192, mask=11510576, data=0xe45800) at xwayland/window-manager.c:1742 #5 0x00007fe8d55a6042 in wl_event_loop_dispatch () from /usr/lib/libwayland-server.so.0 #6 0x00007fe8d55a4535 in wl_display_run () from /usr/lib/libwayland-server.so.0 #7 0x0000000000407d9b in main (argc=1, argv=<optimized out>) at src/compositor.c:4316 (gdb) quit |
This task depends upon
Closed by Sébastien Luttringer (seblu)
Friday, 26 September 2014, 09:05 GMT
Reason for closing: Fixed
Additional comments about closing: weston 1.6.0-1
Friday, 26 September 2014, 09:05 GMT
Reason for closing: Fixed
Additional comments about closing: weston 1.6.0-1
https://bugs.freedesktop.org/show_bug.cgi?id=82827
Patch to solve this crash is attached there.
Other patches upstream includes (to solve crashing elsewhere):
http://cgit.freedesktop.org/wayland/weston/patch/?id=c06a180dd574c24ca50766461c10d3a6bfa3ad2b
http://cgit.freedesktop.org/wayland/weston/patch/?id=cf4c13af9821e33ce336709e01f8bbfebf77c8ed