Freeze After Dormant

Cubase freezes on me if I come back to Cubase after a few minutes of inactivity. When I look at task manager, it is listed as Not Responding. I ran a debug and got the following output:

==============================
KEY_VALUES_STRING: 1

Key  : Analysis.CPU.mSec
Value: 8484

Key  : Analysis.Elapsed.mSec
Value: 16302

Key  : Analysis.IO.Other.Mb
Value: 1

Key  : Analysis.IO.Read.Mb
Value: 0

Key  : Analysis.IO.Write.Mb
Value: 29

Key  : Analysis.Init.CPU.mSec
Value: 640

Key  : Analysis.Init.Elapsed.mSec
Value: 25684

Key  : Analysis.Memory.CommitPeak.Mb
Value: 314

Key  : Failure.Bucket
Value: BREAKPOINT_80000003_msvcp140.dll!mtx_do_lock

Key  : Failure.Hash
Value: {33199309-6cfa-6e29-d411-323e1dd7030e}

Key  : Timeline.OS.Boot.DeltaSec
Value: 113273

Key  : Timeline.Process.Start.DeltaSec
Value: 106812

Key  : WER.OS.Branch
Value: vb_release

Key  : WER.OS.Version
Value: 10.0.19041.1

Key  : WER.Process.Version
Value: 13.0.41.256

FILE_IN_CAB: Cubase13.DMP

NTGLOBALFLAG: 0

APPLICATION_VERIFIER_FLAGS: 0

EXCEPTION_RECORD: (.exr -1)
ExceptionAddress: 0000000000000000
ExceptionCode: 80000003 (Break instruction exception)
ExceptionFlags: 00000000
NumberParameters: 0

FAULTING_THREAD: 00004fb8

PROCESS_NAME: Cubase13.exe

ERROR_CODE: (NTSTATUS) 0x80000003 - {EXCEPTION} Breakpoint A breakpoint has been reached.

EXCEPTION_CODE_STR: 80000003

STACK_TEXT:
000000000014ee08 00007fffbbe59205 : 0000000000000001 00007fffb977f05b 00000001c912b7e8 00000001c912b7d0 : ntdll!NtWaitForAlertByThreadId+0x14
000000000014ee10 00007fff9df22810 : 0000000100000000 00000001c912b7d0 0000000039053340 0000000000000000 : ntdll!RtlAcquireSRWLockExclusive+0x165
000000000014ee80 00007fff1c3e4e5f : 0000000145bdf7b8 0000000039052ab0 0000000000000017 000000003ac0cb28 : msvcp140!mtx_do_lock+0x70
000000000014eed0 00007fff1a9b16ca : 000000003ac0cb28 0000000000000000 0000000000000002 00000001420d7bc7 : Kontakt_7!qt_startup_hook+0x121931f
000000000014ef00 00007fff1ac93d7a : 0000000000000000 0000000000000017 000000003ac0cb28 0000000000000000 : Kontakt_7!cereal::detail::StaticObjectcereal::detail::Versions::operator=+0x452d2a
000000000014ef50 00000001432d3cb5 : 0000000000000000 0000000000000017 0000000036c15e50 00000001432c7dae : Kontakt_7!InitDll+0x2166a
000000000014ef80 0000000143266fe5 : 000000000000000d 000000000014f0d0 0000000007d7f340 0000000000000006 : Cubase13+0x32d3cb5
000000000014efd0 00000001432662ce : 0000000007d7f328 0000000100000000 0000000007d7f340 0000000009f956d0 : Cubase13+0x3266fe5
000000000014f140 00000001431ab2db : 000000000ffcbc60 0000000007e14c48 000000000014f270 0000000000000039 : Cubase13+0x32662ce
000000000014f170 000000014436831a : 0000000007e14c48 000000000014f360 000000000014f3f8 0000000000050942 : Cubase13+0x31ab2db
000000000014f2d0 0000000144135cdf : 000000000014f380 000000014418b257 000000000014f3a0 0000000007e14bc0 : Cubase13+0x436831a
000000000014f300 0000000144367637 : 0000000007e14bc0 0000000007e66780 00000000038fd820 000000000014f3b8 : Cubase13+0x4135cdf
000000000014f340 000000014436b070 : 000000000014f380 00000000023bddf8 000000000559e0c8 0000000144368300 : Cubase13+0x4367637
000000000014f3e0 00000001446f53a4 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 : Cubase13+0x436b070
000000000014f410 00000001446e2580 : 00000000038fd820 0000000000000000 0000000000000000 0000000000000113 : Cubase13+0x46f53a4
000000000014f440 0000000144714bcd : 0000000000000000 0000000000000001 0000000000000000 0000000000000000 : Cubase13+0x46e2580
000000000014f470 00007fffba93ef5c : 0000000000000001 000000000014fb70 0000000000050942 0000000000050942 : Cubase13+0x4714bcd
000000000014f910 00007fffba93e684 : 0000000000000000 00000001447148c0 00000000003cd800 0000002c00000050 : user32!UserCallWinProcCheckWow+0x50c
000000000014faa0 00000001446f3929 : 00000001447148c0 00000000023bde08 00000000023bdee0 00007fffba95267e : user32!DispatchMessageWorker+0x494
000000000014fb20 00000001446e4c0f : 00000000023bded8 0000000000000000 0000001c00000225 000000002f3d0000 : Cubase13+0x46f3929
000000000014fba0 00000001446e1e70 : 00000000023bde08 0000000000000000 0000000000050942 00000000023bde08 : Cubase13+0x46e4c0f
000000000014fbd0 00000001446e1ceb : 00000000023bde08 00000000023bde08 0000000000000000 0000000144369ea9 : Cubase13+0x46e1e70
000000000014fc10 0000000144365ce8 : 0000000000000000 00000000023bde10 0000000000000000 0000000000000000 : Cubase13+0x46e1ceb
000000000014fc60 00000001434d3d24 : 00000000004afc30 00000000004afc30 00000000004afe78 00000000004afeb0 : Cubase13+0x4365ce8
000000000014fc90 0000000144832b66 : 0000000000000000 000000000014fcb8 000000000014fcf8 000000000014fcb8 : Cubase13+0x34d3d24
000000000014fef0 00007fffba027374 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 : Cubase13+0x4832b66
000000000014ff30 00007fffbbe7cc91 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 : kernel32!BaseThreadInitThunk+0x14
000000000014ff60 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 : ntdll!RtlUserThreadStart+0x21

