DynamoRIO / drmemory

Memory Debugger for Windows, Linux, Mac, and Android
Other
2.43k stars 261 forks source link

HANG in media_unittests WinAudioTest.SyncSocketBasic #978

Open derekbruening opened 9 years ago

derekbruening commented 9 years ago

From bruen...@google.com on August 21, 2012 17:35:22

media_unittests under drmem hangs right after reporting the invalid heap arg it's not DRi#875 -no_check_delete_mismatch => still hangs natively => hangs! so I was going to file a chromium issue, except this test works natively (and under DR) for Qin so perhaps there is some drmem issue here too.

I will exclude it from the bots for now.

no DR or DrMem on any callstack. no cpu usage.

0:009> ~*kn

0 Id: 2cdc.386c Suspend: 1 Teb: 7efdd000 Unfrozen

ChildEBP RetAddr

WARNING: Frame IP not in any known module. Following frames may be wrong. 00 0029f730 77b1d9b6 0x1e5c1f47 01 0029f75c 77b1d963 ntdll!TppCleanupGroupMemberWait+0x54 02 0029f774 77b23354 ntdll!TppWorkWait+0x85 03 0029f7e0 77b220c9 ntdll!TpWaitForWait+0xea 04 0029f824 759fa564 ntdll!RtlDeregisterWaitEx+0xd0 *\ WARNING: Unable to verify checksum for D:\derek\chromium\src\build\Debug\media.dll 05 0029f834 5b89868e KERNELBASE!UnregisterWaitEx+0x17 06 0029f850 015ceec2 media!media::PCMWaveOutAudioOutputStream::Stop+0x3e [d:\derek\chromium\src\media\audio\win\waveout_output_win.cc @ 264] 07 0029fa2c 01650de2 media_unittests!media::WinAudioTest_SyncSocketBasic_Test::TestBody+0x5d2 [d:\derek\chromium\src\media\audio\win\audio_output_win_unittest.cc @ 757] 08 0029fa78 016439c7 media_unittests!testing::internal::HandleExceptionsInMethodIfSupportedtesting::Test,void+0x122 [d:\derek\chromium\src\testing\gtest\src\gtest.cc @ 2128] 09 0029faa0 0164418d media_unittests!testing::Test::Run+0x87 [d:\derek\chromium\src\testing\gtest\src\gtest.cc @ 2143] 0a 0029fac8 0164475f media_unittests!testing::TestInfo::Run+0xad [d:\derek\chromium\src\testing\gtest\src\gtest.cc @ 2323] 0b 0029faf4 0164950e media_unittests!testing::TestCase::Run+0xbf [d:\derek\chromium\src\testing\gtest\src\gtest.cc @ 2427] 0c 0029fb34 0165162a media_unittests!testing::internal::UnitTestImpl::RunAllTests+0x25e [d:\derek\chromium\src\testing\gtest\src\gtest.cc @ 4250] 0d 0029fb84 016484e6 media_unittests!testing::internal::HandleExceptionsInMethodIfSupportedtesting::internal::UnitTestImpl,bool+0x12a [d:\derek\chromium\src\testing\gtest\src\gtest.cc @ 2128] 0e 0029fba0 0162ed65 media_unittests!testing::UnitTest::Run+0x96 [d:\derek\chromium\src\testing\gtest\src\gtest.cc @ 3884] 0f 0029fc20 01464dbd media_unittests!base:: TestSuite ::Run+0xc5 [d:\derek\chromium\src\base\test\test_suite.cc @ 199] 10 0029fc50 0166566f media_unittests!main+0x4d [d:\derek\chromium\src\media\base\run_all_unittests.cc @ 25] 11 0029fca0 0166549f media_unittests!__tmainCRTStartup+0x1bf [f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c @ 555] 12 0029fca8 75b2339a media_unittests!mainCRTStartup+0xf [f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c @ 371] 13 0029fcb4 77ae9ef2 kernel32!BaseThreadInitThunk+0xe

1 Id: 2cdc.3594 Suspend: 1 Teb: 7efd7000 Unfrozen

ChildEBP RetAddr

