bugGNUstep - Bugs: bug #31830, Segfault in +[NSObject initialize]

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #31830: Segfault in +[NSObject initialize]

Submitted by:  Andy Van Ness <andyvn22>
Submitted on:  Thu 09 Dec 2010 04:34:13 AM UTC  
 
Category: LibrariesSeverity: 3 - Normal
Item Group: InstallationStatus: Invalid
Privacy: PublicAssigned to: None
Open/Closed: Closed

Wed 10 Sep 2014 10:04:58 PM UTC, comment #1:

Does this still apply? I suppose this was either a problem with the user setup or a bug long solved.

Riccardo Mottola <rmottola>
Project Member
Thu 09 Dec 2010 04:34:13 AM UTC, original submission:

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

Andy Van Ness <andyvn22>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rmottola (Posted a comment)
  • -unavailable- added by andyvn22 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 23 Oct 2014 08:15:23 AM UTCrmottolaStatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1