Hello everyone,
I hope you can assist me with an issue I'm facing. The app I’m using has an embedded mechanism for transactions, but it only allows one device to be enabled at a time. While I can perform most functions, I am unable to confirm transactions using the embedded feature because I cannot configure my GrapheneOS device as the signing device. The error reported by the app is quite generic, but I have managed to capture the OS logs on a few occasions. However, the crash does not occur every time I attempt to use the feature.
I am running Google Play and Services sandboxed in the same environment as the app. To improve compatibility, I have also removed some hardening features, such as exploit protection.
I suspect the issue may stem from compatibility checks related to the differences between GrapheneOS and stock Android. If anyone is aware of any workarounds or solutions, I would greatly appreciate your help.
Thank you in advance for your assistance!
Please find the crash stack in attachment.
Best regards.
`type: crash
userType: profile.managed
package: es.lacaixa.mobile.android.newwapicon:2025072501, targetSdk 35
osVersion: google/panther/panther:16/BP2A.250805.005/2025081400:user/release-keys
uid: 1210241 (u:r:untrusted_app:s0:c241,c256,c524,c768)
cmdline: es.lacaixa.mobile.android.newwapicon
processUptime: 3189s
abortMessage: hardened_malloc: fatal allocator error: canary corrupted
signal: 6 (SIGABRT), code -1 (SI_QUEUE)
threadName: thread4-4012895
backtrace:
/apex/com.android.runtime/lib64/bionic/libc.so (abort+156, pc 7727c)
/apex/com.android.runtime/lib64/bionic/libc.so (fatal_error+44, pc 60984)
/apex/com.android.runtime/lib64/bionic/libc.so (deallocate_small+1272, pc 5e298)
/apex/com.android.art/lib64/libart.so (art::JNI<false>::ReleaseByteArrayElements(_JNIEnv, jbyteArray, signed char, int)+696, pc 67aed8)
/apex/com.android.conscrypt/lib64/libjavacrypto.so (NativeCrypto_EVP_CipherFinal_ex(JNIEnv, _jclass, _jobject, _jbyteArray, int) (.llvm.2823428834662479330)+368, pc 1eec0)
/system/framework/arm64/boot-framework.oat (art_jni_trampoline+136, pc 8475e8)
/apex/com.android.art/lib64/libart.so (nterp_helper+152, pc 6a1108)
/apex/com.android.conscrypt/javalib/conscrypt.jar (com.android.org.conscrypt.OpenSSLEvpCipher.doFinalInternal+38, pc 31dda)
/apex/com.android.art/lib64/libart.so (nterp_helper+3924, pc 6a1fc4)
/apex/com.android.conscrypt/javalib/conscrypt.jar (com.android.org.conscrypt.OpenSSLEvpCipher.engineDoFinal+70, pc 31d4e)
/data/app/mm9ZyrGEz5uiAVtrb6eHsg==/es.lacaixa.mobile.android.newwapicon-HmQVwAfx-N-d0rQ8l4eAow==/oat/arm64/base.odex (o.DownloadManager5.RemoteActionCompatParcelizer+316, pc 4fb751c)
/data/app/mm9ZyrGEz5uiAVtrb6eHsg==/es.lacaixa.mobile.android.newwapicon-HmQVwAfx-N-d0rQ8l4eAow==/oat/arm64/base.odex (o.DownloadManager5.values+224, pc 4fbe450)
/data/app/mm9ZyrGEz5uiAVtrb6eHsg==/es.lacaixa.mobile.android.newwapicon-HmQVwAfx-N-d0rQ8l4eAow==/oat/arm64/base.odex (o.Video1.values+468, pc 55fff74)
/data/app/mm9ZyrGEz5uiAVtrb6eHsg==/es.lacaixa.mobile.android.newwapicon-HmQVwAfx-N-d0rQ8l4eAow==/oat/arm64/base.odex (o.Video1.RemoteActionCompatParcelizer+52, pc 55ff984)
/data/app/mm9ZyrGEz5uiAVtrb6eHsg==/es.lacaixa.mobile.android.newwapicon-HmQVwAfx-N-d0rQ8l4eAow==/oat/arm64/base.odex (o.Video1.values+48, pc 55ffa40)
/data/app/mm9ZyrGEz5uiAVtrb6eHsg==/es.lacaixa.mobile.android.newwapicon-HmQVwAfx-N-d0rQ8l4eAow==/oat/arm64/base.odex (o.setDownloadId.run+4748, pc 56a4abc)
/system/framework/arm64/boot.oat (java.util.concurrent.Executors$RunnableAdapter.call+60, pc 20ad2c)
/system/framework/arm64/boot.oat (java.util.concurrent.FutureTask.run+164, pc 209da4)
/system/framework/arm64/boot.oat (java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run+128, pc 212900)
/system/framework/arm64/boot.oat (java.util.concurrent.ThreadPoolExecutor.runWorker+676, pc 214c54)
/system/framework/arm64/boot.oat (java.util.concurrent.ThreadPoolExecutor$Worker.run+56, pc 218bf8)
/system/framework/arm64/boot.oat (java.lang.Thread.run+64, pc a94f0)
/apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+612, pc 323b94)
/apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread, unsigned int, unsigned int, art::JValue, char const)+216, pc 3125f8)
/apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void)+936, pc 4292b8)
/apex/com.android.art/lib64/libart.so (art::Thread::CreateCallbackWithUffdGc(void)+8, pc 428ef8)
/apex/com.android.runtime/lib64/bionic/libc.so (pthread_start(void)+236, pc 87c3c)
/apex/com.android.runtime/lib64/bionic/libc.so (start_thread+64, pc 7a200)`