DynamoRIO / DynamoRIO/drmemory
infinite loops in free.exe when using strawberry perl.
- 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 January 20, 2012 14:58:52_
split from issue #760 :
In Win-7 with cygwin, the default perl is /usr/bin/perl for drheapstat.
However, if strawberry perl is installed, it might be found by cmake instead and causes infinit loops for running free.exe.
Using /usr/bin/perl, output as below:
$ /usr/bin/perl ../bin/drheapstat.pl -debug -dr_debug -dr "D:/src/cygwin/home/zhaoqin/Workspace/DrMemory/builds/build_suits/build_drheapstat-dbg-32/dynamorio" -dr_ops "-dumpcore_mask 0x87fd -stderr_mask 15 -msgbox_mask 0xf" -callstack_style 0x27 -- ./free.exe
~~Dr.H~~ Dr. Heapstat version 1.4.713
~~Dr.H~~ options are "-logdir `D:/src/cygwin/home/zhaoqin/Workspace/DrMemory/builds/build_suits/build_drheapstat-dbg-32/logs` "
~~Dr.H~~ log dir is D:/src/cygwin/home/zhaoqin/Workspace/DrMemory/builds/build_suits/build_drheapstat-dbg-32/logs/DrHeapstat-free.exe.8372.000
~~Dr.H~~ Data is in D:/src/cygwin/home/zhaoqin/Workspace/DrMemory/builds/build_suits/build_drheapstat-dbg-32/logs/DrHeapstat-free.exe.8372.000/
all done
Using strawberry perl, runs hangs:
$ C:/strawberry/perl/bin//perl ../bin/drheapstat.pl -debug -dr_debug -dr "D:/src/cygwin/home/zhaoqin/Workspace/DrMemory/builds/build_suits/build_drheapstat-dbg-32/dynamorio" -dr_ops "-dumpcore_mask 0x87fd -stderr_mask 15 -msgbox_mask 0xf" -callstack_style 0x27 -- ./free.exe
~~Dr.H~~ Dr. Heapstat version 1.4.713
~~Dr.H~~ options are "-logdir `D:/src/cygwin/home/zhaoqin/Workspace/DrMemory/builds/build_suits/build_drheapstat-dbg-32/logs` "
~~Dr.H~~ log dir is D:/src/cygwin/home/zhaoqin/Workspace/DrMemory/builds/build_suits/build_drheapstat-dbg-32/logs/DrHeapstat-free.exe.9200.000
all done
~~Dr.H~~ Data is in D:/src/cygwin/home/zhaoqin/Workspace/DrMemory/builds/build_suits/build_drheapstat-dbg-32/logs/DrHeapstat-free.exe.9200.000/
callstack is
$ C:/strawberry/perl/bin//perl ../bin/drheapstat.pl -debug -dr_debug -dr "D:/src/cygwin/home/zhaoqin/Workspace/DrMemory/builds/build_suits/build_drheapstat-dbg-32/dynamorio" -dr_ops "-dumpcore_mask 0x87fd -stderr_mask 15 -msgbox_mask 0xf" -callstack_style 0x27 -- ./free.exe
~~Dr.H~~ Dr. Heapstat version 1.4.713
~~Dr.H~~ options are "-logdir `D:/src/cygwin/home/zhaoqin/Workspace/DrMemory/builds/build_suits/build_drheapstat-dbg-32/logs` "
~~Dr.H~~ log dir is D:/src/cygwin/home/zhaoqin/Workspace/DrMemory/builds/build_suits/build_drheapstat-dbg-32/logs/DrHeapstat-free.exe.9200.000
all done
~~Dr.H~~ Data is in D:/src/cygwin/home/zhaoqin/Workspace/DrMemory/builds/build_suits/build_drheapstat-dbg-32/logs/DrHeapstat-free.exe.9200.000/
_Original issue: http://code.google.com/p/drmemory/issues/detail?id=761_
Contributor guide
Assessment
This issue has not been assessed yet.