pthread create_pthread failed on MACOS Ventura

hello

I've got a problem with C pthread on macOS Ventura 13.2.1

and some troubles with libxml2 it load the full xml parameters on first try to load the first parameter it load all 4 in one line. I cannot figure out is pthreads the problem or the xml file what loaded out off memory ... like:

punch_allloadthreads4

xml file

<?xml version="1.0" encoding="utf-8"?>
<um-configuration version="1.0">
    <config>
        <param1 name="punch_all"></param1>
        <param2 name="load"></param2>
        <param3 name="threads"></param3>
        <param4 name="4"></param4>
    </config>
</um-configuration>

well got autoupdates on

here is a lldb -f /usr/local/bin/enigma output ...

Process 4230 stopped

* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)

    frame #0: 0x00000001882cb700 libsystem_pthread.dylib`_pthread_create + 1084

libsystem_pthread.dylib`:

->  0x1882cb700 <+1084>: str    x25, [x22]

    0x1882cb704 <+1088>: mov    x0, x21

    0x1882cb708 <+1092>: ldp    x29, x30, [sp, #0x70]

    0x1882cb70c <+1096>: ldp    x20, x19, [sp, #0x60]

  thread #2, stop reason = EXC_BAD_ACCESS (code=2, address=0x10000b26e)

    frame #0: 0x00000001882f8090 libsystem_platform.dylib`_platform_memmove + 448

libsystem_platform.dylib`:

->  0x1882f8090 <+448>: strb   w6, [x3], #0x1

    0x1882f8094 <+452>: subs   x2, x2, #0x1

    0x1882f8098 <+456>: b.ne   0x1882f808c               ; <+444>

    0x1882f809c <+460>: ret    

Target 0: (enigma) stopped.

(lldb) bt

* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)

  * frame #0: 0x00000001882cb700 libsystem_pthread.dylib`_pthread_create + 1084

    frame #1: 0x0000000100009f5c enigma`sbfParams + 1448

    frame #2: 0x000000010000aa48 enigma`main + 1456

    frame #3: 0x0000000187f9fe50 dyld`start + 2544

Replies

It’s hard to say what’s going on here without more context. If you run the program outside of the debugger, does it crash? If so, it should generate a crash report. Please post that, using the techniques described in Posting a Crash Report.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"