WARNING: Frame IP not in any known module. Following frames may be wrong. 00 0450feac 75b2339a 0x231a1f47 01 0450feb8 77ae9ef2 kernel32!BaseThreadInitThunk+0xe 02 0450fef8 77ae9ec5 ntdll!__RtlUserThreadStart+0x70 03 0450ff10 00000000 ntdll!_RtlUserThreadStart+0x1b

2 Id: 2cdc.3e80 Suspend: 1 Teb: 7efa9000 Unfrozen

ChildEBP RetAddr

WARNING: Frame IP not in any known module. Following frames may be wrong. 00 052dfe34 75b2339a 0x23621f47 01 052dfe40 77ae9ef2 kernel32!BaseThreadInitThunk+0xe 02 052dfe80 77ae9ec5 ntdll!__RtlUserThreadStart+0x70 03 052dfe98 00000000 ntdll!_RtlUserThreadStart+0x1b

3 Id: 2cdc.3538 Suspend: 1 Teb: 7efa3000 Unfrozen

ChildEBP RetAddr

WARNING: Frame IP not in any known module. Following frames may be wrong. 00 0863fb40 75b2339a 0x23811f47 01 0863fb4c 77ae9ef2 kernel32!BaseThreadInitThunk+0xe 02 0863fb8c 77ae9ec5 ntdll!__RtlUserThreadStart+0x70 03 0863fba4 00000000 ntdll!_RtlUserThreadStart+0x1b

4 Id: 2cdc.12a4 Suspend: 1 Teb: 7ef9d000 Unfrozen

ChildEBP RetAddr

WARNING: Frame IP not in any known module. Following frames may be wrong. 00 08c9fbec 77ae8cd8 0x23931f47 *\ WARNING: Unable to verify checksum for D:\derek\chromium\src\build\Debug\base.dll 01 08c9fc14 5b081d31 ntdll!RtlEnterCriticalSection+0x150 02 08c9fc24 5af3f332 base!base::internal::LockImpl::Lock+0x11 [d:\derek\chromium\src\base\synchronization\lock_impl_win.cc @ 29] 03 08c9fc30 5b77c23a base!base::Lock::Acquire+0x12 [d:\derek\chromium\src\base\synchronization\lock.h @ 42] 04 08c9fc3c 5b898ca1 media!base::AutoLock::AutoLock+0x1a [d:\derek\chromium\src\base\synchronization\lock.h @ 101] 05 08c9fd3c 77b21156 media!media::PCMWaveOutAudioOutputStream::BufferCallback+0x161 [d:\derek\chromium\src\media\audio\win\waveout_output_win.cc @ 384] 06 08c9fd7c 77b04931 ntdll!RtlpTpWaitCallback+0x94 07 08c9fda4 77b043e9 ntdll!TppWaitpExecuteCallback+0x11b 08 08c9ff04 75b2339a ntdll!TppWorkerThread+0x572 09 08c9ff10 77ae9ef2 kernel32!BaseThreadInitThunk+0xe 0a 08c9ff50 77ae9ec5 ntdll!__RtlUserThreadStart+0x70 0b 08c9ff68 00000000 ntdll!_RtlUserThreadStart+0x1b

5 Id: 2cdc.29d4 Suspend: 1 Teb: 7ef9a000 Unfrozen

ChildEBP RetAddr

WARNING: Frame IP not in any known module. Following frames may be wrong. 00 0913f7d0 75b23ef7 0x239a1f47 01 0913f818 5af726ea kernel32!ReadFileImplementation+0xf0 02 0913f910 015cf14f base!base::SyncSocket::Receive+0xea [d:\derek\chromium\src\base\sync_socket_win.cc @ 215] 03 0913f928 5b898a38 media_unittests!media::SyncSocketSource::OnMoreData+0x3f [d:\derek\chromium\src\media\audio\win\audio_output_win_unittest.cc @ 665] 04 0913f954 5b898d28 media!media::PCMWaveOutAudioOutputStream::QueueNextPacket+0x58 [d:\derek\chromium\src\media\audio\win\waveout_output_win.cc @ 346] 05 0913fa54 77b21156 media!media::PCMWaveOutAudioOutputStream::BufferCallback+0x1e8 [d:\derek\chromium\src\media\audio\win\waveout_output_win.cc @ 398] 06 0913fa94 77b04931 ntdll!RtlpTpWaitCallback+0x94 07 0913fabc 77b043e9 ntdll!TppWaitpExecuteCallback+0x11b 08 0913fc1c 75b2339a ntdll!TppWorkerThread+0x572 09 0913fc28 77ae9ef2 kernel32!BaseThreadInitThunk+0xe 0a 0913fc68 77ae9ec5 ntdll!__RtlUserThreadStart+0x70 0b 0913fc80 00000000 ntdll!_RtlUserThreadStart+0x1b

