Skip to content
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

Exception on running application on Android 15 - 16 KB page size #44

Open
ABINAYASEL opened this issue Aug 2, 2024 · 4 comments
Open

Comments

@ABINAYASEL
Copy link

ABINAYASEL commented Aug 2, 2024

Screenshot 2024-08-02 at 11 53 19 AM

sqlCipher version: "4.5.6"

@ABINAYASEL ABINAYASEL changed the title Exception on running application on Android 15 16 KB page size Exception on running application on Android 15 - 16 KB page size Aug 2, 2024
@developernotes
Copy link
Member

Hi @ABINAYASEL,

We’re targeting support for 16kb page sizes on Android in the next release of SQLCipher. We have not scheduled that release yet, but keep an eye out for updates. Note that the existing builds of SQLCipher will work on Android 15. New 16kb builds would only be required for specific new devices and emulators using a 16kb page size in conjunction with Android 15.

@developernotes
Copy link
Member

Hi @ABINAYASEL,

We will be making prerelease builds available to Commercial/Enterprise customers upon request. If you are interested in this release, please reach out to us at support@zetetic.net.

@ysy950803
Copy link

ysy950803 commented Sep 5, 2024

+1

I have the same problem.

implementation("net.zetetic:sqlcipher-android:4.6.0@aar")

Crash:

