Skip to content

How to DEBUG Exit(2) Error: INVALIDPARAM #415

Description

@Stewart-Dickson

Built using CMAKE_CXX_FLAGS_DEBUG -g; CMAKE_BUILD_TYPE Debug;
LIB3MFLOCATION /usr/local/src/lib3mf-2.3.2-Darwin/;
XCode Version 14.1 (14B47b); macOS Monterey version 12.7
Application exits Error: INVALIDPARAM: an invalid parameter was passed
Program ended with exit code: 2; Set breakpoint at exit()
libdyld.dylibdyld4::LibSystemHelpers::exit: -> 0x7ff81886936a <+0>: pushq %rbp 0x7ff81886936b <+1>: movq %rsp, %rbp 0x7ff81886936e <+4>: movl %esi, %edi 0x7ff818869370 <+6>: callq 0x7ff81886e088 ; symbol stub for: exit 0x7ff818869375 <+11>: nop I see no symbol table for libdyld.dylibdyld4::LibSystemHelpers::exit: (And yet, I could set the breakpoint there;
Nor do I see a stack backtrace; Only: Thread 1 Queue : com.apple.main-thread (serial)
How does one debug this thing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions