Creating BIP32Keystore from mnemonics crashes with EXC_BAD_ACCESS
See original GitHub issue- Xcode 12.0
- Added using Carthage
- Latest version from “master” branch (Cartfile.resolved
github "matter-labs/web3swift" "59762337126f732345497daa11f18ad23510a575"
) - Ran on both iOS 13 & 14 emulator iPhone 8
- Used the code example provided by documentation
let password = "web3swift"
let bitsOfEntropy: Int = 128 // Entropy is a measure of password strength. Usually used 128 or 256 bits.
let mnemonics = try! BIP39.generateMnemonics(bitsOfEntropy: bitsOfEntropy)!
let keystore = try! BIP32Keystore(
mnemonics: mnemonics,
password: password,
mnemonicsPassword: "",
language: .english)!
Will crash at BIP39.swift line 152
Issue Analytics
- State:
- Created 3 years ago
- Comments:15 (6 by maintainers)
Top Results From Across the Web
Creating BIP32Keystore from mnemonics crashes ... - GitHub
Creating BIP32Keystore from mnemonics crashes with EXC_BAD_ACCESS #277 ... PS If you remove whitespaces from the generated mnemonic then it ...
Read more >EXC_BAD_ACCESS crash error: Understanding and solving it
EXC_BAD_ACCESS crashes are annoying but solvable using the right tools. Learn how to use the Xcode sanitizers to fix those crashes in Swift....
Read more >Investigating memory access crashes - Apple Developer
Identify crashes that arise from memory access issues, and investigate the cause of the crash. Overview. A crash due to a memory access...
Read more >objective c - Block callback crashes with EXC_BAD_ACCESS
I have a custom NSOperation subclass that I use for making HTTP requests. It accepts a block-based callback that is executed when the...
Read more >iOS EXC_BAD_ACCESS Crash - Unity Forum
Well, we tried a device build and there are no errors! But still occures in simulator builds. 1) In my case my Mac...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I would like to make a gitcoin bounty for this fix
I switched to
develop
branch when I saw there were some commits and since then it has worked for me.