gnustep-dev
[Top][All Lists]
Advanced

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

Re: libobjc2-clang


From: David Chisnall
Subject: Re: libobjc2-clang
Date: Thu, 11 Jun 2020 11:46:56 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0

Hi,

From the back trace, this looks as if it's the v2 ABI. The assert that's firing is here:

https://github.com/gnustep/libobjc2/blob/ed8eec6c6aa82b049fc8292d0c247b8cd6c2fddc/protocol.c#L224

So it's finding an isa pointer for a protocol that is neither the one of the known protocol classes and not a known version number. So the question is... what is it? Can you walk up the stack to that point and see?

David

On 10/06/2020 18:15, Riccardo Mottola wrote:
Hi,

I am testing a bit libobjc2 + clang on NetBSD/amd64
As we know, the full libobjc2 testsuite passes and most apps appear to work.

There are some oddities though, like this:

Unknown protocol version[1]   Abort trap (core dumped) Vespucci

as soon as I launch it, it crashes.

Starting program: /Local/Tools/Vespucci
Unknown protocol version
Program received signal SIGABRT, Aborted.
0x00007a34713678aa in _lwp_kill () from /usr/lib/libc.so.12
(gdb) bt
#0  0x00007a34713678aa in _lwp_kill () from /usr/lib/libc.so.12
#1  0x00007a347136715a in abort () from /usr/lib/libc.so.12
#2  0x00007a3471c18d56 in init_protocols () from /System/Library/Libraries/libobjc.so.4.6
#3  0x00007a3471c18b0d in objc_init_protocols ()
    from /System/Library/Libraries/libobjc.so.4.6
#4  0x00007a3471c12647 in objc_load_class () from /System/Library/Libraries/libobjc.so.4.6 #5  0x00007a3471c18235 in __objc_load () from /System/Library/Libraries/libobjc.so.4.6 #6  0x00007a34725730a4 in ?? () from /System/Library/Libraries/libgnustep-base.so.1.27.0
#7  0x00007a3472ed9c00 in ?? ()
#8  0x00007a347256ff69 in _init () from /System/Library/Libraries/libgnustep-base.so.1.27.0
#9  0x0000000000000000 in ?? ()


Ideas?

Riccardo




reply via email to

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