STACK_COMMAND: ~0s; .ecxr ; kb

FAULTING_SOURCE_LINE: D:\a_work\1\s\src\vctools\crt\github\stl\src\mutex.cpp

FAULTING_SOURCE_FILE: D:\a_work\1\s\src\vctools\crt\github\stl\src\mutex.cpp

FAULTING_SOURCE_LINE_NUMBER: 96

SYMBOL_NAME: msvcp140!mtx_do_lock+70

MODULE_NAME: msvcp140

IMAGE_NAME: msvcp140.dll

FAILURE_BUCKET_ID: BREAKPOINT_80000003_msvcp140.dll!mtx_do_lock

OS_VERSION: 10.0.19041.1

BUILDLAB_STR: vb_release

OSPLATFORM_TYPE: x64

OSNAME: Windows 10

IMAGE_VERSION: 14.40.33810.0

FAILURE_ID_HASH: {33199309-6cfa-6e29-d411-323e1dd7030e}

Followup: MachineOwner

msvcp140.dll!mtx_do_lock indicates to me this has to do with a failure of msvcp.dll to set a mutex to a resource, likely b/c the previous resource isn’t unlocking its own mutex for whatever reason.

FAULTING_THREAD: 00004fb8
I’m guessing this is the thread that won’t release the resource that msvcp140.dll is trying to lock.

exception breakpoint 0x80000003
Is indicative of a potential memory leak and I am about to test for that.

msvcp140.dll is Microsoft C Runtime library. I’m not sure if Cubase is built using C, or if Kontakt is. Or both.

I know enough about this stuff to confuse myself but not enough to come to a conclusion and fix it. I’ve also read the version of msvcp140.dll might be off.

But the thing is, this only happens after a period of inactivity. Initially everything runs fine, and does so for quite a while. I would think if a dll were of date the problem would occur immediately.

Anyone else experience this or have any ideas what might be going on?

Hi,

To me it looks like NI Kontakt is faulty. Please, make sure, you have the latest update installed. If this is the case, send the DMP file to NI support.