Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FC/crash on android, with signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000068 #643

Closed
H56 opened this issue Jun 13, 2014 · 27 comments
Labels

Comments

@H56
Copy link

H56 commented Jun 13, 2014

My device is an e-ink device of android 2.3.1. The problem is that the app can't run in the device, and the platform is android-9. I think it can be executed. And are there any good methods to improve?

@hwhw
Copy link
Member

hwhw commented Jun 13, 2014

For debugging this, the "adb logcat" output would be interesting. You need a bit of developer experience in order to do that, though.

@H56
Copy link
Author

H56 commented Jun 13, 2014

Thank your advice very much! I did it as your method, and got the result as following, but I don't know how to do later.

D/OnyxGridView( 127): delta x: -5, direction: None V/OnyxGridView( 127): onSingleTapUp W/OnyxGridView( 127): child view is already selected 
I/ActivityManager( 81): Starting: Intent { act=android.intent.action.MAIN cat= [android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.koreader.launcher/andr oid.app.NativeActivity } from pid 127 
I/ActivityManager( 81): Start proc org.koreader.launcher for activity org.kore ader.launcher/android.app.NativeActivity: pid=1630 uid=10009 gids={3003} 
D/Region ( 81): Region fb_setA2Region. (this=0x468d8ddc, count=1) 
D/Region ( 81): [ 0, 0, 0, 0] 
I/luajit-launcher( 1630): Application data directory /data/data/org.koreader.lau ncher/files 
I/luajit-launcher( 1630): Application library directory /data/data/org.koreader. launcher/lib I/luajit-launcher( 1630): Screen size 758x1024 
I/luajit-launcher( 1630): Check file in asset module: koreader-g3f1827f.7z I/luajit-launcher( 1630): Found new package revision g3f1827f 
I/dalvikvm( 127): Jit: resizing JitTable from 4096 to 8192 
D/Region ( 81): Region fb_setA2Region. (this=0x468d8ddc, count=1) 
D/Region ( 81): [ 0, 0, 0, 0] 
I/DEBUG ( 58): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** * ** 
I/DEBUG ( 58): Build fingerprint: 'Onyx-Intl/C65ML/R65_HD:2.3.1/GINGERBREAD/ 1214:user/test-keys' I/DEBUG ( 58): pid: 1630, tid: 1638 >>> org.koreader.launcher <<< 
I/DEBUG ( 58): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0000006 8 I/DEBUG ( 58): r0 0011e1f0 r1 46a134c0 r2 00001000 r3 fffffff2 
I/DEBUG ( 58): r4 469fa8e0 r5 00000086 r6 46a12348 r7 fffffff5 
I/DEBUG ( 58): r8 00000948 r9 469fa8e0 10 00000948 fp 0000095d 
I/DEBUG ( 58): ip fffd9c80 sp 469d8e18 lr 83397fcc pc 00000068 cpsr 600 00010 
I/DEBUG ( 58): d0 643a64696f72646e d1 6472656767756265 
I/DEBUG ( 58): d2 0000000000000000 d3 0000000000000000 
I/DEBUG ( 58): d4 835072a483507234 d5 83507360835072b8 
I/DEBUG ( 58): d6 83507440835073cc d7 83507578835074d4 
I/DEBUG ( 58): d8 0000000000000000 d9 0000000000000000 
I/DEBUG ( 58): d10 0000000000000000 d11 0000000000000000 
I/DEBUG ( 58): d12 0000000000000000 d13 0000000000000000 
I/DEBUG ( 58): d14 0000000000000000 d15 0000000000000000 
I/DEBUG ( 58): d16 286c6c6174736e69 d17 3fe999999999999a 
I/DEBUG ( 58): d18 0000000000000000 d19 0000000000000000 
I/DEBUG ( 58): d20 0000000000000000 d21 0000000000000000 
I/DEBUG ( 58): d22 0000000000000000 d23 0000000000000000 
I/DEBUG ( 58): d24 0000000000000000 d25 0000000000000000 
I/DEBUG ( 58): d26 0000000000000000 d27 0000000000000000 
I/DEBUG ( 58): d28 0100010001000100 d29 0100010001000100 
I/DEBUG ( 58): d30 0000000000000000 d31 8080808080808080 
I/DEBUG ( 58): scr 80000013 
I/DEBUG ( 58): 
I/DEBUG ( 58): data around r0: 
I/DEBUG ( 58): 0011e1d0 0011e1d8 0000001b 00000001 00000001 
I/DEBUG ( 58): 0011e1e0 0011e1cc 00000001 625f7265 00000013 
I/DEBUG ( 58): 0011e1f0 0011de38 afd428d4 00000010 00000033 
I/DEBUG ( 58): 0011e200 00000000 00142bd0 00000000 00000000 
I/DEBUG ( 58): I/DEBUG ( 58): data around r1: 
I/DEBUG ( 58): 46a134a0 1300616d ffff0012 46a13768 0000101b 
I/DEBUG ( 58): 46a134b0 00100008 00001000 46a12d88 095d0a82 
I/DEBUG ( 58): 46a134c0 02a87659 0f7a0249 ad955408 aa3148a8 
I/DEBUG ( 58): 46a134d0 83dbde08 1ba6fa43 6dead9a5 2b375bd4 
I/DEBUG ( 58): 
I/DEBUG ( 58): data around r2: 
I/DEBUG ( 58): 00000fe0 ******** ******** ******** ******** 
I/DEBUG ( 58): 00000ff0 ******** ******** ******** ******** 
I/DEBUG ( 58): 00001000 ******** ******** ******** ******** 
I/DEBUG ( 58): 00001010 ******** ******** ******** ******** 
I/DEBUG ( 58): I/DEBUG ( 58): data around r4: 
I/DEBUG ( 58): 469fa8c0 469e0ff8 fffffff4 469e0610 fffffff4 
I/DEBUG ( 58): 469fa8d0 46a12c60 fffffff7 46a12c60 46a12884 I/DEBUG ( 58): 469fa8e0 46a12d28 fffffff7 469dc598 fffffffb I/DEBUG ( 58): 469fa8f0 469ebea0 fffffffb 46a12d48 fffffff5 I/DEBUG ( 58): I/DEBUG ( 58): data around r5: I/DEBUG ( 58): 00000064 ******** ******** ******** ******** I/DEBUG ( 58): 00000074 ******** ******** ******** ******** I/DEBUG ( 58): 00000084 ******** ******** ******** ******** I/DEBUG ( 58): 00000094 ******** ******** ******** ******** I/DEBUG ( 58): I/DEBUG ( 58): data around r6: I/DEBUG ( 58): 46a12328 31663367 66373238 007a372e 00000013 I/DEBUG ( 58): 46a12338 46a134b8 06500a02 46a12318 00000013 I/DEBUG ( 58): 46a12348 46a12338 00860a02 0011e1f0 00000013 I/DEBUG ( 58): 46a12358 46a12348 09490a02 afd165fd 00000013 I/DEBUG ( 58): I/DEBUG ( 58): data around r8: I/DEBUG ( 58): 00000928 ******** ******** ******** ******** I/DEBUG ( 58): 00000938 ******** ******** ******** ******** I/DEBUG ( 58): 00000948 ******** ******** ******** ******** I/DEBUG ( 58): 00000958 ******** ******** ******** ******** I/DEBUG ( 58): I/DEBUG ( 58): data around r9: I/DEBUG ( 58): 469fa8c0 469e0ff8 fffffff4 469e0610 fffffff4 I/DEBUG ( 58): 469fa8d0 46a12c60 fffffff7 46a12c60 46a12884 I/DEBUG ( 58): 469fa8e0 46a12d28 fffffff7 469dc598 fffffffb I/DEBUG ( 58): 469fa8f0 469ebea0 fffffffb 46a12d48 fffffff5 I/DEBUG ( 58): I/DEBUG ( 58): data around r10: I/DEBUG ( 58): 00000928 ******** ******** ******** ******** I/DEBUG ( 58): 00000938 ******** ******** ******** ******** I/DEBUG ( 58): 00000948 ******** ******** ******** ******** I/DEBUG ( 58): 00000958 ******** ******** ******** ******** I/DEBUG ( 58): I/DEBUG ( 58): data around fp: I/DEBUG ( 58): 0000093c ******** ******** ******** ******** I/DEBUG ( 58): 0000094c ******** ******** ******** ******** I/DEBUG ( 58): 0000095c ******** ******** ******** ******** I/DEBUG ( 58): 0000096c ******** ******** ******** ******** I/DEBUG ( 58): I/DEBUG ( 58): data around ip: I/DEBUG ( 58): fffd9c60 ******** ******** ******** ******** I/DEBUG ( 58): fffd9c70 ******** ******** ******** ******** I/DEBUG ( 58): fffd9c80 ******** ******** ******** ******** I/DEBUG ( 58): fffd9c90 ******** ******** ******** ******** I/DEBUG ( 58): I/DEBUG ( 58): #00 pc 00000068 I/DEBUG ( 58): #1 lr 83397fcc I/DEBUG ( 58): I/DEBUG ( 58): code around pc: I/DEBUG ( 58): 00000048 ffffffff ffffffff ffffffff ffffffff I/DEBUG ( 58): 00000058 ffffffff ffffffff ffffffff ffffffff I/DEBUG ( 58): 00000068 ffffffff ffffffff ffffffff ffffffff I/DEBUG ( 58): 00000078 ffffffff ffffffff ffffffff ffffffff I/DEBUG ( 58): I/DEBUG ( 58): code around lr: I/DEBUG ( 58): 83397fac 1bffe01a e58d2010 e1d650b6 e3550086 I/DEBUG ( 58): 83397fbc 1bffe016 e5960008 e58d0008 fa09c479 I/DEBUG ( 58): 83397fcc e3500000 dbffe012 e59d3014 e3a02001 I/DEBUG ( 58): 83397fdc e1a01000 e59d000c e12fff34 e59d2010 I/DEBUG ( 58): I/DEBUG ( 58): stack: I/DEBUG ( 58): 469d8dd8 469fa8e0 I/DEBUG ( 58): 469d8ddc 00000948 I/DEBUG ( 58): 469d8de0 0000095d I/DEBUG ( 58): 469d8de4 afd17067 /system/lib/libc.so I/DEBUG ( 58): 469d8de8 46a1309c I/DEBUG ( 58): 469d8dec 469d8df8 I/DEBUG ( 58): 469d8df0 00000001 I/DEBUG ( 58): 469d8df4 00000000 I/DEBUG ( 58): 469d8df8 46a134c0 I/DEBUG ( 58): 469d8dfc 00001000 I/DEBUG ( 58): 469d8e00 afd17045 /system/lib/libc.so I/DEBUG ( 58): 469d8e04 fffffff5 I/DEBUG ( 58): 469d8e08 469dc5f8 I/DEBUG ( 58): 469d8e0c 83397f94 I/DEBUG ( 58): 469d8e10 df002777 I/DEBUG ( 58): 469d8e14 e3a070ad I/DEBUG ( 58): 469d8e18 0011e1f0 I/DEBUG ( 58): 469d8e1c 46a134c0 I/DEBUG ( 58): 469d8e20 00001000 I/DEBUG ( 58): 469d8e24 afd42b3c I/DEBUG ( 58): 469d8e28 46a1309c I/DEBUG ( 58): 469d8e2c 469d91c0 I/DEBUG ( 58): 469d8e30 00000000 I/DEBUG ( 58): 469d8e34 00000000 I/DEBUG ( 58): 469d8e38 00000000 I/DEBUG ( 58): 469d8e3c 469d91f0 I/DEBUG ( 58): 469d8e40 00000000 I/DEBUG ( 58): 469d8e44 00000000 I/DEBUG ( 58): 469d8e48 00000000 I/DEBUG ( 58): 469d8e4c 00000000 
I/DEBUG ( 58): 469d8e50 00000000 
I/DEBUG ( 58): 469d8e54 00000000 
I/BootReceiver( 81): Copying /data/tombstones/tombstone_06 to DropBox (SYSTEM_ TOMBSTONE) D/Zygote ( 59): Process 1630 terminated by signal (11) 
I/ActivityManager( 81): Process org.koreader.launcher (pid 1630) has died. 
D/Region ( 81): Region fb_setA2Region. (this=0x468d8ddc, count=1) 
D/Region ( 81): [ 0, 0, 0, 0] 
D/OnyxGridView( 127): setSelection: 0 
W/InputManagerService( 81): Window already focused, ignoring focus gain of: co m.android.internal.view.IInputMethodClient$Stub$Proxy@4067ca80 
D/Region ( 81): Region fb_setA2Region. (this=0x468d8ddc, count=1) 
D/Region ( 81): [ 0, 0, 0, 0] 
D/dalvikvm( 81): GC_CONCURRENT freed 921K, 59% free 4251K/10183K, external 734 K/1031K, paused 3ms+5ms 
D/dalvikvm( 81): GC_FOR_MALLOC freed 322K, 57% free 4440K/10183K, external 734 K/1031K, paused 33ms 
D/Region ( 81): Region fb_setA2Region. (this=0x468d8ddc, count=1) 
D/Region ( 81): [ 0, 0, 0, 0] I/power ( 81): *** set_state :idle 
D/Region ( 81): Region fb_setA2Region. (this=0x468d8ddc, count=1) 
D/Region ( 81): [ 0, 0, 0, 0] D/dalvikvm( 81): GC_CONCURRENT freed 839K, 60% free 4140K/10183K, external 734 K/1031K, paused 4ms+3ms 
D/Region ( 81): Region fb_setA2Region. (this=0x468d8ddc, count=1) D/Region ( 81): [ 0, 0, 0, 0]

For debugging this, the "adb logcat" output would be interesting. You need a bit of developer experience in order to do that, though.

@H56 H56 changed the title Can't run android, Can't run Jun 13, 2014
@H56 H56 changed the title android, Can't run android 2.3.1, Can't run Jun 13, 2014
@hwhw
Copy link
Member

hwhw commented Jun 13, 2014

Sorry I didn't get back earlier. It segfaults. Unfortunately that is an error I did not yet track down. I have seen the same issue (well, or a similar issue, it is hard to say exactly where it happens) on my Phone, too. It will take some days, even a week, until I will have time to investigate this further.

@H56
Copy link
Author

H56 commented Jun 14, 2014

Thank you very much! If you know the solution, please tell me. And I'll try to solve it.

@chrox chrox added the Android label Jun 15, 2014
@chrox chrox changed the title android 2.3.1, Can't run FC on android 2.3.1, with signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000068 Jun 15, 2014
@chrox
Copy link
Member

chrox commented Jun 15, 2014

Did you try rebooting your device after installing Koreader? Some users reported that it solved the force close problem on some Android phones.

@H56
Copy link
Author

H56 commented Jun 15, 2014

Thanks for your reply! I tried it many times, but it didn't work. And on my another device, the situation was better, but it crashed when it worked some time.

------------------ Original message ------------------
From: "Huang Xin";
Sendtime: Sunday, Jun 15, 2014 10:10 PM
To: "koreader/koreader";
Cc: "ÈýÔÂ"564825341@qq.com;
Subject: Re: [koreader] FC on android 2.3.1, with signal 11 (SIGSEGV), code 1(SEGV_MAPERR), fault addr 00000068 (#643)

Did you try rebooting your device after installing Koreader? Some users reported that it solved the force close problem on some Android phones.

¡ª
Reply to this email directly or view it on GitHub.

@chrox
Copy link
Member

chrox commented Jun 15, 2014

I wonder if the compiling flags for K2 compatibility have any effects on this while actually we have no support on K2 at all for now. And the same with arm arch flags.

These tweaks ought to be tries by those who can reproduce the FC on their Android devices. But "unfortunately" both of my Android phones cannot give any FC at this moment.

@NiLuJe
Copy link
Member

NiLuJe commented Jun 15, 2014

@chrox: L72: Unless the target device is armv5, that should be pretty much safe for anything armv6+, unless the target device doesn't support any kind of vfp. I don't think anything ever runs in Thumb1 only, so the forced Arm mode shouldn't hurt either.
I completely agree that it doesn't make much sense anymore for something mainly targeting Cortex A8/A9 devices, though ;).

In any case, if it were to cause any issue, it would hopefully throw a SIGILL, and not SIGSEGV, but the JIT stuff might make matters more complicated on that front.

L70 is all about glibc backward compat, so it should pretty much have no impact on bionic.

@NiLuJe
Copy link
Member

NiLuJe commented Jun 15, 2014

And apparently the C65 is running on a 1GHz A8 anyway, so, pretty much like the Kobo Aura HD, IIRC. And very close to what the K5 uses.

@H56
Copy link
Author

H56 commented Jun 16, 2014

@chrox : Thank you very much! I tried your method, maybe I didn't understand rightly. I just invalidated ARM_BACKWARD_COMPAT_CFLAGS and ARM_ARCH. But it didn't work. And I tried to change "./mk-luajit.sh armeabi-v7a" to
"./mk-luajit.sh armeabi-v7a
./mk-luajit.sh clean
./mk-luajit.sh armeabi" in "android-luajit-launcher / Makefile" file. And it seemed work on my another device, and it didn't crash in the running time. But on C65ml it had no any improvement. I try my best to understand the code, and want to do something, though I don't know how to start. Thank you very much for your work, it is very great and interesting.

@H56
Copy link
Author

H56 commented Jun 18, 2014

These days, I tried my best to fix these problems. Even if there is a little progress, but these problems are not completely resolved. From the log I thought the "koreader-g3f1827f.7z" file couldn't be unziped, so I unziped the file and copied them to /data/data/org.koreader.launcher/files. Luckly, it can run. However, the new issue came out. The errors are "Failed to receive dispatch signal. status=-11" and "signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 83609c10", the others are:(https://cloud.githubusercontent.com/assets/7880266/3311239/ce26d966-f6c1-11e3-8805-328dab4aa186.png)
I don't know how to do next. So I send these to you, and hope these could help you improve it. Thank you very much!

@NiLuJe
Copy link
Member

NiLuJe commented Jun 18, 2014

Huh. Not familiar enough with the Androic TC to figure out why it would be doing something stupid with binaries.

Another very remote possibility is that the C65 runs a CPU with a weird VFP variant... Could you post the output of

cat /proc/cpuinfo
?

@H56
Copy link
Author

H56 commented Jun 19, 2014

Thanks for your reply. The CPU's info is these as following:
Processor : ARMv7 Processor rev 2 (v7l)
BogoMIPS : 101.94
Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc08
CPU revision : 2

Hardware : RK29board
Revision : 0000
Serial : 0000000000000000

Are there any problems? Moreover, is there a solution?

@chrox chrox mentioned this issue Jun 22, 2014
@chrox chrox changed the title FC on android 2.3.1, with signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000068 FC/crash on android, with signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000068 Jun 22, 2014
@NiLuJe
Copy link
Member

NiLuJe commented Jun 24, 2014

FWIW, on a K5 (A8)

Processor       : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 159.90
Features        : swp half thumb fastmult vfp edsp neon vfpv3 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x2
CPU part        : 0xc08
CPU revision    : 5

So, besides the deprecated ThumbEE/Jazelle stuff, the C65 runs on pretty much the exact same thing.

TL;DR: No idea why it goes boom.

@H56
Copy link
Author

H56 commented Jun 25, 2014

Thanks very much!

@woutervb
Copy link

This issue also happons on my xperia sp, running carbon rom (4.4.4). Using both a self compiled package (code version of 24-8-2014) and a downloaded apk koreader-android-arm-linux-androideabi-v2014.04-630-gbd2fa87.apk. logcat below is from the downloaded apk

part of the adb locat is below, hopefully a solution can be found:

I/luajit-launcher(25959): Application data directory /data/data/org.koreader.launcher/files
I/luajit-launcher(25959): Application library directory /data/app-lib/org.koreader.launcher-1
I/luajit-launcher(25959): Screen size 720x1184
I/luajit-launcher(25959): Check file in asset module: koreader-gbd2fa87.7z
I/luajit-launcher(25959): Found new package revision gbd2fa87
F/libc    (25959): Fatal signal 11 (SIGSEGV) at 0x00000068 (code=1), thread 25973 (reader.launcher)
I/DEBUG   (  250): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   (  250): Build fingerprint: 'Sony/C5303/C5303:4.3/12.1.A.0.266/9f5_nw:user/release-keys'
I/DEBUG   (  250): Revision: '0'
I/DEBUG   (  250): pid: 25959, tid: 25973, name: reader.launcher  >>> org.koreader.launcher <<<
I/DEBUG   (  250): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000068
I/sysmon-tsens_tz_sensor3(  245): sensor_work - read value = 320
I/sysmon-tsens_tz_sensor0(  245): sensor_work - read value = 350
I/DEBUG   (  250):     r0 5f213968  r1 5f4304c0  r2 00001000  r3 fffffff2
I/DEBUG   (  250):     r4 5f4178e0  r5 00000086  r6 5f42f348  r7 fffffff5
I/DEBUG   (  250):     r8 00000948  r9 5f4178e0  sl 00000948  fp 0000095d
I/DEBUG   (  250):     ip 65754001  sp 5f3f5cd8  lr 5f234fcc  pc 00000068  cpsr 60070010
I/DEBUG   (  250):     d0  5f29ab245f29aa94  d1  5f29abcc5f29abb0
I/DEBUG   (  250):     d2  5f29ac205f29abf8  d3  5f29ac545f29ac3c
I/DEBUG   (  250):     d4  6080956215bdbc10  d5  000010000b76cd72
I/DEBUG   (  250):     d6  0000000000000000  d7  40b0000000000000
I/DEBUG   (  250):     d8  0000000000000000  d9  0000000000000000
I/DEBUG   (  250):     d10 0000000000000000  d11 0000000000000000
I/DEBUG   (  250):     d12 0000000000000000  d13 0000000000000000
I/DEBUG   (  250):     d14 0000000000000000  d15 0000000000000000
I/DEBUG   (  250):     d16 5f29a4505f29a3e8  d17 5f29a49c5f29a460
I/DEBUG   (  250):     d18 5f29a55c5f29a4a8  d19 5f29a6645f29a5ac
I/DEBUG   (  250):     d20 5f29a7a45f29a734  d21 5f29a8605f29a7b8
I/DEBUG   (  250):     d22 5f29a9405f29a8cc  d23 5f29aa785f29a9d4
I/DEBUG   (  250):     d24 40de894000000000  d25 40de895fef4c0000
I/DEBUG   (  250):     d26 3fe0000000000000  d27 40e010700a2a0000
I/DEBUG   (  250):     d28 40ef3fefe9280000  d29 40e01d2ffd740000
I/DEBUG   (  250):     d30 40dd4c2013880000  d31 40ed4c1013880000
I/DEBUG   (  250):     scr 80000011
I/DEBUG   (  250): 
I/DEBUG   (  250): backtrace:
I/DEBUG   (  250):     #00  pc 00000068  <unknown>
I/DEBUG   (  250):     #01  pc 00007fc8  <unknown>
I/DEBUG   (  250): 
I/DEBUG   (  250): stack:
I/DEBUG   (  250):          5f3f5c98  400a0d40  
I/DEBUG   (  250):          5f3f5c9c  4005dbcd  /system/lib/libc.so (fwrite+128)
I/DEBUG   (  250):          5f3f5ca0  5f3f61c0  
I/DEBUG   (  250):          5f3f5ca4  5f4304c0  
I/DEBUG   (  250):          5f3f5ca8  00001000  
I/DEBUG   (  250):          5f3f5cac  5f3f5ca4  [stack:25973]
I/DEBUG   (  250):          5f3f5cb0  00000001  
I/DEBUG   (  250):          5f3f5cb4  00000000  
I/DEBUG   (  250):          5f3f5cb8  4005db4d  /system/lib/libc.so (fwrite)
I/DEBUG   (  250):          5f3f5cbc  fffffff5  
I/DEBUG   (  250):          5f3f5cc0  5f3f95f8  
I/DEBUG   (  250):          5f3f5cc4  fffffffb  
I/DEBUG   (  250):          5f3f5cc8  00000948  
I/DEBUG   (  250):          5f3f5ccc  5f234f94  
I/DEBUG   (  250):          5f3f5cd0  5f4178e0  
I/DEBUG   (  250):          5f3f5cd4  00000068  
I/DEBUG   (  250):     #00  5f3f5cd8  5f213968  
I/DEBUG   (  250):          ........  ........
I/DEBUG   (  250):     #01  5f3f5cd8  5f213968  
I/DEBUG   (  250):          5f3f5cdc  5f4304c0  
I/DEBUG   (  250):          5f3f5ce0  00001000  
I/DEBUG   (  250):          5f3f5ce4  400a0d40  
I/DEBUG   (  250):          5f3f5ce8  5f43009c  
I/DEBUG   (  250):          5f3f5cec  5f3f61c0  
I/DEBUG   (  250):          5f3f5cf0  00000000  
I/DEBUG   (  250):          5f3f5cf4  00000000  
I/DEBUG   (  250):          5f3f5cf8  00000000  
I/DEBUG   (  250):          5f3f5cfc  5f3f61f0  
I/DEBUG   (  250):          5f3f5d00  00000000  
I/DEBUG   (  250):          5f3f5d04  00000000  
I/DEBUG   (  250):          5f3f5d08  00000000  
I/DEBUG   (  250):          5f3f5d0c  00000000  
I/DEBUG   (  250):          5f3f5d10  00000000  
I/DEBUG   (  250):          5f3f5d14  00000000  
I/DEBUG   (  250): 
I/DEBUG   (  250): memory near r0:
I/DEBUG   (  250):     5f213948 726f6b2f 65646165 62672d72 61663264  
I/DEBUG   (  250):     5f213958 372e3738 5f20007a 6564635f 00000013  
I/DEBUG   (  250):     5f213968 5f213840 6e69616d 746e6928 0000100b  
I/DEBUG   (  250):     5f213978 73677261 6863202c 2a207261 73677261  
I/DEBUG   (  250):     5f213988 3b295d5b 0a5d5d0a 636f6c0a 66206c61  
I/DEBUG   (  250):     5f213998 74636e75 206e6f69 74736e69 286c6c61  
I/DEBUG   (  250):     5f2139a8 20200a29 6f6c2020 206c6163 636e7566  
I/DEBUG   (  250):     5f2139b8 6e6f6974 65686320 695f6b63 6174736e  
I/DEBUG   (  250):     5f2139c8 64656c6c 7665725f 200a2928 20202020  
I/DEBUG   (  250):     5f2139d8 6c202020 6c61636f 74696720 7665725f  
I/DEBUG   (  250):     5f2139e8 69203d20 706f2e6f 41286e65 7269642e  
I/DEBUG   (  250):     5f2139f8 202e2e20 69672f22 65722d74 0a292276  
I/DEBUG   (  250):     5f213a08 20202020 20202020 61636f6c 6572206c  
I/DEBUG   (  250):     5f213a18 203d2076 5f746967 20766572 20646e61  
I/DEBUG   (  250):     5f213a28 5f746967 3a766572 64616572 6f202928  
I/DEBUG   (  250):     5f213a38 22222072 2020200a 20202020 74657220  
I/DEBUG   (  250): 
I/DEBUG   (  250): memory near r1:
I/DEBUG   (  250):     5f4304a0 1300616d ffff0012 00000000 0000101b  
I/DEBUG   (  250):     5f4304b0 00100008 00001000 5f42fd88 095d0a82  
I/DEBUG   (  250):     5f4304c0 f4005c8d d2b6de17 b1099184 9e84708c  
I/DEBUG   (  250):     5f4304d0 c8b03c16 ff2a187f 16e98daf 1a56bebd  
I/DEBUG   (  250):     5f4304e0 f43ce12a 7053e0e7 e58120fd a6455b23  
I/DEBUG   (  250):     5f4304f0 8b16cbd2 7a4f8aa3 75804805 f6f45fbc  
I/DEBUG   (  250):     5f430500 14c0e26b f056822b 04ab8b7f f27fffea  
I/DEBUG   (  250):     5f430510 fa24f2fc e6cdd1fd 0ae65619 d97fff5a  
I/DEBUG   (  250):     5f430520 8f349cf1 fd4116ce 30ce0a85 8b6013e1  
I/DEBUG   (  250):     5f430530 0ae125d0 027b884a 042c47b4 dbc051e9  
I/DEBUG   (  250):     5f430540 39da437a c75af040 03088239 d3849e9f  
I/DEBUG   (  250):     5f430550 f4343ef1 94e2f965 a55ce24e 89b45afc  
I/DEBUG   (  250):     5f430560 96988e1d 85ceb88c a2cd20e0 6455080c  
I/DEBUG   (  250):     5f430570 ddea1478 5d23805a ecbd4fed 2c128987  
I/DEBUG   (  250):     5f430580 e7f54ccb 437fbded 5fb0a3a3 c1e33886  
I/DEBUG   (  250):     5f430590 8bda9edf 62bf67ce 65f38168 8ecef273  
I/DEBUG   (  250): 
I/DEBUG   (  250): memory near r2:
I/DEBUG   (  250):     00000fe0 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     00000ff0 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     00001000 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     00001010 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     00001020 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     00001030 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     00001040 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     00001050 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     00001060 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     00001070 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     00001080 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     00001090 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     000010a0 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     000010b0 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     000010c0 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     000010d0 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250): 
I/DEBUG   (  250): memory near r4:
I/DEBUG   (  250):     5f4178c0 5f3fdff8 fffffff4 5f3fd610 fffffff4  
I/DEBUG   (  250):     5f4178d0 5f42fc60 fffffff7 5f42fc60 5f42f884  
I/DEBUG   (  250):     5f4178e0 5f42fd28 fffffff7 5f3f9598 fffffffb  
I/DEBUG   (  250):     5f4178f0 5f408ea0 fffffffb 5f42fd48 fffffff5  
I/DEBUG   (  250):     5f417900 5f42fd68 fffffff5 5f42fd98 fffffffb  
I/DEBUG   (  250):     5f417910 5f42fe10 fffffffb 5f42f2b8 fffffffb  
I/DEBUG   (  250):     5f417920 00001000 fffffff2 5f4304b8 fffffff5  
I/DEBUG   (  250):     5f417930 5f42f348 fffffff5 5f42f388 fffffff5  
I/DEBUG   (  250):     5f417940 00001000 fffffff2 00000000 fffffff2  
I/DEBUG   (  250):     5f417950 5f42f398 fffffff5 5f42f348 fffffff5  
I/DEBUG   (  250):     5f417960 5f4304b8 fffffff5 00001000 fffffff2  
I/DEBUG   (  250):     5f417970 00001000 fffffff2 5f3fdfd0 fffffff3  
I/DEBUG   (  250):     5f417980 5f3ff038 fffffff5 000016ac ffffffff  
I/DEBUG   (  250):     5f417990 5f29b3bc 5f419d3c 5f3fde40 00000072  
I/DEBUG   (  250):     5f4179a0 5f29b3bc 5f4300e8 5f3fde40 000000d2  
I/DEBUG   (  250):     5f4179b0 5f3fdfd0 fffffff3 5f42f398 fffffff5  
I/DEBUG   (  250): 
I/DEBUG   (  250): memory near r6:
I/DEBUG   (  250):     5f42f328 32646267 37386166 007a372e 00000013  
I/DEBUG   (  250):     5f42f338 5f4304b8 06500a02 5f42f318 00000013  
I/DEBUG   (  250):     5f42f348 5f42f338 00860a02 5f213968 00000013  
I/DEBUG   (  250):     5f42f358 5f42f348 09490a02 4005d969 00000013  
I/DEBUG   (  250):     5f42f368 5f42f358 06500a02 5f42f2c8 00000013  
I/DEBUG   (  250):     5f42f378 5f42f368 06500a02 5f42f1e0 00000013  
I/DEBUG   (  250):     5f42f388 5f42f378 09480a02 400a0d40 00000013  
I/DEBUG   (  250):     5f42f398 5f42f388 00910a02 5d60aee7 00000013  
I/DEBUG   (  250):     5f42f3a8 5f42f398 00090a02 00001000 00000013  
I/DEBUG   (  250):     5f42f3b8 5f42f3a8 09530a02 4005db4d 00000013  
I/DEBUG   (  250):     5f42f3c8 5f42f3b8 00090a02 00001000 0000001b  
I/DEBUG   (  250):     5f42f3d8 5f42f3c8 00090a02 00000001 0000009c  
I/DEBUG   (  250):     5f42f3e8 00000018 00000123 00000000 00000402  
I/DEBUG   (  250):     5f42f3f8 a92fa2f0 00000109 75727473 46207463  
I/DEBUG   (  250):     5f42f408 20454c49 706f662a 63286e65 74736e6f  
I/DEBUG   (  250):     5f42f418 61686320 2c2a2072 6e6f6320 63207473  
I/DEBUG   (  250): 
I/DEBUG   (  250): memory near r9:
I/DEBUG   (  250):     5f4178c0 5f3fdff8 fffffff4 5f3fd610 fffffff4  
I/DEBUG   (  250):     5f4178d0 5f42fc60 fffffff7 5f42fc60 5f42f884  
I/DEBUG   (  250):     5f4178e0 5f42fd28 fffffff7 5f3f9598 fffffffb  
I/DEBUG   (  250):     5f4178f0 5f408ea0 fffffffb 5f42fd48 fffffff5  
I/DEBUG   (  250):     5f417900 5f42fd68 fffffff5 5f42fd98 fffffffb  
I/DEBUG   (  250):     5f417910 5f42fe10 fffffffb 5f42f2b8 fffffffb  
I/DEBUG   (  250):     5f417920 00001000 fffffff2 5f4304b8 fffffff5  
I/DEBUG   (  250):     5f417930 5f42f348 fffffff5 5f42f388 fffffff5  
I/DEBUG   (  250):     5f417940 00001000 fffffff2 00000000 fffffff2  
I/DEBUG   (  250):     5f417950 5f42f398 fffffff5 5f42f348 fffffff5  
I/DEBUG   (  250):     5f417960 5f4304b8 fffffff5 00001000 fffffff2  
I/DEBUG   (  250):     5f417970 00001000 fffffff2 5f3fdfd0 fffffff3  
I/DEBUG   (  250):     5f417980 5f3ff038 fffffff5 000016ac ffffffff  
I/DEBUG   (  250):     5f417990 5f29b3bc 5f419d3c 5f3fde40 00000072  
I/DEBUG   (  250):     5f4179a0 5f29b3bc 5f4300e8 5f3fde40 000000d2  
I/DEBUG   (  250):     5f4179b0 5f3fdfd0 fffffff3 5f42f398 fffffff5  
I/DEBUG   (  250): 
I/DEBUG   (  250): memory near ip:
I/DEBUG   (  250):     65753fe0 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     65753ff0 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     65754000 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     65754010 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     65754020 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     65754030 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     65754040 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     65754050 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     65754060 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     65754070 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     65754080 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     65754090 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     657540a0 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     657540b0 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     657540c0 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     657540d0 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250): 
I/DEBUG   (  250): memory near sp:
I/DEBUG   (  250):     5f3f5cb8 4005db4d fffffff5 5f3f95f8 fffffffb  
I/DEBUG   (  250):     5f3f5cc8 00000948 5f234f94 5f4178e0 00000068  
I/DEBUG   (  250):     5f3f5cd8 5f213968 5f4304c0 00001000 400a0d40  
I/DEBUG   (  250):     5f3f5ce8 5f43009c 5f3f61c0 00000000 00000000  
I/DEBUG   (  250):     5f3f5cf8 00000000 5f3f61f0 00000000 00000000  
I/DEBUG   (  250):     5f3f5d08 00000000 00000000 00000000 00000000  
I/DEBUG   (  250):     5f3f5d18 00000000 00000000 00000000 00000000  
I/DEBUG   (  250):     5f3f5d28 00000000 00000000 00000000 00000000  
I/DEBUG   (  250):     5f3f5d38 00000000 00000000 00000000 5f2ecba4  
I/DEBUG   (  250):     5f3f5d48 5f211c70 5f2ecba4 5f3f5dd0 5f211cc0  
I/DEBUG   (  250):     5f3f5d58 5f3f5d94 5f2a9bb4 00000000 5f3f5dd0  
I/DEBUG   (  250):     5f3f5d68 5f211d08 5f298c08 5f211fc0 5f211c70  
I/DEBUG   (  250):     5f3f5d78 5f211d08 5f202228 0000bbab 5f21e010  
I/DEBUG   (  250):     5f3f5d88 5f3f61c0 00000000 5f3f5db4 5f2eccd0  
I/DEBUG   (  250):     5f3f5d98 00000000 5f211cc4 00000000 5f211c70  
I/DEBUG   (  250):     5f3f5da8 5f211c70 5f211f50 00000000 40056204  
I/DEBUG   (  250): 
I/DEBUG   (  250): code around pc:
I/DEBUG   (  250):     00000048 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     00000058 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     00000068 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     00000078 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     00000088 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     00000098 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     000000a8 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     000000b8 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     000000c8 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     000000d8 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     000000e8 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     000000f8 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     00000108 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     00000118 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     00000128 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     00000138 ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250): 
I/DEBUG   (  250): code around lr:
I/DEBUG   (  250):     5f234fac 1bffe01a e58d2010 e1d650b6 e3550086  
I/DEBUG   (  250):     5f234fbc 1bffe016 e5960008 e58d0008 fa8f57c5  
I/DEBUG   (  250):     5f234fcc e3500000 dbffe012 e59d3014 e3a02001  
I/DEBUG   (  250):     5f234fdc e1a01000 e59d000c e12fff34 e59d2010  
I/DEBUG   (  250):     5f234fec e1cd00d8 fa8f57bb e3500000 cafffff5  
I/DEBUG   (  250):     5f234ffc ebffe009 ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     5f23500c ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     5f23501c ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     5f23502c ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     5f23503c ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     5f23504c ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     5f23505c ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     5f23506c ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     5f23507c ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     5f23508c ffffffff ffffffff ffffffff ffffffff  
I/DEBUG   (  250):     5f23509c ffffffff ffffffff ffffffff ffffffff  
I/sysmon-xo_therm(  245): sensor_work - read value = 300
W/ActivityManager(  761): Process org.koreader.launcher has crashed too many times: killing!
W/ActivityManager(  761):   Force finishing activity org.koreader.launcher/android.app.NativeActivity

