-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App Crashes when blockchain download is (nearly) done #3
Comments
Tested also with a seed with just 1 transaction and 1 account. |
At least it's a "controlled crash", i.e. the library itself is raising an exception, because the path for the Can you please post the code you described in the above steps instead? |
I've created bridging header, this is my code:
Also crashing if "shouldAutoSave" is set to false. |
I think it's the quickest option, send it over to me via email. |
I will invite you to the private project. Please don't spend coin, which are on the seed. But you can use them for testing purposes :) /edit |
@JediWed
I hadn't noticed that you're trying to save to I'm adding a warning just in case, but this is a non-issue. Closing. |
Great, thank you very much! |
Steps to reproduce:
App will crash when download is finished or nearly finished
2016-09-29 09:27:58.525635 Mana[1394:355331] *** Terminating app due to uncaught exception 'IllegalArgument', reason: 'No implicit path set, call saveToPath: first'
*** First throw call stack:
(0x18316c1c0 0x181ba455c 0x18316c094 0x1000e3d2c 0x1000edfe4 0x1000f1c2c 0x1000f13b8 0x1000d3a38 0x1000cdc28 0x10011da90 0x100112b64 0x100cf125c 0x100cf121c 0x100cfeb54 0x100cf4ce4 0x100cff0f0 0x100d00e6c 0x100d00bb8 0x1821fd2c8 0x1821fcdb4)
libc++abi.dylib: terminating with uncaught exception of type NSException
__pthread_kill + 8, queue = 'WSPeerGroup', stop reason = signal SIGABRT frame #0: 0x000000018213a014 libsystem_kernel.dylib
__pthread_kill + 8frame Use in production environments #1: 0x0000000182201460 libsystem_pthread.dylib
pthread_kill + 112 frame #2: 0x00000001820ae3f4 libsystem_c.dylib
abort + 140frame App Crashes when blockchain download is (nearly) done #3: 0x0000000181b792d4 libc++abi.dylib
abort_message + 132 frame #4: 0x0000000181b96cc0 libc++abi.dylib
default_terminate_handler() + 304frame The file DDTTYLogger.h can't be found #5: 0x0000000181ba4844 libobjc.A.dylib
_objc_terminate() + 124 frame #6: 0x0000000181b9366c libc++abi.dylib
std::__terminate(void (*)()) + 16frame is there a demo ? #7: 0x0000000181b92f84 libc++abi.dylib
__cxa_throw + 136 frame #8: 0x0000000181ba4690 libobjc.A.dylib
objc_exception_throw + 364frame Question: Create, sign and broadcast raw transaction #9: 0x000000018316c094 CoreFoundation`+[NSException raise:format:arguments:] + 104
WSExceptionCheck(condition=NO, name=@"IllegalArgument", format=@"No implicit path set, call saveToPath: first") + 136 at WSErrors.m:60 frame #11: 0x00000001000edfe4 Mana
-[WSHDWallet save](self=0x0000000174151930, _cmd="save") + 80 at WSHDWallet.m:672frame #12: 0x00000001000f1c2c Mana
-[WSHDWallet registerTransaction:didGenerateNewAddresses:batch:](self=0x0000000174151930, _cmd="registerTransaction:didGenerateNewAddresses:batch:", transaction=0x0000000170470fc0, didGenerateNewAddresses=NO, batch=NO) + 1708 at WSHDWallet.m:1144 frame #13: 0x00000001000f13b8 Mana
-[WSHDWallet registerTransaction:didGenerateNewAddresses:](self=0x0000000174151930, _cmd="registerTransaction:didGenerateNewAddresses:", transaction=0x0000000170470fc0, didGenerateNewAddresses=NO) + 88 at WSHDWallet.m:1095frame #14: 0x00000001000d3a38 Mana
-[WSBlockChainDownloader handleReceivedTransaction:](self=0x0000000174123340, _cmd="handleReceivedTransaction:", transaction=0x0000000170470fc0) + 432 at WSBlockChainDownloader.m:956 frame #15: 0x00000001000cdc28 Mana
-[WSBlockChainDownloader peerGroup:peer:didReceiveTransaction:](self=0x0000000174123340, _cmd="peerGroup:peer:didReceiveTransaction:", peerGroup=0x000000017416e640, peer=0x0000000170114250, transaction=0x0000000170470fc0) + 136 at WSBlockChainDownloader.m:492frame #16: 0x000000010011da90 Mana
-[WSPeerGroup peer:didReceiveTransaction:](self=0x000000017416e640, _cmd="peer:didReceiveTransaction:", peer=0x0000000170114250, transaction=0x0000000170470fc0) + 444 at WSPeerGroup.m:672 frame #17: 0x0000000100112b64 Mana
__27-[WSPeer receiveTxMessage:]_block_invoke((null)=0x0000000170856320) + 92 at WSPeer.m:650frame #18: 0x0000000100cf125c libdispatch.dylib
_dispatch_call_block_and_release + 24 frame #19: 0x0000000100cf121c libdispatch.dylib
_dispatch_client_callout + 16frame #20: 0x0000000100cfeb54 libdispatch.dylib
_dispatch_queue_serial_drain + 1136 frame #21: 0x0000000100cf4ce4 libdispatch.dylib
_dispatch_queue_invoke + 672frame #22: 0x0000000100cff0f0 libdispatch.dylib
_dispatch_queue_override_invoke + 496 frame #23: 0x0000000100d00e6c libdispatch.dylib
_dispatch_root_queue_drain + 584frame #24: 0x0000000100d00bb8 libdispatch.dylib
_dispatch_worker_thread3 + 140 frame #25: 0x00000001821fd2c8 libsystem_pthread.dylib
_pthread_wqthread + 1288frame #26: 0x00000001821fcdb4 libsystem_pthread.dylib`start_wqthread + 4
The text was updated successfully, but these errors were encountered: