You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[----------] 1 test from TaskManagerTest
[ RUN ] TaskManagerTest.Resources
<Application E:\b\build\slave\chromium-dbg-win-drmemory-full-3\build\src\out\Release\unit_tests.exe (2604). Dr. Memory internal crash at PC 0x7384b5e1. Please report this at http://drmemory.org/issues. Program aborted.
0xc0000005 0x00000000 0x7384b5e1 0x7384b5e1 0x00000001 0x54130000
Base: 0x66510000
Registers: eax=0x00000004 ebx=0x00000000 ecx=0x54130000 edx=0x00000060
esi=0x0001ffe8 edi=0x54110040 esp=0x236aef10 ebp=0x236aef5c
eflags=0x000
1.8.16561-105909314-(May 6 2015 08:37:57) win61
-no_dynamic_options -disasm_mask 8 -logdir 'C:\Users\chrome-bot\AppData\LocalLow\vg_logs_zz8m5k\dynamorio' -client_lib 'E:\b\build\slave\chromium-dbg-win-drmemory-full-3\build\src\third_party\drmemory\unpacked\bin\release\drmemorylib.dll;0;-suppress `E:\b\build\slave\chromium-dbg-win-drmemory-full-3\build\src\tools\valgr
0x236aef5c 0x7382f8fb
0x236aefd8 0x665d914b
0x003ae854 0x003ae9e4
0x23669ac0 0xfffddfca
E:\b\build\slave\chromium-dbg-win-drmemory-full-3\build\src\third_party\drmemory\unpacked\bin\release\drmemorylib.dll=0x73800000
E:\b\build\slave\chromium-dbg-win-drmemory-full-3\build\src\third_party\drmemory\unpacked\bin\release/dbghelp.dll=0x663c0000
C:\Windows/system32/msvcrt.dll=0x06d20000
C:\Windows/system32/KERNEL32.dll=0x06e40000
C:\Windows/system32/KERNELBASE.dll=0x06920000>
~~Dr.M~~ WARNING: application exited with abnormal code 0xffffffff
Also crashed on TaskManagerTest.RefreshCalled:
[----------] 1 test from TaskManagerTest
[ RUN ] TaskManagerTest.RefreshCalled
<Application E:\b\build\slave\chromium-dbg-win-drmemory-full-3\build\src\out\Release\unit_tests.exe (3424). Dr. Memory internal crash at PC 0x06dfb5e1. Please report this at http://drmemory.org/issues. Program aborted.
0xc0000005 0x00000000 0x06dfb5e1 0x06dfb5e1 0x00000001 0x543e0000
Base: 0x66830000
Registers: eax=0x00000004 ebx=0x00000000 ecx=0x543e0000 edx=0x00000060
esi=0x0001ffe8 edi=0x543c0040 esp=0x1830ef10 ebp=0x1830ef5c
eflags=0x000
1.8.16561-105909314-(May 6 2015 08:37:57) win61
-no_dynamic_options -disasm_mask 8 -logdir 'C:\Users\chrome-bot\AppData\LocalLow\vg_logs_wnt0dv\dynamorio' -client_lib 'E:\b\build\slave\chromium-dbg-win-drmemory-full-3\build\src\third_party\drmemory\unpacked\bin\release\drmemorylib.dll;0;-suppress `E:\b\build\slave\chromium-dbg-win-drmemory-full-3\build\src\tools\valgr
0x1830ef5c 0x06ddf8fb
0x1830efd8 0x668f914b
0x0030e9d4 0x0030eb64
0x182c7740 0xfffddfca
E:\b\build\slave\chromium-dbg-win-drmemory-full-3\build\src\third_party\drmemory\unpacked\bin\release\drmemorylib.dll=0x06db0000
E:\b\build\slave\chromium-dbg-win-drmemory-full-3\build\src\third_party\drmemory\unpacked\bin\release/dbghelp.dll=0x666e0000
C:\Windows/system32/msvcrt.dll=0x06c70000
C:\Windows/system32/KERNEL32.dll=0x06f90000
C:\Windows/system32/KERNELBASE.dll=0x06790000>
~~Dr.M~~ WARNING: application exited with abnormal code 0xffffffff
These tests themselves are not new and have not been changed recently.
This crash is non-deterministic: went away and came back on bot #3, where builds 7377-73780 are green (and the other 2 bots that shard unit_tests don't have the crash then).
This bot has been purple a lot. I actually see this crash further back:
builds 7330 and 7332 on bot #3 from July 23. The crashes could go back
even further than that.
Logging in to the bot and running just this test or all 3 TaskManagerTest.* using the same args as the scripts: the tests run just fine with no crash.
Is it symbol cache corruption (#1465) which can cause weird crashes? On the bot in the AppData/LocalLow/drmemory.symcache directory:
$ grep 157db *
msvcrt.dll.txt:_CrtDbgReport,0x157db
msvcrt.dll.txt:_CrtDbgReportW,0x157db
msvcrt.dll.txt:_CrtDbgReportV,0x157db
msvcrt.dll.txt:_CrtDbgReportWV,0x157db
msvcrt.dll.txt:_CrtSetDbgFlag,0x157db
msvcrt.dll.txt:_crtDbgFlag,0x157db
So doesn't look like it. I made a copy of the original symcache dir on the bot (bug_514921/) and cleared out the old one just in case.
if (TEST(ALLOC_ZERO, flags))
memset(res, 0, request_size);
Failed to write to a new page (0x00000001 0x54130000). Still has eax=4 *
16 = 64 bytes (+ more if non-16-aligned) left to zero.
Original size edx=0x60? but that's <0x80. edx could be modified before
crash if orig ptr not aligned to 16.
Very strange: if the allocator really messes up this badly and has an unwritable page in the middle of a new alloc, wouldn't we see a lot more problems? Is there really some crazy free list corner case that's this rare? We haven't updated DrMem in a while so there was some change in Cr that changed its alloc pattern to suddenly trigger this weird bug?
I'm still trying to reproduce locally: running individual tests in a loop had no success so I am now running this same set of unit_tests subtests sharded in a loop. No repro so far.
The text was updated successfully, but these errors were encountered:
Locally, running the whole shard 10x in a loop => no repro. Running individual tests 28x => no repro. On the bot, running individual tests 20x => no repro.
Lowering priority to medium b/c we can't reproduce it.
Hit on Chromium bots: https://code.google.com/p/chromium/issues/detail?id=514921
Crash info:
Also crashed on TaskManagerTest.RefreshCalled:
These tests themselves are not new and have not been changed recently.
This crash is non-deterministic: went away and came back on bot #3, where builds 7377-73780 are green (and the other 2 bots that shard unit_tests don't have the crash then).
This bot has been purple a lot. I actually see this crash further back:
builds 7330 and 7332 on bot #3 from July 23. The crashes could go back
even further than that.
Logging in to the bot and running just this test or all 3 TaskManagerTest.* using the same args as the scripts: the tests run just fine with no crash.
Is it symbol cache corruption (#1465) which can cause weird crashes? On the bot in the AppData/LocalLow/drmemory.symcache directory:
$ grep 157db *
msvcrt.dll.txt:_CrtDbgReport,0x157db
msvcrt.dll.txt:_CrtDbgReportW,0x157db
msvcrt.dll.txt:_CrtDbgReportV,0x157db
msvcrt.dll.txt:_CrtDbgReportWV,0x157db
msvcrt.dll.txt:_CrtSetDbgFlag,0x157db
msvcrt.dll.txt:_crtDbgFlag,0x157db
So doesn't look like it. I made a copy of the original symcache dir on the bot (bug_514921/) and cleared out the old one just in case.
Symbolizing the crash call stack:
Passes ptr in ecx, size in edx.
So it's this line:
Failed to write to a new page (0x00000001 0x54130000). Still has eax=4 *
16 = 64 bytes (+ more if non-16-aligned) left to zero.
Original size edx=0x60? but that's <0x80. edx could be modified before
crash if orig ptr not aligned to 16.
Very strange: if the allocator really messes up this badly and has an unwritable page in the middle of a new alloc, wouldn't we see a lot more problems? Is there really some crazy free list corner case that's this rare? We haven't updated DrMem in a while so there was some change in Cr that changed its alloc pattern to suddenly trigger this weird bug?
I'm still trying to reproduce locally: running individual tests in a loop had no success so I am now running this same set of unit_tests subtests sharded in a loop. No repro so far.
The text was updated successfully, but these errors were encountered: