Kontakt 7.1.3 and 6 crash after exiting Logic Pro

danielete
danielete Member Posts: 4 Sine

I am using Logic Pro 10.7.5 on a M1Max Macbook. I see crash reports in the Mac console every time I exit Logic. They tend to go this way

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread

0  Kontakt 7                             0x2919cfb94 NI_6_3_1_R2::QApplication::~QApplication() + 820

1  Kontakt 7                             0x2919cfad8 NI_6_3_1_R2::QApplication::~QApplication() + 632

2  Kontakt 7                             0x2919cfd10 NI_6_3_1_R2::QApplication::~QApplication() + 12

3  Kontakt 7                             0x290eaea4c ni::qt::Module::~Module() + 60

4  Kontakt 7                             0x28fffa2e8 std::__1::unique_ptr<ni::qt::Module, std::__1::default_delete<ni::qt::Module> >::~unique_ptr() + 32

5  libsystem_c.dylib                     0x19944c05c __cxa_finalize_ranges + 464


But some others are a bit different

Thread 0:: Dispatch queue: com.apple.main-thread

0  libsystem_malloc.dylib                0x1993c0040 _szone_free + 12

1  Kontakt                               0x28047d978 std::__1::__tree<std::__1::__value_type<char const*, int>, std::__1::__map_value_compare<char const*, std::__1::__value_type<char const*, int>, BAO_DETAIL::ParTagToString::strcmpless, true>, std::__1::allocator<std::__1::__value_type<char const*, int> > >::destroy(std::__1::__tree_node<std::__1::__value_type<char const*, int>, void*>*) + 32

2  Kontakt                               0x28047d978 std::__1::__tree<std::__1::__value_type<char const*, int>, std::__1::__map_value_compare<char const*, std::__1::__value_type<char const*, int>, BAO_DETAIL::ParTagToString::strcmpless, true>, std::__1::allocator<std::__1::__value_type<char const*, int> > >::destroy(std::__1::__tree_node<std::__1::__value_type<char const*, int>, void*>*) + 32

3  Kontakt                               0x28047d984 std::__1::__tree<std::__1::__value_type<char const*, int>, std::__1::__map_value_compare<char const*, std::__1::__value_type<char const*, int>, BAO_DETAIL::ParTagToString::strcmpless, true>, std::__1::allocator<std::__1::__value_type<char const*, int> > >::destroy(std::__1::__tree_node<std::__1::__value_type<char const*, int>, void*>*) + 44

4  Kontakt                               0x28047d978 std::__1::__tree<std::__1::__value_type<char const*, int>, std::__1::__map_value_compare<char const*, std::__1::__value_type<char const*, int>, BAO_DETAIL::ParTagToString::strcmpless, true>, std::__1::allocator<std::__1::__value_type<char const*, int> > >::destroy(std::__1::__tree_node<std::__1::__value_type<char const*, int>, void*>*) + 32


The crashed program is apparently AUHostingServiceXPC_arrow. If I run Logic opening a program with no Kontakt, there is no problem. I also have this problem if I load a different project in Logic, by closing the previous project.

Any ideas on how to solve this?

Cheers

Daniel

