[英]Unexplained memory leak -> _stack_chk_fail
When my app starts up, I get 1 or more 4.00KB memory leaks with the frame being _stack_chk_fail and the library libSystem.B.dylib. 当我的应用程序启动时,出现1个或多个4.00KB内存泄漏,框架为_stack_chk_fail和库libSystem.B.dylib。 Any suggestions on what this could be would be appreciated.
任何关于此的建议将不胜感激。 Thank you.
谢谢。
This website - http://blog.freimann.org/archives/16-__stack_chk_fail-when-compiling-filo.html 该网站-http://blog.freimann.org/archives/16-__stack_chk_fail-when-compiling-filo.html
suggests you add 建议您添加
-fno-stack-protector
to your compile options. 您的编译选项。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.