6 Id: 2cdc.5e0 Suspend: 1 Teb: 7efda000 Unfrozen

ChildEBP RetAddr

WARNING: Frame IP not in any known module. Following frames may be wrong. 00 08acf7ac 75b21194 0x21851f47 01 08acf7c4 75b21148 kernel32!WaitForSingleObjectExImplementation+0x75 02 08acf7d8 5b0814a4 kernel32!WaitForSingleObject+0x12 03 08acf8c4 5af91a41 base!base::WaitableEvent::Wait+0x44 [d:\derek\chromium\src\base\synchronization\waitable_event_win.cc @ 52] 04 08acf9d0 5af76b43 base!base::MessagePumpDefault::Run+0x1a1 [d:\derek\chromium\src\base\message_pump_default.cc @ 48] 05 08acfabc 5af768f4 base!MessageLoop::RunInternal+0x143 [d:\derek\chromium\src\base\message_loop.cc @ 420] 06 08acfac8 5af5ad92 base!MessageLoop::RunHandler+0x24 [d:\derek\chromium\src\base\message_loop.cc @ 393] 07 08acfad4 5af75dbf base!base::RunLoop::Run+0x22 [d:\derek\chromium\src\base\run_loop.cc @ 46] 08 08acfb0c 5b07586f base!MessageLoop::Run+0x3f [d:\derek\chromium\src\base\message_loop.cc @ 300] 09 08acfb18 5b0759f0 base!base::Thread::Run+0xf [d:\derek\chromium\src\base\threading\thread.cc @ 134] 0a 08acfd14 5b072907 base!base::Thread::ThreadMain+0x110 [d:\derek\chromium\src\base\threading\thread.cc @ 170] 0b 08acfd28 75b2339a base!base::`anonymous namespace'::ThreadFunc+0x47 [d:\derek\chromium\src\base\threading\platform_thread_win.cc @ 60] 0c 08acfd34 77ae9ef2 kernel32!BaseThreadInitThunk+0xe 0d 08acfd74 77ae9ec5 ntdll!__RtlUserThreadStart+0x70 0e 08acfd8c 00000000 ntdll!_RtlUserThreadStart+0x1b

7 Id: 2cdc.2844 Suspend: 1 Teb: 7efaf000 Unfrozen

ChildEBP RetAddr

WARNING: Frame IP not in any known module. Following frames may be wrong. 00 043bf93c 75b21a2c 0x21891f47 01 043bf984 73e35016 kernel32!WaitForMultipleObjectsExImplementation+0xe0 02 043bfac4 73e38119 wdmaud!CWorker::_ThreadProc+0x1b0 03 043bfad8 75b2339a wdmaud!CWorker::_StaticThreadProc+0x2e 04 043bfae4 77ae9ef2 kernel32!BaseThreadInitThunk+0xe 05 043bfb24 77ae9ec5 ntdll!__RtlUserThreadStart+0x70 06 043bfb3c 00000000 ntdll!_RtlUserThreadStart+0x1b

8 Id: 2cdc.be4 Suspend: 1 Teb: 7efac000 Unfrozen

ChildEBP RetAddr

WARNING: Frame IP not in any known module. Following frames may be wrong. 00 08fffcd4 75b21a2c 0x22ff1f47 01 08fffd1c 75eb086a kernel32!WaitForMultipleObjectsExImplementation+0xe0 02 08fffd70 72a82101 USER32!RealMsgWaitForMultipleObjectsEx+0x14d 03 08fffe18 72a827ee MMDevApi!CDeviceEnumerator::PnpNotificationThread+0x2a3 04 08fffe20 75b2339a MMDevApi!CDeviceEnumerator::PnpNotificationThreadWrapper+0xd 05 08fffe2c 77ae9ef2 kernel32!BaseThreadInitThunk+0xe 06 08fffe6c 77ae9ec5 ntdll!__RtlUserThreadStart+0x70 07 08fffe84 00000000 ntdll!_RtlUserThreadStart+0x1b

9 Id: 2cdc.4274 Suspend: 1 Teb: 7efa6000 Unfrozen

ChildEBP RetAddr

WARNING: Frame IP not in any known module. Following frames may be wrong. 00 0931fbf8 ...

Original issue: http://code.google.com/p/drmemory/issues/detail?id=978

derekbruening commented 9 years ago

From zhao...@google.com on August 21, 2012 15:14:00

0:006> ~*kn

0 Id: 273c.780 Suspend: 1 Teb: 7efdd000 Unfrozen

ChildEBP RetAddr

WARNING: Frame IP not in any known module. Following frames may be wrong. 00 0035f530 76fbd9b6 0x1efa2647 01 0035f55c 76fbd963 ntdll!WinSqmAddToStreamEx+0x3c8 02 0035f574 76fc3354 ntdll!WinSqmAddToStreamEx+0x375 03 0035f5e0 76fc20c9 ntdll!TpWaitForWait+0x86 04 0035f624 74f7a564 ntdll!RtlDeregisterWaitEx+0xa9 05 0035f634 016b3186 KERNELBASE!UnregisterWaitEx+0x17 06 0035f654 0147f55a media_unittests!media::PCMWaveOutAudioOutputStream::Stop+0x56 [d:\src\cygwin\home\zhaoqin\workspace\chrome\chromium\src\media\audio\win\waveout_output_win.cc @ 264] 07 0035f7f4 014b13e7 media_unittests!media::WinAudioTest_SyncSocketBasic_Test::TestBody+0x47a [d:\src\cygwin\home\zhaoqin\workspace\chrome\chromium\src\media\audio\win\audio_output_win_unittest.cc @ 756] 08 0035f800 0149d34e media_unittests!testing::internal::HandleExceptionsInMethodIfSupportedtesting::Test,void+0x37 [d:\src\cygwin\home\zhaoqin\workspace\chrome\chromium\src\testing\gtest\src\gtest.cc @ 2126] 09 0035f82c 0149db4d media_unittests!testing::Test::Run+0xae [d:\src\cygwin\home\zhaoqin\workspace\chrome\chromium\src\testing\gtest\src\gtest.cc @ 2143] 0a 0035f858 0149e28f media_unittests!testing::TestInfo::Run+0xdd [d:\src\cygwin\home\zhaoqin\workspace\chrome\chromium\src\testing\gtest\src\gtest.cc @ 2323] 0b 0035f884 014a3934 media_unittests!testing::TestCase::Run+0xef [d:\src\cygwin\home\zhaoqin\workspace\chrome\chromium\src\testing\gtest\src\gtest.cc @ 2427] 0c 0035f8c8 014b18d7 media_unittests!testing::internal::UnitTestImpl::RunAllTests+0x294 [d:\src\cygwin\home\zhaoqin\workspace\chrome\chromium\src\testing\gtest\src\gtest.cc @ 4250] 0d 0035f8d4 014a252c media_unittests!testing::internal::HandleExceptionsInMethodIfSupportedtesting::internal::UnitTestImpl,bool+0x37 [d:\src\cygwin\home\zhaoqin\workspace\chrome\chromium\src\testing\gtest\src\gtest.cc @ 2126] 0e 0035f8f4 014dbf59 media_unittests!testing::UnitTest::Run+0xac [d:\src\cygwin\home\zhaoqin\workspace\chrome\chromium\src\testing\gtest\src\gtest.cc @ 3884] 0f 0035f974 013345a5 media_unittests!base:: TestSuite ::Run+0xa9 [d:\src\cygwin\home\zhaoqin\workspace\chrome\chromium\src\base\test\test_suite.cc @ 242] 10 0035fa74 016c06b7 media_unittests!main+0xd5 [d:\src\cygwin\home\zhaoqin\workspace\chrome\chromium\src\media\base\run_all_unittests.cc @ 33] 11 0035fac0 016c058f media_unittests!__tmainCRTStartup+0x117 [f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c @ 266] 12 0035fac8 7641339a media_unittests!mainCRTStartup+0xf [f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c @ 182] 13 0035fad4 76f89ef2 kernel32!BaseThreadInitThunk+0x12

1 Id: 273c.77c Suspend: 1 Teb: 7efda000 Unfrozen

ChildEBP RetAddr

WARNING: Frame IP not in any known module. Following frames may be wrong. 00 039cfa68 76411194 0x20102647 01 039cfa80 76411148 kernel32!WaitForSingleObjectEx+0x43 02 039cfa94 0151cf87 kernel32!WaitForSingleObject+0x12 03 039cfb58 0154607b media_unittests!base::WaitableEvent::Wait+0x37 [d:\src\cygwin\home\zhaoqin\workspace\chrome\chromium\src\base\synchronization\waitable_event_win.cc @ 52] 04 039cfc38 014f6bd6 media_unittests!base::MessagePumpDefault::Run+0x16b [d:\src\cygwin\home\zhaoqin\workspace\chrome\chromium\src\base\message_pump_default.cc @ 48] 05 039cfcf4 014f69ae media_unittests!MessageLoop::RunInternal+0xf6 [d:\src\cygwin\home\zhaoqin\workspace\chrome\chromium\src\base\message_loop.cc @ 419] 06 039cfd00 01554379 media_unittests!MessageLoop::RunHandler+0x2e [d:\src\cygwin\home\zhaoqin\workspace\chrome\chromium\src\base\message_loop.cc @ 393] 07 039cfd0c 014f61ab media_unittests!base::RunLoop::Run+0x29 [d:\src\cygwin\home\zhaoqin\workspace\chrome\chromium\src\base\run_loop.cc @ 46] 08 039cfd40 017e48f6 media_unittests!MessageLoop::Run+0x2b [d:\src\cygwin\home\zhaoqin\workspace\chrome\chromium\src\base\message_loop.cc @ 300] 09 039cfd4c 017e4a68 media_unittests!base::Thread::Run+0x16 [d:\src\cygwin\home\zhaoqin\workspace\chrome\chromium\src\base\threading\thread.cc @ 134] 0a 039cff34 0150855f media_unittests!base::Thread::ThreadMain+0xe8 [d:\src\cygwin\home\zhaoqin\workspace\chrome\chromium\src\base\threading\thread.cc @ 169] 0b 039cff4c 7641339a media_unittests!base::`anonymous namespace'::ThreadFunc+0x5f [d:\src\cygwin\home\zhaoqin\workspace\chrome\chromium\src\base\threading\platform_thread_win.cc @ 59] 0c 039cff58 76f89ef2 kernel32!BaseThreadInitThunk+0x12 0d 039cff98 76f89ec5 ntdll!RtlInitializeExceptionChain+0x63 0e 039cffb0 00000000 ntdll!RtlInitializeExceptionChain+0x36