Answers

  • Jeremy_NI
    Jeremy_NI BerlinCustomer Care Posts: 3,814 mod

    @danielete Make sure that both Logic and Kontakt have Full Disk Access: How to Enable Full Disk Access on macOS Restart your computer, do these crashes still happen? Are you using Logic in Rosetta or Silicon native mode?

  • danielete
    danielete Member Posts: 4 Sine
    edited December 2022

    Thanks for your answer @Jeremy_NI

    I am using Logic in native mode indeed. I will check giving full disk access to both Logic (Native Access or Kontakt itself?) but funnily enough I have another computer (a 13" M1 Macbook) where I cannot seem to reproduce the error, even with the standard "Files and Folders" setup.

    Anyway, I will try tonight and see if the Full Access makes any difference. Will copy the same project to both computers to make sure it's an apples-to-apples situation

  • danielete
    danielete Member Posts: 4 Sine
    edited December 2022

    Ok just tried to give full access to both Logic and Kontakt 7 and no change whatsoever. Still the same error on existing Logic or on switching to another project by closing the original project. I had started the computer from scratch too..

    Will try exactly the same project in my other computer (the M1 13") to see if that's still the case..

    -------------------------------------

    Translated Report (Full Report Below)

    -------------------------------------


    Process:              AUHostingServiceXPC_arrow [1131]

    Path:                 /System/Library/Frameworks/AudioToolbox.framework/XPCServices/AUHostingServiceXPC_arrow.xpc/Contents/MacOS/AUHostingServiceXPC_arrow

    Identifier:           com.apple.audio.AUHostingService.arm64e

    Version:              1.0 (1)

    Build Info:           CoreAudioServices_AUHostingServiceXPC_arrow-1318042000000000~2

    Code Type:            ARM-64 (Native)

    Parent Process:       launchd [1]

    Responsible:          Logic Pro X [1124]

    User ID:              501


    Date/Time:            2022-12-15 19:24:31.6898 +0000

    OS Version:           macOS 13.1 (22C65)

    Report Version:       12

    Anonymous UUID:       C17FE52F-1EF8-8273-7D05-170839C26511



    Time Awake Since Boot: 420 seconds


    System Integrity Protection: enabled


    Crashed Thread:       0 Dispatch queue: com.apple.main-thread


    Exception Type:       EXC_BAD_ACCESS (SIGSEGV)

    Exception Codes:      KERN_INVALID_ADDRESS at 0x0000000000000000

    Exception Codes:      0x0000000000000001, 0x0000000000000000


    Termination Reason:   Namespace SIGNAL, Code 11 Segmentation fault: 11

    Terminating Process:  exc handler [1131]


    VM Region Info: 0 is not in any region. Bytes before following region: 4341039104

         REGION TYPE                   START - END        [ VSIZE] PRT/MAX SHRMOD REGION DETAIL

         UNUSED SPACE AT START

    ---> 

         __TEXT                     102bf0000-102bf8000   [  32K] r-x/r-x SM=COW ...viceXPC_arrow


    Kernel Triage:

    VM - pmap_enter retried due to resource shortage

    VM - pmap_enter retried due to resource shortage

    VM - pmap_enter retried due to resource shortage

    VM - pmap_enter retried due to resource shortage



    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread

    0  Kontakt 7                             0x29e7cfb94 NI_6_3_1_R2::QApplication::~QApplication() + 820

    1  Kontakt 7                             0x29e7cfad8 NI_6_3_1_R2::QApplication::~QApplication() + 632

    2  Kontakt 7                             0x29e7cfd10 NI_6_3_1_R2::QApplication::~QApplication() + 12

    3  Kontakt 7                             0x29dcaea4c ni::qt::Module::~Module() + 60

    4  Kontakt 7                             0x29cdfa2e8 std::__1::unique_ptr<ni::qt::Module, std::__1::default_delete<ni::qt::Module> >::~unique_ptr() + 32

    5  libsystem_c.dylib                     0x1a592005c __cxa_finalize_ranges + 464

    6  libsystem_c.dylib                     0x1a591fdf0 exit + 44

    7  AudioToolboxCore                      0x1a786c2b0 AUHostingService_exit_handler()::$_2::operator()() const + 20

    8  AudioToolboxCore                      0x1a786c29c decltype(static_cast<AUHostingService_exit_handler()::$_2&>(fp)()) std::__1::__invoke<AUHostingService_exit_handler()::

  • Jeremy_NI
    Jeremy_NI BerlinCustomer Care Posts: 3,814 mod

    @danielete I contacted you by email regarding this.

  • Laurent Top
    Laurent Top Member Posts: 1 Noise

    I have exactly the same crash problem at auhosting do you have the solution because Full disk access does not change anything Thank you

  • Jeremy_NI
    Jeremy_NI BerlinCustomer Care Posts: 3,814 mod

    @Laurent Top Have you tried these steps? KONTAKT Crashes

  • Jeremy_NI
    Jeremy_NI BerlinCustomer Care Posts: 3,814 mod

    @Laurent Top Any update on the issue? Do you still need help?

  • danielete
    danielete Member Posts: 4 Sine

    The error still happens...

  • Gee_Flat
    Gee_Flat Member Posts: 330 Saw
    edited February 8

    I don't want to get into this discussion, but one question that hasn't been raised here is whether these crashes are happening with Kontakt loaded as an empty plugin, or loaded with instruments.

    My older software crashes with Play Series instruments like Analog Dreams, Hybrid Keys in a 32 bit environment. So I just don't use them. They work fine as a standalone.

    Point being, could it be instrument specific?

Back To Top