GNOME Bugzilla – Bug 331094
gimp crash when a little bit big image is made
Last modified: 2008-01-15 13:05:15 UTC
Please describe the problem: gimp crash when i make a big image. small sized image is ok, but a given sized image make gimp crash. for example, when i make a 1280x768 image, it works fine. but when i make a new image of 1280x480, it crashes. Steps to reproduce: 1. run the gimp 2. make new figure with image size of 1200x400 3. crash Actual results: (script-fu:26419): LibGimpBase-WARNING **: script-fu: wire_read(): error Expected results: as usually, it should show a new blank image. Does this happen every time? always, but with some sized image Other information: This crash doesn't occur when i use other laptop or desktop, of which display resulution is 1024x768 or 1600x1200. But when i use another laptop with non-standard display size such as 1280x800, it crashes. Actually, i have tried to change some parameters in resolution at preferences, but it didn't help. My platform is gentoo x86 (not experimental, but stable). If you need other information to fix the problem, let me know it. Thanks.
Please try with 2.2.10, bug reports against older versions aren't really that useful. And if it still happens with 2.2.10, provide a stack trace, and make sure the gimp binary has debugging symbols. Also, since you're using Gentoo, please verify you aren't using insane CFLAGS. "Stable" gentoo doesn't mean anything.
I tried gimp 2.2.10 right now, but no change. When i change the screen resolution from 1280x800 to 1024x768 on the same machine, gimp works fine. My CFLAGS="-march=pentium-m -mtune=pentium-m -Os -pipe -mmmx -msse -msse2 -mfpmath=sse -falign-functions=64" but ebuild file filter out some options such as -Os.
And the stack trace?
I'm sorry, I have no debug useflags. Actually, I have recompiled gimp with debug information, but gdb told me that the program has no debugging symbols found except following messages. ---Type <return> to continue, or q <return> to quit--- (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1217697216 (LWP 3622)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1217697216 (LWP 3622)] 0x080a2a46 in ?? () I wonder if it helps you. To get any debug information, i think that i re-emerge everything from glibc. However, it will take so long time.
The above is not helpful. Please build from glib on up with only -O2 -pipe and see if it makes a difference.
wow, After i reemerge glib with only -O2 -pipe, gimp works fine! Thank you very much.
The problem was most likely due to incorrect optimization flags used when compiling glib, so this was not a GIMP problem. Closing this bug report.