So this is getting off trackā€”but I've been able to isolate the problem.

It occurs when trying to initalize an Array or a Set inside the function 
`_gnu_process_args` of `NSProcessInfo.m`

Here is a printf debugging transcript of mine:
        
Starting NSApplication main.
Inside NSApplicationMain(argc,argv)

Will create autorelease pool...

Running NSObject self

Running NSObject self

Running NSObject self

Running NSObject self

Running NSObject self

Did create autorelease pool...

Starting up NSProcessInfo...

Running NSObject self

Inside _gnu_process_args.

Checking for argv

Processing argv into NSMutableSet.



Will crete gnu_arguments - have added 1

Running NSObject self

Running NSObject self



GNUSTEP Internal Error:

The private GNUstep function to establish the argv and environment

variables was not called.



Mismatched library versions between GNUstep Foundation (base) and AppKit

(gui) is most often the cause of this message. Please be sure you

are using known compatible versions and not a mismatched set. Generally,

we recommend you use versions of base and gui which were released together.



For more detailed assistance, please report the error to bug-gnus...@gnu.org.


It's very odd that this would crash. Totally perplexed and in the weeds here :(

On Thu, Nov 5, 2020, at 11:45 AM, Gustavo Tavares wrote:
> I think I built it with master? Used this script: 
> https://github.com/plaurent/gnustep-build/blob/master/ubuntu-20.04-clang-10.0-runtime-2.0/GNUstep-buildon-ubuntu2004.sh
> 
> Relevant sections:
> 
> 
> git clone https://github.com/gnustep/libobjc2.git
> cd libobjc2
> 
> git submodule init
> 
> git submodule sync
> 
> git submodule update
> 
> 
> 
> 
> # Build libobjc2
> echo -e "\n\n"
> 
> echo -e "${GREEN}Building libobjc2...${NC}"
> 
> cd ../../libobjc2
> 
> rm -Rf build
> 
> mkdir build && cd build
> 
> cmake ../ -DCMAKE_C_COMPILER=$CC -DCMAKE_CXX_COMPILER=$CXX 
> -DCMAKE_ASM_COMPILER=$CC -DTESTS=OFF
> 
> cmake --build .
> 
> sudo -E make install
> 
> sudo ldconfig
> 
> 
> On Thu, Nov 5, 2020, at 11:16 AM, David Chisnall wrote:
>> On 05/11/2020 14:54, Gustavo Tavares wrote:
>> > Throwing 0x1677ab8, in flight exception: (nil)
>> > Exception caught by C++: 0
>> 
>> This bit looks as if I accidentally left some debugging code enabled in 
>> the runtime.  Did you build the trunk version of libobjc2?
>> 
>> David
>> 
>> 
>> 
> 

Reply via email to