Summary: | X crashes when editing a photo in GIMP | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Honza Stodola <honza.stodola> | ||||||||||||||
Component: | Driver/Radeon | Assignee: | xf86-video-ati maintainers <xorg-driver-ati> | ||||||||||||||
Status: | RESOLVED DUPLICATE | QA Contact: | Xorg Project Team <xorg-team> | ||||||||||||||
Severity: | normal | ||||||||||||||||
Priority: | medium | CC: | blade, bugs.xorg, carlos, spam.ide.sem, tobias | ||||||||||||||
Version: | git | ||||||||||||||||
Hardware: | x86-64 (AMD64) | ||||||||||||||||
OS: | Linux (All) | ||||||||||||||||
Whiteboard: | |||||||||||||||||
i915 platform: | i915 features: | ||||||||||||||||
Attachments: |
|
I confirm this crash, it usually happens when resizing a picture in gimp. I can't reproduce this error when using Option "RenderAccel" "off" in xorg.conf. I am also using gentoo, kernel-2.6.36 (vanilla), xorg-server-1.9.2 and mesa/ddx/libdrm from git. A full backtrace from gdb (preferably with debugging symbols) should be helpful. Created attachment 40186 [details]
traceback
attached traceback from gdb
*** Bug 31733 has been marked as a duplicate of this bug. *** It also crashes, while I use Eclipse. Gimp leads also to a X-Server crash. Should I provide a backtrace? If so, do I have to compile xorg-server with debug flag? Components and versions: distribution: gentoo kernel: 2.6.37-rc2 xorg-server-1.9.2 xf86-video-ati - git 581577c25419f1384d517e51afcf058b19bcae36 GIMP: 2.7.1 HW: ATI 5650: 01:00.0 VGA compatible controller: ATI Technologies Inc Redwood [Radeon HD 5600 Series] *** Bug 31573 has been marked as a duplicate of this bug. *** Can anyone reproduce this crash on xserver 1.8.x or older? I think it may be an issue with xserver 1.9.x. (In reply to comment #7) > Can anyone reproduce this crash on xserver 1.8.x or older? I think it may be > an issue with xserver 1.9.x. x11-base/xorg-server-1.7.7-r1 and it crashes the same way. I attach the xorg.0.log file Please tell me how I can help you to find the cause of this bug as it is very annoying. Thank you Created attachment 41023 [details]
xorg-server-1.7.7-r1 crashes
Can you attach the problematic picture? I haven't been able to reproduce this with the gimp on any evergreen card. (In reply to comment #10) > Can you attach the problematic picture? I haven't been able to reproduce this > with the gimp on any evergreen card. It was a Screenshot of my laptop. Zoom in as high as you can and press space to move the image very fast from left to right. After about 10 seconds it will kill X. It also happened with eclipse-3.6 while opening a context menu. (gimp-2.7.1) Thank you Created attachment 41072 [details] [review] possible fix I still can't reproduce it. Does this patch help? Just tested attachment 41072 [details] [review] with repro of bug 31573 (DDD, following pointers). Result: still crashing, sorry. Sorry, it does not helped. Created attachment 41082 [details]
xorg.log with patch
Created attachment 41083 [details]
gimp error output
I forget to mention that I used the latest stable GIMP version: 2.6.8 Thank you for your help! Anything else we could do to help debug this problem? I still can reproduce it everytime by simply zooming into picture with gimp. Any more infos needed? Still does not work. Thought that the recent changes might help... Does the workaround in bug 32188 comment 13 help? https://bugs.freedesktop.org/show_bug.cgi?id=32188#c13 (In reply to comment #20) > Does the workaround in bug 32188 comment 13 help? > https://bugs.freedesktop.org/show_bug.cgi?id=32188#c13 radeon_vbo.c:50:39: warning: missing terminating " character radeon_vbo.c: In function 'radeon_vbo_put': radeon_vbo.c:50: error: missing terminating " character radeon_vbo.c:51: error: expected ')' before ':' token radeon_vbo.c:53: error: stray '\' in program radeon_vbo.c:53:32: warning: missing terminating " character radeon_vbo.c:53: error: missing terminating " character radeon_vbo.c:55: warning: format not a string literal and no format arguments make[2]: *** [radeon_vbo.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999' (In reply to comment #21) > (In reply to comment #20) > > Does the workaround in bug 32188 comment 13 help? > > https://bugs.freedesktop.org/show_bug.cgi?id=32188#c13 > > radeon_vbo.c:50:39: warning: missing terminating " character > radeon_vbo.c: In function 'radeon_vbo_put': > radeon_vbo.c:50: error: missing terminating " character > radeon_vbo.c:51: error: expected ')' before ':' token > radeon_vbo.c:53: error: stray '\' in program > radeon_vbo.c:53:32: warning: missing terminating " character > radeon_vbo.c:53: error: missing terminating " character > radeon_vbo.c:55: warning: format not a string literal and no format arguments > make[2]: *** [radeon_vbo.lo] Error 1 > make[2]: *** Waiting for unfinished jobs.... > make[2]: Leaving directory > `/var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/var/tmp/portage/x11-drivers/xf86-video-ati-9999/work/xf86-video-ati-9999' I deleted the content of the else "tree" and now it works. GIMP does not crash. But I only tested it 2 minutes. *** This bug has been marked as a duplicate of bug 32188 *** |
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.
Created attachment 40068 [details] Xorg log Hi, an attempt to edit photos in GIMP often ends with X server crash: Backtrace: [ 4733.875] 0: /usr/bin/X (xorg_backtrace+0x28) [0x4a2868] [ 4733.875] 1: /usr/bin/X (0x400000+0x63999) [0x463999] [ 4733.875] 2: /lib/libpthread.so.0 (0x7f35f86d5000+0xf470) [0x7f35f86e4470] [ 4733.875] 3: /usr/lib64/xorg/modules/drivers/radeon_drv.so (0x7f35f57ed000+0xc62dd) [0x7f35f58b32dd] [ 4733.875] 4: /usr/lib64/xorg/modules/libexa.so (0x7f35f51a9000+0xfd62) [0x7f35f51b8d62] [ 4733.875] 5: /usr/lib64/xorg/modules/libexa.so (0x7f35f51a9000+0x1073e) [0x7f35f51b973e] [ 4733.875] 6: /usr/bin/X (0x400000+0xd86a3) [0x4d86a3] [ 4733.875] 7: /usr/lib64/xorg/modules/libexa.so (0x7f35f51a9000+0x117e8) [0x7f35f51ba7e8] [ 4733.875] 8: /usr/bin/X (0x400000+0xd3a21) [0x4d3a21] [ 4733.875] 9: /usr/bin/X (0x400000+0x30881) [0x430881] [ 4733.875] 10: /usr/bin/X (0x400000+0x2498e) [0x42498e] [ 4733.875] 11: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7f35f78b3cdd] [ 4733.875] 12: /usr/bin/X (0x400000+0x24539) [0x424539] [ 4733.875] Segmentation fault at address 0x4 [ 4733.875] Fatal server error: [ 4733.875] Caught signal 11 (Segmentation fault). Server aborting Components and versions: distribution: gentoo kernel: 2.6.36-gentoo xorg-server-1.9.2 xf86-video-ati - git 2a7b080727f61559cf8444c93a5088f4155a8fdf GIMP: 2.6.10 HW: ATI 5770: 01:00.0 VGA compatible controller: ATI Technologies Inc Juniper [Radeon HD 5700 Series] Steps to reproduce: 1. open a photo (4288x2848 pixels) in GIMP 2. zoom in and out repeatedly, X server usually crashes within a few seconds