Bug 27646 - X server crashes after performing layer transformations on large images in GIMP
Summary: X server crashes after performing layer transformations on large images in GIMP
Status: RESOLVED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.5 (2009.10)
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-14 12:47 UTC by Yorik van Havre
Modified: 2010-04-15 16:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Yorik van Havre 2010-04-14 12:47:08 UTC
Hi,

This problems happens only when using the gimp image editor. I reported this problem on the gimp bug tracker, believing it was more for them, but they advised me to report it here. 

I'm not sure if the problem belongs to here, but hopefully some of you guys can have a look and maybe have more to say. Sorry if this report is invalid, please do not hesitate to close it if judged appropriate.

When working in the gimp with large images, after transforming layers (resize or rotate mostly), moving the mouse on the canvas makes the X server crash. I can reproduce the problem doing this:

- have 3 or 4 images ready, about 800x600
- open the first one in gimp, and resize it to say 4000x3000
- open another one as layer, resize it to about twice its size with the scale
tool
- move the mouse above it
- if nothing happens, add another image as layer and do the same (scale it,
then move the mouse)

usually after resizing 2 layers it crashes. If you do the layer transformation
and take care of not putting your mouse pointer on the canvas (for example
leaving it on the toolbox), it doesn't crash, you can even work normally,
everything responds, but as soon as you leave the toolbox and pass on the
canvas it crashes.

The crash simply shuts down the X server.

I am on a debian squeeze 64bit system, with gimp 2.6.8 from debian repo. Xorg
is 1:7.5+5 also from standard debian squeeze repo. It is a notebook with 4Gb memory, I tried playing with the gimp tile caching values, tried several values between 1Gb and 3Gb, it gave no visible effect.

This is the backtrace I obtained by running "gdb gimp" in a screen session: 
http://pastebin.com/HTWGtDq0

This is the same bug report I posted on the gimp bug tracker:
http://bugzilla.gnome.org/show_bug.cgi?id=615691

I'd be very happy if someone could have a look and maybe give me suggestions on what I can try to narrow the problem.

Sorry for the inconvenience if this report doesn't belong to here or if I wrote
about a known issue.

Thanks a lot,
Yorik
Comment 1 Michel Dänzer 2010-04-15 07:41:24 UTC
This place is good, at least for a start - an X server crash is always a bug in the X server or another component used by it.

Please attach here (as opposed to paste anywhere) the full Xorg.0.log file and if possible a full backtrace of the X server crash.
Comment 2 Yorik van Havre 2010-04-15 16:10:01 UTC
Hi,

libgtk got upgraded yesterday on my system and the bug just disappeared, I cannot reproduce anymore, I tried the whole day. I see that a couple of things changed in the gimp, the status bar doesn't show progress bars anymore, etc. So I guess really something changed in the new gtk lib.

Sorry, I should have seen this before submitting the bug, my apologies for wasting your time. I'll close the report, I'll reopen if the same bug reappears.
Thanks a lot for having had a look at this Michael.

Cheers
Yorik


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.