@hwhw
Copy link
Member

hwhw commented Aug 26, 2014

Ah yes, that dreaded segfault when using fwrite(). I've seen this pretty often now - and still can't make much sense from it. I need to do an intensive debugging session, but will not have free time for that the next 10 days, unfortunately.

@allenktv
Copy link

allenktv commented Jan 7, 2015

by any chance did you figure out what was happening with your native crash? I am experiencing a similar problem with my app

@hwhw
Copy link
Member

hwhw commented Jan 8, 2015

Nope. It seems to have vanished without us really tackling it... My guess is on an API/ABI mismatch for the code we compile from external libraries, whose build systems are not easily to bring under proper control, so that they may be including (potentially incompatible) system headers. But this is just speculation.

@junelee220
Copy link

nexus 7,2012,4.4.4.
with koreader-android-arm-linux-androideabi-v2014.11-93-gac77808.apk,
it is usable first,but when i change dbackground=0 to 8 in defaults and reboot the android,
it is said:unfortunately the app has stopped.

@gerroon
Copy link

gerroon commented Apr 11, 2015

I installed release 127 on Boyue T62 and while it resolves the full screen issue, it looks like no progress on the crashes. KR not just crashes while reading Pdfs it also crashes when clicking on menus and such. It is pretty crashes, (it just vanishes) I cant have it run more than 30 sec.