2 Id: 273c.2084 Suspend: 1 Teb: 7efd7000 Unfrozen

ChildEBP RetAddr

WARNING: Frame IP not in any known module. Following frames may be wrong. 00 03c3f8fc 7641339a 0x20152647 01 03c3f908 76f89ef2 kernel32!BaseThreadInitThunk+0x12 02 03c3f948 76f89ec5 ntdll!RtlInitializeExceptionChain+0x63 03 03c3f960 00000000 ntdll!RtlInitializeExceptionChain+0x36

3 Id: 273c.1f2c Suspend: 1 Teb: 7efaf000 Unfrozen

ChildEBP RetAddr

WARNING: Frame IP not in any known module. Following frames may be wrong. 00 040ef618 76411a2c 0x201f2647 01 040ef660 6b8d5016 kernel32!WaitForMultipleObjectsEx+0x8e 02 040ef7a0 6b8d8119 wdmaud!wodMessage+0x560 03 040ef7b4 7641339a wdmaud!modMessage+0x20d 04 040ef7c0 76f89ef2 kernel32!BaseThreadInitThunk+0x12 05 040ef800 76f89ec5 ntdll!RtlInitializeExceptionChain+0x63 06 040ef818 00000000 ntdll!RtlInitializeExceptionChain+0x36

