如图,在main里提示:libc++abi.dylib: terminating with uncaught exception of type std::logic_error: basic_string::_S_construct NULL not valid
小伙伴们给点提示吧,该怎么调试呢?现在正从入口开始每个std::string附近断点,找了一下午了,还没找到
哥们你解决这个问题了吗。我今天也遇到了
1024 1024
libc++abi.dylib: terminating with uncaught exception of type std::logic_error: basic_string::_S_construct NULL not valid
求同?
有没有解决啊?我也遇到了这个问题。
cocos2dx-2.2.6
在 xcode6.2 IOS SDK 8.2环境下
Build Settings:
Architectures: Standard architectures(armv7, arm64)
Valid Architectures: arm64 armv7 armv7s
在iphone6 (IOS8.2 64BIT)下可以运行
在iphone4 (IOS7.1 32BIT)下调试启动直接在main()函数中提示这个错误
2015-04-03 01:42:22.810 testproj cocos2d: surface size: 960x640
2015-04-03 01:42:22.850 testproj ios duoi 8
libc++abi.dylib: terminating with uncaught exception of type std::logic_error: basic_string::_S_construct NULL not valid
(lldb)
我也遇到了同样的问题。我用cocos2dx-2.2.2是正常的升级到cocos2dx-2.2.6计费就出现了这个问题。