Android M Preview 3 emulator Native Browser crash - android

I have created an Android emulator with OS(6.0) and when the emulator starts i launch directly the "Browser" app and get a crash.
Here are some logs :
W/System(1617): ClassLoader referenced unknown path: /system/app/webview/lib/arm
E/ActivityThread(1617): Failed to find provider info for com.google.settings
### WebView Version 44.0.2403.119 (code 246011900)
Fatal signal 6 (SIGABRT), code -6 in tid 1667 (GpuThread)
SELinux: Loaded file_contexts contexts from /file_contexts.
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'generic/sdk_phone_armv7/generic:6.0/MRA44C/2166767:eng/test-keys'
Revision: '0'
ABI: 'arm'
pid: 1617, tid: 1667, name: GpuThread >>> com.android.browser <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: '[FATAL:gl_surface_android.cc(58)] Check failed: kGLImplementationNone != GetGLImplementation() (0 vs. 0)
does anyone know something about that?
Please find the tombstone file that contains the full crash log :
Tombstone01

Resolved by checking "Use GPU Host" when creating the emulator.

Related

Unity: Timeout while trying detaching primary window

Getting - com.example W/Unity: Timeout while trying detaching primary window.
After getting this message in Logcat -
React Native App is crashing on goBack to previous screen(React Native App screen) from the Unity screen
https://github.com/azesmway/react-native-unity/issues/38#issuecomment-1288892945
2022-10-24 /com.example W/Unity: Timeout while trying detaching primary window.
2022-10-24 /com.example E/CRASH: other thread is trapped; signum = 11
2022-10-24 /com.example E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example, PID: 123
java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Version '2021.3.11f1 (asdf)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
Build fingerprint: 'mobiledevice/dreamltexx/dreamlte:9/PPR1.180610.011/ASDF09876:user/release-keys'
Revision: '10'
ABI: 'arm64'
Timestamp: 2022-10-24 16:53:25+123
pid: 123, tid: 123, name: Thread-11 >>> com.example <<<
uid: 123
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x44
Cause: null pointer dereference
x0 0000000000000000 x1 0000006e59afed38 x2 0000006e59afed44 x3 0000000000000002

Render process crashing webview Android Pie (9)

Trying to load the HTML files from assets folder, app working fine up to Android v8.1 and getting crash in Android Pie (9) devices.
Seems like WebView render process getting crash according the debug logs, finding the ways to resolve this issue.
Please help and suggest...Thanks in advance.
From the logcat:
2019-09-19 15:37:13.967 3313-3342/? E/libc: failed to connect to tombstoned: Operation not permitted
2019-09-19 15:37:14.100 4499-4499/? E/audit: type=1701 audit(1568887634.098:9979): auid=4294967295 uid=99281 gid=99281 ses=4294967295 subj=u:r:isolated_app:s0:c25,c257,c512,c768 pid=3313 comm="CrRendererMain" exe="/system/bin/app_process32" sig=5
2019-09-19 15:37:14.129 4924-4978/? E/libprocessgroup: Error encountered killing process cgroup uid 99281 pid 3313: No such file or directory
2019-09-19 15:37:14.147 3131-3131/? E/chromium: [ERROR:aw_browser_terminator.cc(125)] Renderer process (3313) crash detected (code 5).
2019-09-19 15:37:14.148 3131-3131/? A/chromium: [FATAL:crashpad_client_linux.cc(494)] Render process (3313)'s crash wasn't handled by all associated webviews, triggering application crash.
--------- beginning of crash
2019-09-19 15:37:14.149 3131-3131/? A/libc: Fatal signal 5 (SIGTRAP), code 1 (TRAP_BRKPT), fault addr 0x726bc83a50 in tid 3131 (s.ultrasyncplus), pid 3131 (s.ultrasyncplus)
2019-09-19 15:37:14.227 3410-3410/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2019-09-19 15:37:14.227 3410-3410/? A/DEBUG: Build fingerprint: 'samsung/crownltexx/crownlte:9/PPR1.180610.011/N960FXXS3CSFC:user/release-keys'
2019-09-19 15:37:14.227 3410-3410/? A/DEBUG: Revision: '28'
2019-09-19 15:37:14.227 3410-3410/? A/DEBUG: ABI: 'arm64'
2019-09-19 15:37:14.227 3410-3410/? A/DEBUG: pid: 3131, tid: 3131, name: s.ultrasyncplus >>> com.uhssystems.ultrasyncplus <<<
2019-09-19 15:37:14.227 3410-3410/? A/DEBUG: signal 5 (SIGTRAP), code 1 (TRAP_BRKPT), fault addr 0x726bc83a50
2019-09-19 15:37:14.227 3410-3410/? A/DEBUG: Abort message: '[FATAL:crashpad_client_linux.cc(494)] Render process (3313)'s crash wasn't handled by all associated webviews, triggering application crash.
method 1 :This method works for all domains also with Android 9. Add this property to your Manifest like this:
<application
...
android:usesCleartextTraffic="true"
...>
</application>
method 2.1 : Add #xml/network_security_config into your resources:
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">www.rcub.ac.in/</domain>
</domain-config>
</network-security-config>
2.2 : Add this security config to your Manifest like this:
<application
...
android:networkSecurityConfig="#xml/network_security_config"
...>
...
</application>
You can read more in https://developer.android.com/training/articles/security-config#CleartextTrafficPermitted

