Bug 550415 - segfault in X server while drawing arc in gimp
Summary: segfault in X server while drawing arc in gimp
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-server
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: card_R420/M
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-25 02:44 UTC by Tom Horsley
Modified: 2018-04-11 11:08 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-08-30 20:44:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
The xorg log from the server crash (33.39 KB, text/plain)
2009-12-25 02:45 UTC, Tom Horsley
no flags Details

Description Tom Horsley 2009-12-25 02:44:30 UTC
Description of problem:

Just playing around with gimp and I tried using the Filters>Render>Gfig
tool and picked the arc drawing tool and tried to draw an arc by
dragging out 3 points. It looked like it tried to draw it, then
X crashed and I wound up back at the kdm login screen.

Version-Release number of selected component (if applicable):
xorg-x11-server-Xorg-1.7.1-7.fc12.x86_64

How reproducible:
Only tried it once so far.

Steps to Reproduce:
1.see above
  
Actual results:
server segfault

Expected results:
arc gets drawn

Additional info:
I'll attach the xorg.conf from the crash showing a backtrace
at the end.

Comment 1 Tom Horsley 2009-12-25 02:45:22 UTC
Created attachment 380273 [details]
The xorg log from the server crash

Comment 2 Tom Horsley 2009-12-25 02:55:37 UTC
I tried it again after submitting this bug and by golly it crashed again,
so maybe it happens every time.

Comment 3 Tom Horsley 2009-12-25 22:17:51 UTC
I experimented some more, and it does appear to be dead simple to reproduce.
I make a new image with transparent background (don't know if that is
important, but it is how I have my default set). Size doesn't seem to matter,
but the default seems to be 420 x 300, and that certainly worked to reproduce
the bug. Bring up filters>render>gfig, click on the button for the arc tool,
then click the mouse three times in the image near bottom left, top middle,
and bottom right to form an arc. Boom! X server crashes every time.

In case it matters, I have gimp-2.6.7-2.fc12.x86_64 on my system and
xorg-x11-drv-ati-6.13.0-0.11.20091119git437113124.fc12.x86_64.

Comment 4 Tom Horsley 2009-12-25 22:31:57 UTC
This looks suspiciously similar to bug 526692, I bet it is a duplicate.

Comment 5 Hiisi 2009-12-26 08:04:38 UTC
Same here:
uname -a
Linux imt.ru 2.6.31.6-166.fc12.i686 #1 SMP Wed Dec 9 11:14:59 EST 2009 i686 i686 i386 GNU/Linux
rpm -q gimp
gimp-2.6.8-1.fc12.i686

Comment 6 Matěj Cepl 2010-01-04 21:13:21 UTC
Backtrace:
0: /usr/bin/X (xorg_backtrace+0x28) [0x49e8d8]
1: /usr/bin/X (0x400000+0x619c9) [0x4619c9]
2: /lib64/libpthread.so.0 (0x7f406646d000+0xefa0) [0x7f406647bfa0]
3: /usr/lib64/xorg/modules/libfb.so (fbBltOne+0x2e1) [0x7f406165c9d1]
4: /usr/lib64/xorg/modules/libfb.so (fbPushFill+0x120) [0x7f40616631a0]
5: /usr/lib64/xorg/modules/libfb.so (fbPushImage+0xf0) [0x7f4061663390]
6: /usr/lib64/xorg/modules/libfb.so (fbPushPixels+0x7b) [0x7f406166343b]
7: /usr/bin/X (miPolyArc+0x2b47) [0x542407]
8: /usr/lib64/xorg/modules/libfb.so (fbPolyArc+0x6d) [0x7f406165160d]
9: /usr/lib64/xorg/modules/libexa.so (0x7f4061437000+0xfe01) [0x7f4061446e01]
10: /usr/bin/X (0x400000+0xd2afb) [0x4d2afb]
11: /usr/bin/X (0x400000+0x2a800) [0x42a800]
12: /usr/bin/X (0x400000+0x2c69c) [0x42c69c]
13: /usr/bin/X (0x400000+0x21cfa) [0x421cfa]
14: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x7f4064c47b1d]
15: /usr/bin/X (0x400000+0x218a9) [0x4218a9]
Segmentation fault at address 0x4

Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting

