DynamoRIO / DynamoRIO/drmemory
ASSERT (cygwin ls) leak.c:1014: node == NULL (mallocs should not overlap)
- Dominant language
- C
- Stars
- 2.7k
- Forks
- 290
- PR merge metrics
- No merged PRs in 30d
Description
_From [zhao...@google.com](https://code.google.com/u/106321947286816917100/) on April 02, 2012 18:03:58_
What steps will reproduce the problem?
1. in cygwin, run ls with drmemory
$ ./bin/drmemory.exe -pause_at_assert -verbose 2 -- ls
WARNING: using debug DynamoRIO since release not found
~~Dr.M~~ Dr. Memory version 1.4.760
~~Dr.M~~ Running ""D:\src\cygwin\bin\ls.exe""
~~Dr.M~~ options are "`-pause_at_assert` `-verbose` `2` -logdir
What is the expected output?
list all the files and exit successfully.
What do you see instead?
list all the files, then assert message popup:
Dr. Memory version 1.4.760 build 1 built on Feb 23 2012 17:39:04
Dr. Memory results for pid 126896: "ls.exe"
Application cmdline: ""D:\src\cygwin\bin\ls.exe""
Recorded 59 suppression(s) from default D:\src\cygwin\home\zhaoqin\Workspace\DrMemory\builds\build_x86_dbg.svn/bin/suppress-default.txt
ASSERT FAILURE (thread 124824): ....\drmemory.svn\drmemory\leak.c:1014: node == NULL (mallocs should not overlap)
What version of the product are you using? On what operating system?
Win-7, DrMemory svn checkout.
Does the problem go away when running in light mode (pass "-light" to Dr.
Memory)? What about when running with the options "-leaks_only
-no_count_leaks -no_track_allocs"?
The problem seems happens on tracking memory allocations, still fail on -light but pass if using -no_count_leaks or -leaks_only only.
_Original issue: http://code.google.com/p/drmemory/issues/detail?id=852_
Contributor guide
Assessment
This issue has not been assessed yet.