gnustep-dev
[Top][All Lists]
Advanced

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

Re: segfault on [NSApplication sharedApplication];


From: Robert E. Hartley
Subject: Re: segfault on [NSApplication sharedApplication];
Date: Sat, 07 Jul 2001 13:24:51 -0400

Adam Fedor wrote:

> "Robert E. Hartley" wrote:
> >
> > Hi,
> >
> > Thanks for your patience.  GDB v5 does not build nicely for me on the
> > Netwinder, so I have to use gdb with undemangled names.
> >
> > (Still not sure if this is a GCC problem or a GNUStep problem.)
> >
> > Running any application from Gnustep gives me results as follows:
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x4023f8ec in objc_msg_lookup (receiver=0x204d658, op=0x40220084) at
> > objc/sarray.h:230
> > (xxgdb) stack
> > Undefined command: "stack".  Try "help".
> > (xxgdb) info stack
> > #0  0x4023f8ec in objc_msg_lookup (receiver=0x204d658, op=0x40220084) at
> > objc/sarray.h:230
> > #1  0x4018abb4 in
> > _i_NSConcreteTimeZoneDetail__initWithTimeZone_withAbbrev_withOffset_withDST_
> > () from
> > /opt/GNUstep/System/Libraries/armv4l/linux-gnu/gnu-gnu-gnu/libgnustep-base.so.1
> >
>
> That doesn't look good. Even if you look at frame 1, it's failing at a
> point where it is trying to just retain some variables. It's possible
> that the NSConcreteTimeZoneDetail is getting corrupted and causeing
> this. It might be better to buld the library with debugging (make
> debug=yes) and get a full backtrace.

I rebuilt all of GNUstep using "make debug=yes", then set the time zone stuff 
again,
and then reran an application (this time using Gorm), but it gives the same 
thing.

Ideas?

Robert


Program received signal SIGSEGV, Segmentation fault.

0x405ff8ec in objc_msg_lookup (receiver=0x40766ce8, op=0x405ca568) at 
objc/sarray.h:230

(xxgdb) info stack

#0  0x405ff8ec in objc_msg_lookup (receiver=0x40766ce8, op=0x405ca568) at 
objc/sarray.h:230

#1  0x404c2e40 in _i_NSFileManager__fileSystemRepresentationWithPath_ 
(self=0x212ef20, _cmd=0x405ca308, path=0x40766ce8) at NSFileManager.m:1316

#2  0x404c1180 in _i_NSFileManager__fileExistsAtPath_isDirectory_ 
(self=0x212ef20, _cmd=0x40961124, path=0x40766ce8, isDirectory=0xbfffed27 "@ 
address@hidden \f\021\002híÿ¿Ðé\027\002¸k\027\002Pa\027\002 \f\021") at 
NSFileManager.m:818

#3  0x409250d4 in loadCache (self=0x217e578, async=0 '\000') at 
XGFontManager.m:90

#4  0x40925aa8 in _i_XGFontEnumerator__enumerateFontsAndFamilies 
(self=0x217e578, _cmd=0x4096120c) at XGFontManager.m:169

#5  0x40925b60 in _i_XGFontEnumerator__initWithFontManager_ (self=0x217e578, 
_cmd=0x40340c0c, manager=0x217dad0) at XGFontManager.m:176

#6  0x402498a0 in _c_GSFontEnumerator__sharedEnumeratorWithFontManager_ 
(self=0x40340bc4, _cmd=0x4030a994, manager=0x217dad0) at GSFontInfo.m:61

#7  0x4013b488 in _i_NSFontManager__init (self=0x217dad0, _cmd=0x4030a974) at 
NSFontManager.m:113

#8  0x4013b2fc in _c_NSFontManager__sharedFontManager (self=0x4030a15c, 
_cmd=0x409647b8) at NSFontManager.m:94

#9  0x409322b4 in _c_XGContext_NSGraphics_initializeBackend (self=0x40963f98, 
_cmd=0x402f1eac) at XGDrawingEngine.m:65

#10 0x400c1d7c in initialize_gnustep_backend () at NSApplication.m:185

#11 0x400c3228 in _i_NSApplication__init (self=0x21626b8, _cmd=0x206aec0) at 
NSApplication.m:489

#12 0x02007e3c in _i_Gorm__init (self=0x21626b8, _cmd=0x402f201c) at Gorm.m:675

#13 0x400c30f4 in _c_NSApplication__sharedApplication (self=0x2069da4, 
_cmd=0x402efd28) at NSApplication.m:462

#14 0x400bb10c in NSApplicationMain (argc=1, argv=0xbffff014) at Functions.m:75

#15 0x0200b784 in main (argc=1, argv=0xbffff014) at Gorm.m:1147

#16 0x40730e38 in __libc_start_main (main=0x200b748 <main>, argc=1, 
argv=0xbffff014, init=0x20035e8 <_init>, fini=0x2048684 <_fini>, 
rtld_fini=0x4000cd80 <_dl_fini>, stack_end=0xbffff152) at 
../sysdeps/generic/libc-start.c:92

(xxgdb)

Attachment: robert.hartley.vcf
Description: Card for Robert E. Hartley


reply via email to

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