GNOME Bugzilla – Bug 459135
Seg-fault opening or creating an image of size 1x770 or wider
Last modified: 2008-01-15 13:29:09 UTC
If I load an image of any type (I have tried jpeg and gif) that is one pixel high and 1024 pixels wide, the Gimp segmentation faults. I have tried to create a new image that is one pixel high and various widths and have determined that I can create an image that is 767 pixels wide, but anything wider than 770 makes the Gimp segmentation fault.
After further investigation I have determined that I can not create any image that is wider than 770 pixels, not just one that is only 1 pixel tall. I do not think this is a memory issue as I have plenty of memory: 7> free -m total used free shared buffers cached Mem: 478 445 32 0 37 194 -/+ buffers/cache: 213 264 Swap: 251 65 185 I believe this used to work.
I recompiled the Gimp (2.2.16 actually, after an upgrade simply didn't fix the problem) in order to obtain a back trace of the problem, and now the problem doesn't happen. I am suspecting that it might have something to do with my optimizations. I have been using these flags: CFLAGS="-Os -mtune=pentium4 -msse2 -mfpmath=sse -pipe -fomit-frame-pointer"
Closing as OBSOLETE because an update seems to have fixed the problem.