Summary: | weston-desktop-shell crashed with SIGSEGV in ffi_call_unix64() | ||
---|---|---|---|
Product: | Wayland | Reporter: | melchiaros <melchiaros> |
Component: | weston | Assignee: | Wayland bug list <wayland-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Stacktrace |
Description
melchiaros
2013-02-09 09:21:17 UTC
#0 0x0000000000000000 in ?? () No symbol table info available. #1 0x00007f4380a40bb8 in ffi_call_unix64 () at ../src/x86/unix64.S:75 No locals. #2 0x00007f4380a405c0 in ffi_call (cif=cif@entry=0x89bf40, fn=0x0, rvalue=rvalue@entry=0x7fff24b7757c, avalue=avalue@entry=0x89bf60) at ../src/x86/ffi64.c:492 classes = {X86_64_INTEGERSI_CLASS, 16711935, 16711935, 16711935} stack = 0x7fff24b773b0 "\260\250\200" argp = 0x7fff24b77460 "" arg_types = <optimized out> gprcount = 3 ssecount = <optimized out> ngpr = 1 nsse = 0 i = <optimized out> avn = <optimized out> ret_in_memory = <optimized out> reg_args = 0x7fff24b773b0 #3 0x00007f4381c8cdcf in wl_closure_invoke (closure=closure@entry=0x89be90, target=target@entry=0x80f010, func=<optimized out>, data=0x80a8b0) at ../../src/connection.c:908 result = 0 #4 0x00007f4381c8a644 in dispatch_event (display=0x80a9e0, queue=<optimized out>) at ../../src/wayland-client.c:839 closure = 0x89be90 opcode = <optimized out> proxy = 0x80f010 proxy_destroyed = false #5 dispatch_queue (display=0x80a9e0, queue=0x80aa68, block=block@entry=1) at ../../src/wayland-client.c:893 len = <optimized out> count = 0 ret = <optimized out> #6 0x00007f4381c8b282 in wl_display_dispatch (display=<optimized out>) at ../../src/wayland-client.c:979 No locals. #7 0x000000000040672d in handle_display_data (task=0x80a920, events=<optimized out>) at window.c:3857 display = 0x80a8b0 ep = {events = 616003200, data = {ptr = 0x24b7768000007fff, fd = 32767, u32 = 32767, u64 = 2645713598231379967}} ret = <optimized out> #8 0x000000000040b607 in display_run (display=0x80a8b0) at window.c:4168 task = <optimized out> ep = {{events = 1, data = {ptr = 0x80a920, fd = 8431904, u32 = 8431904, u64 = 8431904}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x10000000, fd = 268435456, u32 = 268435456, u64 = 268435456}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x100000000, fd = 0, u32 = 0, u64 = 4294967296}}, {events = 32579, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 1, data = {ptr = 0x827c430800000000, fd = 0, u32 = 0, u64 = 9402463823681552384}}, {events = 32579, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 616003160, data = {ptr = 0x80e654a800007fff, fd = 32767, u32 = 32767, u64 = 9288204362029498367}}, {events = 32579, data = {ptr = 0x7f43827a1000, fd = -2105929728, u32 = 2189037568, u64 = 139927928573952}}, {events = 0, data = {ptr = 0x827c466000000000, fd = 0, u32 = 0, u64 = 9402467500173557760}}, {events = 32579, data = {ptr = 0x7fff24b77620, fd = 616003104, u32 = 616003104, u64 = 140733809391136}}, {events = 616003072, data = {ptr = 0x1bc6ade300007fff, fd = 32767, u32 = 32767, u64 = 2001478274881978367}}, {events = 0, data = {ptr = 0x100000002, fd = 2, u32 = 2, u64 = 4294967298}}} i = <optimized out> count = <optimized out> ret = <optimized out> #9 0x0000000000404ba7 in main (argc=<optimized out>, argv=<optimized out>) at desktop-shell.c:1132 desktop = {display = 0x80a8b0, shell = 0x837960, unlock_dialog = 0x0, unlock_task = {run = 0x4063f0 <unlock_dialog_finish>, link = {prev = 0x0, next = 0x0}}, outputs = {prev = 0x80fee8, next = 0x80fee8}, grab_window = 0x811bc0, grab_widget = 0x811d60, grab_cursor = CURSOR_DRAGGING} config_file = <optimized out> output = <optimized out> ret = <optimized out> Can you try https://bugs.freedesktop.org/attachment.cgi?id=74394 from bug 59001? Two weeks, no reply, closing bug now. I just committed commit 2fc248dc2c877d02694db40aad52180d71373d5a Author: Jason Ekstrand <jason@jlekstrand.net> Date: Tue Feb 26 11:30:51 2013 -0500 Clean up and refactor wl_closure and associated functions which should fix these alignment problems. If the problem persists, please reopen. Sorry Kristion, but as I wrote I am myself not affected by this. I have only broght this up to you. Anyway on https://bugs.launchpad.net/ubuntu/+source/weston/+bug/1098064 the affected users where informed on your testing request, but do not have react. We will see if the fix fits for them in futhur. (In reply to comment #4) > Sorry Kristion, but as I wrote I am myself not affected by this. I have only > broght this up to you. > > Anyway on > > https://bugs.launchpad.net/ubuntu/+source/weston/+bug/1098064 > > the affected users where informed on your testing request, but do not have > react. > > We will see if the fix fits for them in futhur. Ah thanks. That bug was closed as CONFIRMED, so I'll take that as VERIFIED. I guess this is a misunderstood. We have a case of babylonian language obfuscation. CONFIRMED on launchpad just means that different users(2 or more) have observed the same crasher/issue. Not more. This right the stage after NEW and has no association to any testing request like patches. (In reply to comment #6) > I guess this is a misunderstood. > > We have a case of babylonian language obfuscation. > > CONFIRMED on launchpad just means that different users(2 or more) have > observed the same crasher/issue. Not more. > > This right the stage after NEW and has no association to any testing request > like patches. Ok, I'll put this back into RESOLVED then. As before, if the bug isn't fixed, please reopen this bug, thanks. I've experienced this bug in Weston 1.0.5 too. Can you try again with this patch applied? http://lists.freedesktop.org/archives/wayland-devel/2013-March/007830.html (In reply to comment #8) > I've experienced this bug in Weston 1.0.5 too. Or try the 1.0.6 release or git master, thanks. OK, putting this back into FIXED, no response for a while. Created attachment 95383 [details]
Stacktrace
I think I just experienced this bug on Ubuntu 14.04 with Weston 1.3.0. The attached stacktrace was generated from a crash dump (https://www.linuxlounge.net/~martin/tmp/_usr_bin_weston.1000.crash [8.5M]). I was watching a video via mpv, when the machine suddenly rebooted. Software-Versions are: - weston 1.3.0-1ubuntu1 - libwayland-server0 1.4.0-1 - libffi6 3.0.13-12 - linux-image-generic 3.13.0-16-generic Observed same issue with wayland 1.5.0, libffi6 3.0.13 call trace shows segmentation fault during call wl_closure_invoke -> ffi_call. Most possibly seems to be because of stack corruption. Can't post call trace current, will post in some time. Wayland 1.5.0 support version 2 for wl_output proxy, which requires wl_output_listener methods (geometry, mode, done and scale ) whereas wayland 1.0.3 support version 1 for wl_output proxy, which requires wl_output_listener methods (geometry, mode). Wayland client was developed on wayland 1.0.3 hence wl_output_listener had only 2 methods (geometry, mode) and (done, scale) were NULL, causing segmentation fault when wayland server tried to call those callbacks. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.