Android Exception FATAL:flutter/shell/platform/android/platform_view_android_jni.cc in flutter

F/flutter (13556): [FATAL:flutter/shell/platform/android/platform_view_android_jni.cc(60)] Check failed: CheckException(env).
F/libc (13556): Fatal signal 6 (SIGABRT), code -6 in tid 13556 (yapp.mysurvey)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'HUAWEI/MHA-L29/HWMHA:8.0.0/HUAWEIMHA-L29/366(C636):user/release-keys'
Revision: '0'
ABI: 'arm64'
pid: 13556, tid: 13556, name: yapp.mysurvey>>> com.myapp.mysurvey <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: '[FATAL:flutter/shell/platform/android/platform_view_android_jni.cc(60)] Check failed: CheckException(env).
I got this error the app is build.
I got included this in my pubspec.ymal file
firebase_auth: ^0.5.5
firebase_database: ^0.4.6
firebase_storage: ^0.3.0
f_grecaptcha: ^1.0.0
Fixed the issue, in app/build.gradle add the following code but the APK size will increase i.e from 31MB to 35MB.
buildTypes {
release {
minifyEnabled false
shrinkResources false
#jibril90 Thanks! It it helps me.
This code in app/build.gradle fixed an issue, but increased app size (ok in my case):
buildTypes {
release {
minifyEnabled false
shrinkResources false
...
Based on Nuts's answer
Answer link
You can add the next line inside app/build.gradle
implementation ("com.google.android.gms: play-services-base: 17.0.0") {force = true}
It worked properly for me
the easiest way is to run flutter clean in your terminal that always fixes many errors

JNI crashlog: source file line determination with stacktrace output

Crashes & ANR section of google play developer console provides this kind of feedback when native code crashes on user's device:
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: '...'
Revision: '...'
ABI: 'arm'
pid: ...., tid: ...., name: .... >>> com.package <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
<registers>
backtrace:
#00 pc 003ba9be /data/app/com.package/lib/arm/libx.so (sl_setVolumeSound(unsigned int, float)+105)
#01 pc 003b9db7 /data/app/com.package/lib/arm/libx.so (Audio::setVolumeSound(unsigned int, float)+106)
so far, so good. But how could one determine a source code line out of bytecode offset(?), such as +105 for the sl_setVolumeSound function in the sample output above?
I would especially appreciate a solution which would work completely in macosx command line, with no IDEs engaged.
ndk-stack is specially suited for this purpose. Note, that to get it working you need a non-stripped versions of your native libraries. More details here.

Did someone give a try the Http Live Streaming in Android V3.0?

As you should know, Google annonced that Apple Http Live Streaming is now supported in the SDK V3.0 via the mediaPlayer Framework.
So I wrote some lines to test this. I started with a "3gp" movie that is correclty displayed on the emulator (a tablet). When I feed the source with a working m3u8 URL nothing is displayed and the debugger reports an error
Can someone lead me from darkness to light ???
I guess it has something to do with codec but...
Many thanks for any clue.
Zbb
02-15 09:49:31.284: INFO/avc_utils(33): found AVC codec config (320 x 180, Main-profile level 1.3)
02-15 09:49:31.444: INFO/ESQueue(33): found AAC codec config (24000 Hz, 2 channels)
02-15 09:49:31.444: INFO/ESQueue(33): [ 02-15 09:49:31.454 33:0x1b9 F/ACodec ]
02-15 09:49:31.444: INFO/ESQueue(33): frameworks/base/media/libstagefright/ACodec.cpp:1594
CHECK_EQ( omx->allocateNode(componentName.c_str(), observer, &node),(status_t)OK) failed: -2147483648 vs. 0
02-15 09:49:31.605: INFO/DEBUG(31): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-15 09:49:31.605: INFO/DEBUG(31): Build fingerprint: 'generic/sdk/generic:Honeycomb/HPI20B/eng.xav.20110125.162619:eng/test-keys'
02-15 09:49:31.605: INFO/DEBUG(31): pid: 33, tid: 441 >>> /system/bin/mediaserver <<<
02-15 09:49:31.615: INFO/DEBUG(31): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad

Categories

Resources