Skip to content

Themis Android crashes on devices with 16 KB page size #1050

@lehandriel

Description

@lehandriel

Describe the bug
Themis Android crashes on devices with 16 KB page size.

To Reproduce
Steps to reproduce the behavior:

  1. Create a virtual device with Android 15 and 16KB page size
  2. Run docs/examples/android app on the created virtual device
  3. App crashes

Expected behavior
App runs without a crash

Environment (please complete the following information):

  • OS: Android 15
  • Hardware: ARM 64-bit 16KB page size
  • Themis version: 0.15.2
  • Installation way:
    • built from source

Additional context
According to https://developer.android.com/guide/practices/page-sizes#compile-r26-lower a line:

target_link_options(themis_jni PRIVATE "-Wl,-z,max-page-size=16384")

should be added to the file:

jni/CMakeLists.txt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions