Fri 25 Jul 2014 07:15:17 AM UTC, comment #16:
Now even older versions of Gorm open the file, but only if GUI is built with --disable-imagemagick. With --enable-imagemagick, Gorm crashes and with your latest Gorm change shows an alert panel and doesn't open the file. This happens with any gorm file, not just Document.gorm. I believe this is a separate issue and related to the fact that all gorm files have .info files inside them.
Vindaloo crashes at a later stage and the backtrace is much more palatable:
There's still something fishy.
|
Thu 24 Jul 2014 12:00:29 AM UTC, comment #11:
Yes, I used Gorm 1.2.20 + your latest changes. Most probably it is not an issue with Gorm at all.
I'd really wish to provide more information... Perhaps I could put breakpoints at some places and step through from there, this would at least give you some clue, as blurry as that may be. As Gorm is a fairly complex program, I'm trying Vindaloo first. I already figured out that Vindaloo crashes in -[Document -makeWindowControllers], right after [self addWindowController: ctrl]; ctrl is initalized properly with -initWithWindowNibName: with [self windowNibName] as argument (which returns @"Document"). Stepping from there:
Putting breakpoints further:
I put a break on -[NSCoder decodeObject] here and there's a lot of stepping as all the objects get decoded. Then,
I restart the program putting another break here. Trying to dereference _object results in "No symbol "_object" in current context" so sending a message to _object expectedly ends with a crash at runtime level. FYI the value of obj there is "<DocumentWindow: 0x83e9ab8>Number: 6 Title: Window".
This is with GUI 0.24.0 + your change from bug #42717 cherry-picked; built with --disable-imagemagick and default optimization (-O2) on i386 (x86). GCC 4.9.1, GCC runtime.
|
Wed 23 Jul 2014 03:52:49 PM UTC, comment #8:
Yes, the "info" type is there and the array is quite large:
Apparently these extra types come from GSImageMagickImageRep; I get them on amd64 too.
|
Mon 21 Jul 2014 08:03:36 AM UTC, comment #6:
Gorm doesn't crash now but it doesn't load the file either. An alert panel is shown with title "Alert" and "No information" as message. The "image" file is, oddly enough, data.info. Here's the backtrace when this method is reached:
|