---------------------------- PROCESS STARTED (23256) for package com.xxx.xxx ----------------------------
2024-09-05 16:48:38.586 23256-23256 libc                    com.xxx.xxx                  A  Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7bdf60170648 in tid 23256 (xxx.xxx), pid 23256 (xxx.xxx)
---------------------------- PROCESS STARTED (23295) for package com.xxx.xxx ----------------------------
2024-09-05 16:48:40.202 23293-23293 DEBUG                   crash_dump64                         A  *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2024-09-05 16:48:40.202 23293-23293 DEBUG                   crash_dump64                         A  Build fingerprint: 'google/sdk_gphone16k_x86_64/emu64xa16k:VanillaIceCream/AP31.240426.022.B1/11834390:userdebug/dev-keys'
2024-09-05 16:48:40.203 23293-23293 DEBUG                   crash_dump64                         A  Revision: '0'
2024-09-05 16:48:40.203 23293-23293 DEBUG                   crash_dump64                         A  ABI: 'x86_64'
2024-09-05 16:48:40.203 23293-23293 DEBUG                   crash_dump64                         A  Timestamp: 2024-09-05 16:48:38.765229227+0800
2024-09-05 16:48:40.204 23293-23293 DEBUG                   crash_dump64                         A  Process uptime: 3s
2024-09-05 16:48:40.204 23293-23293 DEBUG                   crash_dump64                         A  Cmdline: com.xxx.xxx
2024-09-05 16:48:40.205 23293-23293 DEBUG                   crash_dump64                         A  pid: 23256, tid: 23256, name: xxx.xxx  >>> com.xxx.xxx <<<
2024-09-05 16:48:40.205 23293-23293 DEBUG                   crash_dump64                         A  uid: 10193
2024-09-05 16:48:40.205 23293-23293 DEBUG                   crash_dump64                         A  signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x00007bdf60170648
2024-09-05 16:48:40.206 23293-23293 DEBUG                   crash_dump64                         A      rax 00007bdf60170648  rbx 00000000000039b8  rcx 0000000000000000  rdx 00000000000039b8
2024-09-05 16:48:40.207 23293-23293 DEBUG                   crash_dump64                         A      r8  0000000000000070  r9  0000000000aa8000  r10 0000000000000012  r11 0000000000000206
2024-09-05 16:48:40.207 23293-23293 DEBUG                   crash_dump64                         A      r12 00007bdf60110000  r13 00007bdf60170648  r14 000000000005ece8  r15 000000000005f648
2024-09-05 16:48:40.208 23293-23293 DEBUG                   crash_dump64                         A      rdi 00007bdf60170648  rsi 0000000000000000
2024-09-05 16:48:40.209 23293-23293 DEBUG                   crash_dump64                         A      rbp 0000000000aa8000  rsp 00007ffa2fb372a8  rip 00007be33472203a
2024-09-05 16:48:40.210 23293-23293 DEBUG                   crash_dump64                         A  12 total frames
2024-09-05 16:48:40.210 23293-23293 DEBUG                   crash_dump64                         A  backtrace:
2024-09-05 16:48:40.211 23293-23293 DEBUG                   crash_dump64                         A        #00 pc 000000000007603a  /apex/com.android.runtime/bin/linker64 (__dl_memset_generic+90) (BuildId: 330d02fc2a632578f58ae7d9087bcbf8)
2024-09-05 16:48:40.212 23293-23293 DEBUG                   crash_dump64                         A        #01 pc 00000000000b5961  /apex/com.android.runtime/bin/linker64 (__dl__ZN9ElfReader12LoadSegmentsEv+961) (BuildId: 330d02fc2a632578f58ae7d9087bcbf8)
2024-09-05 16:48:40.213 23293-23293 DEBUG                   crash_dump64                         A        #02 pc 00000000000b4f86  /apex/com.android.runtime/bin/linker64 (__dl__ZN9ElfReader4LoadEP20address_space_params+38) (BuildId: 330d02fc2a632578f58ae7d9087bcbf8)
2024-09-05 16:48:40.214 23293-23293 DEBUG                   crash_dump64                         A        #03 pc 000000000009efaf  /apex/com.android.runtime/bin/linker64 (__dl__ZN8LoadTask4loadEP20address_space_params+79) (BuildId: 330d02fc2a632578f58ae7d9087bcbf8)
2024-09-05 16:48:40.215 23293-23293 DEBUG                   crash_dump64                         A        #04 pc 000000000009e4ab  /apex/com.android.runtime/bin/linker64 (__dl__Z14find_librariesP19android_namespace_tP6soinfoPKPKcmPS2_PNSt3__16vectorIS2_NS8_9allocatorIS2_EEEEmiPK17android_dlextinfobPNS9_IS0_NSA_IS0_EEEE+3595) (BuildId: 330d02fc2a632578f58ae7d9087bcbf8)
2024-09-05 16:48:40.215 23293-23293 DEBUG                   crash_dump64                         A        #05 pc 00000000000a15ed  /apex/com.android.runtime/bin/linker64 (__dl__Z9do_dlopenPKciPK17android_dlextinfoPKv+2317) (BuildId: 330d02fc2a632578f58ae7d9087bcbf8)
2024-09-05 16:48:40.216 23293-23293 DEBUG                   crash_dump64                         A        #06 pc 000000000009c14a  /apex/com.android.runtime/bin/linker64 (__loader_android_dlopen_ext+58) (BuildId: 330d02fc2a632578f58ae7d9087bcbf8)
2024-09-05 16:48:40.216 23293-23293 DEBUG                   crash_dump64                         A        #07 pc 000000000001d075  /apex/com.android.art/lib64/libnativeloader.so (android::NativeLoaderNamespace::Load(char const*) const+149) (BuildId: 2165f5c57bf192c12101277fe480c468)
2024-09-05 16:48:40.218 23293-23293 DEBUG                   crash_dump64                         A        #08 pc 000000000000c8f1  /apex/com.android.art/lib64/libnativeloader.so (OpenNativeLibrary+657) (BuildId: 2165f5c57bf192c12101277fe480c468)
2024-09-05 16:48:40.218 23293-23293 DEBUG                   crash_dump64                         A        #09 pc 000000000074335d  /apex/com.android.art/lib64/libart.so (art::JavaVMExt::LoadNativeLibrary(_JNIEnv*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, _jobject*, _jclass*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*)+2429) (BuildId: 37164bf9a88b19d6bb6b6e49afca7d34)
2024-09-05 16:48:40.218 23293-23293 DEBUG                   crash_dump64                         A        #10 pc 000000000000505b  /apex/com.android.art/lib64/libopenjdkjvm.so (JVM_NativeLoad+379) (BuildId: 4dddf7beb38f8d33a80e9165aa7d914a)
2024-09-05 16:48:40.219 23293-23293 DEBUG                   crash_dump64                         A        #11 pc 00000000020f3840  /memfd:jit-cache (deleted) (offset 0x2000000)
2024-09-05 16:48:40.311   236-236   tombstoned              tombstoned                           E  Tombstone written to: tombstone_07
---------------------------- PROCESS ENDED (23256) for package com.xxx.xxx ----------------------------

@developernotes
Copy link
Member

Hi @ysy950803, @ABINAYASEL,

SQLCipher 4.6.1 has been released 1 and includes support for 16 KB page sizes.

Footnotes

  1. https://www.zetetic.net/blog/2024/08/20/sqlcipher-4.6.1-release/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants