DynamoRIO / DynamoRIO/drmemory
ASSERT (ui_tests) info->heap == INVALID_HANDLE_VALUE (conflicts in Heap for region)
- Dominant language
- C
- Stars
- 2.7k
- Forks
- 290
- PR merge metrics
- No merged PRs in 30d
Description
_From [bruen...@google.com](https://code.google.com/u/109494838902877177630/) on June 29, 2011 11:37:55_
this is -leaks_only running all ui_tests. on the 221st test it hits an assert:
[ RUN ] NewTabUITest.NTPHasThumbnails
:::Dr.Memory::: ASSERT FAILURE (thread 3516): ..\src\common\heap.c:649: info->heap == INVALID_HANDLE_VALUE (conflicts in Heap for region)
04 23529afc 100cd7c4 drmemorylib!drmemory_abort+0x31 [e:\src\drmemory\git\src\common\utils.c @ 110]
05 23529b5c 100bf08e drmemorylib!heap_region_set_heap+0x494 [e:\src\drmemory\git\src\common\heap.c @ 649]
06 23529bc8 100be875 drmemorylib!adjust_alloc_result+0x71e [e:\src\drmemory\git\src\common\alloc.c @ 3452]
07 23529bfc 100bd572 drmemorylib!handle_malloc_post+0x35 [e:\src\drmemory\git\src\common\alloc.c @ 3474]
08 23529eb0 149885e8 drmemorylib!handle_alloc_post+0x1532 [e:\src\drmemory\git\src\common\alloc.c @ 4442]
09 0036e81c 7516402f 0x149885e8
0a 0036ec18 75163bdc kernel32!BasepCopyFileExW+0x7d0
0b 0036ec80 7516832b kernel32!CopyFileExW+0x4a
0c 0036eca0 01009bb8 kernel32!CopyFileW+0x1e
0d 0036effc 01009b20 ui_tests!file_util::CopyRecursiveDirNoCache+0x228 [e:\src\chromium\src\base\test\test_file_util_win.cc @ 161]
```
node_start = 0x17580000 "???"
node_size = 0x301000
pc = 0x17780028 ""
heap = 0x00690000
```
0:000> dt info
Local var @ 0x23529b4c Type _heap_info_t*
0x0d79ef58
+0x000 arena : 1
+0x004 heap : 0x13680000
0:000> dds @@(mc->esp) -10
0036e0cc 75164c3d kernel32!BaseCopyStream+0x1dd0
0036e0d0 00690000
0036e0d4 00000000
0036e0d8 00100010
kernel32!BaseCopyStream+0x1dca:
75164c37 ff15e4051475 call dword ptr [kernel32!_imp__RtlAllocateHeap (751405e4)]
0:000> dd 13680000
13680000 e395a0bc 0100c023 ffeeffee 00000000
not clear what happened.
unable to repro running just that test.
_Original issue: http://code.google.com/p/drmemory/issues/detail?id=482_
Contributor guide
Assessment
This issue has not been assessed yet.