DynamoRIO / DynamoRIO/dynamorio

ASSERT (chrome.exe os.c:1773 threads[i].handle != INVALID_HANDLE_VALUE)

Open
#1,393 2 comments 0 reactions 0 assignees View on GitHub
Bug-Assert Migrated OpSys-Windows Priority-Medium
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 15h
Merged PRs (30d)
31

Description

_From [jannew...@google.com](https://code.google.com/u/112145647090500735738/) on March 14, 2014 10:43:25_

What version of DynamoRIO are you using? 4.2.2585-42 Does the latest build from http://build.chromium.org/p/client.dynamorio/builds/ solve the problem? No. What operating system version are you running on? win7 x64. What application are you running? Chrome.exe from http://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?path=Win/133517/ Is your application 32-bit or 64-bit? 32-bit. How are you running the application under DynamoRIO? drrun -debug -no_hide -max_bb_instr2 128 -c $my_client -- $chrome.exe What happens when you run without any client? No error.

What happens when you run with debug build ("-debug" flag to drrun/drconfig/drinject)? An empty message box is with the title "Error" is shown. What steps will reproduce the problem? 1. 2. 3. What is the expected output? What do you see instead? Is this an application crash, a DynamoRIO crash, a DynamoRIO assert, or a hang (see https://code.google.com/p/dynamorio/wiki/BugReporting and set the title appropriately)? It's a DR assert. Please provide any additional information below. Here's the stack trace after attaching to the process:
Note that the chrome instance is running with low privilege token. Maybe this is related to the bug.

0:000> ~*kb

. 0 Id: dcc.128c Suspend: 1 Teb: 7efdd000 Unfrozen
ChildEBP RetAddr Args to Child
001aefc0 5f45198e 50000018 00000004 00000003 ntdll!ZwRaiseHardError+0x12
001af010 5f4199fd 5f5ac878 5f591640 5f5ac878 dynamorio!nt_messagebox+0xfe [e:\b\build\slave\win-dr-package\dynamorio\core\win32\ntdll.c @ 3676]
001af038 5f279804 001af04c 00000002 00000000 dynamorio!debugbox+0x4d [e:\b\build\slave\win-dr-package\dynamorio\core\win32\os.c @ 4635]
001af854 5f279d03 00000004 00000000 00000000 dynamorio!notify+0x1e4 [e:\b\build\slave\win-dr-package\dynamorio\core\utils.c @ 1950]
001af8e8 5f2749f4 1b4c1840 00000008 00000000 dynamorio!report_dynamorio_problem+0x4a3 [e:\b\build\slave\win-dr-package\dynamorio\core\utils.c @ 2209]
001afa20 5f41301a 5f539010 000006ed 5f53ae58 dynamorio!internal_error+0x124 [e:\b\build\slave\win-dr-package\dynamorio\core\utils.c @ 187]
001afa58 5f412ab7 001afa80 77361222 001afcac dynamorio!os_list_threads+0x22a [e:\b\build\slave\win-dr-package\dynamorio\core\win32\os.c @ 1773]
001afa88 5f1c7096 1b4c1840 001afad4 00000000 dynamorio!os_take_over_all_unknown_threads+0x37 [e:\b\build\slave\win-dr-package\dynamorio\core\win32\os.c @ 2188]
001afaa0 5f3dd63c 1b4c1840 001afcac 00000000 dynamorio!dynamorio_take_over_threads+0x16 [e:\b\build\slave\win-dr-package\dynamorio\core\dynamo.c @ 2622]
001afb04 5f48cdf8 001afb10 00000000 00000000 dynamorio!auto_setup+0x14c [e:\b\build\slave\win-dr-package\dynamorio\core\x86\x86_code.c @ 165]
00000000 00000000 00000000 00000000 00000000 dynamorio!dynamo_auto_start+0x8 [E:\b\build\slave\win-dr-package\build\build_debug-32\core\x86.asm_core.s @ 1031]

1 Id: dcc.be4 Suspend: 1 Teb: 7efda000 Unfrozen
ChildEBP RetAddr Args to Child
00c1f638 5f451a74 000000d0 00000000 00c1f66c ntdll!ZwWaitForSingleObject+0x15
00c1f650 5f41f045 000000d0 00c1f66c 5f59d0b8 dynamorio!nt_wait_event_with_timeout+0x14 [e:\b\build\slave\win-dr-package\dynamorio\core\win32\ntdll.c @ 3735]
00c1f67c 5f41ee2a 000000d0 5f59d000 00000000 dynamorio!os_wait_event+0x185 [e:\b\build\slave\win-dr-package\dynamorio\core\win32\os.c @ 7893]
00c1f69c 5f276c8a 5f59d000 00000000 00000000 dynamorio!mutex_wait_contended_lock+0x7a [e:\b\build\slave\win-dr-package\dynamorio\core\win32\os.c @ 7985]
00c1f6b4 5f1c547b 5f59d0b8 00000000 00000000 dynamorio!mutex_lock+0xea [e:\b\build\slave\win-dr-package\dynamorio\core\utils.c @ 886]
00c1f720 5f442ab5 00000000 00c1f818 00000000 dynamorio!dynamo_thread_init+0xeb [e:\b\build\slave\win-dr-package\dynamorio\core\dynamo.c @ 2024]
00c1f960 5f44268e 00c1fae8 00000000 00000000 dynamorio!intercept_new_thread+0x135 [e:\b\build\slave\win-dr-package\dynamorio\core\win32\callback.c @ 2942]
00c1f97c 5f5928a6 00c1f988 00000000 5f592903 dynamorio!intercept_ldr_init+0x7e [e:\b\build\slave\win-dr-package\dynamorio\core\win32\callback.c @ 3192]
00000000 00000000 00000000 00000000 00000000 dynamorio!interception_code_array+0x8a6

_Original issue: http://code.google.com/p/dynamorio/issues/detail?id=1393_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.