Cygwin异常:打开堆栈转储文件 [英] Cygwin Exception : open stack dump file
问题描述
我在C语言开发linux命令解释器在Windows 7,使用Cygwin。
我的代码正在编译和运行正确,直到我得到这个错误:
cygwin_exception :: open_stackdumpfile:到jstack dump
我googled它,但我找不到解决方案
$ b我发现当我尝试传递
例如:
<$> c $ c> int arr [] = {1,2,3};
int i = 3;
memmove(i,arr,3);
这段代码会得到一个cygwin_exception :: open_stackdump文件,因为你传递的是int i,到一个期望内存地址的函数。
然而,这是基于我的经验,这是肯定可能的,这个错误的其他原因。 / p>
i am developping in C language a linux command interpreter on windows 7 , using Cygwin. my code was compiling and running correctly , until i get this error :
cygwin_exception::open_stackdumpfile:Dumping stack trace to jstack dump
i googled it , but i couldn't find a solution
any help please ?
I find that I get this error when I try passing a value into a function when the funtion is expecting a pointer.
For example:
int arr[] = {1, 2, 3};
int i = 3;
memmove(i, arr, 3);
This code will get a cygwin_exception::open_stackdumpfile because you are passing int i, which is a value, into a function which is expecting a memory address.
However, this is based purely off of my experience and it is certainly possible that there are other causes for this error.
这篇关于Cygwin异常:打开堆栈转储文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!