My guess is a nil pointer was accessed. I made this test program to see what would happen if a nil pointer was accessed:
#include <Foundation/Foundation.h> int main(int argc, char *argv[]) { NSString *mystring; // nil pointer NSLog(@"mystring: %@", mystring); // crash here } The result was Segmentation fault: 11. I am on Mac OS 12 and you are on Windows so that could account for the different error message. Could you share more information about your program? > On Jul 15, 2023, at 9:28 AM, loserist <loser...@88.com> wrote: > > Hi all! I want to get help from you.Thank You. > C:\>echo %errorlevel% > -1073741819 > > (lldb) Process 3708 launched: 'C:\a.exe' (x86_64) > Process 3708 stopped > * thread #1, stop reason = Exception 0xc0000005 encountered at address > 0x7ffb37a81048: Access violation reading locatio > n 0x00000000 > frame #0: 0x00007ffb37a81048 objc.dll`objc_msgSend + 40 > objc.dll`objc_msgSend: > -> 0x7ffb37a81048 <+40>: movl (%r10), %r11d > 0x7ffb37a8104b <+43>: cmpl $0x8, %r11d > 0x7ffb37a8104f <+47>: je 0x7ffb37a81063 ; <+67> > 0x7ffb37a81051 <+49>: cmpl $0x0, %r11d