4 Id: 273c.e90 Suspend: 1 Teb: 7efac000 Unfrozen

ChildEBP RetAddr

WARNING: Frame IP not in any known module. Following frames may be wrong. 00 05f6fa10 76411a2c 0x20262647 01 05f6fa58 74c0086a kernel32!WaitForMultipleObjectsEx+0x8e 02 05f6faac 6b032101 USER32!PeekMessageW+0x2b0 03 05f6fb54 6b0327ee MMDevAPI!DllCanUnloadNow+0xa40 04 05f6fb5c 7641339a MMDevAPI!DllCanUnloadNow+0x112d 05 05f6fb68 76f89ef2 kernel32!BaseThreadInitThunk+0x12 06 05f6fba8 76f89ec5 ntdll!RtlInitializeExceptionChain+0x63 07 05f6fbc0 00000000 ntdll!RtlInitializeExceptionChain+0x36

5 Id: 273c.2b20 Suspend: 1 Teb: 7efa9000 Unfrozen

ChildEBP RetAddr

WARNING: Frame IP not in any known module. Following frames may be wrong. 00 0630f8b8 7641339a 0x20372647 01 0630f8c4 76f89ef2 kernel32!BaseThreadInitThunk+0x12 02 0630f904 76f89ec5 ntdll!RtlInitializeExceptionChain+0x63 03 0630f91c 00000000 ntdll!RtlInitializeExceptionChain+0x36

