DynamoRIO / DynamoRIO/dynamorio
HANG (chromium unit_tests)
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 629
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 31
Description
_From [bruen...@google.com](https://code.google.com/u/109494838902877177630/) on May 18, 2013 11:37:32_
xref issue #1135 http://build.chromium.org/p/client.drmemory/builders/linux-cr/builds/2206/steps/unit_tests/logs/stdio [----------] 3 tests from CpuInfoProviderTest
[ RUN ] CpuInfoProviderTest.QueryCpuInfo
[ OK ] CpuInfoProviderTest.QueryCpuInfo (4 ms)
[ RUN ] CpuInfoProviderTest.DoOnlyOneProcessorCpuSampling
command timed out: 1200 seconds without output, attempting to kill
process killed by signal 9
program finished with exit code -1
elapsedTime=1249.050490 http://build.chromium.org/p/client.drmemory/builders/linux-cr/builds/2198/steps/unit_tests/logs/stdio [----------] 3 tests from CpuInfoProviderTest
[ RUN ] CpuInfoProviderTest.QueryCpuInfo
[ OK ] CpuInfoProviderTest.QueryCpuInfo (5 ms)
[ RUN ] CpuInfoProviderTest.DoOnlyOneProcessorCpuSampling
command timed out: 1200 seconds without output, attempting to kill
process killed by signal 9
program finished with exit code -1
elapsedTime=1250.857305
**\* TODO repro locally
on my 1st run of out/Release/unit_tests (no filter) under release DR, it
does indeed sit here:
[ RUN ] CpuInfoProviderTest.DoOnlyOneProcessorCpuSampling
running CpuInfoProviderTest.\* in isolation natively or under DR: runs fine,
and quickly.
(gdb) p *heapmgt
$2 = {
vmheap = {
start_addr = 0x541f4000 "",
end_addr = 0x5c1f4000
alloc_start = 0x0,
alloc_size = 134217728,
num_blocks = 8192,
lock = {
lock_requests = -1,
contended_event = 0x0
},
num_free_blocks = 5700,
> grep libdy /proc/10394/maps
71000000-7114c000 r-xp 00000000 fd:09 2494503 /work/dr/git/exports/lib64/release/libdynamorio.so.4.0
7114c000-7134b000 ---p 0014c000 fd:09 2494503 /work/dr/git/exports/lib64/release/libdynamorio.so.4.0
7134b000-7137e000 rw-p 0014b000 fd:09 2494503 /work/dr/git/exports/lib64/release/libdynamorio.so.4.0
(gdb) thread apply all bt
Thread 8 (Thread 0x7fade6d6e700 (LWP 10395)):
#0 0x000000005436d021 in ?? ()
#1 0x00007faded275d58 in ?? ()
#2 0x00000000036eb47d in v8::internal::LinuxSemaphore::Wait() ()
#3 0x0000000003650d10 in v8::internal::SweeperThread::Run() ()
#4 0x00000000036eb5c5 in v8::internal::ThreadEntry(void*) ()
#5 0x00000032ee207d14 in start_thread () from /lib64/libpthread.so.0
#6 0x00000032ed6f168d in clone () from /lib64/libc.so.6
Thread 7 (Thread 0x7fade6d5d700 (LWP 10396)):
#0 0x000000005433d021 in ?? ()
#1 0x00007faded2754e8 in ?? ()
#2 0x00000000036eb47d in v8::internal::LinuxSemaphore::Wait() ()
#3 0x0000000003650d10 in v8::internal::SweeperThread::Run() ()
#4 0x00000000036eb5c5 in v8::internal::ThreadEntry(void*) ()
#5 0x00000032ee207d14 in start_thread () from /lib64/libpthread.so.0
#6 0x00000032ed6f168d in clone () from /lib64/libc.so.6
Thread 6 (Thread 0x7fade6d4c700 (LWP 10397)):
#0 0x000000005435d03f in ?? ()
#1 0x00007faded275878 in ?? ()
#2 0x00000000036eb47d in v8::internal::LinuxSemaphore::Wait() ()
#3 0x0000000003650d10 in v8::internal::SweeperThread::Run() ()
#4 0x00000000036eb5c5 in v8::internal::ThreadEntry(void*) ()
#5 0x00000032ee207d14 in start_thread () from /lib64/libpthread.so.0
#6 0x00000032ed6f168d in clone () from /lib64/libc.so.6
Thread 5 (Thread 0x7fade6d3b700 (LWP 10398)):
#0 0x000000005434d021 in ?? ()
#1 0x00007faded275218 in ?? ()
#2 0x00000000036eb47d in v8::internal::LinuxSemaphore::Wait() ()
#3 0x0000000003650d10 in v8::internal::SweeperThread::Run() ()
#4 0x00000000036eb5c5 in v8::internal::ThreadEntry(void*) ()
#5 0x00000032ee207d14 in start_thread () from /lib64/libpthread.so.0
#6 0x00000032ed6f168d in clone () from /lib64/libc.so.6
Thread 4 (Thread 0x7fade49e5700 (LWP 10413)):
#0 0x000000005438d06a in ?? ()
#1 0x0000000000000000 in ?? ()
Thread 3 (Thread 0x7fade60ff700 (LWP 10529)):
#0 0x000000005439d072 in ?? ()
#1 0x0000000000000000 in ?? ()
Thread 2 (Thread 0x7fade41e4700 (LWP 16164)):
#0 0x0000000054521216 in ?? ()
#1 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7faded51c9c0 (LWP 10394)):
#0 0x0000000054649710 in ?? ()
#1 0x00007faded1fabb0 in ?? ()
#2 0x0000000000000001 in ?? ()
#3 0x0000000000000005 in ?? ()
---Type to continue, or q to quit---
#4 0x0000054200c6f5a0 in ?? ()
#5 0x0000000000000001 in ?? ()
#6 0x00000032efa47af4 in ?? () from /lib64/libglib-2.0.so.0
#7 0x00000032efa47c14 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#8 0x00000000039be62f in base::MessagePumpGlib::RunWithDispatcher(base::MessagePump::Delegate_, base::MessagePumpDispatcher_) ()
#9 0x000000000397a811 in base::MessageLoop::RunInternal() ()
#10 0x00000000039933f8 in base::RunLoop::Run() ()
#11 0x00000000043bc988 in content::RunThisRunLoop(base::RunLoop*) ()
#12 0x00000000043bc9a4 in content::RunMessageLoop() ()
#13 0x000000000087706a in extensions::CpuInfoProviderTest_DoOnlyOneProcessorCpuSampling_Test::TestBody() ()
#14 0x0000000002d39dba in testing::Test::Run() ()
#15 0x0000000002d39e90 in testing::TestInfo::Run() ()
#16 0x0000000002d39fcd in testing::TestCase::Run() ()
#17 0x0000000002d3a24d in testing::internal::UnitTestImpl::RunAllTests() ()
#18 0x0000000002d396ce in testing::UnitTest::Run() ()
#19 0x0000000004e15b9b in base:: TestSuite ::Run() ()
#20 0x00000000043d66ba in main ()
nothing obviously wrong: sitting in gtk+ main event loop (g_main_context_iteration)
_Original issue: http://code.google.com/p/dynamorio/issues/detail?id=1162_
Contributor guide
Assessment
This issue has not been assessed yet.