sugarchain-project / yumekawa

[TEST] Yumekawa 2.0 Taproot
MIT License
6 stars 5 forks source link

Segmentation Fault: 11 on low resource OSX and Win10 #79

Open decryp2kanon opened 3 years ago

decryp2kanon commented 3 years ago

segfault when loading a large wallet.dat

similar issues: https://github.com/bitcoin/bitcoin/issues/4607 https://github.com/bitcoin/bitcoin/issues/12318 https://github.com/bitcoin/bitcoin/issues/9816

screenshots:

but linux64 is fine.

decryp2kanon commented 3 years ago

Segfault on Linux too

2020-12-08T20:44:46Z Sugarchain Yumekawa version v0.21.0-rc1_rescan_oom (release build)
2020-12-08T20:44:46Z Qt 5.11.3 (dynamic), plugin=xcb (dynamic)
2020-12-08T20:44:46Z System: Debian GNU/Linux 10 (buster), x86_64-little_endian-lp64

...

2020-12-08T20:46:31Z [123zeze] Wallet File Version = 159900
2020-12-08T20:46:31Z [123zeze] Keys: 0 plaintext, 4002 encrypted, 4002 w/ metadata, 4002 total. Unknown wallet records: 0
2020-12-08T20:46:31Z [123zeze] Wallet completed loading in              61ms
2020-12-08T20:46:31Z init message: Rescanning...
2020-12-08T20:46:31Z [123zeze] Rescanning last 1477154 blocks (from block 6692419)...
2020-12-08T20:46:31Z [123zeze] Rescan started from block 38639e5dbae05a7e25493011a3aeeeb6e6482f95e3a3f7204a41aa96694599a3...
2020-12-08T20:46:31Z [123zeze] AddToWallet 1987a8ca58d9c2d86d65195492f96b7c8cce51cffe1817ccffc0a37d92c5653b  
2020-12-08T20:46:31Z [123zeze] AddToWallet 755d3f97b6411e5f6f5ec4754b2df3259f7ee897388e718c6289f4b34615fab0  
2020-12-08T20:46:32Z [123zeze] AddToWallet cd537c39b49608edea03c8c76f993f10d63b133cc55424923d5eb09e9ef86f01

Segmentation fault
decryp2kanon commented 3 years ago
Error: "wallet.dat" corrupt. Try using the wallet tool bitcoin-wallet to salvage or restoring a backup.
decryp2kanon commented 3 years ago

https://github.com/sugarchain-project/yumekawa/issues/71

try delete ~/.sugarchain/.lock