Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Foobar2000 crashes when wake from standby "DirectSound deadlock&a (Read 1831 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Foobar2000 crashes when wake from standby "DirectSound deadlock&a

Hi - I am having the following error that I wanted to report when using a Lenovo Thinkpad T61. When the computer wakes from a longer period of standby and Foobar2000 was playing a song before standby - what happens is that the sound plays for about 1 second and then Foobar2000 crashes with the error code "playback_process entry=>DirectSound deadlock". If anyone knows how to fix would be great. Thanks.

Complete crash report below:
Code: [Select]
Illegal operation:
Code: AA67913Ch, flags: 00000001h, address: 7C812AFBh
Bug check

Call path:
playback_process entry=>DirectSound deadlock

Code bytes (7C812AFBh):
7C812ABBh:  8B 45 0C 56 8B 75 14 83 E0 01 85 F6 89 45 B4 C7
7C812ACBh:  45 BC A9 2A 81 7C 0F 84 99 00 00 00 8B 4D 10 83
7C812ADBh:  F9 0F 0F 87 45 1E 03 00 85 C9 89 4D C0 74 07 57
7C812AEBh:  8D 7D C4 F3 A5 5F 8D 45 B0 50 FF 15 10 15 80 7C
7C812AFBh:  5E C9 C2 10 00 85 FF 0F 8E 36 93 FF FF 8B 55 FC
7C812B0Bh:  89 55 0C 0F B7 16 8B 7D F8 8A 14 3A 88 11 8B 78
7C812B1Bh:  0C 0F B6 D2 66 8B 14 57 66 3B 16 0F 85 DA 8B 03
7C812B2Bh:  00 8B 50 08 66 8B 5A 04 38 19 0F 84 D8 8B 03 00

Stack (01CFF3A4h):
01CFF384h:  00F60000 7E41882A 7E42927B 00000000
01CFF394h:  00154788 005707D2 0001040B 00000007
01CFF3A4h:  01CFF454 AA67913C 00000001 00000000
01CFF3B4h:  7C812AFB 00000000 7C80262A 01CFF3D4
01CFF3C4h:  7C802600 00E5A898 01CFF454 00E59620
01CFF3D4h:  00000014 00000001 00000000 00000000
01CFF3E4h:  00000010 DC3CBA00 FFFFFFFF 7FFD6000
01CFF3F4h:  7FFDA000 01CFF434 10002704 AA67913C
01CFF404h:  00000001 00000000 00000000 00E5A898
01CFF414h:  01CFF454 00E59620 01CFF410 01CFEFD0
01CFF424h:  01CFF458 100185A8 1001E730 00000000
01CFF434h:  01CFF444 004C4FB8 00000168 00000016
01CFF444h:  01CFF464 004C3FC5 00E59620 00000004
01CFF454h:  005718E8 01CFFEBC 0051C278 FFFFFFFF
01CFF464h:  01CFF4A4 004C5872 00000002 00E59640
01CFF474h:  00E59620 004C519F 012B0480 7C9010E0
01CFF484h:  012B0478 0047D7AC 00000002 01CFF4B8
01CFF494h:  00000000 004F8733 000004FF 012B01C0
01CFF4A4h:  01CFF4C0 0047ADD3 01CFF4BF 012B01C0
01CFF4B4h:  7C9010E0 7C901000 012B0478 01CFFEC8

Registers:
EAX: 01CFF3A8, EBX: 00E59620, ECX: 005429F8, EDX: 00000000
ESI: 00000000, EDI: 00E5A898, EBP: 01CFF3F8, ESP: 01CFF3A4

Crash location:
Module: kernel32
Offset: 12AFBh
Symbol: "RaiseException" (+52h)

