Application segmentation fault, only when compiling on Windows with MinGW

你离开我真会死。 提交于 2019-12-05 16:24:14

On Windows, the default stack size is smaller than Linux. __chkstk_ms appears to be a function that crashes if you overflow your stack.

You may try to figure out where in your code you are creating huge stack variables or doing very deep recursion, and fix that.

Alternately, you may be able to add a compile flag to increase the stack size. See http://trac.sagemath.org/ticket/13960.

Try to increase stack size. Don't ask me how, I don't know.

The failing call (__chkstk_ms) looks like internal routine which checks if there is enough stack space for the function about to be executed.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!