bug-gnustep
[Top][All Lists]
Advanced

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

[bug #31830] Segfault in +[NSObject initialize]


From: Andy Van Ness
Subject: [bug #31830] Segfault in +[NSObject initialize]
Date: Thu, 09 Dec 2010 04:34:13 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10) Gecko/20100922 Ubuntu/10.10 (maverick) Firefox/3.6.10

URL:
  <http://savannah.gnu.org/bugs/?31830>

                 Summary: Segfault in +[NSObject initialize]
                 Project: GNUstep
            Submitted by: andyvn22
            Submitted on: Thu 09 Dec 2010 04:34:13 AM GMT
                Category: Libraries
                Severity: 3 - Normal
              Item Group: Installation
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Compiled everything (including clang) from source, using libobjc2. Any usage
of NSObject (and subclasses), even in mind-numbingly simple test apps, results
in:

Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0x0032fe9e in -[NSObject autorelease] (_cmd=0x53ca60, self=0x80b1c50)
    at NSObject.m:1601
#2  0x00321a51 in +[NSMethodSignature signatureWithObjCTypes:]
(self=0x53ca10, 
    _cmd=0x568c28, t=0x416890 "#8@0:4") at NSMethodSignature.m:440
#3  0x003d8f15 in gs_objc_msg_forward2 (receiver=0x53ca10, sel=0x540f80)
    at GSFFIInvocation.m:159
#4  0x003d8e23 in gs_objc_msg_forward3 (op=0x0, receiver=0x0)
    at GSFFIInvocation.m:227
#5  0x005a175b in objc_msg_lookup_internal (receiver=0x540ec0, 
    selector=0x540f80) at sendmsg2.c:96
#6  objc_msg_lookup (receiver=0x540ec0, selector=0x540f80) at sendmsg2.c:321
#7  0x0032f11d in +[NSObject initialize] (_cmd=0x8064e78, self=0x540e70)
    at NSObject.m:958
#8  0x00598c37 in objc_send_initialize (object=0x0) at dtable.c:608
#9  0x00598a73 in objc_send_initialize (object=0x0) at dtable.c:549
#10 0x005a15df in objc_msg_lookup_internal (receiver=0x520690, 
    selector=0x804b6e8) at sendmsg2.c:62
#11 objc_msg_lookup (receiver=0x520690, selector=0x804b6e8) at
sendmsg2.c:321
#12 0x080487e7 in main () at main.m:5




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31830>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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