segfault using SWIG converted code for tcl

旧城冷巷雨未停 提交于 2019-12-06 17:01:30
DSB

I found the problem.

Please see my other post: C++: linked library disappears and gives segfault during execution

There was an undefined symbol of my library. I defined it and problem solved!

The confusion was, my program crashed in the middle of tcl wrapper functions (where my undefined symbol was not involved at all). I don't really know why but that's it..

Hope it will help others!

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