New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
APP CRASH and HANG (ipc_tests IPCChannelTest.ChannelTest on xp32) #699
Comments
From bruen...@google.com on November 29, 2011 09:03:06 works fine with -no_follow_children |
From bruen...@google.com on November 29, 2011 11:51:37 also works with -dr_ops "-no_early_inject" fails even with -dr_ops "-no_private_peb -no_private_loader -stderr_mask 15" -no_replace_libc -no_replace_realloc -no_repstr_to_loop -no_use_symcache -perturb_only works with plain DR and bbcount client curiouser and curiouser. something happens while loading app's kernel32.dll that causes it to freak out and it aborts. |
From bruen...@google.com on November 29, 2011 13:52:56 it looks like any child process on xp32 is going to die very early under drmem. this seems to come from the private copy of kernel32.dll being loaded before the app's copy. may have implications for earliest injection: though other platforms seem to handle this just fine. TODO: check 2K: could be a partition point at XP/2003. so this can explain any number of test failures on xp32 base_unittests.exe ProcessUtilTest.SpawnChild seems to work fine. ***** TODO add crtprcs test to drmem suite |
From timurrrr@google.com on November 30, 2011 01:26:19
|
From timurrrr@google.com on December 02, 2011 00:41:36 temporary work-around commited in r644 |
From bruen...@google.com on July 09, 2012 16:14:40 ** TODO now this happens on vista+ wow64 the procterm test started failing after DR r1427 made from-parent injection drmemory-dbg-32: 43 tests passed, **** 2 tests failed, of which 1 were flaky: **** after adding a timeout (!): (gdb) p /x -1073741800 running w/ drmem verbosity: drmem takes over before kernel32.dll is loaded. its load hits: mmap file 0x00b70000-0x00c80000 module load event: "drmemorylib.dll" 0x73800000-0x73ca6000 modid: 3 D:\derek\drmemory\git\build_x86_dbg/bin/debug/drmemorylib.dll module load event: "KERNEL32.dll" 0x00b70000-0x00c80000 modid: 5 C:\Windows\SysWOW64\kernel32.dll gets unmapped: 0 ntdll.dll!LdrpFindOrMapDll+0x4c30 (0x77190d3d <ntdll.dll+0x40d3d>) modid:01 fp=0x00b6f36c parent=0x00b6f4ec ntdll.dll!LdrpLoadDll+0x1aa (0x7718c3a9 <ntdll.dll+0x3c3a9>) modid:02 fp=0x00b6f4ec parent=0x00b6f524 ntdll.dll!LdrLoadDll+0x7a (0x7718c4d5 <ntdll.dll+0x3c4d5>) modid:03 fp=0x00b6f524 parent=0x00b6f6b0 ntdll.dll!LdrpInitializeProcess+0xfffff6a3 (0x77196625 <ntdll.dll+0x46625>) modid:04 fp=0x00b6f6b0 parent=0x00b6f700 ntdll.dll!_LdrpInitialize+0xb4f8 (0x771952d6 <ntdll.dll+0x452d6>) modid:05 fp=0x00b6f700 parent=0x00b6f710 ntdll.dll!LdrInitializeThunk+0xf (0x77189e79 <ntdll.dll+0x39e79>) modid:06 fp=0x00b6f710 parent=0x00000000 arg 0 = 0xffffffff% dumpbin /headers c:/windows/syswow64/kernel32.dll | grep 'image base' DR dll base = 0x62820000 so doesn't seem to be a conflict in address space, but probably a csrss or |
From bruen...@google.com on November 29, 2011 12:01:49
ipc_tests IPCChannelTest.ChannelTest on xp32 only (works on xp64 and win7) has its child process crash and the parent then hangs.
works fine under plain DR.
crashes under -leaks_only -no_count_leaks as well as full drmem.
crash may be related to int 0x2d KiDebugService: xref PR 550752. investigating.
Original issue: http://code.google.com/p/drmemory/issues/detail?id=699
The text was updated successfully, but these errors were encountered: