Hi guys,
i'm currently facing a weird problem in my app.
I'm trying to create Previews of my android Wear Watchface, so everybody can see how his settings will look like.
--screens attached--
However, the app crashes if i change the fragment...
This is my code to change the fragment:
Code:
private void changeFragment(int index)
{
if(index != 7 && index != 0) {
showAd();
}
FragmentTransaction ft = getFragmentManager().beginTransaction();
switch (index) {
case 0:
WizardFrameHello fragment = new WizardFrameHello();
fragment.setParentActivity(this);
if (lastFragment != null)
ft.remove(lastFragment);
ft.add(R.id.frameWizard, (Fragment) fragment);
ft.commit();
lastFragment = fragment;
break;
case 7:
WizardFrameSelectProcedure fragment7 = new WizardFrameSelectProcedure();
fragment7.setParentActivity(this);
if (lastFragment != null)
ft.remove(lastFragment);
ft.add(R.id.frameWizard, (Fragment) fragment7);
ft.commit();
lastFragment = fragment7;
break;
[...]
case 11:
WizardFrameLanguages fragment11 = new WizardFrameLanguages();
fragment11.setParentActivity(this);
if (lastFragment != null)
ft.remove(lastFragment);
ft.add(R.id.frameWizard, (Fragment) fragment11);
ft.commit();
lastFragment = fragment11;
break;
}
}
public void prevStep() {
if (index == 5 && textResource.USE_SPECIFIC) {
index = 3;
changeFragment(index);
} else if (index == 4 || index == 3) {
index = 2;
changeFragment(index);
} else if (index > 0) {
index--;
changeFragment(index);
}
}
public void setStep(int step)
{
index = step;
changeFragment(index);
}
public void nextStep() {
if (index == 3)
index = 4;
if (index < maxindex) {
index++;
changeFragment(index);
}
}
These are the dumps i got:
Code:
10-10 13:12:05.681 19246-19246/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-10 13:12:05.681 19246-19246/? A/DEBUG: Build fingerprint: 'OnePlus/OnePlus2/OnePlus2:6.0.1/MMB29M/1447840920:user/release-keys'
10-10 13:12:05.681 19246-19246/? A/DEBUG: Revision: '0'
10-10 13:12:05.681 19246-19246/? A/DEBUG: ABI: 'arm64'
10-10 13:12:05.681 19246-19246/? A/DEBUG: pid: 19033, tid: 19040, name: FinalizerDaemon >>> com.kenfenheuer.fancytextwatchlite <<<
10-10 13:12:05.681 19246-19246/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x50
10-10 13:12:05.681 19246-19246/? A/DEBUG: x0 0000007f64ac3268 x1 0000000000000000 x2 0000000000000001 x3 0000000000000001
10-10 13:12:05.681 19246-19246/? A/DEBUG: x4 0000000000000000 x5 0000000000000001 x6 0000000000000000 x7 0000007f868d1560
10-10 13:12:05.681 19246-19246/? A/DEBUG: x8 0000007f64ac3200 x9 0000000000000000 x10 0000000000000000 x11 0000007f84a3e398
10-10 13:12:05.681 19246-19246/? A/DEBUG: x12 0000000000000001 x13 0000000000000000 x14 0000007f84a435bc x15 0000000000000000
10-10 13:12:05.681 19246-19246/? A/DEBUG: x16 0000007f883ce660 x17 0000007f88319340 x18 0000007f7ab1ee00 x19 0000007f6fe53e40
10-10 13:12:05.681 19246-19246/? A/DEBUG: x20 0000007f6fe53e40 x21 0000007f7ab1ee00 x22 00000000718bad10 x23 00000000132d22b0
10-10 13:12:05.681 19246-19246/? A/DEBUG: x24 0000007f83cc62a8 x25 000030dc09c11582 x26 0000000071f55947 x27 0000000071affdf0
10-10 13:12:05.681 19246-19246/? A/DEBUG: x28 0000007f7ab09900 x29 0000007f83cc5eb0 x30 0000007f88319420
10-10 13:12:05.681 19246-19246/? A/DEBUG: sp 0000007f83cc5eb0 pc 0000007f8831938c pstate 0000000080000000
10-10 13:12:05.683 19246-19246/? A/DEBUG: backtrace:
10-10 13:12:05.683 19246-19246/? A/DEBUG: #00 pc 00000000000eb38c /system/lib64/libandroid_runtime.so (_ZN7android6Bitmap12doFreePixelsEv+76)
10-10 13:12:05.683 19246-19246/? A/DEBUG: #01 pc 00000000000eb41c /system/lib64/libandroid_runtime.so (_ZN7android6BitmapD1Ev+16)
10-10 13:12:05.683 19246-19246/? A/DEBUG: #02 pc 00000000000eb4f4 /system/lib64/libandroid_runtime.so (_ZN7android6Bitmap14detachFromJavaEv+52)
10-10 13:12:05.683 19246-19246/? A/DEBUG: #03 pc 00000000022e87f0 /system/framework/arm64/boot.oat (offset 0x1f30000)
10-10 09:08:25.147 30686-30686/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-10 09:08:25.147 30686-30686/? A/DEBUG: Build fingerprint: 'OnePlus/OnePlus2/OnePlus2:6.0.1/MMB29M/1447840920:user/release-keys'
10-10 09:08:25.147 30686-30686/? A/DEBUG: Revision: '0'
10-10 09:08:25.147 30686-30686/? A/DEBUG: ABI: 'arm64'
10-10 09:08:25.148 30686-30686/? A/DEBUG: pid: 30593, tid: 30601, name: FinalizerDaemon >>> com.kenfenheuer.fancytextwatchlite <<<
10-10 09:08:25.148 30686-30686/? A/DEBUG: signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7f61544160
10-10 09:08:25.149 30686-30686/? A/DEBUG: x0 0000007f61544160 x1 0000007f83cc5f04 x2 0000007f61544160 x3 0000000000570000
10-10 09:08:25.149 30686-30686/? A/DEBUG: x4 0000000000430000 x5 0000000000000000 x6 0000007f84a3a000 x7 0000007f84a3c9a8
10-10 09:08:25.149 30686-30686/? A/DEBUG: x8 0000000000000035 x9 0000007f7abafba8 x10 0000000000000001 x11 0000007f84a3e398
10-10 09:08:25.149 30686-30686/? A/DEBUG: x12 0000000000000002 x13 0000000000000000 x14 0000007f83cc5f90 x15 0000000000000000
10-10 09:08:25.149 30686-30686/? A/DEBUG: x16 0000007f883cc920 x17 0000007f88096df8 x18 0000007f7abafa00 x19 0000007f61544160
10-10 09:08:25.149 30686-30686/? A/DEBUG: x20 0000007f88319514 x21 0000007f7abafa00 x22 00000000718bad10 x23 0000000012c07970
10-10 09:08:25.150 30686-30686/? A/DEBUG: x24 0000007f83cc62a8 x25 00002392d5941beb x26 0000000071f55947 x27 0000000071affdf0
10-10 09:08:25.150 30686-30686/? A/DEBUG: x28 0000007f7ab09900 x29 0000007f83cc5eb0 x30 0000007f883194d4
10-10 09:08:25.150 30686-30686/? A/DEBUG: sp 0000007f83cc5eb0 pc 0000007f88096e00 pstate 0000000020000000
10-10 09:08:25.156 30686-30686/? A/DEBUG: backtrace:
10-10 09:08:25.156 30686-30686/? A/DEBUG: #00 pc 0000000000066e00 /system/lib64/libc.so (pthread_mutex_lock+8)
10-10 09:08:25.157 30686-30686/? A/DEBUG: #01 pc 00000000000eb4d0 /system/lib64/libandroid_runtime.so (_ZN7android6Bitmap14detachFromJavaEv+16)
10-10 09:08:25.157 30686-30686/? A/DEBUG: #02 pc 00000000022e87f0 /system/framework/arm64/boot.oat (offset 0x1f30000)
10-10 12:31:11.088 11195-11195/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-10 12:31:11.089 11195-11195/? A/DEBUG: Build fingerprint: 'OnePlus/OnePlus2/OnePlus2:6.0.1/MMB29M/1447840920:user/release-keys'
10-10 12:31:11.089 11195-11195/? A/DEBUG: Revision: '0'
10-10 12:31:11.089 11195-11195/? A/DEBUG: ABI: 'arm64'
10-10 12:31:11.089 11195-11195/? A/DEBUG: pid: 10958, tid: 10966, name: FinalizerDaemon >>> com.kenfenheuer.fancytextwatchlite <<<
10-10 12:31:11.089 11195-11195/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x50
10-10 12:31:11.089 11195-11195/? A/DEBUG: x0 0000007f65453e68 x1 0000000000000000 x2 0000000000000001 x3 0000000000000001
10-10 12:31:11.089 11195-11195/? A/DEBUG: x4 0000000000000000 x5 0000000000000001 x6 0000000000000000 x7 0000007f868d1560
10-10 12:31:11.089 11195-11195/? A/DEBUG: x8 0000007f65453e00 x9 0000000000000000 x10 0000000000000000 x11 0000007f84a3e398
10-10 12:31:11.089 11195-11195/? A/DEBUG: x12 0000000000000001 x13 0000000000000000 x14 0000007f84a435bc x15 0000000000000000
10-10 12:31:11.089 11195-11195/? A/DEBUG: x16 0000007f883ce660 x17 0000007f88319340 x18 0000007f84efe200 x19 0000007f6fe53e40
10-10 12:31:11.089 11195-11195/? A/DEBUG: x20 0000007f6fe53e40 x21 0000007f84efe200 x22 00000000718bad10 x23 00000000130e5b50
10-10 12:31:11.089 11195-11195/? A/DEBUG: x24 0000007f83cc62a8 x25 00002ea373d55b2b x26 0000000071f55947 x27 0000000071affdf0
10-10 12:31:11.089 11195-11195/? A/DEBUG: x28 0000007f7ab09900 x29 0000007f83cc5eb0 x30 0000007f88319420
10-10 12:31:11.089 11195-11195/? A/DEBUG: sp 0000007f83cc5eb0 pc 0000007f8831938c pstate 0000000080000000
10-10 12:31:11.092 11195-11195/? A/DEBUG: backtrace:
10-10 12:31:11.092 11195-11195/? A/DEBUG: #00 pc 00000000000eb38c /system/lib64/libandroid_runtime.so (_ZN7android6Bitmap12doFreePixelsEv+76)
10-10 12:31:11.092 11195-11195/? A/DEBUG: #01 pc 00000000000eb41c /system/lib64/libandroid_runtime.so (_ZN7android6BitmapD1Ev+16)
10-10 12:31:11.092 11195-11195/? A/DEBUG: #02 pc 00000000000eb4f4 /system/lib64/libandroid_runtime.so (_ZN7android6Bitmap14detachFromJavaEv+52)
10-10 12:31:11.092 11195-11195/? A/DEBUG: #03 pc 00000000022e87f0 /system/framework/arm64/boot.oat (offset 0x1f30000)
i've already tried to get some info with android ndk-stack but no luck.
This is the output:
Code:
********** Crash dump: **********
Build fingerprint: 'OnePlus/OnePlus2/OnePlus2:6.0.1/MMB29M/1447840920:user/release-keys'
pid: 19033, tid: 19040, name: FinalizerDaemon >>> com.kenfenheuer.fancytextwatchlite <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x50
Stack frame 10-10 13:12:05.683 19246-19246/? A/DEBUG: #00 pc 00000000000eb38c /system/lib64/libandroid_runtime.so (_ZN7android6Bitmap12doFreePixelsEv+76)
Stack frame 10-10 13:12:05.683 19246-19246/? A/DEBUG: #01 pc 00000000000eb41c /system/lib64/libandroid_runtime.so (_ZN7android6BitmapD1Ev+16)
Stack frame 10-10 13:12:05.683 19246-19246/? A/DEBUG: #02 pc 00000000000eb4f4 /system/lib64/libandroid_runtime.so (_ZN7android6Bitmap14detachFromJavaEv+52)
Stack frame 10-10 13:12:05.683 19246-19246/? A/DEBUG: #03 pc 00000000022e87f0 /system/framework/arm64/boot.oat (offset 0x1f30000)
which is quite saying nothing to me. it should look more like this (example):
Code:
********** Crash dump: **********
Build fingerprint: 'generic/google_sdk/generic/:2.2/FRF91/43546:eng/test-keys'
pid: 351, tid: 351 >>> /data/local/ndk-tests/crasher <<<
signal 11 (SIGSEGV), fault addr 0d9f00d8
Stack frame #00 pc 0000841e /data/local/ndk-tests/crasher : Routine zoo in /tmp/foo/crasher/jni/zoo.c:13
Stack frame #01 pc 000083fe /data/local/ndk-tests/crasher : Routine bar in /tmp/foo/crasher/jni/bar.c:5
Stack frame #02 pc 000083f6 /data/local/ndk-tests/crasher : Routine my_comparison in /tmp/foo/crasher/jni/foo.c:9
Stack frame #03 pc 000191ac /system/lib/libc.so
Stack frame #04 pc 000083ea /data/local/ndk-tests/crasher : Routine foo in /tmp/foo/crasher/jni/foo.c:14
Stack frame #05 pc 00008458 /data/local/ndk-tests/crasher : Routine main in /tmp/foo/crasher/jni/main.c:19
Stack frame #06 pc 0000d362 /system/lib/libc.so
Can you help me ?
Getting the function thats causing the error would be great.
Thanks,
Maximilian
Solved
Well,
this bug was actually caused trough Gson.
I serialized a class containing the settings and a preview bitmap, which was then deserialized to display all available settings,
once the bitmaps were getting destroyed trough garbage collector, the whole system crashed.
I got this error on my tablet, which finally let me dig deeper in my bitmap usages:
Code:
10-11 08:15:24.887 14818-14827/? E/AndroidRuntime: FATAL EXCEPTION: FinalizerWatchdogDaemon
Process: com.kenfenheuer.fancytextwatchlite, PID: 14818
java.util.concurrent.TimeoutException: android.graphics.Bitmap$BitmapFinalizer.finalize() timed out after 10 seconds
at android.graphics.Bitmap.nativeDestructor(Native Method)
at android.graphics.Bitmap.-wrap1(Bitmap.java)
at android.graphics.Bitmap$BitmapFinalizer.finalize(Bitmap.java:1668)
at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:202)
at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:185)
at java.lang.Thread.run(Thread.java:818)
I solved this, trough by adding transient to my bitmap:
Code:
public transient Bitmap preview;
However,
thanks for everyone who may have had a look into this.
Cheers,
Maximilian
Related
I compiled cm 12.1 for my device (HTC Desire C).
I'm currently stuck at the boot animation.
As far as I can tell it does have something to do with zygote.
Below is the output from logcat.
--------- beginning of crash
F/libc ( 147): Fatal signal 4 (SIGILL), code 1, fault addr 0x7344f07e in tid 147 (main)
I/DEBUG ( 139): property debug.db.uid not set; NOT waiting for gdb.
I/DEBUG ( 139): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 139): HINT: adb forward tcp:5039 tcp:5039
I/DEBUG ( 139): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 139): Build fingerprint: 'HTC/cm_golfu/golfu:5.1.1/LMY49J/82eb910196:userdebug/test-keys'
I/DEBUG ( 139): Revision: '1'
I/DEBUG ( 139): ABI: 'arm'
I/DEBUG ( 139): pid: 147, tid: 147, name: main >>> zygote <<<
I/DEBUG ( 139): signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 0x7344f07e
I/DEBUG ( 139): r0 70f77de8 r1 12c57b80 r2 0000000a r3 0000000a
I/DEBUG ( 139): r4 00000002 r5 70f77e48 r6 00000000 r7 70f77de8
I/DEBUG ( 139): r8 00000000 r9 41eddb00 sl 80000000 fp 12c57b80
I/DEBUG ( 139): ip 70fa48d8 sp bee244e0 lr 7344f35f pc 7344f07e cpsr 20000030
I/DEBUG ( 139):
I/DEBUG ( 139): backtrace:
I/DEBUG ( 139): #00 pc 0006b07e /data/dalvik-cache/arm/[email protected]@boot.oat
I/DEBUG ( 139): #01 pc 0006b35d /data/dalvik-cache/arm/[email protected]@boot.oat
I/auditd ( 458): Starting up
E/auditd ( 458): Failed on audit_set_pid with error: Protocol not supported
I/auditd ( 458): Exiting
Click to expand...
Click to collapse
Can someone help me or give me tips how to gather more information myself so I can search more myself.
I'm having an issue that I've been trying to fix for a month now, everytime an app tries to use the GPS, my phone crash and reboots. It happens with all roms except stock. Any idea what it could be?
build.board: MSM8916
build.bootloader: 0x8020
build.brand: Motorola
build.cpu_abi: armeabi-v7a
build.cpu_abi2: armeabi
build.device: surnia_umts
build.display: slim_surnia-userdebug 7.1.2 NJH47B 11e90beeff test-keys
build.fingerprint: motorola/surnia_retus/surnia_umts:5.0.2/LXI22.50-24.1/1:user/release-keys
build.hardware: qcom
build.host: autobuild
build.id: NJH47B
build.manufacturer: Motorola
build.model: XT1527
build.product: Moto E LTE (2nd gen)
build.radio: M8916_2020629.41.03.21.51R
build.serial: TA0930D46O
build.tags: test-keys
build.time: 1498185618000
build.type: userdebug
build.user: jenkins
version.codename: REL
version.incremental: 11e90beeff
version.release: 7.1.2
version.sdk_int: 25
--------- beginning of system
--------- beginning of crash
07-06 00:50:50.860 F/libc (1651): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 1759 (android.bg)
07-06 00:50:51.013 F/DEBUG (4923): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-06 00:50:51.013 F/DEBUG (4923): SLIM Version: 'Slim-7.1.2.build.0.29-BETA-20170623-0440'
07-06 00:50:51.013 F/DEBUG (4923): Build fingerprint: 'motorola/surnia_retus/surnia_umts:5.0.2/LXI22.50-24.1/1:user/release-keys'
07-06 00:50:51.013 F/DEBUG (4923): Revision: '0'
07-06 00:50:51.013 F/DEBUG (4923): ABI: 'arm'
07-06 00:50:51.014 F/DEBUG (4923): pid: 1651, tid: 1759, name: android.bg >>> system_server <<<
07-06 00:50:51.014 F/DEBUG (4923): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
07-06 00:50:51.014 F/DEBUG (4923): r0 97bfb100 r1 00000001 r2 00000000 r3 0000001c
07-06 00:50:51.014 F/DEBUG (4923): r4 adc05030 r5 a0180340 r6 97bfb100 r7 00000001
07-06 00:50:51.014 F/DEBUG (4923): r8 00000000 r9 b4285900 sl 00000001 fp a1d61198
07-06 00:50:51.014 F/DEBUG (4923): ip 00000008 sp a0180318 lr b3356d71 pc 00000000 cpsr 60070010
07-06 00:50:51.017 F/DEBUG (4923):
07-06 00:50:51.017 F/DEBUG (4923): backtrace:
07-06 00:50:51.018 F/DEBUG (4923): #00 pc 00000000 <unknown>
07-06 00:50:51.018 F/DEBUG (4923): #01 pc 00017d6f /system/lib/libandroid_servers.so
07-06 00:50:51.018 F/DEBUG (4923): #02 pc 0119f435 /data/dalvik-cache/arm/[email protected]@[email protected] (offset 0xc9b000)
--------- beginning of main
07-06 00:51:22.911 D/NetworkMonitor/NetworkAgentInfo [WIFI () - 101]( 5171): PROBE_DNS OK 38ms, www.google.com=172.217.0.228
07-06 00:51:22.914 D/NetworkMonitor/NetworkAgentInfo [WIFI () - 101]( 5171): PROBE_DNS OK 41ms, connectivitycheck.gstatic.com=172.217.2.99
07-06 00:51:22.977 D/NetworkMonitor/NetworkAgentInfo [WIFI () - 101]( 5171): PROBE_HTTP http://connectivitycheck.gstatic.com/generate_204 time=59ms ret=204 headers={null=[HTTP/1.1 204 No Content], Content-Length=[0], Date=[Thu, 06 Jul 2017 04:51:23 GMT], X-Android-Received-Millis=[1499316682975], X-Android-Response-Source=[NETWORK 204], X-Android-Selected-Protocol=[http/1.1], X-Android-Sent-Millis=[1499316682950]}
07-06 00:51:23.094 D/NetworkMonitor/NetworkAgentInfo [WIFI () - 101]( 5171): PROBE_HTTPS https://www.google.com/generate_204 time=176ms ret=204 headers={null=[HTTP/1.1 204 No Content], Alt-Svc=[quic=":443"; ma=2592000; v="39,38,37,36,35"], Content-Length=[0], Date=[Thu, 06 Jul 2017 04:51:23 GMT], X-Android-Received-Millis=[1499316683092], X-Android-Response-Source=[NETWORK 204], X-Android-Selected-Protocol=[http/1.1], X-Android-Sent-Millis=[1499316683060]}
Click to expand...
Click to collapse
Sorry for the spam down there, couldn't post the logcat since I didn't have 10 posts
..
..
..
..
..
..
..
Dear all,
i ported nougat to our MTK6580 Device "Cubot Note S". It works fine all, just have some issues with few apps.
I use lineage OS 14.1
They crashing and i don't know why. For Example Google Play Store crashing if i swipe to "Libary" and Opera hangs heavy into crash.
i created a logcat file with the both problems. can someone give me a hint whats the problem could be?
tell me if you need some more information
Has someone an idea how to fix this issue? i analyzed the log now and the fatal error is the main problem:
Fatal signal 6
01-17 21:51:20.102 3919 5155 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 5155 (RenderThread)
01-17 21:51:20.188 5194 5194 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-17 21:51:20.189 5194 5194 F DEBUG : LineageOS Version: '14.1-20180107-UNOFFICIAL-Note_S'
01-17 21:51:20.189 5194 5194 F DEBUG : Build fingerprint: 'Homtom/lineage_HT16/HT16:7.1.2/NJH47F/a9ae3a28c1:userdebug/test-keys'
01-17 21:51:20.189 5194 5194 F DEBUG : Revision: '0'
01-17 21:51:20.189 5194 5194 F DEBUG : ABI: 'arm'
01-17 21:51:20.189 5194 5194 F DEBUG : pid: 3919, tid: 5155, name: RenderThread >>> com.android.vending <<<
01-17 21:51:20.189 5194 5194 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
01-17 21:51:20.194 5194 5194 F DEBUG : Abort message: 'GL errors! frameworks/base/libs/hwui/renderthread/CanvasContext.cpp:550'
01-17 21:51:20.194 5194 5194 F DEBUG : r0 00000000 r1 00001423 r2 00000006 r3 00000008
01-17 21:51:20.194 5194 5194 F DEBUG : r4 9737f978 r5 00000006 r6 9737f920 r7 0000010c
01-17 21:51:20.194 5194 5194 F DEBUG : r8 9bbb4e40 r9 9737f83c sl 9b2c2c48 fp 00000000
01-17 21:51:20.194 5194 5194 F DEBUG : ip 0000000b sp 9737eee8 lr b5cdedd7 pc b5ce1634 cpsr 200e0010
01-17 21:51:20.211 5194 5194 F DEBUG :
01-17 21:51:20.211 5194 5194 F DEBUG : backtrace:
01-17 21:51:20.211 5194 5194 F DEBUG : #00 pc 0004a634 /system/lib/libc.so (tgkill+12)
01-17 21:51:20.211 5194 5194 F DEBUG : #01 pc 00047dd3 /system/lib/libc.so (pthread_kill+34)
01-17 21:51:20.212 5194 5194 F DEBUG : #02 pc 0001d635 /system/lib/libc.so (raise+10)
01-17 21:51:20.212 5194 5194 F DEBUG : #03 pc 00019181 /system/lib/libc.so (__libc_android_abort+34)
01-17 21:51:20.212 5194 5194 F DEBUG : #04 pc 00017138 /system/lib/libc.so (abort+4)
01-17 21:51:20.212 5194 5194 F DEBUG : #05 pc 0000c1b1 /system/lib/libcutils.so (__android_log_assert+112)
01-17 21:51:20.212 5194 5194 F DEBUG : #06 pc 00024187 /system/lib/libhwui.so
01-17 21:51:20.212 5194 5194 F DEBUG : #07 pc 00025b83 /system/lib/libhwui.so
01-17 21:51:20.212 5194 5194 F DEBUG : #08 pc 000291b1 /system/lib/libhwui.so (_ZN7android10uirenderer12renderthread12RenderThread10threadLoopEv+172)
01-17 21:51:20.212 5194 5194 F DEBUG : #09 pc 0000e3fd /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+140)
01-17 21:51:20.212 5194 5194 F DEBUG : #10 pc 00066d5d /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)
01-17 21:51:20.212 5194 5194 F DEBUG : #11 pc 000478a3 /system/lib/libc.so (_ZL15__pthread_startPv+22)
01-17 21:51:20.212 5194 5194 F DEBUG : #12 pc 00019bcd /system/lib/libc.so (__start_thread+6)
Click to expand...
Click to collapse
it's a gpu problem but i dont know which file i have to fix. maybe the system\lib\egl or the system\lib\libhwui?
The device is working with the mm kernel: 3.18.19 and the egl file is "libGLES_mali" (1.151mb) from Stock ROM (Android 6)
"Workarround "is to set the smallest width to 720 and the apps working without problems..
Hi,
I'm new to the board and hopefully this is the right spot to ask a question.
I was able to port Lineage cm-14.1 to an unsupported tablet (Samsung Galaxy Tab E SM-T560 with Spreadtrum CPU). Boot and Apps are working so far. Except graphics, everything is build from source. Of course, some things like Sound, Bluetooth, do not work, but thats OK for the moment.
However, after a WIFI connection is initialised successfully, system_server crashes with the following message:
Code:
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
LineageOS Version: '14.1-20180312-UNOFFICIAL-gtelwifi'
Build fingerprint: 'samsung/gtelwifixx/gtelwifi:4.4.4/KTU84P/T560XXU0APL1:user/release-keys'
Revision: '0'
ABI: 'arm'
pid: 13389, tid: 14235, name: Thread-11 >>> system_server <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x78
r0 7084da80 r1 00000000 r2 00000002 r3 95daee50
r4 95daee4c r5 00000000 r6 00000001 r7 95daed90
r8 00100015 r9 95daedf4 sl 95daee50 fp 95daee0c
ip 95daed74 sp 95daeca8 lr b4128fd1 pc b4128fd2 cpsr 000f0030
d0 0061007000690063 d1 006e006900720070
d2 002e0031002e0063 d3 0032003100310000
d4 70cfa28738012a85 d5 c5cae7c4c97aa4ad
d6 c218fef23223bcda d7 10d0d42f3bdfe07b
d8 0000000000000000 d9 0000000000000000
d10 0000000000000000 d11 0000000000000000
d12 0000000000000000 d13 0000000000000000
d14 0000000000000000 d15 0000000000000000
d16 0000000000000000 d17 0000000000000000
d18 ba477909c171394d d19 d3ae31fe0363f924
d20 8c6b848e8d263350 d21 da82799950a1ac75
d22 643eae4cf301b269 d23 68899da5e3aa691f
d24 b1401b90d960c774 d25 e0b124ed89024d71
d26 8f6330182fe5dfa9 d27 4d27558dee6bf79c
d28 5a8279995a827999 d29 5a8279995a827999
d30 0000000000000000 d31 0000000000000000
scr 80000093
backtrace:
#00 pc 00316fd2 /system/lib/libart.so (_ZN3art12InvokeMethodERKNS_33ScopedObjectAccessAlreadyRunnableEP8_jobjectS4_S4_j+69)
#01 pc 002b51f9 /system/lib/libart.so (_ZN3artL24Constructor_newInstance0EP7_JNIEnvP8_jobjectP13_jobjectArray+868)
#02 pc 005aaee5 /system/framework/arm/boot-core-oj.oat (offset 0x51b000)
Because the backtrace is really small, it's hard for me to understand what went wrong.
Does somebody know what I can do to solve the system_server crash?
Complete tombstone can be found here:
github.com/olliiiver/local_manifest/blob/cm-14.1/tombstone.txt
Sources for device can be found here:
github.com/olliiiver/android_device_samsung_gtelwifi
The system randomly crashes on my OnePlus 5T, it just hangs for a few seconds and then does a reboot (sometimes only a soft reboot). I'm running OxygenOS Open Beta 33 (Android 9) with ElementalX, Magisk and EdXposed. I've finally managed to capture a logcat and it seems like it's something related to the camera, even though I don't actively use it when the crash happens, and I don't have any camera-specific mods installed.
Logcat
07-23 12:27:29.692 1834 11714 F libc : Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 11714 (Binder:1834_1B), pid 1834 (system_server)
07-23 12:27:29.896 1834 7981 W ActivityManager: Permission Denial: Accessing service ComponentInfo{com.google.android.music/com.google.android.music.dial.DialMediaRoutePro viderService} from pid=4124, uid=10023 that is not exported from uid 10068
07-23 12:27:29.902 15952 15952 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-23 12:27:29.902 15952 15952 F DEBUG : Build fingerprint: 'OnePlus/OnePlus5T/OnePlus5T:9/PKQ1.180716.001/1906100000:user/release-keys'
07-23 12:27:29.902 15952 15952 F DEBUG : Revision: '0'
07-23 12:27:29.902 15952 15952 F DEBUG : ABI: 'arm64'
07-23 12:27:29.902 15952 15952 F DEBUG : pid: 1834, tid: 11714, name: Binder:1834_1B >>> system_server <<<
07-23 12:27:29.902 15952 15952 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
07-23 12:27:29.902 15952 15952 F DEBUG : Abort message: 'monitor.cc:1157] Invalid monitor state ForwardingAddress'
07-23 12:27:29.902 15952 15952 F DEBUG : x0 0000000000000000 x1 0000000000002dc2 x2 0000000000000006 x3 0000000000000008
07-23 12:27:29.902 15952 15952 F DEBUG : x4 000000713de59100 x5 000000713de59100 x6 000000713de59100 x7 000000713de59380
07-23 12:27:29.902 15952 15952 F DEBUG : x8 0000000000000083 x9 46f83f518cc1e292 x10 0000000000000000 x11 fffffffc7ffffbdf
07-23 12:27:29.902 15952 15952 F DEBUG : x12 0000000000000001 x13 000000713de594c0 x14 0000000000000000 x15 00000071e72dd000
07-23 12:27:29.902 15952 15952 F DEBUG : x16 00000071e72d12a8 x17 00000071e71f0954 x18 0000000000000000 x19 000000000000072a
07-23 12:27:29.902 15952 15952 F DEBUG : x20 0000000000002dc2 x21 0000007132592380 x22 00000071324ab000 x23 000000716131d608
07-23 12:27:29.902 15952 15952 F DEBUG : x24 000000000000000b x25 000000716131f048 x26 0000000000000000 x27 00000000c2dc8004
07-23 12:27:29.902 15952 15952 F DEBUG : x28 0000007132fff588 x29 0000007132ffe760
07-23 12:27:29.902 15952 15952 F DEBUG : sp 0000007132ffe720 lr 00000071e71e4084 pc 00000071e71e40ac
07-23 12:27:29.910 1834 1966 E NotificationService: Suppressing notification from package by user request. Package: net.dinglisch.android.taskerm isGroupBlocked: false isRankingImportanceNone: true isRecordImportanceNone: false
07-23 12:27:29.973 15952 15952 F DEBUG :
07-23 12:27:29.973 15952 15952 F DEBUG : backtrace:
07-23 12:27:29.973 15952 15952 F DEBUG : #00 pc 00000000000220ac /system/lib64/libc.so (abort+116)
07-23 12:27:29.973 15952 15952 F DEBUG : #01 pc 00000000004645d8 /system/lib64/libart.so (offset 0x43d000) (art::Runtime::Abort(char const*)+1196)
07-23 12:27:29.973 15952 15952 F DEBUG : #02 pc 0000000000008ce0 /system/lib64/libbase.so (android::base::LogMessage::~LogMessage()+724)
07-23 12:27:29.973 15952 15952 F DEBUG : #03 pc 00000000003be624 /system/lib64/libart.so (offset 0x374000) (art::Monitor::MonitorEnter(art::Thread*, art::mirror:bject*, bool)+1456)
07-23 12:27:29.973 15952 15952 F DEBUG : #04 pc 0000000000514b90 /system/lib64/libart.so (offset 0x43e000) (artLockObjectFromCode+36)
07-23 12:27:29.973 15952 15952 F DEBUG : #05 pc 0000000000555c98 /system/lib64/libart.so (offset 0x43e000) (art_quick_lock_object+152)
07-23 12:27:29.973 15952 15952 F DEBUG : #06 pc 0000000000abf000 /system/framework/arm64/boot-framework.oat (offset 0x3da000) (android.os.BaseBundle.writeToParcelInner+160)
07-23 12:27:29.973 15952 15952 F DEBUG : #07 pc 0000000000c1bba0 /system/framework/arm64/boot-framework.oat (offset 0x3da000) (android.os.Bundle.writeToParcel+128)
07-23 12:27:29.973 15952 15952 F DEBUG : #08 pc 0000000000ad8d54 /system/framework/arm64/boot-framework.oat (offset 0x3da000) (android.os.Parcel.writeBundle+116)
07-23 12:27:29.973 15952 15952 F DEBUG : #09 pc 0000000000a19440 /system/framework/arm64/boot-framework.oat (offset 0x3da000) (android.content.ContentProviderNative.onTransact+2272)
07-23 12:27:29.973 15952 15952 F DEBUG : #10 pc 0000000000c17e18 /system/framework/arm64/boot-framework.oat (offset 0x3da000) (android.os.Binder.execTransact+600)
07-23 12:27:29.973 15952 15952 F DEBUG : #11 pc 0000000000555788 /system/lib64/libart.so (offset 0x43e000) (art_quick_invoke_stub+584)
07-23 12:27:29.973 15952 15952 F DEBUG : #12 pc 00000000000cf6c8 /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200)
07-23 12:27:29.973 15952 15952 F DEBUG : #13 pc 000000000045cd00 /system/lib64/libart.so (offset 0x374000) (art:anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art:anonymous namespace)::ArgArray*, art::JValue*, char const*)+104)
07-23 12:27:29.973 15952 15952 F DEBUG : #14 pc 000000000045e094 /system/lib64/libart.so (offset 0x374000) (art::InvokeVirtualOrInterfaceWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+440)
07-23 12:27:29.973 15952 15952 F DEBUG : #15 pc 0000000000333df0 /system/lib64/libart.so (offset 0x20c000) (art::JNI::CallBooleanMethodV(_JNIEnv*, _jobject*, _jmethodID*, std::__va_list)+656)
07-23 12:27:29.973 15952 15952 F DEBUG : #16 pc 00000000000c5ec8 /system/lib64/libandroid_runtime.so (_JNIEnv::CallBooleanMethod(_jobject*, _jmethodID*, ...)+116)
07-23 12:27:29.973 15952 15952 F DEBUG : #17 pc 00000000001376dc /system/lib64/libandroid_runtime.so (JavaBBinder:nTransact(unsigned int, android:arcel const&, android:arcel*, unsigned int)+156)
07-23 12:27:29.973 15952 15952 F DEBUG : #18 pc 000000000004fd2c /system/lib64/libbinder.so (android::BBinder::transact(unsigned int, android:arcel const&, android:arcel*, unsigned int)+136)
07-23 12:27:29.973 15952 15952 F DEBUG : #19 pc 000000000005d558 /system/lib64/libbinder.so (android::IPCThreadState::executeCommand(int)+520)
07-23 12:27:29.973 15952 15952 F DEBUG : #20 pc 000000000005d29c /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+156)
07-23 12:27:29.973 15952 15952 F DEBUG : #21 pc 000000000005d98c /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+108)
07-23 12:27:29.973 15952 15952 F DEBUG : #22 pc 0000000000080074 /system/lib64/libbinder.so (android:oolThread::threadLoop()+24)
07-23 12:27:29.973 15952 15952 F DEBUG : #23 pc 00000000000100dc /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+284)
07-23 12:27:29.973 15952 15952 F DEBUG : #24 pc 00000000000b5aa0 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+140)
07-23 12:27:29.973 15952 15952 F DEBUG : #25 pc 000000000008ffc8 /system/lib64/libc.so (__pthread_start(void*)+36)
07-23 12:27:29.973 15952 15952 F DEBUG : #26 pc 0000000000023968 /system/lib64/libc.so (__start_thread+68)
07-23 12:27:31.348 1047 15920 F libc : Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 15920 (CAM_strmDatProc), pid 1047 ([email protected])
07-23 12:27:31.480 16052 16052 I wificond: wificond is starting up...
07-23 12:27:31.534 16045 16045 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-23 12:27:31.534 16045 16045 F DEBUG : Build fingerprint: 'OnePlus/OnePlus5T/OnePlus5T:9/PKQ1.180716.001/1906100000:user/release-keys'
07-23 12:27:31.534 16045 16045 F DEBUG : Revision: '0'
07-23 12:27:31.534 16045 16045 F DEBUG : ABI: 'arm'
07-23 12:27:31.534 16045 16045 F DEBUG : pid: 1047, tid: 15920, name: CAM_strmDatProc >>> /vendor/bin/hw/[email protected] <<<
07-23 12:27:31.534 16045 16045 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
07-23 12:27:31.534 16045 16045 F DEBUG : Abort message: 'Status.cpp:142] Attempted to retrieve value from failed HIDL call: Status(EX_TRANSACTION_FAILED): 'DEAD_OBJECT: ''
07-23 12:27:31.534 16045 16045 F DEBUG : r0 00000000 r1 00003e30 r2 00000006 r3 00000008
07-23 12:27:31.534 16045 16045 F DEBUG : r4 00000417 r5 00003e30 r6 dc99b644 r7 0000010c
07-23 12:27:31.534 16045 16045 F DEBUG : r8 dc99b9c8 r9 00000000 r10 f4c31d4c r11 e1ec4cc0
07-23 12:27:31.534 16045 16045 F DEBUG : ip f47233cc sp dc99b630 lr f468eb7d pc f4684fde
07-23 12:27:31.565 16045 16045 F DEBUG :
07-23 12:27:31.565 16045 16045 F DEBUG : backtrace:
07-23 12:27:31.565 16045 16045 F DEBUG : #00 pc 0001cfde /system/lib/libc.so (abort+58)
07-23 12:27:31.565 16045 16045 F DEBUG : #01 pc 000069f7 /system/lib/vndk-sp-28/libbase.so (android::base:efaultAborter(char const*)+6)
07-23 12:27:31.565 16045 16045 F DEBUG : #02 pc 00007267 /system/lib/vndk-sp-28/libbase.so (android::base::LogMessage::~LogMessage()+494)
07-23 12:27:31.565 16045 16045 F DEBUG : #03 pc 00006ba3 /system/lib/vndk-sp-28/libhidlbase.so (android::hardware::details::return_status::assertOk() const+162)
07-23 12:27:31.565 16045 16045 F DEBUG : #04 pc 0000d615 /vendor/lib/[email protected] (android::hardware::camera::device::V1_0::implementation::CameraDevice::sEnqueueBuffer(preview_stream_ops*, native_handle const**)+160)
07-23 12:27:31.565 16045 16045 F DEBUG : #05 pc 000a3c61 /vendor/lib/hw/camera.msm8998.so (qcamera::QCameraGrallocMemory::enqueueBuffer(unsigned int, long long)+92)
07-23 12:27:31.565 16045 16045 F DEBUG : #06 pc 000b91d9 /vendor/lib/hw/camera.msm8998.so (qcamera::QCamera2HardwareInterface:review_stream_cb_routine(mm_camera_super_buf_t*, qcamera::QCameraStream*, void*)+1124)
07-23 12:27:31.565 16045 16045 F DEBUG : #07 pc 000ad541 /vendor/lib/hw/camera.msm8998.so (qcamera::QCameraStream::dataProcRoutine(void*)+148)
07-23 12:27:31.565 16045 16045 F DEBUG : #08 pc 00072c51 /system/lib/libc.so (__pthread_start(void*)+22)
07-23 12:27:31.565 16045 16045 F DEBUG : #09 pc 0001e005 /system/lib/libc.so (__start_thread+24)
07-23 12:27:32.251 16052 16052 W wificond: No handler for scan result notification from interface with index: 26
07-23 12:27:32.270 16049 16092 F libc : Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 16092 (HwBinder:16049_), pid 16049 (cameraserver)
07-23 12:27:32.323 16145 16145 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-23 12:27:32.323 16145 16145 F DEBUG : Build fingerprint: 'OnePlus/OnePlus5T/OnePlus5T:9/PKQ1.180716.001/1906100000:user/release-keys'
07-23 12:27:32.323 16145 16145 F DEBUG : Revision: '0'
07-23 12:27:32.323 16145 16145 F DEBUG : ABI: 'arm'
07-23 12:27:32.323 16145 16145 F DEBUG : pid: 16049, tid: 16092, name: HwBinder:16049_ >>> /system/bin/cameraserver <<<
07-23 12:27:32.323 16145 16145 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
07-23 12:27:32.323 16145 16145 F DEBUG : r0 00000000 r1 00003edc r2 00000006 r3 f4e13180
07-23 12:27:32.323 16145 16145 F DEBUG : r4 f4e13180 r5 f5d03ff5 r6 f69e24d0 r7 0000010c
07-23 12:27:32.323 16145 16145 F DEBUG : r8 f4083408 r9 f3f81920 r10 00000001 r11 f3f8192c
07-23 12:27:32.323 16145 16145 F DEBUG : ip f69b6125 sp f3f816e0 lr f5d03fd3 pc f68d5a94
07-23 12:27:32.938 16145 16145 F DEBUG :
07-23 12:27:32.938 16145 16145 F DEBUG : backtrace:
07-23 12:27:32.938 16145 16145 F DEBUG : #00 pc 00062a94 /system/lib/libc.so (tgkill+12)
07-23 12:27:32.938 16145 16145 F DEBUG : #01 pc 00096fcf /system/lib/libcameraservice.so (android::CameraProviderManager:roviderInfo::serviceDied(unsigned long long, android::wp<android::hidl::base::V1_0::IBase> const&)+74)
07-23 12:27:32.938 16145 16145 F DEBUG : #02 pc 00097001 /system/lib/libcameraservice.so (_ZTv0_n16_N7android21CameraProviderManager12ProviderInfo11serviceDiedEyRKNS_2wpINS_4hidl4base4V1_05IBaseEEE+12)
07-23 12:27:32.938 16145 16145 F DEBUG : #03 pc 0001c167 /system/lib/libhidltransport.so (android::hardware::hidl_binder_death_recipient::binderDied(android::wp<android::hardware::IBinder> const&)+66)
07-23 12:27:32.938 16145 16145 F DEBUG : #04 pc 0000dda5 /system/lib/libhwbinder.so (android::hardware::BpHwBinder::reportOneDeath(android::hardware::BpHwBinder:bituary const&)+80)
07-23 12:27:32.938 16145 16145 F DEBUG : #05 pc 0000dd3d /system/lib/libhwbinder.so (android::hardware::BpHwBinder::sendObituary()+336)
07-23 12:27:32.938 16145 16145 F DEBUG : #06 pc 00014253 /system/lib/libhwbinder.so (android::hardware::IPCThreadState::executeCommand(int)+1022)
07-23 12:27:32.938 16145 16145 F DEBUG : #07 pc 00013d57 /system/lib/libhwbinder.so (android::hardware::IPCThreadState::getAndExecuteCommand()+98)
07-23 12:27:32.938 16145 16145 F DEBUG : #08 pc 0000e461 /system/lib/libhwbinder.so (android::hardware::IPCThreadState::joinThreadPool(bool)+64)
07-23 12:27:32.938 16145 16145 F DEBUG : #09 pc 00011355 /system/lib/libhwbinder.so
07-23 12:27:32.938 16145 16145 F DEBUG : #10 pc 0000c6af /system/lib/libutils.so (android::Thread::_threadLoop(void*)+202)
07-23 12:27:32.938 16145 16145 F DEBUG : #11 pc 00072c51 /system/lib/libc.so (__pthread_start(void*)+22)
07-23 12:27:32.938 16145 16145 F DEBUG : #12 pc 0001e005 /system/lib/libc.so (__start_thread+24)
Click to expand...
Click to collapse