DynamoRIO / DynamoRIO/drmemory

stdout prefix embedded into long strings in cmd on xp64

Open
#1,622 2 comments 0 reactions 0 assignees View on GitHub
Component-UI Migrated OpSys-Windows OpSys-WinXP Priority-Medium
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 September 10, 2014 12:14:33_

On xp64 cmd the line prefix "~~Dr.M~~" is embedded 100 chars into long lines:

E:\derek\drmemory>drmemory.exe -- calc
~~Dr.M~~ Dr. Memory version 1.8.0
~~Dr.M~~ Running "calc"
~~Dr.M~~ WARNING: application is missing line number information.
~~Dr.M~~
~~Dr.M~~ ERRORS FOUND:
~~Dr.M~~ 0 unique, 0 total unaddressable access(es)
~~Dr.M~~ 0 unique, 0 total uninitialized access(es)
~~Dr.M~~ 0 unique, 0 total invalid heap argument(s)
~~Dr.M~~ 0 unique, 0 total GDI usage error(s)
~~Dr.M~~ 0 unique, 0 total handle leak(s)
~~Dr.M~~ 0 unique, 0 total warning(s)
~~Dr.M~~ 28 unique, 28 total, 1856 byte(s) of leak(s)
~~Dr.M~~ 0 unique, 0 total, 0 byte(s) of possible leak(s)
~~Dr.M~~ ERRORS IGNORED:
~~Dr.M~~ 16 potential error(s) (suspected false positives)
~~Dr.M~~ (details: C:\Documents and Settings\derek\Application Data\Dr. Memory\DrMemory-calc.exe.23~~Dr.M~~ 44.000\potential_errors.txt)
~~Dr.M~~ 21 potential leak(s) (suspected false positives)
~~Dr.M~~ (details: C:\Documents and Settings\derek\Application Data\Dr. Memory\DrMemory-calc.exe.23~~Dr.M~~ 44.000\potential_errors.txt)
~~Dr.M~~ 123 unique, 129 total, 3136 byte(s) of still-reachable allocation(s)
~~Dr.M~~ (re-run with "-show_reachable" for details)
~~Dr.M~~ Details: C:\Documents and Settings\derek\Application Data\Dr. Memory\DrMemory-calc.exe.2344.000\res~~Dr.M~~ ults.txt

Looks fine on win7: can't repro there.

I recall having seen this in the past, on xp or xp64, but apparently it
was never filed.

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

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.