Loaded modules:
foobar2000   loaded at 00400000h - 005BA000h
ntdll loaded at 7C900000h - 7C9B2000h
kernel32 loaded at 7C800000h - 7C8F6000h
COMCTL32 loaded at 773D0000h - 774D3000h
msvcrt   loaded at 77C10000h - 77C68000h
ADVAPI32 loaded at 77DD0000h - 77E6B000h
RPCRT4   loaded at 77E70000h - 77F03000h
Secur32   loaded at 77FE0000h - 77FF1000h
GDI32 loaded at 77F10000h - 77F59000h
USER32   loaded at 7E410000h - 7E4A1000h
SHLWAPI   loaded at 77F60000h - 77FD6000h
DSOUND   loaded at 73F10000h - 73F6C000h
ole32 loaded at 774E0000h - 7761E000h
VERSION   loaded at 77C00000h - 77C08000h
WINMM loaded at 76B40000h - 76B6D000h
UxTheme   loaded at 5AD70000h - 5ADA8000h
SHELL32   loaded at 7C9C0000h - 7D1D8000h
zlib1 loaded at 62E80000h - 62E9E000h
shared   loaded at 10000000h - 1002B000h
imagehlp loaded at 76C90000h - 76CB8000h
dbghelp   loaded at 59A60000h - 59B01000h
COMDLG32 loaded at 763B0000h - 763F9000h
gdiplus   loaded at 4EC50000h - 4EDFB000h
CRYPT32   loaded at 77A80000h - 77B15000h
MSASN1   loaded at 77B20000h - 77B32000h
WINHTTP   loaded at 4D4F0000h - 4D549000h
foo_ui_std   loaded at 00E60000h - 00F45000h
MSIMG32   loaded at 76380000h - 76385000h
foo_converter loaded at 00F70000h - 00FED000h
foo_cdda loaded at 01010000h - 0105F000h
foo_input_std loaded at 01080000h - 01214000h
foo_dsp_std   loaded at 01240000h - 01289000h
CLBCATQ   loaded at 76FD0000h - 7704F000h
COMRes   loaded at 77050000h - 77115000h
OLEAUT32 loaded at 77120000h - 771AB000h
xpsp2res loaded at 01510000h - 017D5000h
WINTRUST loaded at 76C30000h - 76C5E000h
wdmaud   loaded at 72D20000h - 72D29000h
msacm32   loaded at 72D10000h - 72D18000h
MSACM32   loaded at 77BE0000h - 77BF5000h
midimap   loaded at 77BD0000h - 77BD7000h
KsUser   loaded at 73EE0000h - 73EE4000h

