Adyen/adyen-3ds2-ios

Adyen 3ds crashes on systems using a 16KB Page size

Closed this issue · 1 comments

Describe the bug
As described in https://developer.android.com/guide/practices/page-sizes, Android 15 adds support for devices that use a 16KB page size. When running the 3ds2 on one of these devices, the following crash occurs:

A Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7c31de3e21d0 in tid 4833 (fr.leboncoin), pid 4833 (fr.leboncoin) 2024-08-05 15:18:32.495 5353-5353 DEBUG crash_dump64 A Cmdline: fr.leboncoin 2024-08-05 15:18:32.495 5353-5353 DEBUG crash_dump64 A pid: 4833, tid: 4833, name: fr.leboncoin >>> fr.leboncoin <<< 2024-08-05 15:18:32.495 5353-5353 DEBUG crash_dump64 A #00 pc 00000000000021d0 /data/app/~~MOgqhOZdQnF6fAnuFnM0IQ==/fr.leboncoin-YpRrvBbMQ3Ty5h3JDQ37GA==/base.apk (offset 0x1688000) 2024-08-05 15:18:32.495 5353-5353 DEBUG crash_dump64 A #01 pc 0000000000002c1c /data/app/~~MOgqhOZdQnF6fAnuFnM0IQ==/fr.leboncoin-YpRrvBbMQ3Ty5h3JDQ37GA==/base.apk!libaa867d.so (offset 0x1680000) (JNI_OnLoad+2856) (BuildId: 3dde081546e7b4d2)

the cause is that the native library libaa867d.so does not support devices that are configured to use a page size of 16 KB

To Reproduce
Using emulator with Android 15 configured to use a page size of 16 KB,
When paying using 3ds2 the app crashes

Solution
You need to rebuild the app to support devices using 16KB page size , see the link provided above for more details

not the right repo :(