[Top][All Lists]

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

SeqFault in [NSBundle(Private) _addFrameworkFromClass:]

From: Marc Brünink
Subject: SeqFault in [NSBundle(Private) _addFrameworkFromClass:]
Date: Mon, 04 Dec 2006 16:04:43 +0100
User-agent: Thunderbird 1.5 (X11/20060113)

Hi all

I'm trying to load a framework in an application. Shouldn't be a major task, but it is :-) I'm getting a segfault in [NSBundle(Private) _addFrameworkFromClass:]. The strange thing about it: I do not have any problems using this framework with another tool.

It segfaults at the first use of any Foundation code. For example at the NSLog in: printf("HALLo");
NSLog(@"main A");

Any hints?


Program received signal SIGSEGV, Segmentation fault.
0xfe2bfd79 in +[NSBundle(Private) _addFrameworkFromClass:] (self=0xfe522880,
   _cmd=0xfe522ae0, frameworkClass=0xb6c0) at NSBundle.m:461
461       len = strlen (frameworkClass->name);

(gdb) bt
#0  0xfe2bfd79 in +[NSBundle(Private) _addFrameworkFromClass:] (
self=0xfe522880, _cmd=0xfe522ae0, frameworkClass=0xb6c0) at NSBundle.m:461
#1  0xfe2c0c7b in +[NSBundle initialize] (self=0xfe522880, _cmd=0xfe54a5a8)
   at NSBundle.m:805
#2  0xfe3f0ad7 in __objc_send_initialize (class=0xfe522880)
   at /usr/share/src/gcc-3.4.4/libobjc/sendmsg.c:372
#3  0xfe3f0fd0 in objc_msg_lookup (receiver=0xfe522880, op=0xfe548b68)
   at /usr/share/src/gcc-3.4.4/libobjc/sendmsg.c:314
#4  0xfe39f467 in +[NSUserDefaults standardUserDefaults] (self=0xfe548a20,
   _cmd=0xfe548ae8) at NSUserDefaults.m:515
#5  0xfe3a3ce6 in GSUserDefaultsFlag (type=46784) at NSUserDefaults.m:1981
#6  0xfe329ef1 in NSLogv (format=0x80ae19c, args=0x8047774 "Há\n\bpÀÿþ\001")
   at NSLog.m:305
#7  0xfe329e77 in NSLog (format=0x80ae19c) at NSLog.m:252
#8  0x08072739 in main (argc=1, argv=0x80477e8, env=0x80477f0)
   at LKWOffice_main.m:42

reply via email to

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