DynamoRIO / DynamoRIO/drmemory

ASSERT (app_suite_tests.exe --gtest_filter="RegistryTests.CreateGetKey") drheapstat.c:651: asked_for+extra_usable < 0 (cannot have 0-sized usable space)

Open
#1,305 0 comments 0 reactions 0 assignees View on GitHub
Bug-Assert Component-Heapstat Migrated OpSys-Windows Priority-High
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 August 12, 2013 18:05:14_

This test has been reported as passing in my pre-commit suite and yet it has been raising this assert:

24: ~~Dr.H~~ ASSERT FAILURE (thread 10216): ....\git\src\drheapstat\drheapstat.c:651: asked_for+extra_usable < 0 (cannot have 0-sized usable space)
24:
24:
1/1 Test `#24`: app_suite ........................ Passed 21.53 sec

can repro here:

% bin/drheapstat.pl -debug -dr d:/derek/dr/git/exports -batch -- tests/app_suite_tests.exe --gtest_filter="RegistryTests.CreateGetKey"

*\* TODO ensure test doesn't pass when it asserts!
*\* TODO analyze the assert

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

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.