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 00007fff
bbe59205 : 0000000000000001 00007fff
b977f05b 00000001c912b7e8 00000001
c912b7d0 : ntdll!NtWaitForAlertByThreadId+0x14
000000000014ee10 00007fff
9df22810 : 0000000100000000 00000001
c912b7d0 0000000039053340 00000000
00000000 : ntdll!RtlAcquireSRWLockExclusive+0x165
000000000014ee80 00007fff
1c3e4e5f : 0000000145bdf7b8 00000000
39052ab0 0000000000000017 00000000
3ac0cb28 : msvcp140!mtx_do_lock+0x70
000000000014eed0 00007fff
1a9b16ca : 000000003ac0cb28 00000000
00000000 0000000000000002 00000001
420d7bc7 : Kontakt_7!qt_startup_hook+0x121931f
000000000014ef00 00007fff
1ac93d7a : 0000000000000000 00000000
00000017 000000003ac0cb28 00000000
00000000 : Kontakt_7!cereal::detail::StaticObjectcereal::detail::Versions::operator=+0x452d2a
000000000014ef50 00000001
432d3cb5 : 0000000000000000 00000000
00000017 0000000036c15e50 00000001
432c7dae : Kontakt_7!InitDll+0x2166a
000000000014ef80 00000001
43266fe5 : 000000000000000d 00000000
0014f0d0 0000000007d7f340 00000000
00000006 : Cubase13+0x32d3cb5
000000000014efd0 00000001
432662ce : 0000000007d7f328 00000001
00000000 0000000007d7f340 00000000
09f956d0 : Cubase13+0x3266fe5
000000000014f140 00000001
431ab2db : 000000000ffcbc60 00000000
07e14c48 000000000014f270 00000000
00000039 : Cubase13+0x32662ce
000000000014f170 00000001
4436831a : 0000000007e14c48 00000000
0014f360 000000000014f3f8 00000000
00050942 : Cubase13+0x31ab2db
000000000014f2d0 00000001
44135cdf : 000000000014f380 00000001
4418b257 000000000014f3a0 00000000
07e14bc0 : Cubase13+0x436831a
000000000014f300 00000001
44367637 : 0000000007e14bc0 00000000
07e66780 00000000038fd820 00000000
0014f3b8 : Cubase13+0x4135cdf
000000000014f340 00000001
4436b070 : 000000000014f380 00000000
023bddf8 000000000559e0c8 00000001
44368300 : Cubase13+0x4367637
000000000014f3e0 00000001
446f53a4 : 0000000000000000 00000000
00000000 0000000000000000 00000000
00000000 : Cubase13+0x436b070
000000000014f410 00000001
446e2580 : 00000000038fd820 00000000
00000000 0000000000000000 00000000
00000113 : Cubase13+0x46f53a4
000000000014f440 00000001
44714bcd : 0000000000000000 00000000
00000001 0000000000000000 00000000
00000000 : Cubase13+0x46e2580
000000000014f470 00007fff
ba93ef5c : 0000000000000001 00000000
0014fb70 0000000000050942 00000000
00050942 : Cubase13+0x4714bcd
000000000014f910 00007fff
ba93e684 : 0000000000000000 00000001
447148c0 00000000003cd800 0000002c
00000050 : user32!UserCallWinProcCheckWow+0x50c
000000000014faa0 00000001
446f3929 : 00000001447148c0 00000000
023bde08 00000000023bdee0 00007fff
ba95267e : user32!DispatchMessageWorker+0x494
000000000014fb20 00000001
446e4c0f : 00000000023bded8 00000000
00000000 0000001c00000225 00000000
2f3d0000 : Cubase13+0x46f3929
000000000014fba0 00000001
446e1e70 : 00000000023bde08 00000000
00000000 0000000000050942 00000000
023bde08 : Cubase13+0x46e4c0f
000000000014fbd0 00000001
446e1ceb : 00000000023bde08 00000000
023bde08 0000000000000000 00000001
44369ea9 : Cubase13+0x46e1e70
000000000014fc10 00000001
44365ce8 : 0000000000000000 00000000
023bde10 0000000000000000 00000000
00000000 : Cubase13+0x46e1ceb
000000000014fc60 00000001
434d3d24 : 00000000004afc30 00000000
004afc30 00000000004afe78 00000000
004afeb0 : Cubase13+0x4365ce8
000000000014fc90 00000001
44832b66 : 0000000000000000 00000000
0014fcb8 000000000014fcf8 00000000
0014fcb8 : Cubase13+0x34d3d24
000000000014fef0 00007fff
ba027374 : 0000000000000000 00000000
00000000 0000000000000000 00000000
00000000 : Cubase13+0x4832b66
000000000014ff30 00007fff
bbe7cc91 : 0000000000000000 00000000
00000000 0000000000000000 00000000
00000000 : kernel32!BaseThreadInitThunk+0x14
000000000014ff60 00000000
00000000 : 0000000000000000 00000000
00000000 0000000000000000 00000000
00000000 : 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?