For various reasons related to timing and schedule, I hadn’t been using Cubase Pro 12.0.60 (on Windows 10 Pro, fully updated) much until recently. Recent versions had pretty much done away with the hanging on exit that I experienced frequently in some early early versions of Cubase 12, but it seems like the more frequent hang is back, as I’ve had a couple of recent hangs after sessions of several hours (e.g. about 4.5 hours yesterday).
The specific scenario seems to be that I close the project first, then wait for the Windows close button to turn red when I hover over it, then try closing that, but it hangs. Yesterday I took a procdump after it had hung for some non-trivial number of (I’d guess at least 10) minutes. The DMP file (inside a ZIP file) can be found at:
I also did a quick analysis of this in WinDbg Preview, and it shows the following:
Microsoft (R) Windows Debugger Version 10.0.25200.1003 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
Loading Dump File [C:\Users\Rick\Downloads\Procdump\Cubase12.exe_230518_161544.dmp]
Comment: '
*** procdump64 -e -h -t Cubase12
*** Hung window detected: b05bc'
User Mini Dump File: Only registers, stack and portions of memory are available
************* Path validation summary **************
Response Time (ms) Location
Deferred srv*
Symbol search path is: srv*
Executable search path is:
Windows 10 Version 19045 MP (12 procs) Free x64
Product: WinNt, suite: SingleUserTS
Edition build lab: 19041.1.amd64fre.vb_release.191206-1406
Machine Name:
Debug session time: Thu May 18 16:16:00.000 2023 (UTC - 7:00)
System Uptime: not available
Process Uptime: 0 days 4:32:25.000
................................................................
................................................................
................................................................
..............................................
Loading unloaded module list
................................................................
For analysis of this file, run !analyze -v
ntdll!NtWaitForAlertByThreadId+0x14:
00007ffa`10b30a74 c3 ret
0:000> !analyze -v
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
*** WARNING: Unable to verify checksum for WavesLib1_14.12.102_Win64.dll
KEY_VALUES_STRING: 1
Key : Analysis.CPU.mSec
Value: 8733
Key : Analysis.DebugAnalysisManager
Value: Create
Key : Analysis.Elapsed.mSec
Value: 59613
Key : Analysis.IO.Other.Mb
Value: 24
Key : Analysis.IO.Read.Mb
Value: 1
Key : Analysis.IO.Write.Mb
Value: 45
Key : Analysis.Init.CPU.mSec
Value: 203
Key : Analysis.Init.Elapsed.mSec
Value: 7021
Key : Analysis.Memory.CommitPeak.Mb
Value: 633
Key : Timeline.Process.Start.DeltaSec
Value: 16345
Key : WER.OS.Branch
Value: vb_release
Key : WER.OS.Timestamp
Value: 2019-12-06T14:06:00Z
Key : WER.OS.Version
Value: 10.0.19041.1
Key : WER.Process.Version
Value: 12.0.60.453
FILE_IN_CAB: Cubase12.exe_230518_161544.dmp
COMMENT:
*** procdump64 -e -h -t Cubase12
*** Hung window detected: b05bc
NTGLOBALFLAG: 0
PROCESS_BAM_CURRENT_THROTTLED: 0
PROCESS_BAM_PREVIOUS_THROTTLED: 0
APPLICATION_VERIFIER_FLAGS: 0
EXCEPTION_RECORD: (.exr -1)
ExceptionAddress: 0000000000000000
ExceptionCode: 80000003 (Break instruction exception)
ExceptionFlags: 00000000
NumberParameters: 0
FAULTING_THREAD: 00000c58
PROCESS_NAME: Cubase12.exe
ERROR_CODE: (NTSTATUS) 0x80000003 - {EXCEPTION} Breakpoint A breakpoint has been reached.
EXCEPTION_CODE_STR: 80000003
STACK_TEXT:
00000000`0014f3a8 00007ffa`10af38ad : 00000000`0014f414 00000000`00000000 00000000`0014f670 00000000`16352d97 : ntdll!NtWaitForAlertByThreadId+0x14
00000000`0014f3b0 00007ffa`10af3762 : 00000000`00000000 00000000`00000000 00000000`0014f498 00000000`005a02c8 : ntdll!RtlpWaitOnAddressWithTimeout+0x81
00000000`0014f3e0 00007ffa`10af357d : 00000000`005a02c0 00000000`00001722 00000000`00000000 00000000`00000000 : ntdll!RtlpWaitOnAddress+0xae
00000000`0014f450 00007ffa`10abfcb4 : 00000000`0014f608 00007ff9`00000008 00000000`fffffffa 00007ff9`d96f95a0 : ntdll!RtlpWaitOnCriticalSection+0xfd
00000000`0014f530 00007ffa`10abfae2 : 00000000`0000000c 00000000`00000090 00000000`005a0000 00000000`16351357 : ntdll!RtlpEnterCriticalSectionContended+0x1c4
00000000`0014f590 00007ffa`10ab5d87 : 00000000`00000002 00000000`0000000c 00000000`163f0b30 00000000`00050dfc : ntdll!RtlEnterCriticalSection+0x42
00000000`0014f5c0 00007ffa`10ab5b74 : 00000000`005a0000 00000000`005a0000 00000000`e9ff4d30 00000000`005a0000 : ntdll!RtlpFreeHeap+0x187
00000000`0014f770 00007ffa`10ab47b1 : 00000000`005a0000 00000000`005a0000 00000000`0000000b 00000000`00800000 : ntdll!RtlpFreeHeapInternal+0x464
00000000`0014f830 00007ffa`10a944af : 00000000`e9ff4d40 00000000`004d0000 ffff0000`ffff0101 00000000`16351300 : ntdll!RtlFreeHeap+0x51
00000000`0014f870 00007ffa`10ab0f01 : 00000000`004d0270 00000000`00001000 00000000`00000001 00000000`ea035000 : ntdll!RtlpFreeUserBlockToHeap+0x2b
00000000`0014f8b0 00007ffa`10b3721f : 00000000`000402c0 00000000`8cce7280 00000000`00000000 00000000`005a0000 : ntdll!RtlpFreeUserBlock+0x125
00000000`0014f900 00007ffa`10ab47b1 : 00000000`004da5c0 00000000`005a0000 00000000`00000000 00000000`00000000 : ntdll!RtlpFreeHeapInternal+0x81b0f
00000000`0014f9c0 00007ffa`0e39f05b : 00000000`0000000c 00000000`1f7cf7a0 00000000`00000000 00007ffa`10ab5ba1 : ntdll!RtlFreeHeap+0x51
00000000`0014fa00 00000000`051c1e83 : 00000000`00640090 00000000`00000000 00000000`00000000 00000000`00000000 : ucrtbase!_free_base+0x1b
00000000`0014fa30 00000000`0519bf72 : 00000000`02512c40 00000000`1f7cf7a0 00000000`0000000c 00000000`1f7cf7a0 : baios!ExitDll+0x10d93
00000000`0014fa60 00000000`051a1014 : 00000000`1f7cf6e0 00000000`00000000 00000000`00000001 00000000`00000000 : baios!GetPluginFactory+0x1c12
00000000`0014fac0 00000000`051b4374 : 00000001`2ceabd18 00000000`00000000 00000000`00000000 00000000`00000000 : baios!GetPluginFactory+0x6cb4
00000000`0014faf0 00000000`05196097 : 00000001`2ceabd18 00000000`00000000 00000000`00000000 00000000`00000000 : baios!ExitDll+0x3284
00000000`0014fb20 00000000`0522b856 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : baios+0x6097
00000000`0014fb50 00000000`051985ad : 00000001`2ceabd18 00000000`00000008 00000000`00000000 00000000`05196080 : baios!ExitDll+0x7a766
00000000`0014fbb0 00000000`051a9461 : 00000001`25e519b8 00000000`00000001 00000000`1f7cf7c8 00000000`00000000 : baios+0x85ad
00000000`0014fbe0 00000000`051a6d2e : 00000001`25e519a0 00000001`25e519a0 00000001`25e519b8 00000000`1f7cf6e0 : baios!GetPluginFactory+0xf101
00000000`0014fc10 00000000`051a783d : 00000001`25e519a0 00000000`1f7cf6e0 00000000`00000001 00000000`1f7cf6e0 : baios!GetPluginFactory+0xc9ce
00000000`0014fc70 00000001`41c61b4d : 00000000`0ec7eb00 00000000`0014fe49 00000000`00000000 00000000`00000000 : baios!GetPluginFactory+0xd4dd
00000000`0014fca0 00000001`42a7ec23 : 00000000`0571b1e0 00000000`0571b1e0 00000000`00000000 00000000`0000000e : Cubase12+0x1c61b4d
00000000`0014fcd0 00000001`4260b10c : 00000000`00000001 00000001`207ffbf0 00000000`00620d90 00000000`0014fd48 : Cubase12+0x2a7ec23
00000000`0014fd40 00000001`4316d799 : 00000000`00620d90 00000000`00000000 00000000`00000001 00000000`00000000 : Cubase12+0x260b10c
00000000`0014fd80 00000001`4319dab4 : 00000000`00620d90 00000000`00620d90 00000001`45484d50 00000000`00620d90 : Cubase12+0x316d799
00000000`0014fdb0 00000001`4316cd94 : 00000000`00620d90 00000000`00000000 00000000`006306b0 00000000`00620ff0 : Cubase12+0x319dab4
00000000`0014fde0 00000001`4316f456 : 00000000`00620d90 00000000`0014feb0 00000001`40000000 00000000`00000000 : Cubase12+0x316cd94
00000000`0014feb0 00000001`44087cf6 : 00000000`00000001 00000000`00000000 00000000`00000000 00000000`00000000 : Cubase12+0x316f456
00000000`0014fef0 00007ffa`0fa47614 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : Cubase12+0x4087cf6
00000000`0014ff30 00007ffa`10ae26a1 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0x14
00000000`0014ff60 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x21
STACK_COMMAND: ~0s; .ecxr ; kb
SYMBOL_NAME: ucrtbase!_free_base+1b
MODULE_NAME: ucrtbase
IMAGE_NAME: ucrtbase.dll
FAILURE_BUCKET_ID: BREAKPOINT_80000003_ucrtbase.dll!_free_base
OS_VERSION: 10.0.19041.1
BUILDLAB_STR: vb_release
OSPLATFORM_TYPE: x64
OSNAME: Windows 10
IMAGE_VERSION: 6.2.19041.789
FAILURE_ID_HASH: {1cb0c0ae-8318-003b-1bfc-f43e8699e195}
Followup: MachineOwner
---------
Prior to killing the process (and also prior to taking the procdump), I checked in TaskManager to see what it was showing, and here is the result:
It may be worth noting that the project was running at 96 kHz (since I know there was some earlier Cubase 12 issue where the sample rate and time spent in Cubase apparently mattered with respect to likelihood of hang). In this case, though all the Microsoft Edge WebView2 processes seem to be a new thing (or at least I hadn’t seen them previously as Cubase subprocesses).