help-gnustep
[Top][All Lists]
Advanced

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

Newbie developer woes: segfault with custom data cell


From: seigen
Subject: Newbie developer woes: segfault with custom data cell
Date: 7 Dec 2005 19:10:18 -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
keep that in mind.  I'm just looking for a pointer in the right
direction.  I'm using Gorm and I've got the app more or less working in
the backend, but while getting some information to the user via a
custom NSTableView using custom data cell classes, it segfaults.  I've
read around and I feel like I'm missing some critical step.  I've
connected the table view to the controller object via delegate and
datasource and set the custom data cell and custom tableview fields
appropriately.  But can't figure out what to do next.  It started
segfaulting when I changed the data cell classes to the custom ones and
continues to even if I set them back.  According to GDB...

#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

Help is muchly appreciated, :)



reply via email to

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