MinGW Make导致StackDumps [英] MinGW Make causing StackDumps

查看:228
本文介绍了MinGW Make导致StackDumps的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用MinGW make的unix实用程序时,我得到一个StackDump文件:

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

错误:

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

当尝试使用诸如rmmvcp之类的工具时,我会收到非常相似的错误.我该如何解决这些错误?这使得在Windows上进行开发变得不可能.

I get very similar errors when trying to use tools like rm, mv, and cp. What can I do to fix these errors? It is making developing on Windows impossible.

我正在使用的make二进制文件位于C:\MinGW\msys\1.0\bin\make.exe,版本信息为:

The make binary that I am using is located at 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

推荐答案

我猜你的问题是sed的msysgit版本使用的是C:\MinGW\msys\1.0\bin中的MSYS DLL版本,而不是.尝试更改您的PATH,以便您的makefile使用C:\MinGW\msys\1.0\bin中的sed,而不是msysgit版本.

I'm guessing your problem is the msysgit version of sed is using the version of the MSYS DLL in C:\MinGW\msys\1.0\bin instead of the DLL in c:\Program Files (x86)\Git\bin. Try changing your PATH so that your makefile uses the sed in C:\MinGW\msys\1.0\bin, rather than the msysgit version.

这篇关于MinGW Make导致StackDumps的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