6 Id: 273c.18b8 Suspend: 1 Teb: 7efa6000 Unfrozen

ChildEBP RetAddr

WARNING: Frame IP not in any known module. Following frames may be wrong. 00 0654fa9c 76fef896 0x20578ebb 01 0654facc 7641339a ntdll!DbgUiRemoteBreakin+0x3c 02 0654fad8 76f89ef2 kernel32!BaseThreadInitThunk+0x12 03 0654fb18 76f89ec5 ntdll!RtlInitializeExceptionChain+0x63 04 0654fb30 00000000 ntdll!RtlInitializeExceptionChain+0x36

7 Id: 273c.e0c Suspend: 1 Teb: 7efa0000 Unfrozen

ChildEBP RetAddr

WARNING: Frame IP not in any known module. Following frames may be wrong. 00 0686fbc8 76f88cd8 0x20502647 01 0686fbf0 0151dd2b ntdll!RtlIntegerToUnicodeString+0x20b 02 0686fc04 0138eb19 media_unittests!base::internal::LockImpl::Lock+0x1b [d:\src\cygwin\home\zhaoqin\workspace\chrome\chromium\src\base\synchronization\lock_impl_win.cc @ 28] 03 0686fc10 0138eae0 media_unittests!base::Lock::Acquire+0x19 [d:\src\cygwin\home\zhaoqin\workspace\chrome\chromium\src\base\synchronization\lock.h @ 42] 04 0686fc1c 016b36b0 media_unittests!base::AutoLock::AutoLock+0x20 [d:\src\cygwin\home\zhaoqin\workspace\chrome\chromium\src\base\synchronization\lock.h @ 101] 05 0686fd00 76fc1156 media_unittests!media::PCMWaveOutAudioOutputStream::BufferCallback+0x120 [d:\src\cygwin\home\zhaoqin\workspace\chrome\chromium\src\media\audio\win\waveout_output_win.cc @ 385] 06 0686fd40 76fa4931 ntdll!RtlRegisterWait+0x314 07 0686fd68 76fa43e9 ntdll!RtlIsCriticalSectionLockedByThread+0x308 08 0686fec8 7641339a ntdll!TpCallbackIndependent+0x7dc 09 0686fed4 76f89ef2 kernel32!BaseThreadInitThunk+0x12 0a 0686ff14 76f89ec5 ntdll!RtlInitializeExceptionChain+0x63 0b 0686ff2c 00000000 ntdll!RtlInitializeExceptionChain+0x36

