Summary: | [Regression]clicking dnd flower leads to dnd segment fault | ||
---|---|---|---|
Product: | Wayland | Reporter: | ZhaoShengyan <shengyanx.zhao> |
Component: | weston | Assignee: | Wayland bug list <wayland-bugs> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Debug patch for dnd
dnd-strace |
Description
ZhaoShengyan
2012-05-29 22:13:52 UTC
(gdb) bt #0 create_drag_cursor (dnd_drag=0x80be528, item=0x805f3c0, x=<optimized out>, y=146, opacity=1) at dnd.c:324 #1 0x0804bfa8 in dnd_button_handler (widget=0x80c72c8, input=0x805d160, time=2622325723, button=272, state=1, data=0x8062a50) at dnd.c:418 #2 0x0804eb49 in pointer_handle_button (data=0x805d160, pointer=0x80a97e0, serial=127, time=2622325723, button=272, state=1) at window.c:1793 #3 0x46a89447 in ffi_call_SYSV () from /usr/lib/libffi.so.5 #4 0x46a891c0 in ffi_call () from /usr/lib/libffi.so.5 #5 0xb7fc8443 in wl_closure_invoke (closure=0xbfffed9c, target=0x80a97e0, func=0x804eae0 <pointer_handle_button>, data=0x805d160) at connection.c:770 #6 0xb7fc6320 in handle_event (display=0x8058510, id=<optimized out>, opcode=3, size=24) at wayland-client.c:494 #7 0xb7fc6e31 in wl_display_iterate (display=0x8058510, mask=<optimized out>) at wayland-client.c:527 #8 0x08050c34 in display_run (display=0x8058458) at window.c:3512 #9 0x0804b1a8 in main (argc=1, argv=0xbffff494) at dnd.c:576 We had tried to bisect the first bad commit, but the recent "weston can't be built" bug blocks us. So sorry for no providing the first bad commit ID. From the backtrace I would guess you don't have a grabbing cursor in your cursor theme. Please check if you have a file named something like /usr/share/icons/[cursor theme name]/cursors/grabbing (In reply to comment #2) > We had tried to bisect the first bad commit, but the recent "weston can't be > built" bug blocks us. > So sorry for no providing the first bad commit ID. Which bug is that? I'll try to search for it and find it now, but it's a lot easier if you can just put the bug number in the comment here in the future. (In reply to comment #4) > (In reply to comment #2) > > We had tried to bisect the first bad commit, but the recent "weston can't be > > built" bug blocks us. > > So sorry for no providing the first bad commit ID. > Which bug is that? I'll try to search for it and find it now, but it's a lot > easier if you can just put the bug number in the comment here in the future. The bug number is Bug 50330:[Regression]Weston can't be build successfully. Really thanks for your good suggestion, I'll take that soon. (In reply to comment #3) > From the backtrace I would guess you don't have a grabbing cursor in your > cursor theme. Please check if you have a file named something like > /usr/share/icons/[cursor theme name]/cursors/grabbing I can find that file, which locates at: /usr/share/icons/Adwaita/cursors/grabbing Created attachment 62314 [details] [review] Debug patch for dnd Just to make sure, can you run dnd with this patch and paste its output here? (In reply to comment #7) > Created attachment 62314 [details] [review] [review] > Debug patch for dnd > Just to make sure, can you run dnd with this patch and paste its output here? The output is: create_drag_cursor: pointer = (nil) Segmentation fault (core dumped) Is there any update regard to this issue? (In reply to comment #9) > Is there any update regard to this issue? Still can't reproduce it here. Can you run dnd under strace -e open and attach the output? For example, $ strace -o dnd-strace -e open ./clients/dnd and attach dnd-strace here. Created attachment 64695 [details]
dnd-strace
This info is captured during I the dnd segment fault happened.
(In reply to comment #10) > (In reply to comment #9) > > Is there any update regard to this issue? > Still can't reproduce it here. Can you run dnd under strace -e open and attach > the output? For example, > $ strace -o dnd-strace -e open ./clients/dnd > and attach dnd-strace here. Sorry for reply you so late, I hope the attachment is helpful for you. Crash should be fixed in 2e615e7a033ee7eb50f3b9ffc3ab2fddeb2b3494, but we're still missing the cursor. Erhm, make that f22d0ecd97644e7b6526128c3449f0e080188b26. I sent a patch about a month ago that fixes this bug. But no received response, today I saw a patch in commit f22d0ecd97644e7b6526128c3449f0e080188b26 similar by my patch. Developers don`t read mails? Don`t understand... Where to send patches that-would you read them? %) The mesa project - the same situation. The bug has been closed at Weston:86adef9d54d41b1594749c00abab24482248fa5c. Marked this as Resolved and Fixed. Marked this as Verified and Fixed. |
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.