@gerroon
Copy link

gerroon commented Apr 11, 2015

Btw I do not have Xposed or Xprivacy or similar apps installed on my Boyue T62.

@wjchen
Copy link

wjchen commented May 17, 2015

Use this patch, crash seems become less:

require("jit.opt").start("sizemcode=64","maxmcode=512", "recunroll=8", "callunroll=12", "loopunroll=60", "instunroll=16", "tryside=16", "hotexit=160", "hotloop=1792", "maxsnap=160000", "maxside=32000", "maxirconst=160000", "maxrecord=1280000", "maxtrace=320000")
for i=1,1000 do end  -- Force allocation of one large segment

@gerroon
Copy link

gerroon commented Oct 23, 2015

@wjchen
Your patch extensions seems to help with this bug. I have not done much testing but fixed the initial crashes. If anyone suffers from the similar issues these are couple remedies to try.

#1691

@Googlerez
Copy link

Same issue with my Mega 6.3" stock Touchwiz Kitkat 4.4.2.

Meat of the logcat:
I/DEBUG (19424): pid: 1940, tid: 1953, name: reader.launcher >>> org.koreader.launcher <<<
I/DEBUG (19424): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000068

I have Xposed :)

@ahxxm
Copy link

ahxxm commented Nov 1, 2015

