Hmm. The issue seems to be that the +class message to NSZombie is going via the forwarding mechanism. That may be a libobjc2 bug, but looking at the GNUstep code I don't actually see how this is supposed to work. NSZombie is a root class, so its class should inherit from NSObject, but NSObject's -class method will return the metaclass if self is a class...
Does anyone else get this failure? It seems to work for me, but I'm not sure why... David On 17 Jan 2011, at 21:17, Tobias Kreisel wrote: > Just to make sure I did clean install of Ubuntu 10.10 (i386) and again > followed the instructions in INSTALL (including compiling llvm and clang from > trunk). However, the segfault still turns up. > > @Eric: > > Seems you're right, following your instructions I got: > > $ gdb plmerge > (gdb) run > Starting program: /usr/local/bin/plmerge > [Thread debugging using libthread_db enabled] > [New Thread 0xb7fe8b70 (LWP 23937)] > > Program received signal SIGSEGV, Segmentation fault. > 0x00000000 in ?? () > (gdb) bt > #0 0x00000000 in ?? () > #1 0x003ec48e in -[NSObject autorelease] (self=0x80b8078, _cmd=0x5dd8f0) > at NSObject.m:1616 > #2 0x003d0eab in +[NSMethodSignature signatureWithObjCTypes:] > (self=0x6cddb0, > _cmd=0x6b59e8, t=0x804ab58 "#8@0:4") at NSMethodSignature.m:442 > #3 0x0052cdd3 in gs_objc_msg_forward2 (receiver=0x6d3090, sel=0x804d760) > at GSFFIInvocation.m:174 > #4 0x0052cc73 in gs_objc_msg_forward3 (receiver=0x6d3090, op=0x804d760) > at GSFFIInvocation.m:242 > #5 0x0073a9db in objc_msg_lookup () from /usr/local/lib/libobjc.so.4 > #6 0x003ead99 in +[NSObject initialize] (self=0x6d3040, _cmd=0x8066e98) > at NSObject.m:962 > #7 0x00731f07 in objc_send_initialize () from /usr/local/lib/libobjc.so.4 > #8 0x00731d43 in objc_send_initialize () from /usr/local/lib/libobjc.so.4 > #9 0x0073a85f in objc_msg_lookup () from /usr/local/lib/libobjc.so.4 > #10 0x0804970d in main (argc=1, argv=0xbffff0d4, env=0xbffff0dc) > at plmerge.m:49 > > @David: > > As for the OS: Ubuntu 10.10 i686 > ObjC Compiler: clang (that's what echo $CC says at least) > ObjC Runtime: libobjc2 (Was about to try libobjc but cannot reach the gnustep > subversion at the moment) > > Thanks guys! > Tobias > > > _______________________________________________ > > Etoile-dev mailing list > > Etoile-dev@gna.org > > https://mail.gna.org/listinfo/etoile-dev > > _______________________________________________ > Etoile-dev mailing list > Etoile-dev@gna.org > https://mail.gna.org/listinfo/etoile-dev -- Send from my Jacquard Loom _______________________________________________ Etoile-dev mailing list Etoile-dev@gna.org https://mail.gna.org/listinfo/etoile-dev