bugGNUstep - Bugs: bug #21979, Possible problem loading Mac OS X...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #21979: Possible problem loading Mac OS X Nib

Submitted by:  Peter Cooper <comrade>
Submitted on:  Mon 07 Jan 2008 10:08:23 PM UTC  
 
Category: Gui/AppKitSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: Gregory John Casamento <gcasa>
Open/Closed: Closed

(Jump to the original submission Jump to the original submission)

Mon 03 Mar 2008 10:54:33 PM UTC, comment #6:

As the original problem and the secondary one both are resolved, we should close this bug now.

Fred Kiefer <FredKiefer>
Project Member
Tue 08 Jan 2008 11:39:55 PM UTC, comment #5:

If it is the NSObjectController class that fails, then it is easy to guess what goes wrong. Somebody added some code to the initWithCoder: method of NSController, but forgot about the corresponding change to the encodeWithCoder: method. Just adding these few lines should resolve the problem in the future. Already stored Gorm files are of course corrupted.

Fred Kiefer <FredKiefer>
Project Member
Tue 08 Jan 2008 06:47:46 PM UTC, comment #4:

The failure is happening in NSObjectController when it is unarchiving the file. I will look further into what's going on in that class.

GJC

Gregory John Casamento <gcasa>
Project AdministratorIn charge of this item.
Tue 08 Jan 2008 06:28:46 PM UTC, comment #3:

Actually, the Nib is now opening. But when I save it as a .gorm file and attempt to re-open, the following error is received:

Failed to load file. Exception: expected object and got unsigned char

I attach a copy of the .gorm file.

Thanks

(file #14771)

Peter Cooper <comrade>
Tue 08 Jan 2008 06:53:03 AM UTC, comment #2:

Working now. Many thanks!

Peter Cooper <comrade>
Mon 07 Jan 2008 11:54:09 PM UTC, comment #1:

I reverted a recent change in SVN. I tested your nib and it should load now. Please test and comment.

Gregory John Casamento <gcasa>
Project AdministratorIn charge of this item.
Mon 07 Jan 2008 10:08:23 PM UTC, original submission:

Trying to load the following Mac OS X Nib, part of the GraphX project, where some components of the Nib loaded successfully (several windows), but Gorm remained unresponsive for at least 15 minutes using around 100% CPU.

I'm a bit doubtful that the Nib is actually broken although it's possible. It'd be nice if Gorm didn't respond by consuming endless CPU cycles in the case of broken Nibs either, although that might be a hard issue to resolve in the current Gorm design.

I've attached the Nib in question, (license appears to be CC Attribution 2.5 Generic) perhaps it'll help. Running Gorm in gdb didn't even display over the course of an hour of 100% CPU the windows that normally show up, so no backtrace or other hints, sorry.

Peter Cooper <comrade>

 

Attached Files
file #14771:  mainmenu-gorm.tgz added by comrade (10KiB - application/x-compressed-tar)
file #14764:  mainmenu-nib.tgz added by comrade (39KiB - application/x-compressed-tar - Nib file attached)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by FredKiefer (Posted a comment)
  • -unavailable- added by gcasa (Posted a comment)
  • -unavailable- added by comrade (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 12 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 04 Mar 2008 04:19:27 AM UTCgcasaOpen/ClosedIn Test=>Closed
    Mon 03 Mar 2008 10:54:33 PM UTCFredKieferStatusIn Progress=>Fixed
      Open/ClosedOpen=>In Test
    Sun 17 Feb 2008 02:00:29 AM UTCgcasaCategoryNone=>Gui/AppKit
      Item GroupNone=>Bug
    Tue 08 Jan 2008 06:48:26 PM UTCgcasaStatusFixed=>In Progress
      Open/ClosedIn Test=>Open
    Tue 08 Jan 2008 06:28:46 PM UTCcomradeAttached File-=>Added mainmenu-gorm.tgz, #14771
    Mon 07 Jan 2008 11:54:09 PM UTCgcasaStatusNone=>Fixed
      Assigned toNone=>gcasa
      Open/ClosedOpen=>In Test
    Mon 07 Jan 2008 10:08:23 PM UTCcomradeAttached File-=>Added mainmenu-nib.tgz, #14764

    Back to the top


    Powered by Savane 3.1-cleanup1