8 Id: 273c.18d4 Suspend: 1 Teb: 7ef9d000 Unfrozen

ChildEBP RetAddr

WARNING: Frame IP not in any known module. Following frames may be wrong. 00 0697fb00 76413ef7 0x20552647 01 0697fb48 01527309 kernel32!ReadFile+0x54 02 0697fc20 0147f8b9 media_unittests!base::SyncSocket::Receive+0xb9 [d:\src\cygwin\home\zhaoqin\workspace\chrome\chromium\src\base\sync_socket_win.cc @ 215] 03 0697fc3c 016b34bf media_unittests!media::SyncSocketSource::OnMoreData+0x59 [d:\src\cygwin\home\zhaoqin\workspace\chrome\chromium\src\media\audio\win\audio_output_win_unittest.cc @ 665] 04 0697fc6c 016b3727 media_unittests!media::PCMWaveOutAudioOutputStream::QueueNextPacket+0x6f [d:\src\cygwin\home\zhaoqin\workspace\chrome\chromium\src\media\audio\win\waveout_output_win.cc @ 346] 05 0697fd50 76fc1156 media_unittests!media::PCMWaveOutAudioOutputStream::Buffer...

derekbruening commented 9 years ago

From zhao...@google.com on August 21, 2012 15:14:00

...Callback+0x197 [d:\src\cygwin\home\zhaoqin\workspace\chrome\chromium\src\media\audio\win\waveout_output_win.cc @ 398] 06 0697fd90 76fa4931 ntdll!RtlRegisterWait+0x314 07 0697fdb8 76fa43e9 ntdll!RtlIsCriticalSectionLockedByThread+0x308 08 0697ff18 7641339a ntdll!TpCallbackIndependent+0x7dc 09 0697ff24 76f89ef2 kernel32!BaseThreadInitThunk+0x12 0a 0697ff64 76f89ec5 ntdll!RtlInitializeExceptionChain+0x63 0b 0697ff7c 00000000 ntdll!RtlInitializeExceptionChain+0x36

0:006> !runaway User Mode Time Thread Time 780 0 days 0:00:10.046 1f2c 0 days 0:00:00.811 e90 0 days 0:00:00.780 77c 0 days 0:00:00.265 18d4 0 days 0:00:00.109 e0c 0 days 0:00:00.078 2b20 0 days 0:00:00.046 2084 0 days 0:00:00.015 18b8 0 days 0:00:00.000

derekbruening commented 9 years ago

From bruen...@google.com on August 21, 2012 19:34:24

AudioBusTest.CopyTo is also hanging. possibly related? have not tried to repro locally yet. http://build.chromium.org/p/chromium.memory.fyi/builders/Windows%20Tests%20%28DrMemory%29/builds/5514/steps/memory%20test%3A%20media/logs/stdio [----------] 8 tests from AudioBusTest [ RUN ] AudioBusTest.Create [ OK ] AudioBusTest.Create (31 ms) [ RUN ] AudioBusTest.CreateUsingAudioParameters [ OK ] AudioBusTest.CreateUsingAudioParameters (16 ms) [ RUN ] AudioBusTest.WrapVector [ OK ] AudioBusTest.WrapVector (31 ms) [ RUN ] AudioBusTest.WrapMemory [ OK ] AudioBusTest.WrapMemory (31 ms) [ RUN ] AudioBusTest.CopyTo

command timed out: 1200 seconds without output, killing pid 924 program finished with exit code 1 elapsedTime=1482.336000

derekbruening commented 9 years ago

From zhao...@google.com on August 22, 2012 07:55:10

If logging more, it would pass the test under DrM, which might mean the problem is in app, but easier to be shown in DrM.

derekbruening commented 9 years ago

From bruen...@google.com on August 22, 2012 08:44:40

that jives w/ it hanging natively for me

derekbruening commented 9 years ago

From bruen...@google.com on August 22, 2012 08:45:02

so perhaps should file issue in chromium tracker then