Post by svenemtell on Nov 26, 2012 11:32:36 GMT
Hi all
When exiting our music notation program ScoreCleaner, ASIO4ALL seems to have a problem closing down, making one thread of ScoreCleaner stay open in Window Task Manager.
Is it maybe a DLL_PROCESS_DETACH problem with ASIO4ALL. ScoreCleaner is a 32-bit app, and I get the same behaviour with ASIO4ALL 2.10 and 2.11 Beta 1.
The stack I get from Process Monitor when the problem arrives can be found below.
Any help is greatly appreciated.
Thanks!
Sven
Windows 7 32-bit
Frame Module Location Address Path
0 ntkrnlpa.exe KiDeliverApc + 0x160 0x830cad95 C:\Windows\system32\ntkrnlpa.exe
1 ntkrnlpa.exe KeRemoveQueueEx + 0x990 0x83097dc5 C:\Windows\system32\ntkrnlpa.exe
2 ntkrnlpa.exe KeDelayExecutionThread + 0x5cc 0x83096c27 C:\Windows\system32\ntkrnlpa.exe
3 ntkrnlpa.exe KeDelayExecutionThread + 0x2aa 0x83096905 C:\Windows\system32\ntkrnlpa.exe
4 ntkrnlpa.exe IoSetIoCompletionEx + 0xb8f 0x83244b87 C:\Windows\system32\ntkrnlpa.exe
5 ntkrnlpa.exe ZwYieldExecution + 0xb66 0x830578fa C:\Windows\system32\ntkrnlpa.exe
6 ntdll.dll NtDelayExecution + 0xc 0x770b57d4 C:\Windows\SYSTEM32\ntdll.dll
7 KERNELBASE.dll SleepEx + 0x55 0x753c1876 C:\Windows\system32\KERNELBASE.dll
8 KERNELBASE.dll Sleep + 0xf 0x753c1818 C:\Windows\system32\KERNELBASE.dll
9 asio4all.dll asio4all.dll + 0x945d 0x6ed945d C:\Program Files\ASIO4ALL v2\asio4all.dll
10 ntdll.dll RtlNumberGenericTableElements + 0x84 0x770ce094 C:\Windows\SYSTEM32\ntdll.dll
11 ntdll.dll RtlExitUserProcess + 0x74 0x770ce12f C:\Windows\SYSTEM32\ntdll.dll
12 kernel32.dll ExitProcess + 0x15 0x76d7bbf7 C:\Windows\system32\kernel32.dll
13 ScoreCleaner.exe ScoreCleaner.exe + 0x11cb 0x4011cb C:\Users\Sven\Desktop\ScoreCleaner\ScoreCleaner.exe
Windows 7 64-bit
Frame Module Location Address Path
0 ntoskrnl.exe _misaligned_access + 0x1786 0xfffff8000348a9d6 C:\windows\system32\ntoskrnl.exe
1 ntoskrnl.exe KeAcquireSpinLockAtDpcLevel + 0x93d 0xfffff8000348dc3d C:\windows\system32\ntoskrnl.exe
2 ntoskrnl.exe KeDelayExecutionThread + 0x186 0xfffff8000349dd82 C:\windows\system32\ntoskrnl.exe
3 ntoskrnl.exe NtWaitForSingleObject + 0x17a 0xfffff8000378a07a C:\windows\system32\ntoskrnl.exe
4 ntoskrnl.exe KeSynchronizeExecution + 0x3a23 0xfffff80003497253 C:\windows\system32\ntoskrnl.exe
5 wow64cpu.dll TurboDispatchJumpAddressEnd + 0x6c0 0x748c2e09 C:\Windows\System32\wow64cpu.dll
6 wow64cpu.dll TurboDispatchJumpAddressEnd + 0x56b 0x748c2cb4 C:\Windows\System32\wow64cpu.dll
7 wow64.dll Wow64SystemServiceEx + 0x1ce 0x7485d07e C:\Windows\System32\wow64.dll
8 wow64.dll Wow64LdrpInitialize + 0x429 0x7485c549 C:\Windows\System32\wow64.dll
9 ntdll.dll RtlUniform + 0x6e6 0x76f94956 C:\Windows\System32\ntdll.dll
10 ntdll.dll RtlCreateTagHeap + 0xa7 0x76f91a17 C:\Windows\System32\ntdll.dll
11 ntdll.dll LdrInitializeThunk + 0xe 0x76f7c32e C:\Windows\System32\ntdll.dll
12 ntdll.dll ZwDelayExecution + 0x15 0x7714fd71 C:\Windows\SysWOW64\ntdll.dll
13 KernelBase.dll SleepEx + 0x65 0x769d3bc8 C:\Windows\SysWOW64\KernelBase.dll
14 KernelBase.dll Sleep + 0xf 0x769d4498 C:\Windows\SysWOW64\KernelBase.dll
15 asio4all.dll asio4all.dll + 0xa308 0x820a308 C:\Program Files (x86)\ASIO4ALL v2\asio4all.dll
16 ntdll.dll LdrShutdownProcess + 0x141 0x7717d6b2 C:\Windows\SysWOW64\ntdll.dll
17 ntdll.dll RtlExitUserProcess + 0x74 0x7717d554 C:\Windows\SysWOW64\ntdll.dll
18 kernel32.dll ExitProcess + 0x15 0x75057a0d C:\Windows\SysWOW64\kernel32.dll
19 ScoreCleaner.exe ScoreCleaner.exe + 0x11cb 0x4011cb C:\Program Files (x86)\ScoreCleaner\ScoreCleaner.exe
When exiting our music notation program ScoreCleaner, ASIO4ALL seems to have a problem closing down, making one thread of ScoreCleaner stay open in Window Task Manager.
Is it maybe a DLL_PROCESS_DETACH problem with ASIO4ALL. ScoreCleaner is a 32-bit app, and I get the same behaviour with ASIO4ALL 2.10 and 2.11 Beta 1.
The stack I get from Process Monitor when the problem arrives can be found below.
Any help is greatly appreciated.
Thanks!
Sven
Windows 7 32-bit
Frame Module Location Address Path
0 ntkrnlpa.exe KiDeliverApc + 0x160 0x830cad95 C:\Windows\system32\ntkrnlpa.exe
1 ntkrnlpa.exe KeRemoveQueueEx + 0x990 0x83097dc5 C:\Windows\system32\ntkrnlpa.exe
2 ntkrnlpa.exe KeDelayExecutionThread + 0x5cc 0x83096c27 C:\Windows\system32\ntkrnlpa.exe
3 ntkrnlpa.exe KeDelayExecutionThread + 0x2aa 0x83096905 C:\Windows\system32\ntkrnlpa.exe
4 ntkrnlpa.exe IoSetIoCompletionEx + 0xb8f 0x83244b87 C:\Windows\system32\ntkrnlpa.exe
5 ntkrnlpa.exe ZwYieldExecution + 0xb66 0x830578fa C:\Windows\system32\ntkrnlpa.exe
6 ntdll.dll NtDelayExecution + 0xc 0x770b57d4 C:\Windows\SYSTEM32\ntdll.dll
7 KERNELBASE.dll SleepEx + 0x55 0x753c1876 C:\Windows\system32\KERNELBASE.dll
8 KERNELBASE.dll Sleep + 0xf 0x753c1818 C:\Windows\system32\KERNELBASE.dll
9 asio4all.dll asio4all.dll + 0x945d 0x6ed945d C:\Program Files\ASIO4ALL v2\asio4all.dll
10 ntdll.dll RtlNumberGenericTableElements + 0x84 0x770ce094 C:\Windows\SYSTEM32\ntdll.dll
11 ntdll.dll RtlExitUserProcess + 0x74 0x770ce12f C:\Windows\SYSTEM32\ntdll.dll
12 kernel32.dll ExitProcess + 0x15 0x76d7bbf7 C:\Windows\system32\kernel32.dll
13 ScoreCleaner.exe ScoreCleaner.exe + 0x11cb 0x4011cb C:\Users\Sven\Desktop\ScoreCleaner\ScoreCleaner.exe
Windows 7 64-bit
Frame Module Location Address Path
0 ntoskrnl.exe _misaligned_access + 0x1786 0xfffff8000348a9d6 C:\windows\system32\ntoskrnl.exe
1 ntoskrnl.exe KeAcquireSpinLockAtDpcLevel + 0x93d 0xfffff8000348dc3d C:\windows\system32\ntoskrnl.exe
2 ntoskrnl.exe KeDelayExecutionThread + 0x186 0xfffff8000349dd82 C:\windows\system32\ntoskrnl.exe
3 ntoskrnl.exe NtWaitForSingleObject + 0x17a 0xfffff8000378a07a C:\windows\system32\ntoskrnl.exe
4 ntoskrnl.exe KeSynchronizeExecution + 0x3a23 0xfffff80003497253 C:\windows\system32\ntoskrnl.exe
5 wow64cpu.dll TurboDispatchJumpAddressEnd + 0x6c0 0x748c2e09 C:\Windows\System32\wow64cpu.dll
6 wow64cpu.dll TurboDispatchJumpAddressEnd + 0x56b 0x748c2cb4 C:\Windows\System32\wow64cpu.dll
7 wow64.dll Wow64SystemServiceEx + 0x1ce 0x7485d07e C:\Windows\System32\wow64.dll
8 wow64.dll Wow64LdrpInitialize + 0x429 0x7485c549 C:\Windows\System32\wow64.dll
9 ntdll.dll RtlUniform + 0x6e6 0x76f94956 C:\Windows\System32\ntdll.dll
10 ntdll.dll RtlCreateTagHeap + 0xa7 0x76f91a17 C:\Windows\System32\ntdll.dll
11 ntdll.dll LdrInitializeThunk + 0xe 0x76f7c32e C:\Windows\System32\ntdll.dll
12 ntdll.dll ZwDelayExecution + 0x15 0x7714fd71 C:\Windows\SysWOW64\ntdll.dll
13 KernelBase.dll SleepEx + 0x65 0x769d3bc8 C:\Windows\SysWOW64\KernelBase.dll
14 KernelBase.dll Sleep + 0xf 0x769d4498 C:\Windows\SysWOW64\KernelBase.dll
15 asio4all.dll asio4all.dll + 0xa308 0x820a308 C:\Program Files (x86)\ASIO4ALL v2\asio4all.dll
16 ntdll.dll LdrShutdownProcess + 0x141 0x7717d6b2 C:\Windows\SysWOW64\ntdll.dll
17 ntdll.dll RtlExitUserProcess + 0x74 0x7717d554 C:\Windows\SysWOW64\ntdll.dll
18 kernel32.dll ExitProcess + 0x15 0x75057a0d C:\Windows\SysWOW64\kernel32.dll
19 ScoreCleaner.exe ScoreCleaner.exe + 0x11cb 0x4011cb C:\Program Files (x86)\ScoreCleaner\ScoreCleaner.exe