Stack dump analysis:
Address: 7C812AFBh (kernel32+12AFBh), symbol: "RaiseException" (+52h)
Address: 7C80262Ah (kernel32+262Ah), symbol: "WaitForSingleObjectEx" (+DAh)
Address: 7C802600h (kernel32+2600h), symbol: "WaitForSingleObjectEx" (+B0h)
Address: 10002704h (shared+2704h), symbol: "uBugCheck" (+20h)
Address: 100185A8h (shared+185A8h)
Address: 1001E730h (shared+1E730h)
Address: 004C4FB8h (foobar2000+C4FB8h)
Address: 004C3FC5h (foobar2000+C3FC5h)
Address: 005718E8h (foobar2000+1718E8h)
Address: 0051C278h (foobar2000+11C278h)
Address: 004C5872h (foobar2000+C5872h)
Address: 004C519Fh (foobar2000+C519Fh)
Address: 7C9010E0h (ntdll+10E0h), symbol: "RtlLeaveCriticalSection" (+0h)
Address: 0047D7ACh (foobar2000+7D7ACh)
Address: 004F8733h (foobar2000+F8733h)
Address: 0047ADD3h (foobar2000+7ADD3h)
Address: 7C9010E0h (ntdll+10E0h), symbol: "RtlLeaveCriticalSection" (+0h)
Address: 7C901000h (ntdll+1000h), symbol: "RtlEnterCriticalSection" (+0h)
Address: 0047C42Ch (foobar2000+7C42Ch)
Address: 7C9142BBh (ntdll+142BBh), symbol: "RtlGetLongestNtPathLength" (+7Ah)
Address: 7C912BB8h (ntdll+12BB8h), symbol: "LdrLockLoaderLock" (+A1h)
Address: 7C912C29h (ntdll+12C29h), symbol: "LdrUnlockLoaderLock" (+58h)
Address: 7C912C30h (ntdll+12C30h), symbol: "LdrUnlockLoaderLock" (+5Fh)
Address: 7C9163D2h (ntdll+163D2h), symbol: "LdrGetDllHandleEx" (+A7h)
Address: 7C90E920h (ntdll+E920h), symbol: "strchr" (+113h)
Address: 7C912C38h (ntdll+12C38h), symbol: "LdrUnlockLoaderLock" (+67h)
Address: 7C912C30h (ntdll+12C30h), symbol: "LdrUnlockLoaderLock" (+5Fh)
Address: 7C91657Eh (ntdll+1657Eh), symbol: "LdrGetDllHandleEx" (+253h)
Address: 7C916546h (ntdll+16546h), symbol: "LdrGetDllHandleEx" (+21Bh)
Address: 7C97ECE0h (ntdll+7ECE0h)
Address: 7C90E920h (ntdll+E920h), symbol: "strchr" (+113h)
Address: 7C916458h (ntdll+16458h), symbol: "LdrGetDllHandleEx" (+12Dh)
Address: 7C916546h (ntdll+16546h), symbol: "LdrGetDllHandleEx" (+21Bh)
Address: 7C916322h (ntdll+16322h), symbol: "LdrGetDllHandle" (+18h)
Address: 7C80E534h (kernel32+E534h), symbol: "GetModuleHandleW" (+57h)
Address: 7C80E544h (kernel32+E544h), symbol: "GetModuleHandleW" (+67h)
Address: 012748A8h (foo_dsp_std+348A8h)
Address: 7C800000h (kernel32+0h)
Address: 7C839AA8h (kernel32+39AA8h), symbol: "ValidateLocale" (+2B0h)
Address: 7C80E548h (kernel32+E548h), symbol: "GetModuleHandleW" (+6Bh)
Address: 7C80E544h (kernel32+E544h), symbol: "GetModuleHandleW" (+67h)
Address: 7C80E64Bh (kernel32+E64Bh), symbol: "GetModuleHandleW" (+16Eh)
Address: 7C80E6CBh (kernel32+E6CBh), symbol: "GetModuleHandleW" (+1EEh)
Address: 01240000h (foo_dsp_std+0h)
Address: 012748A8h (foo_dsp_std+348A8h)
Address: 7C800000h (kernel32+0h)
Address: 7C80B6D4h (kernel32+B6D4h), symbol: "GetModuleFileNameA" (+165h)
Address: 7C80B6E9h (kernel32+B6E9h), symbol: "GetModuleFileNameA" (+17Ah)
Address: 7C800000h (kernel32+0h)
Address: 00546C00h (foobar2000+146C00h)
Address: 00546C00h (foobar2000+146C00h)
Address: 00546C00h (foobar2000+146C00h)
Address: 0053E0BCh (foobar2000+13E0BCh)
Address: 775019F3h (ole32+219F3h), symbol: "CoInitializeEx" (+558h)
Address: 00522D55h (foobar2000+122D55h)
Address: 0047BE54h (foobar2000+7BE54h)
Address: 7E4196A8h (USER32+96A8h), symbol: "MsgWaitForMultipleObjects" (+1Fh)
Address: 00522D6Fh (foobar2000+122D6Fh)
Address: 0047BE0Ch (foobar2000+7BE0Ch)
Address: 7C90E473h (ntdll+E473h), symbol: "KiUserCallbackDispatcher" (+13h)
Address: 7C90E473h (ntdll+E473h), symbol: "KiUserCallbackDispatcher" (+13h)
Address: 0047BD7Dh (foobar2000+7BD7Dh)
Address: 00522D7Eh (foobar2000+122D7Eh)
Address: 0047BD55h (foobar2000+7BD55h)
Address: 0051516Dh (foobar2000+11516Dh)
Address: 005047ABh (foobar2000+1047ABh)
Address: 7C90E473h (ntdll+E473h), symbol: "KiUserCallbackDispatcher" (+13h)
Address: 00508E8Ah (foobar2000+108E8Ah)
Address: 005079F0h (foobar2000+1079F0h)
Address: 00504835h (foobar2000+104835h)
Address: 7C80B729h (kernel32+B729h), symbol: "GetModuleFileNameA" (+1BAh)
Address: 7C90E473h (ntdll+E473h), symbol: "KiUserCallbackDispatcher" (+13h)
Address: 7C839AA8h (kernel32+39AA8h), symbol: "ValidateLocale" (+2B0h)
Address: 7C80B730h (kernel32+B730h), symbol: "GetModuleFileNameA" (+1C1h)
Address: 005047D1h (foobar2000+1047D1h)
Address: 01080142h (foo_input_std+142h)
Address: 011D6378h (foo_input_std+156378h)
Address: 011DB3E0h (foo_input_std+15B3E0h)

