MinGW Create Calling StackDumps

When I use the unix utility from MinGW make, I get a StackDump file:

Mistake:

sed -i -e 's/reveal.js\/css\/theme\/simple.css/reveal.js\/css\/theme\/moon.css/' index.html
      0 [main] sed 8744 open_stackdumpfile: Dumping stack trace to sed.exe.stackdump
make: *** [index.html] Error 5

      

sed.exe.stackdump:

MSYS-1.0.12 Build:2012-07-05 14:56
Exception: STATUS_ACCESS_VIOLATION at eip=68008DAA
eax=03019001 ebx=60EA4124 ecx=00692788 edx=00000150 esi=00000000 edi=60EA00D4
ebp=0028FE9C esp=0028FE78 program=c:\Program Files (x86)\Git\bin\sed.exe
cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame     Function  Args
0028FE9C  68008DAA  (60EA00D4, 00000150, 0028FEEC, 680044EA)
0028FEEC  6800466B  (00000000, 00000000, 0028FF2C, 00517CF8)
0028FF0C  68004C5F  (00401C28, 00000000, 5C952BA0, FFFFE001)
0028FF2C  68004C98  (00000000, 00000000, 928A67BF, FFFFF800)
0028FF5C  00517C08  (00401C28, FFFFE001, 00000001, 00000000)
0028FF8C  0040103D  (7FFDE000, 0028FFDC, 771F0BBB, 7FFDE000)
0028FF98  74F6919F  (7FFDE000, 99B8EAFE, 00000000, 00000000)
0028FFDC  771F0BBB  (FFFFFFFF, 771DC9D0, 00000000, 00000000)
0028FFEC  771F0B91  (00401000, 7FFDE000, 00000000, 78746341)
End of stack trace

      

I am getting very similar errors when trying to use tools like rm

, mv

and cp

. What can I do to fix these errors? This makes development on Windows impossible.

The make binary used is in C:\MinGW\msys\1.0\bin\make.exe

, and the version information is:

GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i686-pc-msys

      

+3


source to share


2 answers


I guess your problem is: the version of msysgit for is sed

using the MSYS DLL version in C:\MinGW\msys\1.0\bin

instead of the DLL in c:\Program Files (x86)\Git\bin

. Try changing PATH

so that your makefile is using sed

in C:\MinGW\msys\1.0\bin

, not the msysgit version.



+2


source


I found the problem. I actually used the MSYS version of make, but the binary sed

was the one posted with cmder. This inconsistency was causing stackdumps. I fixed the path and now it works fine.



+1


source







All Articles