signal 7 (SIGBUS), code 2 (BUS_ADRERR)

1

Suddenly these types of error started appearing on all devices, on all android versions in my developers console.

I have checked these answers and did not find a fix for this error:

Fatal signal 7 (SIGBUS) at 0x00000000 (code=2)

What's exactly meaning of "Fatal signal 7 (SIGBUS) at 0x5937abd0 (code=2)" on Android platform?

Fatal signal 7 (SIGBUS), code 2, fault addr 0x8e020c98

Catch native crash: signal 7 (SIGBUS), code 2 (BUS_ADRERR)

Android 5.1 crash -- glDrawArrays GL_POINTS -- Fatal signal 7 (SIGBUS), code 2

android using Renderscript for blur effect crashes causes A/libc﹕ Fatal signal 7 (SIGBUS), code 2, fault addr 0x9e6fa000 in tid 482 (AsyncTask #1)

App random crashes with Fatal signal 7 (SIGBUS), code 2 or Fatal signal 11 (SIGSEGV), code 1

and others.

I am not using NDK.

Here are the traces:

signal 7 (SIGBUS), code 2 (BUS_ADRERR)
memcpy
#00  pc 000000000001ae6c  /system/lib64/libc.so (memcpy+356)
#01  pc 0000000000105bd4  /system/lib64/libandroid_runtime.so
#02  pc 0000000001abeab0  /system/framework/arm64/boot-framework.oat (android.graphics.Bitmap.nativeCopyPixelsToBuffer+156)
#03  pc 0000000001ac0a88  /system/framework/arm64/boot-framework.oat (android.graphics.Bitmap.copyPixelsToBuffer+468)
#04  pc 00000000000218b0  /dev/ashmem/dalvik-jit-code-cache (deleted)

signal 7 (SIGBUS), code 2 (BUS_ADRERR)
memcpy
#00  pc 000000000001c3ac  /system/lib64/libc.so (memcpy+356)
#01  pc 00000000000eff3c  /system/lib64/libandroid_runtime.so
#02  pc 0000000002b7034c  /data/dalvik-cache/arm64/system@framework@boot.oat

signal 7 (SIGBUS), code 2 (BUS_ADRERR)
__memcpy_base
#00  pc 0000000000016afc  /system/lib/libc.so (__memcpy_base+104)
#01  pc 000000000008f8ff  /system/lib/libandroid_runtime.so
#02  pc 000000000242b859  /system/framework/arm/boot.oat

signal 7 (SIGBUS), code 2 (BUS_ADRERR)
memcpy
#00  pc 000000000001abec  /system/lib64/libc.so (memcpy+356)
#01  pc 000000000011104c  /system/lib64/libandroid_runtime.so
#02  pc 0000000075aa04a0  /data/dalvik-cache/arm64/system@framework@boot-framework.oat

I have completely no idea where this is coming from. I have been searching all over the internet for the last week and found no fixes for these errors.

Could this be somehow connected to use of Kotlin in my app?

android
kotlin
asked on Stack Overflow Dec 7, 2017 by lxknvlk

2 Answers

0

This is because of you have not passed the proper value to the function. OpenGL must required a proper passing.

Check the samples at this link https://github.com/NativeCodeSamples/native-app-samples

Using a GL_POINTS you can draw a point or a line based on given value.

answered on Stack Overflow Dec 9, 2017 by Kunjesh Virani
0

Clearing space in root directory helped me

answered on Stack Overflow May 5, 2021 by Kalyan Raparthi

User contributions licensed under CC BY-SA 3.0