discuss-gnustep
[Top][All Lists]
Advanced

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

Re: segfault on solaris10/sparc


From: Fred Kiefer
Subject: Re: segfault on solaris10/sparc
Date: Wed, 18 Jun 2014 08:41:20 +0200

If you look at the code in NSData.m you will see that just before the failing 
line there is an #if NEED_WORD_ALIGNMENT clause. The question now is why this 
isn't defined in your case. You will have to report back the configure results 
of your Sparc machine.

Hope this helps,
Fred

On the road

Am 18.06.2014 um 02:42 schrieb Riccardo Mottola <riccardo.mottola@libero.it>:

> Hi,
> 
> Ink and other apps fail on startup. I get this stacktrace.
> ANy clues? could this be an alignment issue on Sparc?
> 
> Riccardo
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1 (LWP 1)]
> -[NSDataStatic deserializeTypeTag:andCrossRef:atCursor:] (self=0x29ecb8,
>    _cmd=<optimized out>, tag=<optimized out>, ref=0xffbff030,
> cursor=0x27c7f8)
>    at NSData.m:2921
> 2921                  x = *(uint16_t*)(bytes + *cursor);
> 
> 
> (gdb) p bytes
> $1 = (void *) 0x2e4040
> (gdb) p *cursor
> $2 = 7045
> 
> 
> 
> (gdb) bt
> #0  -[NSDataStatic deserializeTypeTag:andCrossRef:atCursor:] (self=0x29ecb8,
>    _cmd=<optimized out>, tag=<optimized out>, ref=0xffbff030,
> cursor=0x27c7f8)
>    at NSData.m:2921
> #1  0xfe6933c4 in -[NSUnarchiver decodeValueOfObjCType:at:] (self=0x27c7d0,
>    _cmd=0xfe8cfd44 <_OBJC_SELECTOR_TABLE+112>, type=0xfe7215e0 "@",
>    address=0x2b3cac) at NSUnarchiver.m:835
> #2  0xfe692aa8 in -[NSUnarchiver decodeArrayOfObjCType:count:at:] (
>    self=0x27c7d0, _cmd=<optimized out>, type=0xfe7215e0 "@",
>    expected=<optimized out>, buf=<optimized out>) at NSUnarchiver.m:618
> #3  0xfe4d70d4 in -[GSMutableArray initWithCoder:] (self=<optimized out>,
>    _cmd=0xfe8cfdbc <_OBJC_SELECTOR_TABLE+232>, aCoder=0x27c7d0)
>    at GSArray.m:556
> #4  0xfe693a04 in -[NSUnarchiver decodeValueOfObjCType:at:] (self=0x27c7d0,
>    _cmd=<optimized out>, type=<optimized out>, address=0xffbff25c)
>    at NSUnarchiver.m:890
> #5  0xfe555e54 in -[NSCoder decodeObject] (self=0x27c7d0,
>    _cmd=0xff0808a4 <_OBJC_SELECTOR_TABLE+1560>) at NSCoder.m:248
> #6  0xfedf7da8 in -[NSMenu initWithCoder:] (self=0x2db890,
>    _cmd=0xfe8cfdbc <_OBJC_SELECTOR_TABLE+232>, aDecoder=0x27c7d0)
>    at NSMenu.m:1642
> #7  0xfe693a04 in -[NSUnarchiver decodeValueOfObjCType:at:] (self=0x27c7d0,
>    _cmd=<optimized out>, type=<optimized out>, address=0xffbff3f8)
>    at NSUnarchiver.m:890
> #8  0xfe4f6ff0 in -[GSSet initWithCoder:] (self=0x2d85a0,
>    _cmd=<optimized out>, aCoder=0x27c7d0) at GSSet.m:247
> #9  0xfe693a04 in -[NSUnarchiver decodeValueOfObjCType:at:] (self=0x27c7d0,
>    _cmd=<optimized out>, type=<optimized out>, address=0x27c474)
>    at NSUnarchiver.m:890
> #10 0xfef13d48 in -[GSNibContainer initWithCoder:] (self=0x27c460,
>    _cmd=0xfe8cfdbc <_OBJC_SELECTOR_TABLE+232>, aCoder=0x27c7d0)
>    at GSGormLoading.m:384
> #11 0xfe693a04 in -[NSUnarchiver decodeValueOfObjCType:at:] (self=0x27c7d0,
>    _cmd=<optimized out>, type=<optimized out>, address=0xffbff634)
>    at NSUnarchiver.m:890
> #12 0xfe555e54 in -[NSCoder decodeObject] (self=0x27c7d0,
>    _cmd=0xff0b9b74 <_OBJC_SELECTOR_TABLE+80>) at NSCoder.m:248
> #13 0xfef47450 in -[GSGormLoader
> loadModelData:externalNameTable:withZone:] (
>    self=0x4cda8, _cmd=<optimized out>, data=<optimized out>,
>    context=0x2d2450, zone=0xfe8d9400 <default_zone>) at GSGormLoader.m:114
> #14 0xfee0ac80 in -[NSNib instantiateNibWithExternalNameTable:withZone:] (
>    self=0x29f648, _cmd=0xff066ed8 <_OBJC_SELECTOR_TABLE+208>,
>    externalNameTable=0x2d2450, zone=0xfe8d9400 <default_zone>) at
> NSNib.m:153
> #15 0xfed682c8 in +[NSBundle(NSBundleAdditions)
> loadNibFile:externalNameTable:withZone:] (self=<optimized out>,
> _cmd=<optimized out>,
>    fileName=<optimized out>, context=0x2d2450, zone=0xfe8d9400
> <default_zone>)
>    at NSBundleAdditions.m:236
> #16 0xfed684f4 in -[NSBundle(NSBundleAdditions)
> loadNibFile:externalNameTable:withZone:] (self=self@entry=0x336f0,
>    _cmd=_cmd@entry=0xff066f00 <_OBJC_SELECTOR_TABLE+248>,
>    fileName=fileName@entry=0x169218, context=context@entry=0x2d2450,
>    zone=0xfe8d9400 <default_zone>) at NSBundleAdditions.m:332
> #17 0xfed68468 in +[NSBundle(NSBundleAdditions) loadNibNamed:owner:] (
>    self=<optimized out>, _cmd=<optimized out>, aNibName=0x169218,
>    owner=0x128160) at NSBundleAdditions.m:278
> #18 0xfed1b928 in NSApplicationMain (argc=<optimized out>,
>    argv=<optimized out>) at Functions.m:83
> #19 0x00011280 in _start ()
> 
> 
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep



reply via email to

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