[JAVA] How to fix Android apps crashing with RenderThread mystery error

problem

On a specific terminal, leave the following output in Logcat and die a mysterious death. It suddenly drops when the app starts. There was no literature and it was hard. However, the mystery that a solution was found immediately after googled today. It's been a long-standing concern, but I've found a solution and I'll report it.

pid: 13362, tid: 13414, name: RenderThread >>> jp.mirm.mirmapp <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x34
x0 0000000000000001 x1 0000007f6bb71340 x2 0000007f69e00000 x3 0000000000000002
x4 00000000000000c4 x5 0000000000000000 x6 0000007f7b6c0680 x7 0000007f7b981710
x8 0000000004595184 x9 0000000004800000 x10 0000007f808c4800 x11 0000000000000000
x12 0000007f80883c00 x13 006345e9fc7f20b7 x14 000000000000018c x15 99f36bdc9125bbf0
x16 0000007f8a5d05a0 x17 0000007f8a5779d0 x18 0000007f6bcc4b80 x19 0000007f6bfe7110
x20 0000000000000000 x21 0000000000000870 x22 0000007f809b2a18 x23 0000000001fa4000
x24 397df56a30e6ec4c x25 0000007f8083e848 x26 397df56a30e6ec4c x27 0000007f88468df8
x28 7fffffffffffffff x29 0000007f80c94bd0 x30 0000007f8bac7d24
sp 0000007f80c94b80 pc 0000007f8bac7df0 pstate 0000000020000000

solution

Disable hardware acceleration with "android: hardware Accelerated =" false "".

AndroidManifest.xml


    <application
            android:allowBackup="true"
            android:icon="@mipmap/icon1"
            android:label="@string/app_name"
            android:roundIcon="@mipmap/icon1"
            android:supportsRtl="true"
            android:theme="@style/AppTheme"
            android:hardwareAccelerated="false"
        >

Ref https://stackoverflow.com/questions/35250816/android-fatal-signal-11-sigsegv-code-1-fault-addr-0x0-in-tid-29092 https://techbooster.org/android/application/7054/

Recommended Posts

How to fix Android apps crashing with RenderThread mystery error
[Android] How to deal with dark themes
[Android Studio] [Java] How to fix the screen vertically
How to get values in real time with TextWatcher (Android)
How to number (number) with html.erb
How to update with activerecord-import
How to use Mali Graphics Debugger to debug apps for Android (even those made with + Unity)
How to make an app using Tensorflow with Android Studio
How to deal with the error ERROR: While executing gem ... (Gem :: FilePermissionError)
[Rails / RSpec] How to deal with element has zero size error
How to deal with 405 Method Not Allowed error in Tomcat + JSP
Android: How to deal with "Could not determine java version from '10 .0.1'"
How to call with One Touch (without confirmation) on Android (Java)
How to scroll horizontally with ScrollView
How to get started with slim
How to "hollow" View on Android
How to enclose any character with "~"
How to use mssql-tools with alpine
How to get along with Rails
[Android] How to make Dialog Fragment
How to start Camunda with Docker
How to crop an image with libGDX
How to adjustTextPosition with iOS Keyboard Extension
How to share files with Docker Toolbox
How to compile Java with VsCode & Ant
How to put out the error bundling
How to use BootStrap with Play Framework
[Rails] How to use rails console with docker
How to detect microphone conflicts on Android
Convert all Android apps (Java) to Kotlin
How to switch thumbnail images with JavaScript
Use ViewModel to rotate Android apps roughly
[Note] How to get started with Rspec
[Rails] How to display error messages individually
How to do API-based control with cancancan
How to fix system date in JUnit
How to achieve file download with Feign
How to update related models with accepts_nested_attributes_for
How to set JAVA_HOME with Maven appassembler-maven-plugin
How to implement TextInputLayout with validation function
How to handle sign-in errors with devise
How to delete data with foreign key
How to test private scope with JUnit
How to monitor nginx with docker-compose with datadog
How to deal with Precompiling assets failed.
How to achieve file upload with Feign
How to run Blazor (C #) with Docker
How to build Rails 6 environment with Docker
How to use ExpandableListView in Android Studio
How to display error messages in Japanese
[Laravel] How to deal with out of memory error when composer require [Docker]
I'm making an Android app and I'm stuck with errors and how to solve it