Same issue, on my Sony Z3C, 5.1.1 HongKong stock rom.
Related logs:

11-01 21:02:20.568 27549-27549/org.koreader.launcher W/ResourceType: Found multiple library tables, ignoring...
11-01 21:02:20.571 27549-27549/org.koreader.launcher W/ActivityThread: Application org.koreader.launcher can be debugged on port 8100...
11-01 21:02:20.575 1709-1709/? V/PhoneStatusBar: setLightsOn(true)
11-01 21:02:20.594 27549-27549/org.koreader.launcher V/threaded_app: Creating: 0xb49cc200
11-01 21:02:20.594 27549-27568/org.koreader.launcher V/threaded_app: Config: mcc=460 mnc=1 lang=en cnt=US orien=1 touch=3 dens=320 keys=1 nav=1 keysHid=3 navHid=0 sdk=22 size=2 long=1 modetype=1 modenight=1
11-01 21:02:20.595 27549-27549/org.koreader.launcher V/threaded_app: Start: 0xb49cc200
11-01 21:02:20.603 27549-27568/org.koreader.launcher I/luajit-launcher: Application data directory /data/data/org.koreader.launcher/files
11-01 21:02:20.603 27549-27568/org.koreader.launcher I/luajit-launcher: Application library directory /data/app/org.koreader.launcher-2/lib/arm
11-01 21:02:20.603 27549-27568/org.koreader.launcher I/luajit-launcher: Screen size 720x1184
11-01 21:02:20.606 27549-27568/org.koreader.launcher I/luajit-launcher: Screen brightness 133
11-01 21:02:20.661 27549-27568/org.koreader.launcher I/luajit-launcher: Check file in asset module: koreader-g6c51645.7z
11-01 21:02:20.661 27549-27568/org.koreader.launcher I/luajit-launcher: Found new package revision g6c51645
11-01 21:02:20.664 27549-27568/org.koreader.launcher A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x68 in tid 27568 (Thread-9073)
11-01 21:02:20.765 589-589/? D/clmlib: Got activities:0x0000000E
11-01 21:02:20.766 589-589/? I/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-01 21:02:20.766 589-589/? I/DEBUG: UUID: ac31c3a3-ec2d-4b38-a5a1-152780a47708
11-01 21:02:20.766 589-589/? I/DEBUG: Build fingerprint: 'Sony/D5833/D5833:5.1.1/23.4.A.1.200/3118038657:user/release-keys'
11-01 21:02:20.766 589-589/? I/DEBUG: Revision: '0'
11-01 21:02:20.766 589-589/? I/DEBUG: ABI: 'arm'
11-01 21:02:20.766 589-589/? I/DEBUG: pid: 27549, tid: 27568, name: Thread-9073  >>> org.koreader.launcher <<<
11-01 21:02:20.767 589-589/? I/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x68
11-01 21:02:20.772 589-589/? I/DEBUG:     r0 aec32b70  r1 af278290  r2 00001000  r3 fffffff2
11-01 21:02:20.772 589-589/? I/DEBUG:     r4 af32c788  r5 00000090  r6 af354290  r7 fffffff5
11-01 21:02:20.772 589-589/? I/DEBUG:     r8 00000952  r9 af32c788  sl 00000952  fp 00000967
11-01 21:02:20.772 589-589/? I/DEBUG:     ip af457c84  sp af457cb0  lr af316fac  pc 00000068  cpsr 600d0010
11-01 21:02:20.773 589-589/? I/DEBUG:     #00 pc 00000068  <unknown>
11-01 21:02:20.773 589-589/? I/DEBUG:     #01 pc 0007ffa8  <unknown>
11-01 21:02:21.067 1151-1174/? I/BootReceiver: Copying /data/tombstones/tombstone_07 to DropBox (SYSTEM_TOMBSTONE)
11-01 21:02:21.068 1151-27584/? D/ActivityManager: New dropbox entry: org.koreader.launcher, data_app_native_crash, 4113ba5c-6b86-45df-9169-4693d64a413a
11-01 21:02:21.074 1151-27584/? W/ActivityManager:   Force finishing activity 1 org.koreader.launcher/android.app.NativeActivity
11-01 21:02:21.089 619-619/? I/Zygote: Process 27549 exited due to signal (11)
11-01 21:02:21.381 1151-27584/? I/WindowManager: Screenshot max retries 4 of Token{3f9b2052 ActivityRecord{1298acdd u0 org.koreader.launcher/android.app.NativeActivity t827 f}} appWin=Window{34756a4c u0 Starting org.koreader.launcher} drawState=4
11-01 21:02:21.382 1151-27584/? W/ActivityManager: Exception thrown during pause
11-01 21:02:21.382 1151-27584/? W/ActivityManager: android.os.DeadObjectException
11-01 21:02:21.382 1151-27584/? W/ActivityManager:     at android.os.BinderProxy.transactNative(Native Method)
11-01 21:02:21.382 1151-27584/? W/ActivityManager:     at android.os.BinderProxy.transact(Binder.java:496)
11-01 21:02:21.382 1151-27584/? W/ActivityManager:     at android.app.ApplicationThreadProxy.schedulePauseActivity(ApplicationThreadNative.java:709)
11-01 21:02:21.382 1151-27584/? W/ActivityManager:     at com.android.server.am.ActivityStack.startPausingLocked(ActivityStack.java:832)
11-01 21:02:21.382 1151-27584/? W/ActivityManager:     at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:2759)
11-01 21:02:21.382 1151-27584/? W/ActivityManager:     at com.android.server.am.ActivityStack.finishTopRunningActivityLocked(ActivityStack.java:2616)
11-01 21:02:21.382 1151-27584/? W/ActivityManager:     at com.android.server.am.ActivityStackSupervisor.finishTopRunningActivityLocked(ActivityStackSupervisor.java:2580)
11-01 21:02:21.382 1151-27584/? W/ActivityManager:     at com.android.server.am.ActivityManagerService.handleAppCrashLocked(ActivityManagerService.    java:11691)
11-01 21:02:21.382 1151-27584/? W/ActivityManager:     at com.android.server.am.ActivityManagerService.makeAppCrashingLocked(ActivityManagerService.    java:11588)
11-01 21:02:21.382 1151-27584/? W/ActivityManager:     at com.android.server.am.ActivityManagerService.crashApplication(ActivityManagerService.java:12325)
11-01 21:02:21.382 1151-27584/? W/ActivityManager:     at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.    java:11783)
11-01 21:02:21.382 1151-27584/? W/ActivityManager:     at com.android.server.am.NativeCrashListener$NativeCrashReporter.run(NativeCrashListener.java:86)
11-01 21:02:21.384 536-536/? E/lowmemorykiller: Error opening /proc/27549/oom_score_adj; errno=2
11-01 21:02:21.388 1151-1916/? I/ActivityManager: Process org.koreader.launcher (pid 27549) has died
11-01 21:02:21.388 1151-1916/? E/WindowState: getStack: Window{34756a4c u0 Starting org.koreader.launcher} couldn't find taskId=827 Callers=com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner:9947 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedLoop:8979 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLocked:8921 com.android.server.wm.WindowManagerService.executeAppTransition:4237 
11-01 21:02:21.389 1151-1916/? E/WindowState: getStack: Window{34756a4c u0 Starting org.koreader.launcher} couldn't find taskId=827 Callers=com.android.server.wm.WindowState.getDisplayContent:803 com.android.server.wm.WindowStateAnimator.updateSurfaceWindowCrop:1294 com.android.server.wm.WindowStateAnimator.setSurfaceBoundariesLocked:1469 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner:10037 
11-01 21:02:21.389 1151-1916/? E/WindowState: getStack: Window{34756a4c u0 Starting org.koreader.launcher} couldn't find taskId=827 Callers=com.android.server.wm.WindowState.getDisplayContent:803 com.android.server.wm.WindowState.isDefaultDisplay:1330 com.android.server.wm.WindowStateAnimator.updateSurfaceWindowCrop:1304 com.android.server.wm.WindowStateAnimator.setSurfaceBoundariesLocked:1469 
11-01 21:02:21.389 1151-1916/? E/WindowState: getStack: Window{34756a4c u0 Starting org.koreader.launcher} couldn't find taskId=827 Callers=com.android.server.wm.WindowState.getDisplayContent:803 com.android.server.wm.WindowState.getDisplayId:808 com.android.server.wm.InputMonitor.    updateInputWindowsLw:311 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner:10288 
11-01 21:02:21.391 1151-1916/? E/WindowState: getStack: Window{34756a4c u0 Starting org.koreader.launcher} couldn't find taskId=827 Callers=com.android.server.wm.DisplayContent.setTouchExcludeRegion:237 com.android.server.wm.WindowManagerService.setFocusedStackFrame:4080 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner:10364 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedLoop:8979 
11-01 21:02:21.392 1151-1177/? E/WindowState: getStack: Window{34756a4c u0 Starting org.koreader.launcher} couldn't find taskId=827 Callers=com.android.server.wm.WindowState.getDisplayContent:803 com.android.server.wm.WindowState.getWindowList:1398 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2860 com.android.server.wm.WindowManagerService.removeWindowLocked:2761 
11-01 21:02:21.393 1151-1177/? E/WindowState: getStack: Window{34756a4c u0 Starting org.koreader.launcher} couldn't find taskId=827 Callers=com.android.server.wm.WindowState.getDisplayContent:803 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2865 com.android.server.wm.WindowManagerService.removeWindowLocked:2761 com.android.server.wm.WindowManagerService.removeWindow:2683 
11-01 21:02:21.424 1151-2286/? W/InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@2098258b attribute=null, token = android.os.BinderProxy@3ba2fcf4
11-01 21:02:21.442 26140-27592/? W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1761 android.content.ContextWrapper.bindService:539 com.sonyericsson.crashmonitor.MiscTaAdapter.open:90 com.sonyericsson.crashmonitor.service.CrashMonitorService.onInit:127 com.sonyericsson.crashmonitor.service.CrashMonitorService.onHandleIntent:192 
11-01 21:02:21.455 2151-2151/? I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@1b8d5861 time:65794757
11-01 21:02:21.457 1151-1495/? I/OpenGLRenderer: Initialized EGL, version 1.4
11-01 21:02:21.720 1151-1177/? I/Timeline: Timeline: Activity_windows_visible id: ActivityRecord{3a3650cb u0 com.sonyericsson.home/com.sonymobile.home.HomeActivity t758} time:65795022
11-01 21:02:22.235 184-184/? I/tad: MiscTA Unit 10010: 
11-01 21:02:22.235 184-184/? I/tad: WRITTEN (Size 10)
11-01 21:02:22.265 184-184/? I/tad: Actual erase/write to flash done (count 16, time 1446382942).
11-01 21:02:22.265 184-184/? I/tad: MiscTA: Write of unit 10010 completed - OK
11-01 21:02:22.269 184-184/? I/tad: MiscTA Unit 10004: 
11-01 21:02:22.269 184-184/? I/tad: WRITTEN (Size 13696)
11-01 21:02:22.301 184-184/? I/tad: Actual erase/write to flash done (count 17, time 1446382942).
11-01 21:02:22.301 184-184/? I/tad: MiscTA: Write of unit 10004 completed - OK

@Frenzie
Copy link
Member

Frenzie commented Nov 18, 2018

I'm going to close this because this particular problem doesn't really occur anymore, even if nothing was ever fixed as such.

@Frenzie Frenzie closed this as completed Nov 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests