Question by
derail · Oct 16, 2015 at 12:32 AM ·
crashcrashingcrashreport
U3DXT In App Purchase works only a few times then starts crashing overtime
@u3dxt I have been trying to use your plugin for In App Purchases and downloads from Apple servers. It has been working great for testing the first few times, then it started to crash non-stop even after deleting and reinstalling the app or rebuilding it through xCode. I tried a different device and it worked fine again, until after a while then it started crashing again.
Here is the crash details:
libc++abi.dylib: terminating with uncaught exception of type Il2CppExceptionWrapper (lldb)
Stack Trace:
* thread #1: tid = 0xf28c, 0x39710df0 libsystem_kernel.dylib`__pthread_kill + 8, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
frame #0: 0x39710df0 libsystem_kernel.dylib`__pthread_kill + 8
frame #1: 0x39791c96 libsystem_pthread.dylib`pthread_kill + 62
frame #2: 0x396af938 libsystem_c.dylib`abort + 76
frame #3: 0x3888bbbc libc++abi.dylib`abort_message + 88
frame #4: 0x388a566e libc++abi.dylib`default_terminate_handler() + 266
frame #5: 0x3907cf34 libobjc.A.dylib`_objc_terminate() + 228
frame #6: 0x388a2dee libc++abi.dylib`std::__terminate(void (*)()) + 78
frame #7: 0x388a25b0 libc++abi.dylib`__cxa_throw + 112
* frame #8: 0x01461208 AppName`il2cpp::vm::Exception::Raise(ex=<unavailable>) + 340 at Exception.cpp:41
frame #9: 0x014612e4 AppName`il2cpp::vm::Exception::RaiseNullReferenceException() + 64 at Exception.cpp:51
frame #10: 0x0013444c AppName`NullCheck(this_ptr=0x00000000) + 44 at il2cpp-codegen.h:632
frame #11: 0x0011c198 AppName`IAPTest_OnTransactionFailed_m155(__this=0x088faf90, ___sender=0x00000000, ___e=0x08c04dc0, method=0x018d64d0) + 704 at Bulk_Assembly-CSharp_0.cpp:16505
frame #12: 0x001fb108 AppName`EventHandler_1_Invoke_m10183(__this=0x0890aab8, ___sender=0x00000000, ___e=0x08c04dc0, method=0x01b0ae28) + 132 at Bulk_Generics_4.cpp:32448
frame #13: 0x004d4460 AppName`VirtActionInvoker2<Object_t*, TransactionEventArgs_t74*>::Invoke(method=0x01b0ae28, obj=0x0890aab8, p1=0x00000000, p2=0x08c04dc0) + 96 at GeneratedVirtualInvokers.h:53
frame #14: 0x004d0e24 AppName`IAPXT__OnFailedBuy_m10135(__this=0x00000000, ___transaction=0x0891c288, ___error=0x00000000, method=0x01d439bc) + 320 at Bulk_U3DXTIAP_HL_0.cpp:1319
frame #15: 0x004d084c AppName`IAPXT__OnUpdatedTransactions_m10133(__this=0x00000000, ___transactions=0x08914e70, method=0x01d44584) + 1336 at Bulk_U3DXTIAP_HL_0.cpp:1233
frame #16: 0x004d3fdc AppName`PaymentTransactionObserver_UpdatedTransactions_m10153(__this=0x08919ed8, ___queue=0x0891c330, ___transactions=0x08914e70, method=0x01d44d74) + 104 at Bulk_U3DXTIAP_HL_0.cpp:4451
frame #17: 0x001f7d24 AppName`Action_2_Invoke_m24538_gshared(__this=0x0890a850, ___arg1=0x0891c330, ___arg2=0x08914e70, method=0x01a32d24) + 132 at Bulk_Generics_4.cpp:931
frame #18: 0x004cc65c AppName`VirtActionInvoker2<SKPaymentQueue_t1347*, ObjectU5BU5D_t61*>::Invoke(method=0x01a32d24, obj=0x0890a850, p1=0x0891c330, p2=0x08914e70) + 96 at GeneratedVirtualInvokers.h:53
frame #19: 0x004c0ddc AppName`U3C_set__paymentQueue_updatedTransactions__handler_value_callbackU3Ec__AnonStorey3_U3CU3Em__3_m8501(__this=0x0891c348, method=0x01d3e690) + 764 at Bulk_U3DXTIAP_0.cpp:8341
frame #20: 0x0025a24c AppName`Action_Invoke_m3675(__this=0x089183b8, method=0x01c614f4) + 100 at Bulk_System.Core_0.cpp:6089
frame #21: 0x00134668 AppName`VirtActionInvoker0::Invoke(method=0x01c614f4, obj=0x089183b8) + 72 at GeneratedVirtualInvokers.h:9
frame #22: 0x0034fc64 AppName`CoreXT_RunOnMainThread_m3679(__this=0x00000000, ___action=0x089183b8, method=0x01cb3b10) + 736 at Bulk_U3DXTCore_0.cpp:5254
frame #23: 0x004c3350 AppName`SKPaymentTransactionObserver__set__paymentQueue_updatedTransactions__handler_value_callback_m8525(__this=0x00000000, ____callbackGeneric=0x0890a850, ___args=0x08918460, method=0x01d3ea4c) + 276 at Bulk_U3DXTIAP_0.cpp:9627
frame #24: 0x003a209c AppName`HelperDelegate_Invoke_m4984(__this=0x0890a818, ___callback=0x0890a850, ___args=0x08918460, method=0x01cd28b0) + 136 at Bulk_U3DXTCore_0.cpp:91074
frame #25: 0x003a5024 AppName`VirtFuncInvoker2<Object_t*, Delegate_t624*, Dictionary_2_t194*>::Invoke(method=0x01cd28b0, obj=0x0890a818, p1=0x0890a850, p2=0x08918460) + 96 at GeneratedVirtualInvokers.h:64
frame #26: 0x003a345c AppName`_CallbackCache__Callback_m5008(__this=0x00000000, ___callbackId=0x08916f20, ___argsJson=0x08915e10, method=0x01cd3490) + 604 at Bulk_U3DXTCore_0.cpp:92908
frame #27: 0x003a30f8 AppName`native_delegate_wrapper__CallbackCache__Callback_m5008(___callbackId=0x1607d970, ___argsJson=0x1607f3c0) + 252 at Bulk_U3DXTCore_0.cpp:92835
frame #28: 0x01492a68 AppName`UP_callbackEvent(callbackId=<unavailable>, args=<unavailable>) + 40 at CallbackCache.m:65
frame #29: 0x2e1d1be0 StoreKit`__NotifyObserverAboutChanges + 84
frame #30: 0x2ab01410 CoreFoundation`CFArrayApplyFunction + 36
frame #31: 0x2e1d1b7c StoreKit`-[SKPaymentQueue _notifyObserversAboutChanges:sendUpdatedDownloads:] + 128
frame #32: 0x2e1d2484 StoreKit`-[SKPaymentQueue _processUpdates:trimUnmatched:sendUpdatedDownloads:] + 1064
frame #33: 0x2e1d2bb8 StoreKit`-[SKPaymentQueue _setTransactionsWithReply:] + 128
frame #34: 0x2e1d1710 StoreKit`__38-[SKPaymentQueue _establishConnection]_block_invoke_2 + 60
frame #35: 0x0518019a libdispatch.dylib`_dispatch_call_block_and_release + 10
frame #36: 0x05180186 libdispatch.dylib`_dispatch_client_callout + 22
frame #37: 0x05183e9c libdispatch.dylib`_dispatch_main_queue_callback_4CF + 1504
frame #38: 0x2abb7888 CoreFoundation`__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 8
frame #39: 0x2abb5fa8 CoreFoundation`__CFRunLoopRun + 1512
frame #40: 0x2ab019a0 CoreFoundation`CFRunLoopRunSpecific + 476
frame #41: 0x2ab017b2 CoreFoundation`CFRunLoopRunInMode + 106
frame #42: 0x324c31a8 GraphicsServices`GSEventRunModal + 136
frame #43: 0x2e2b2634 UIKit`UIApplicationMain + 1440
frame #44: 0x000ca8d4 AppName`main(argc=1, argv=0x04f15a68) + 308 at main.mm:45
(lldb)
Comment