Comment 7 sjoerd 2010-01-06 04:05:29 UTC
Same happens with _krita_.
Yust playing with it and it complety frose my hole system.
Couldn't acces it any more from another sytem trouh ssh.

Had to reboot my hole system.

Things i did:

Start up _krita_ and try to draw an circle and the hole sytem crashes. No more ssh to the system and no responses with the keyboard.

Had to cold boot my pc :(

Comment 8 sjoerd 2010-01-06 04:08:23 UTC
BTW: Its Fedora 11

Comment 9 Hiisi 2010-01-06 09:04:29 UTC
(In reply to comment #7)
> Same happens with _krita_.
> Yust playing with it and it complety frose my hole system.
> Couldn't acces it any more from another sytem trouh ssh.
> 
> Had to reboot my hole system.
> 
> Things i did:
> 
> Start up _krita_ and try to draw an circle and the hole sytem crashes. No more
> ssh to the system and no responses with the keyboard.
> 
> Had to cold boot my pc :(  

I don't think it's your case. We have X crash, not a freeze. Is it ati card? Do you have desktop effects enabled?

Comment 10 sjoerd 2010-01-06 17:14:45 UTC
Its an ati card (ATI Technologies Inc RV730XT [Radeon HD 4670])

With or without desktops effects its the same results.

Last of my Xorg.0.log:

Backtrace:
0: /usr/bin/Xorg(xorg_backtrace+0x26) [0x4e8516]
1: /usr/bin/Xorg(xf86SigHandler+0x6f) [0x47d82f]
2: /lib64/libc.so.6 [0x357dc332f0]
3: /usr/lib64/libpixman-1.so.0(pixman_region_copy+0x27) [0x358900e9a7]
4: /usr/lib64/xorg/modules/extensions//libvnc.so [0x7fb152fc09d9]
5: /usr/bin/Xorg [0x4b6ce3]
6: /usr/bin/Xorg(miPolyArc+0x1b39) [0x4be639]
7: /usr/lib64/xorg/modules//libxaa.so [0x7fb15108f362]
8: /usr/bin/Xorg [0x52f9eb]
9: /usr/lib64/xorg/modules/extensions//libvnc.so [0x7fb152fc3e58]
10: /usr/bin/Xorg(ProcPolyArc+0x100) [0x444d00]
11: /usr/bin/Xorg(Dispatch+0x394) [0x4471d4]
12: /usr/bin/Xorg(main+0x3b5) [0x42d205]
13: /lib64/libc.so.6(__libc_start_main+0xfd) [0x357dc1ea4d]
14: /usr/bin/Xorg [0x42c689]

Fatal server error:
Caught signal 11.  Server aborting


Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

(II) Macintosh mouse button emulation: Close
(II) UnloadModule: "evdev"
(II) AT Translated Set 2 keyboard: Close
(II) UnloadModule: "evdev"
(II) X10 Wireless Technology Inc USB Receiver: Close
(II) UnloadModule: "evdev"
(II) Logitech USB Receiver: Close
(II) UnloadModule: "evdev"
(II) Logitech USB Receiver: Close
(II) UnloadModule: "evdev"
(II) Power Button: Close
(II) UnloadModule: "evdev"
(II) Power Button: Close
(II) UnloadModule: "evdev"
(II) AIGLX: Suspending AIGLX clients for VT switch
(II) fglrx(0): Backup framebuffer data.
(II) fglrx(0): Backup complete.
(II) fglrx(0): IRQ 57 Disabled.

Comment 11 Adam Jackson 2010-08-30 20:44:58 UTC
fglrx?  NOTABUG.

Comment 12 Tom Horsley 2010-08-30 21:05:55 UTC
I don't think it was not a bug, but somewhere in there it was fixed, I just
don't remember when. There was a similar bug that said xfig had the same
problem (probably for the same reason).


Note You need to log in before you can comment on or make changes to this bug.