Bug 80415 - [sna][regression] X server crashes when trying to resize a gtk2 window under Openbox WM
Summary: [sna][regression] X server crashes when trying to resize a gtk2 window under ...
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-23 18:04 UTC by gedgon
Modified: 2014-06-24 07:46 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
backtrace (5.46 KB, text/plain)
2014-06-24 07:23 UTC, gedgon
no flags Details

Description gedgon 2014-06-23 18:04:10 UTC
Bad commit: 416c223

Backtrace:
(EE) 0: /usr/bin/Xorg (xorg_backtrace+0x48) [0x584b08]
(EE) 1: /usr/bin/Xorg (0x400000+0x1887f9) [0x5887f9]
(EE) 2: /usr/lib/libpthread.so.0 (0x7f00a5e27000+0xf4b0) [0x7f00a5e364b0]
(EE) 3: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f009f686000+0x7c6b7) [0x7f009f7026b7]
(EE) 4: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f009f686000+0xe0940) [0x7f009f766940]
(EE) 5: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f009f686000+0x4e448) [0x7f009f6d4448]
(EE) 6: /usr/lib/xorg/modules/drivers/intel_drv.so (0x7f009f686000+0x50b6e) [0x7f009f6d6b6e]
(EE) 7: /usr/bin/Xorg (0x400000+0x10fa3a) [0x50fa3a]
(EE) 8: /usr/bin/Xorg (0x400000+0x176042) [0x576042]
(EE) 9: /usr/bin/Xorg (0x400000+0xc1cb8) [0x4c1cb8]
(EE) 10: /usr/bin/Xorg (miMoveWindow+0x1e5) [0x57d455]
(EE) 11: /usr/bin/Xorg (0x400000+0xc166c) [0x4c166c]
(EE) 12: /usr/bin/Xorg (ConfigureWindow+0x5be) [0x460b3e]
(EE) 13: /usr/bin/Xorg (0x400000+0x30e8b) [0x430e8b]
(EE) 14: /usr/bin/Xorg (0x400000+0x35c8e) [0x435c8e]
(EE) 15: /usr/bin/Xorg (0x400000+0x39aaa) [0x439aaa]
(EE) 16: /usr/lib/libc.so.6 (__libc_start_main+0xf0) [0x7f00a4a94000]
(EE) 17: /usr/bin/Xorg (0x400000+0x2507e) [0x42507e]
(EE)(EE) Segmentation fault at address 0x8


Can't reproduce this in Gnome Shell
Comment 1 Chris Wilson 2014-06-23 20:07:37 UTC
Can you gdb to get a better backtrace or run
"addr2line -i -e /usr/lib/xorg/modules/drivers/intel_drv.so  0x7c6b7 0xe0940 0x4e448 0x50b6e"
Comment 2 Chris Wilson 2014-06-23 21:20:26 UTC
I think this will mask the bug:

commit ded05e8abb248664124d2b86f77c27497a252c4e
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Jun 23 22:15:56 2014 +0100

    sna: Allow scratch pixmap to allocate linear GPU bo
    
    When allocating a scratch pixmap, we do so in the expectation that
    rendering on the GPU is always preferrable, so even allocate a small
    linear bo.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>


But I do need to know where it fell over in case it is not obvious.
Comment 3 gedgon 2014-06-24 07:23:31 UTC
Created attachment 101643 [details]
backtrace

(In reply to comment #1)
> Can you gdb to get a better backtrace or run
> "addr2line -i -e /usr/lib/xorg/modules/drivers/intel_drv.so  0x7c6b7 0xe0940
> 0x4e448 0x50b6e"

Sorry, hope it's more useful now.
addr2line says
xf86-video-intel-git/src/sna/sna.h:856
xf86-video-intel-git/src/sna/sna_render.c:2146
xf86-video-intel-git/src/sna/gen6_render.c:2746
xf86-video-intel-git/src/sna/sna_accel.c:5610
xf86-video-intel-git/src/sna/sna_accel.c:16784
Comment 4 Chris Wilson 2014-06-24 07:31:04 UTC
Yes. That should be fixed by ded05e8abb248664124d2b86f77c27497a252c4e. Thanks a lot!
Comment 5 gedgon 2014-06-24 07:46:14 UTC
Thank you very much.


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.