[JPUSHFIFOQueue copyQueue:withCondition:]_block_invoke

ios
标签: #<Tag:0x00007f214e9344e8>

(Ban Shen) #1

线上版本时不时就的会报个闪退错误出来:无法追踪到错误位置

  • *** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array
  • (null)
  • ((
  • 0 CoreFoundation 0x00000001e1520edc <redacted> + 252
  • 1 libobjc.A.dylib 0x00000001e06f1a50 objc_exception_throw + 56
  • 2 CoreFoundation 0x00000001e1498494 _CFArgv + 0
  • 3 CoreFoundation 0x00000001e1408678 <redacted> + 188
  • 4 CoreFoundation 0x00000001e140c0d0 <redacted> + 180
  • 5 CSMDYAPP_V2!-[JPUSHFIFOQueue removeItem:]
  • 6 CSMDYAPP_V2!__42-[JPUSHFIFOQueue copyQueue:withCondition:]_block_invoke
  • 7 CoreFoundation 0x00000001e14065dc <redacted> + 216
  • 8 CSMDYAPP_V2!-[JPUSHFIFOQueue copyQueue:withCondition:]
  • 9 CSMDYAPP_V2!-[JPUSHSessionController reenqueueSendingRequests]
  • 10 CSMDYAPP_V2!-[JPUSHSessionController close]
  • 11 CSMDYAPP_V2!-[JPUSHSessionController doSendTcpRequest:]
  • 12 CSMDYAPP_V2!-[JPUSHSessionController sendRequest:]
  • 13 CSMDYAPP_V2!-[JCOREClientController sendRequest:]
  • 14 CSMDYAPP_V2!-[JPUSHRequest send]
  • 15 CSMDYAPP_V2!-[JPUSHIMRequestArg send]
  • 16 CSMDYAPP_V2!-[JPUSHIMController sendRequest:withRequestArg:]
  • 17 CSMDYAPP_V2!-[JPUSHIMController sendIMRequest:]
  • 18 CSMDYAPP_V2!-[JMSGClientController IMRequest:]
  • 19 CSMDYAPP_V2!+[JMessage(JMSGInner) jmsg_sendRequest:]
  • 20 CSMDYAPP_V2!-[JMSGSyncConversation p_syncConversationSyncCheckOrACKRequest:]
  • 21 CSMDYAPP_V2!-[JMSGSyncConversation jmsg_syncConversationBridgeRequest:]
  • 22 Foundation 0x00000001e1fd442c <redacted> + 336
  • 23 CoreFoundation 0x00000001e14b11f0 <redacted> + 24
  • 24 CoreFoundation 0x00000001e14b1170 <redacted> + 88
  • 25 CoreFoundation 0x00000001e14b0a54 <redacted> + 176
  • 26 CoreFoundation 0x00000001e14ab920 <redacted> + 1040
  • 27 CoreFoundation 0x00000001e14ab1f0 CFRunLoopRunSpecific + 436
  • 28 Foundation 0x00000001e1ea1494 <redacted> + 300
  • 29 Foundation 0x00000001e1edce84 <redacted> + 88
  • 30 CSMDYAPP_V2!-[JMessage JMSGThreadMain]
  • 31 Foundation 0x00000001e1fd423c <redacted> + 1040
  • 32 libsystem_pthread.dylib 0x00000001e113c25c <redacted> + 128
  • 33 libsystem_pthread.dylib 0x00000001e113c1bc _pthread_start + 48
  • 34 libsystem_pthread.dylib 0x00000001e113fcf4 thread_start + 4
  • )

#2

1、提供你所使用的极光 SDK 版本号,看起来你同时使用了 JPush 和JMessage,如果不是最新版本,请先都升级到最新版本后再观测。
https://docs.jiguang.cn/jpush/updates/
https://docs.jiguang.cn/jmessage/updates/

2、出现频次多高,在什么手机机型和系统上出现,是否有更多的信息可以提供。

由于是春节期间,技术支持的工作会暂缓。


(Ban Shen) #3

都不是最新版本 没必要的更新是没有更新的
这个问题一直存在 iPhone 7及以上的机型 IO11以上的都出现了
然后就只 这些是我集成友盟统计 那边上报的错误信息 我这边也没有更多的资料了


#4

1、说明你使用的版本号

2、友盟统计那边是否还有更多的信息,凡有关于该 crash 的信息均提供出来


(Ban Shen) #5

JMessage SDK version:3.3.0, buildId:186
Jpush-ios-3.0.9.a
jcore-ios-1.1.9.a
友盟那边基本上是都是爆这方面的错误 今天有上报了一次

  • *** -[__NSArrayM objectAtIndexedSubscript:]: index 18446744073709551615 beyond bounds for empty array
  • (null)
  • ((
  • 0 CoreFoundation 0x000000018b6cdebc <redacted> + 252
  • 1 libobjc.A.dylib 0x000000018a89da50 objc_exception_throw + 56
  • 2 CoreFoundation 0x000000018b645384 _CFArgv + 0
  • 3 CoreFoundation 0x000000018b5c8b58 <redacted> + 188
  • 4 CSMDYAPP_V2!-[JPUSHReportRequest p_calculateCurrentSize]
  • 5 CSMDYAPP_V2!-[JPUSHReportRequest p_dropContentBeyondMaxSize]
  • 6 CSMDYAPP_V2!-[JPUSHReportRequest packetData]
  • 7 CSMDYAPP_V2!-[JPUSHReportRequest generateReportRequest]
  • 8 CSMDYAPP_V2!-[JPUSHHttpSessionController doSendHttpReport:]
  • 9 CSMDYAPP_V2!-[JPUSHHttpSessionController sendAllBlockedHttpReports]
  • 10 CSMDYAPP_V2!-[JCOREClientController sendAllBlockedHttpReports]
  • 11 CSMDYAPP_V2!-[JPUSHSessionController onLoginRespond:]
  • 12 CSMDYAPP_V2!-[JCOREClientController onLoginRespond:]
  • 13 CSMDYAPP_V2!-[JPUSHLoginResponse handleReceipt]
  • 14 CSMDYAPP_V2!-[JPUSHTcpSocket delayedDidReceiveElement:]
  • 15 CSMDYAPP_V2!-[JPUSHTcpSocket doRead]
  • 16 CSMDYAPP_V2!-[JPUSHTcpSocket doCFSocketCallback:forSocket:withData:]
  • 17 CSMDYAPP_V2!MyTcpCFSocketCallback
  • 18 CoreFoundation 0x000000018b6654bc <redacted> + 1336
  • 19 CoreFoundation 0x000000018b65e0e0 <redacted> + 24
  • 20 CoreFoundation 0x000000018b65e060 <redacted> + 88
  • 21 CoreFoundation 0x000000018b65d944 <redacted> + 176
  • 22 CoreFoundation 0x000000018b658810 <redacted> + 1040
  • 23 CoreFoundation 0x000000018b6580e0 CFRunLoopRunSpecific + 436
  • 24 CoreFoundation 0x000000018b658e7c CFRunLoopRun + 80
  • 25 CSMDYAPP_V2!-[JPUSHThread clientThreadMain]
  • 26 Foundation 0x000000018c18123c <redacted> + 1040
  • 27 libsystem_pthread.dylib 0x000000018b2e825c <redacted> + 128
  • 28 libsystem_pthread.dylib 0x000000018b2e81bc _pthread_start + 48
  • 29 libsystem_pthread.dylib 0x000000018b2ebcf4 thread_start + 4
  • )

#6

根据分析结果,请你更新 JCore 和 JPush、JMessage 均到最新的版本。
https://docs.jiguang.cn/jpush/updates/
https://docs.jiguang.cn/jmessage/updates/#ios-sdk-v380