[Top][All Lists]

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

Re: problem with gnustep on OpenBSD sparc64 -- the journey goes on

From: Fred Kiefer
Subject: Re: problem with gnustep on OpenBSD sparc64 -- the journey goes on
Date: Thu, 07 Jul 2011 21:40:57 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv: Gecko/20110616 SUSE/3.1.11 Thunderbird/3.1.11

Did you get the message "Unable to obtain time zone" before the crash? There are two aspects to this problem. First you get an exception during the attempt to read the time zone file. You should print out that exception to investigate this further. The worse issue is that when trying to re-raise this exception something goes horribly wrong which triggers the stack_protector. Could you please run all the base test on this machine and report back the results?


On 07.07.2011 11:44, Sebastian Reitenbach wrote:
yes, I get further now, but it seems I'm now back to the initial backtrace I 
reported with the first mail of this thread, that I ran into with the old 
So I guess, not a bug in libobjc anymore, but sth. in base:

(gdb) r
Starting program: /usr/local/bin/AddressManager

Program received signal SIGABRT, Aborted.
__stack_smash_handler (func=0x20266a778 "-[GSTimeZone initWithName:data:]", 
damaged=42024872) at /usr/src/lib/libc/sys/stack_protector.c:91
91      /usr/src/lib/libc/sys/stack_protector.c: No such file or directory.
         in /usr/src/lib/libc/sys/stack_protector.c
