bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #42782] Crash when loading a gorm file


From: Gregory John Casamento
Subject: [bug #42782] Crash when loading a gorm file
Date: Tue, 28 Oct 2014 07:08:18 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.104 Safari/537.36

Follow-up Comment #20, bug #42782 (project gnustep):

Guys, I have found the problem with Gorm/ImageMagick.  The issue steps from
the fact that the GSImageMagickImageRep class reports back that it can load a
file which has the extension of .info and that during the loading stages of
the .gorm file it loads all images in the .gorm bundle so that it can resolve
any images in the .gorm file during editing.

The issues comes from the fact that there is a file called data.info that
contains metadata needed for editing.  Since this file has a .info extension
and the GSImageMagickImageRep reports that it can load .info files, Gorm
attempts to load this as an image and, naturally, fails.  This is why you're
seeing this:

2014-07-25 12:51:42.026 Gorm[2165] Tiff Error (GSTiffReadData) Not a TIFF or
MDI file, bad magic number 20039 (0x4e47)

I am adding code to Gorm to cause it to skip any image file called data.info. 
I'm doing it this way so that we can still use files which are images with a
.info extension, but just not one named data.info. ;)

Hopefully this solves part of the problem.   Looking at the history it is hard
to follow and I believe it mixes two separate problems.   I believe Fred was
correct in that a separate issue should be opened for the Vindaloo issue.

GC

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42782>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]