Open svdo7 opened 3 years ago
Hello,
when clicking the generate address button on the example app (using Google Pixel 4 Simulator), I receive the following SIGSEGV (NPE), which happens to occur random_buffer.
random_buffer
F/libc ( 5853): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 5884 (1.ui), pid 5853 (allet_core_demo) *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Build fingerprint: 'google/sdk_gphone_x86/generic_x86_arm:11/RSR1.201013.001/6903271:user/release-keys' Revision: '0' ABI: 'x86' Timestamp: 2021-09-14 15:50:28+0200 pid: 5853, tid: 5884, name: 1.ui >>> com.example.flutter_trust_wallet_core_demo <<< uid: 10163 signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 Cause: null pointer dereference eax 00000000 ebx b932d2b8 ecx c68e33d8 edx 00000080 edi 00000080 esi c68e3340 ebp c68e3328 esp c68e32f0 eip b8e75668 backtrace: #00 pc 00334668 /data/app/~~cBT0PZrDHgSQxsmw20maZg==/com.example.flutter_trust_wallet_core_demo-wxKRrspKkc43AT1r0yic1Q==/base.apk!libTrustWalletCore.so (offset 0x56ed000) (random_buffer+40) (BuildId: 5aef3e97b6c4985144591f050cee1f4f7f0c2626) #01 pc 005dcd62 /data/app/~~cBT0PZrDHgSQxsmw20maZg==/com.example.flutter_trust_wallet_core_demo-wxKRrspKkc43AT1r0yic1Q==/base.apk!libTrustWalletCore.so (offset 0x56ed000) (mnemonic_generate+82) (BuildId: 5aef3e97b6c4985144591f050cee1f4f7f0c2626) #02 pc 00400607 /data/app/~~cBT0PZrDHgSQxsmw20maZg==/com.example.flutter_trust_wallet_core_demo-wxKRrspKkc43AT1r0yic1Q==/base.apk!libTrustWalletCore.so (offset 0x56ed000) (TW::HDWallet::HDWallet(int, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&)+231) (BuildId: 5aef3e97b6c4985144591f050cee1f4f7f0c2626) #03 pc 004b20dc /data/app/~~cBT0PZrDHgSQxsmw20maZg==/com.example.flutter_trust_wallet_core_demo-wxKRrspKkc43AT1r0yic1Q==/base.apk!libTrustWalletCore.so (offset 0x56ed000) (TWHDWalletCreate+204) (BuildId: 5aef3e97b6c4985144591f050cee1f4f7f0c2626) #04 pc 00003f5f <anonymous:c3880000> Lost connection to device.
When trying out other library function calls (e.g. TWMnemonicSuggest), they work without a problem.
TWMnemonicSuggest
Do you have any idea why the null pointer exception occurs?
x86 platform are not support fully now, please use physical device.
Thank you very much for the quick response. I will try on a physical device.
Hello,
when clicking the generate address button on the example app (using Google Pixel 4 Simulator), I receive the following SIGSEGV (NPE), which happens to occur
random_buffer
.When trying out other library function calls (e.g.
TWMnemonicSuggest
), they work without a problem.Do you have any idea why the null pointer exception occurs?