我们更新了最新的语音在线识别库,支持ipv6的那个,最近app一天内上报了300的crash。
日志上显示CAX4CCString,即CAXException.h CAXException.cpp里使用到了。
麻烦能不能帮忙查下,在线识别库有在用stringByAppendingString方法和CAX4CCString这个类吗。我看我们把CAXException.h CAXException.cpp删掉也没问题。
具体的日志如下:
NSInvalidArgumentException(SIGABRT)
*** -[__NSCFConstantString stringByAppendingString:]: nil argument
0 | CoreFoundation | 0x2598b45f | 0x25885000 + 1074264 |
1 | libobjc.A.dylib | 0x33861c8b | objc_exception_throw + 35 |
2 | CoreFoundation | 0x2598b3a5 | 0x25885000 + 1074080 |
3 | Foundation | 0x265fb923 | -[NSString stringByAppendingString:] + 91 |
4 | CTRIP_WIRELESS | 0x01b13c69 | std::__1::__split_buffer&>::~__split_buffer() + 658931 |
5 | CTRIP_WIRELESS | 0x01b13e3f | std::__1::__split_buffer&>::~__split_buffer() + 659395 |
6 | CTRIP_WIRELESS | 0x01b08f8f | std::__1::__split_buffer&>::~__split_buffer() + 614675 |
7 | CTRIP_WIRELESS | 0x01b09535 | std::__1::__split_buffer&>::~__split_buffer() + 616123 |
8 | CTRIP_WIRELESS | 0x01b09745 | std::__1::__split_buffer&>::~__split_buffer() + 616651 |
9 | CTRIP_WIRELESS | 0x01afa855 | std::__1::__split_buffer&>::~__split_buffer() + 555483 |
10 | CTRIP_WIRELESS | 0x01afaed5 | std::__1::__split_buffer&>::~__split_buffer() + 557147 |
11 | CTRIP_WIRELESS | 0x01afae8f | std::__1::__split_buffer&>::~__split_buffer() + 557075 |
12 | CTRIP_WIRELESS | 0x01b0255d | std::__1::__split_buffer&>::~__split_buffer() + 587491 |
13 | CTRIP_WIRELESS | 0x005df8ed | CAX4CCString::CAX4CCString(long) + 1593897 |
14 | CTRIP_WIRELESS | 0x005afdff | CAX4CCString::CAX4CCString(long) + 1398585 |
15 | UIKit | 0x28f1267b | -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 287 |
16 | UIKit | 0x291079d5 | -[UIApplication _callInitializationDelegatesForMainScene:transitionContext:] + 2377 |
17 | UIKit | 0x29109eff | -[UIApplication _runWithMainScene:transitionContext:completion:] + 1375 |
18 | UIKit | 0x291148f5 | ___84-[UIApplication _handleApplicationActivationWithScene:transitionContext:completion:]_block_invoke + 37 |
19 | UIKit | 0x291087c7 | -[UIApplication workspaceDidEndTransaction:] + 131 |
20 | FrontBoardServices | 0x2c3230a9 | 0x2c30e000 + 86184 |
21 | CoreFoundation | 0x25951fe5 | 0x25885000 + 839648 |
22 | CoreFoundation | 0x259512a9 | 0x25885000 + 836264 |
23 | CoreFoundation | 0x2594fa2b | 0x25885000 + 829992 |
24 | CoreFoundation | 0x2589d3b1 | CFRunLoopRunSpecific + 475 |
25 | CoreFoundation | 0x2589d1c3 | CFRunLoopRunInMode + 103 |
26 | UIKit | 0x28f0c327 | -[UIApplication _run] + 559 |
27 | UIKit | 0x28f0743d | UIApplicationMain + 1435 |
28 | CTRIP_WIRELESS | 0x00062135 | 0x0005d000 + 20784 |
29 | libdyld.dylib | 0x33dedaaf | _start + 3 |
收藏
点赞
0
个赞
请登录后评论
TOP
切换版块
如果还有问题,请及时反馈。
那是不是说,CAXException.h,CAXException.cpp这两个文件是可以删掉的
SDK内部没有使用CAX4CCString这个类。
这个是在线应用,出现的crash,现在我们这边还没找到复现的方法,目前线上最多的crash是iphone 5c。ios的版本是8.4。
现在想请你们帮忙看下CAX4CCString 这个类是否用到了,我们现在测试的时候将这个类的文件CAXException.h,CAXException.cpp都删掉了,是可以跑起来的。
还有就是[__NSCFConstantString stringByAppendingString:]: nil argument ,即请你们帮忙看下,在线语音识别库中,调用的stringByAppendingString,其参数参数是否会为空。
方便提供一下复现步骤,或者控制台打印的log吗?