jezzmemo / JJException

Protect the objective-c application(保护App不闪退)
MIT License
1.63k stars 268 forks source link

使用mobileffmpeg报错 #126

Open Zuozihao opened 2 years ago

Zuozihao commented 2 years ago

调用mobileffmpeg 的 setStatisticsDelegate后,会无尽循环报错。 如果不开启JJException就没有问题。 JJException CallStack:( 0 JJException 0x0000000106ddadc4 -[JJExceptionProxy handleCrashException:exceptionCategory:extraInfo:] + 112 1 JJException 0x0000000106ddaa08 _Z20handleCrashException24JJExceptionGuardCategoryP8NSString + 96 2 JJException 0x0000000106ddce94 -[NSMutableArray(MutableArrayHook) hookRemoveObjectAtIndex:] + 176 3 AppName 0x00000001050de494 callbackDataRemove + 100 4 AppName 0x00000001050de9b8 callbackBlockFunction + 288 5 libdispatch.dylib 0x0000000107654a20 _dispatch_call_block_and_release + 32 6 libdispatch.dylib 0x0000000107656700 _dispatch_client_callout + 20 7 libdispatch.dylib 0x000000010765924c _dispatch_queue_override_invoke + 1052 8 libdispatch.dylib 0x000000010766a688 _dispatch_root_queue_drain + 400 9 libdispatch.dylib 0x000000010766b08c _dispatch_worker_thread2 + 196 10 libsystem_pthread.dylib 0x00000001f05d9174 _pthread_wqthread + 228 11 libsystem_pthread.dylib 0x00000001f05d8f50 start_wqthread + 8 )

jezzmemo commented 2 years ago

建议使用JJExceptionGuardAllExceptZombie

Zuozihao commented 2 years ago

建议使用JJExceptionGuardAllExceptZombie

使用了JJExceptionGuardAllExceptZombie后报错,注释后反而好了。。