Environment:
App: foobar2000 v1.1.17
UI: Default User Interface 0.9.5

Components:
Core (2012-11-16 10:38:38 UTC)
foobar2000 core 1.1.17
foo_cdda.dll (2012-11-16 10:36:52 UTC)
CD Audio Decoder 3.0
foo_converter.dll (2012-11-16 10:36:28 UTC)
Converter 1.5
foo_dsp_std.dll (2012-11-16 10:37:10 UTC)
Standard DSP Array 1.0
foo_input_std.dll (2012-11-16 10:37:14 UTC)
Standard Input Array 1.0
foo_ui_std.dll (2012-11-16 10:36:52 UTC)
Default User Interface 0.9.5

Recent events:
Opening track for playback: "D:\Music\Singles\Andain - DJ Tiesto - Nyana - 03 - Andain - Beautiful Things (Gabriel & Dresden Remix).mp3"
Opening track for playback: "D:\Music\Singles\Andain - DJ Tiesto - Nyana - 03 - Andain - Beautiful Things (Gabriel & Dresden Remix).mp3"
Opening track for playback: "D:\Music\Singles\Andain - DJ Tiesto - Nyana - 03 - Andain - Beautiful Things (Gabriel & Dresden Remix).mp3"
Opening track for playback: "D:\Music\Singles\Andain - DJ Tiesto - Nyana - 03 - Andain - Beautiful Things (Gabriel & Dresden Remix).mp3"
Opening track for playback: "D:\Music\Singles\Andain - DJ Tiesto - Nyana - 03 - Andain - Beautiful Things (Gabriel & Dresden Remix).mp3"
Opening track for playback: "D:\Music\Singles\Andain - DJ Tiesto - Nyana - 03 - Andain - Beautiful Things (Gabriel & Dresden Remix).mp3"
Opening track for playback: "D:\Music\Singles\Andain - DJ Tiesto - Nyana - 03 - Andain - Beautiful Things (Gabriel & Dresden Remix).mp3"
Opening track for playback: "D:\Music\Singles\Andain - DJ Tiesto - Nyana - 03 - Andain - Beautiful Things (Gabriel & Dresden Remix).mp3"
Opening track for playback: "D:\Music\Singles\Andain - DJ Tiesto - Nyana - 03 - Andain - Beautiful Things (Gabriel & Dresden Remix).mp3"
Opening track for playback: "D:\Music\Singles\Andain - DJ Tiesto - Nyana - 03 - Andain - Beautiful Things (Gabriel & Dresden Remix).mp3"


Machine specifications:
OS: Windows 5.1.2600 Service Pack 3 x86
CPU: Intel® Core™2 Duo CPU T8100  @ 2.10GHz, features: MMX SSE SSE2 SSE3 SSE4.1
Audio: SoundMAX HD Audio; HD Audio digital out

Foobar2000 crashes when wake from standby "DirectSound deadlock&a

Reply #1
Thank you for the report.

I've been trying to identify the reason for DirectSound related deadlock reports for a while, without much success as there is no information about machine standby cycles in the autosubmitted crash reports; none of the people getting this have posted any additional information before.

I'm currently preparing foobar2000 1.1.18 release which corrects this issue.
Microsoft Windows: We can't script here, this is bat country.

 

Foobar2000 crashes when wake from standby "DirectSound deadlock&a

Reply #2
Wow, nicely done. Quick.
God Bless U.S.A