bugGNUstep - Bugs: bug #19101, Attempting to open the nib...

Group
 
 

bug #19101: Attempting to open the nib supplied in #17112 crashes Gorm

Submitter:  Richard Frith-Macdonald <CaS>
Submitted:  Mon 19 Feb 2007 08:01:47 PM UTC
   
 
Category:  Gorm Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  gcasa
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 30 Jan 2009 07:29:15 PM UTC, comment #3: 

fixed

Richard Frith-Macdonald <CaS>
Group Member
Thu 19 Jun 2008 08:44:58 PM UTC, comment #2: 

I just uploaded a nib to bug #17112 to test for this specific issue and it appears to be okay.   Please let me know if you're still having this issue and I will try to correct it, but for now I believe it's working properly. 

I'm going to set this to Fixed and In-Test.

Gregory John Casamento <gcasa>
Group administrator
Mon 03 Mar 2008 01:52:55 AM UTC, comment #1: 

I cannot recreate this.  Are you still having this issue?

Gregory John Casamento <gcasa>
Group administrator
Mon 19 Feb 2007 08:01:47 PM UTC, original submission:  

On my system (svn trunk, em64t debian unstable) when trying to open the nib provided as an example in bug #17112, gorm crashes before the nib can be unarchived.

Stack dump is ...

#0  0x00002b39d31cc08d in objc_msg_lookup () from /usr/lib/libobjc.so.1
#1  0x00002b39d1f923ed in -[GormDocument handleNotification:] (self=0xbcfda0,
    _cmd=0x2b39d2128180, aNotification=0xc0fbd0) at GormDocument.m:1735
#2  0x00002b39d2ce4bbd in -[NSNotificationCenter _postAndRelease:] (
    self=0x57c020, _cmd=0x2b39d303ba70, notification=0xc0fbd0)
    at NSNotificationCenter.m:1068
#3  0x00002b39d2ce51ac in -[NSNotificationCenter postNotificationName:object:userInfo:] (self=0x57c020, _cmd=0x2b39d303ba80, name=0x2b39d217e740,
    object=0xbbb460, info=0x0) at NSNotificationCenter.m:1136
#4  0x00002b39d2ce5040 in -[NSNotificationCenter postNotificationName:object:]
    (self=0x57c020, _cmd=0x2b39d21180e0, name=0x2b39d217e740, object=0xbbb460)
    at NSNotificationCenter.m:1116
#5  0x00002b39d1f7386e in -[GormClassManager addClassNamed:withSuperClassNamed:withActions:withOutlets:isCustom:] (self=0xbbb460, _cmd=0x2b39d21181e0,
    className=0xc26080, superClassName=0xc26200, actions=0xc0f8e0,
    outlets=0x0, isCustom=1 '\001') at GormClassManager.m:323
#6  0x00002b39d1f7323a in -[GormClassManager addClassNamed:withSuperClassNamed:withActions:withOutlets:] (self=0xbbb460, _cmd=0x2b39d2118520,
    className=0xc26080, superClassName=0xc26200, actions=0xc0f8e0, outlets=0x0)
    at GormClassManager.m:257
#7  0x00002b39d1f79bdd in -[GormClassManager loadNibFormatCustomClassesWithDict:] (self=0xbbb460, _cmd=0x2b39d2118550, dict=0xc25910)
#8  0x00002b39d1f79d21 in -[GormClassManager loadNibFormatCustomClassesWithData:] (self=0xbbb460, _cmd=0x2b39d214e580, data=0xc180d0)
    at GormClassManager.m:1552
#9  0x00002b39d1fbe240 in -[GormNibWrapperLoader loadFileWrapper:withDocument:]
    (self=0xc1f290, _cmd=0x2b39d2129410, wrapper=0xc15b60, doc=0xbcfda0)
    at GormNibWrapperLoader.m:119
#10 0x00002b39d1f998f5 in -[GormDocument loadFileWrapperRepresentation:ofType:]
    (self=0xbcfda0, _cmd=0x2b39d2a11f70, wrapper=0xc15b60, type=0x6a3d60)
    at GormDocument.m:3261
#11 0x00002b39d26b8df4 in -[NSDocument readFromFile:ofType:] (self=0xbcfda0,
    _cmd=0x2b39d2a11b80, fileName=0xb04060, type=0x6a3d60) at NSDocument.m:606
#12 0x00002b39d26b6ae2 in -[NSDocument initWithContentsOfFile:ofType:] (
    self=0xbcfda0, _cmd=0x2b39d2a148b0, fileName=0xb04060, fileType=0x6a3d60)
    at NSDocument.m:98
#13 0x00002b39d26bdd67 in -[NSDocumentController makeDocumentWithContentsOfFile:ofType:] (self=0x83e260, _cmd=0x2b39d2a149d0, fileName=0xb04060, type=0x6a3d60)
    at NSDocumentController.m:264
#14 0x00002b39d26be59d in -[NSDocumentController openDocumentWithContentsOfFile:display:] (self=0x83e260, _cmd=0x2b39d2a14a90, fileName=0xb04060,
    display=1 '\001') at NSDocumentController.m:383
#15 0x00002b39d26bf3df in -[NSDocumentController openDocument:] (
    self=0x83e260, _cmd=0x5a9700, sender=0x80ae70)
    at NSDocumentController.m:629
#16 0x00002b39d40c57aa in __builtin_avcall () from /usr/lib/libavcall.so.0
#17 0x00002b39d282ece8 in -[GSLayoutManager(layout) setTextContainer:forGlyphRange:] (self=0x0, _cmd=0x0, aTextContainer=0x0, glyphRange=
      {location = 0, length = 0}) at GSLayoutManager.m:1793
Backtrace stopped: previous frame inner to this frame (corrupt stack?)


Richard Frith-Macdonald <CaS>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gcasa (Posted a comment)
  • -email is unavailable- added by CaS (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-01-30 CaS Open/ClosedIn Test Closed
    2008-06-19 gcasa StatusNone Fixed
        Open/ClosedOpen In Test
    2008-03-03 gcasa Assigned toNone gcasa

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code