(gdb) bt
#0  __stack_smash_handler (func=0x20266a778 "-[GSTimeZone initWithName:data:]", 
damaged=42024872) at /usr/src/lib/libc/sys/stack_protector.c:91
#1  0x00000002024014b0 in -[GSTimeZone initWithName:data:] (self=0x20d7ec590, _cmd=0x28, 
name=0x208720a50, data=Variable "data" is not available.
) at NSTimeZone.m:3110
#2  0x00000002023fd9b0 in -[GSPlaceholderTimeZone initWithName:data:] 
(self=0x20663ddb0, _cmd=0x202814068, name=0x208720a50, data=0x2087207d0) at 
#3  0x00000002023fbd44 in -[NSTimeZone initWithName:] (self=Variable "self" is 
not available.
) at NSTimeZone.m:2068
#4  0x0000000202401b74 in +[NSTimeZone systemTimeZone] (self=0x2028133e8, _cmd=Variable 
"_cmd" is not available.
) at NSTimeZone.m:1642
#5  0x00000002023fc3dc in +[NSTimeZone defaultTimeZone] (self=0x2028133e8, 
_cmd=0x202814078) at NSTimeZone.m:1316
#6  0x00000002023fc930 in -[NSLocalTimeZone secondsFromGMTForDate:] 
(self=0x20663cc30, _cmd=0x2027a57d8, aDate=0x208721810) at NSTimeZone.m:639
#7  0x00000002022bd32c in -[NSCalendarDate 
descriptionWithCalendarFormat:locale:] (self=0x208721810, _cmd=0x2027a5a88, 
format=0x2027db8d8, locale=0x20871e510) at NSCalendarDate.m:111
#8  0x00000002022b7b84 in -[NSCalendarDate descriptionWithCalendarFormat:] (self=Variable 
"self" is not available.
) at NSCalendarDate.m:1826
#9  0x000000020236d048 in NSLogv (format=0x213badf68, args=0xfffffffffffc0d38) 
at NSLog.m:331
#10 0x000000020236d40c in NSLog (format=0x213badf68) at NSLog.m:252
#11 0x00000002139849ec in +[XWindowBuffer windowBufferForWindow:depthInfo:] 
(self=Variable "self" is not available.
) at XWindowBuffer.m:142
#12 0x0000000213991134 in -[XGCairoXImageSurface initWithDevice:] 
(self=0x208720150, _cmd=0x213bb34e0, device=0x209d58c00) at 
#13 0x000000021398eeb8 in -[CairoContext(Ops) GSSetDevice:::] 
(self=0x20d7e4d10, _cmd=0x213bab540, device=0x209d58c00, x=1, y=378) at 
#14 0x000000021397c9f8 in -[XGServer(WindowOps) setWindowdevice:forContext:] 
(self=0x20049c010, _cmd=0x213b9ccb0, win=Variable "win" is not available.
) at DPSOperators.h:1141
#15 0x0000000213955f6c in -[GSContext initWithContextInfo:] (self=Variable 
"self" is not available.
) at GSContext.m:204
#16 0x000000020a67b29c in -[NSWindow _startBackendWindow] (self=0x203cca010, 
_cmd=0x20aa2ea20) at NSWindow.m:847
#17 0x000000020a67c3e4 in -[NSWindow _initBackendWindow] (self=0x203cca010, _cmd=Variable 
"_cmd" is not available.
) at NSWindow.m:899
#18 0x000000020a680760 in -[NSWindow initWithContentRect:styleMask:backing:defer:] 
(self=0x203cca010, _cmd=Variable "_cmd" is not available.
) at NSWindow.m:1034
#19 0x000000020a67e43c in -[NSWindow initWithCoder:] (self=0x203cca010, _cmd=Variable 
"_cmd" is not available.
) at NSWindow.m:5246
#20 0x000000020240611c in -[NSUnarchiver decodeValueOfObjCType:at:] (self=0x20d6f6a10, 
_cmd=0x202816098, type=0x20259e820 "@", address=0x203d2aea0) at 
#21 0x0000000202403f40 in -[NSUnarchiver decodeArrayOfObjCType:count:at:] 
(self=0x20d6f6a10, _cmd=Variable "_cmd" is not available.
) at NSUnarchiver.m:569
#22 0x000000020224b8a4 in -[GSMutableArray initWithCoder:] (self=0x209d5c390, 
_cmd=0x202816188, aCoder=0x20d6f6a10) at GSArray.m:553
#23 0x000000020240611c in -[NSUnarchiver decodeValueOfObjCType:at:] (self=0x20d6f6a10, 
_cmd=0x202786df8, type=0x20259e820 "@", address=0xfffffffffffc1bc8) at 
#24 0x00000002022580f4 in -[GSDictionary initWithCoder:] (self=0x20d702790, _cmd=Variable 
"_cmd" is not available.
) at GSDictionary.m:178
#25 0x000000020240611c in -[NSUnarchiver decodeValueOfObjCType:at:] (self=0x20d6f6a10, 
_cmd=0x20aa56c20, type=0x20a817938 "@", address=0x203c29e18) at 
#26 0x000000020a6c2100 in -[GSNibContainer initWithCoder:] (self=0x203c29e10, 
_cmd=Variable "_cmd" is not available.
) at GSGormLoading.m:420
#27 0x000000020240611c in -[NSUnarchiver decodeValueOfObjCType:at:] (self=0x20d6f6a10, 
_cmd=0x2027a9f08, type=0x20259e820 "@", address=0xfffffffffffc2058) at 
#28 0x00000002022c79f0 in -[NSCoder decodeObject] (self=0x20d6f6a10, 
_cmd=0x20aa756a0) at NSCoder.m:216
#29 0x000000020a6fae68 in -[GSGormLoader loadModelData:externalNameTable:withZone:] 
(self=0x20d6fed70, _cmd=Variable "_cmd" is not available.
) at GSGormLoader.m:114
#30 0x000000020a5a4d0c in -[NSNib 
instantiateNibWithExternalNameTable:withZone:] (self=0x20d7f47d0, 
_cmd=0x20a94e2a0, externalNameTable=0x20f81fe10, zone=0x2028306a0) at 
#31 0x000000020a4f4db0 in +[NSBundle(NSBundleAdditions) 
loadNibFile:externalNameTable:withZone:] (self=0x2027a0800, _cmd=0x20a94e3b0, 
fileName=0x20d6f6510, context=0x20f81fe10, zone=0x2028306a0) at 
#32 0x000000020a4f46c8 in -[NSBundle(NSBundleAdditions) 
loadNibFile:externalNameTable:withZone:] (self=0x208710a90, _cmd=0x20a94e2f0, 
fileName=Variable "fileName" is not available.
) at NSBundleAdditions.m:342
#33 0x000000020a4f4cb8 in +[NSBundle(NSBundleAdditions) loadNibNamed:owner:] 
(self=0x2027a0800, _cmd=0x20a92b8f8, aNibName=0x208714310, owner=0x20870dc10) 
at NSBundleAdditions.m:277
#34 0x000000020a4a326c in NSApplicationMain (argc=Variable "argc" is not 
) at Functions.m:81
#35 0x0000000000101b0c in _start ()
#36 0x0000000000101b0c in _start ()
Previous frame identical to this frame (corrupt stack?)
(gdb) frame 1
#1  0x00000002024014b0 in -[GSTimeZone initWithName:data:] (self=0x20d7ec590, _cmd=0x28, 
name=0x208720a50, data=Variable "data" is not available.
) at NSTimeZone.m:3110
3110    }
Current language:  auto; currently minimal
(gdb) list
3105              [localException raise];
3106            }
3107        }
3109      return self;
3110    }
3112    - (BOOL) isDaylightSavingTimeForDate: (NSDate*)aDate
3113    {
3114      TypeInfo      *type = chop([aDate timeIntervalSince1970], self);
(gdb) print self
$1 = (class GSTimeZone *) 0x20d7ec590
(gdb) po self
(gdb) print *self
$2 = {{{isa = 0x202812d60}}, timeZoneName = 0x208720bd0, abbreviations = 0x20e600610, 
timeZoneData = 0x2087207d0, n_trans = 144, n_types = 8, trans = 0x209d59c80, types = 
0x209d59c00, idxs = 0x209d59ec0 ""}

reply via email to

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