discuss-gnustep
[Top][All Lists]
Advanced

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

Newbie needs help with custom data cells in Gorm


From: seigen
Subject: Newbie needs help with custom data cells in Gorm
Date: 8 Dec 2005 12:14:28 -0800
User-agent: G2/0.2

Hello, I'm trying to port a simple Cocoa app (Transmission
http://transmission.m0k.org/) to GNUstep.  I'm not very good at ObjC,
so I figure the segfault I'm experiencing is my fault.

I'm using Gorm to create the interface.  If I change a cell in a
NSTableView to a custom class, my application starts to segfault (see
GDB backtrace below).  Interestingly, it will do this even if I set
them back to the original class.  Is there something I have to do for
the class perhaps an Encode routine or must I let Gorm know about it in
some other way than merely adding its header?  Any help is appreciated.


John

#0  0xb78fa46a in objc_msg_lookup () from /usr/lib/libobjc.so.1
#1  0xb7a7a1f7 in -[NSUnarchiver decodeValueOfObjCType:at:] ()
   from /usr/GNUstep/System/Library/Libraries/libgnustep-base.so.1.11
#2  0xb796833f in -[GSDictionary initWithCoder:] ()
   from /usr/GNUstep/System/Library/Libraries/libgnustep-base.so.1.11
#3  0xb7a7a1c1 in -[NSUnarchiver decodeValueOfObjCType:at:] ()
   from /usr/GNUstep/System/Library/Libraries/libgnustep-base.so.1.11
#4  0xb7de8784 in -[GSNibContainer initWithCoder:] ()
   from /usr/GNUstep/System/Library/Libraries/libgnustep-gui.so.0.10
#5  0xb7a7a1c1 in -[NSUnarchiver decodeValueOfObjCType:at:] ()
   from /usr/GNUstep/System/Library/Libraries/libgnustep-base.so.1.11
#6  0xb79bd264 in -[NSCoder decodeObject] ()
   from /usr/GNUstep/System/Library/Libraries/libgnustep-base.so.1.11
#7  0xb7c9d912 in +[NSBundle(NSBundleAdditions)
loadNibFile:externalNameTable:withZone:] () from
/usr/GNUstep/System/Library/Libraries/libgnustep-gui.so.0.10
#8  0xb7c9e773 in -[NSBundle(NSBundleAdditions)
loadNibFile:externalNameTable:withZone:] () from
/usr/GNUstep/System/Library/Libraries/libgnustep-gui.so.0.10
#9  0xb7c9e1d3 in +[NSBundle(NSBundleAdditions) loadNibNamed:owner:] ()
   from /usr/GNUstep/System/Library/Libraries/libgnustep-gui.so.0.10
#10 0xb7c80ed1 in -[NSApplication finishLaunching] ()
   from /usr/GNUstep/System/Library/Libraries/libgnustep-gui.so.0.10
#11 0xb7c7972d in -[NSApplication run] ()
   from /usr/GNUstep/System/Library/Libraries/libgnustep-gui.so.0.10
#12 0xb7c6db80 in NSApplicationMain ()
   from /usr/GNUstep/System/Library/Libraries/libgnustep-gui.so.0.10
#13 0x08051be4 in main (argc=1, argv=0xbfa17ad4) at main.m:30



reply via email to

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