[Top][All Lists]

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

[bug #15178] Gorm crashes on exit if opening a .gorm file directly from

From: Gregory John Casamento
Subject: [bug #15178] Gorm crashes on exit if opening a .gorm file directly from the commandline
Date: Wed, 14 Dec 2005 22:11:43 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.7.12) Gecko/20050920 Firefox/1.0.7 SUSE/1.0.7-0.1

Update of bug #15178 (project gnustep):

                  Status:            Works For Me => Fixed                  
             Open/Closed:                    Open => In Test                


Follow-up Comment #7:

Good catch on this one.  The problem stemmed from the fact that the document
was being allocated and loadDocument called on the instance.   When the
unarchiver crashed (because the file isn't a gorm file) the state of the
document object is inconsistent.

The solution was to externalize the check (as is done with NSDocument) and
not to instantiate a document object, unless the type of file passed in
warrents it.

Please test the version in CVS to make sure this is corrected.  My tests here
on Linux and FreeBSD work fine.  

The workaround for Gorm 1.0.1 users is simply to avoid loading files which
are not .gorm files from the command-line. :)



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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