Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#221 Crashes with Fatal Signal 11

Android
open
nobody
Core (54)
5
2012-09-20
2012-09-20
DuctTape
No

I git cloned the source and created a new project with same package name. Ndk-Build the JNI and copied src, libs, res and manifest to the new Cool Reader I created.
I have a un-rooted Samsung Galaxy s2. It runs fine on emulator but when I run it on my device it says that it is not able to find the directory and crashes with following log cat ::

I got the source code for Cool Reader from git. And then I get the .so files by running run_make. Then I make a new project with the same package name and copy the manifest, res, scr and libs folder from the crengine to the new Cool Reader project, as suggested by some Good Guy on www. After resolving some errors I get the error count to zero. But when I run the project on device it crashes with following log-cat:

E/cr3eng (30307): cannot load font /system/fonts/AndroidClock.ttf
E/cr3eng (30307): cannot load font /system/fonts/AndroidClock_Highlight.ttf
E/cr3eng (30307): cannot load font /system/fonts/AndroidClock_Solid.ttf
E/cr3eng (30307): cannot load font /system/fonts/Clockopia.ttf
E/cr3eng (30307): cannot load font /system/fonts/DroidIndia.ttf
E/cr3eng (30307): cannot load font /system/fonts/DroidNaskh-Regular.ttf
E/cr3eng (30307): cannot load font /system/fonts/DroidSansArmenian.ttf
E/cr3eng (30307): cannot load font /system/fonts/DroidSansEthiopic-Regular.ttf
E/cr3eng (30307): cannot load font /system/fonts/DroidSansGeorgian.ttf
E/cr3eng (30307): cannot load font /system/fonts/DroidSansHebrew-Bold.ttf
E/cr3eng (30307): cannot load font /system/fonts/DroidSansHebrew-Regular.ttf
E/cr3eng (30307): cannot load font /system/fonts/DroidSansThai.ttf
E/cr3eng (30307): cannot load font /system/fonts/DroidSans_Subset.ttf
E/cr3eng (30307): cannot load font /system/fonts/Lohit-Bengali.ttf
E/cr3eng (30307): cannot load font /system/fonts/Lohit-Devanagari.ttf
E/cr3eng (30307): cannot load font /system/fonts/Lohit-Tamil.ttf
E/cr3eng (30307): cannot load font /system/fonts/Roboto-Bold.ttf
E/cr3eng (30307): cannot load font /system/fonts/Roboto-Regular.ttf
E/cr3eng (30307): cannot load font /system/fonts/SamsungORIYA.ttf
E/cr3eng (30307): cannot load font /system/fonts/SamsungSINHALA.ttf
E/cr3 (30307): G|fb| FileBrowser.init() called
E/cr3 (30307): G|Cannot find root directory for file /mnt/sdcard/Books/cr3_manual_en_US.fb2
E/cr3 (30307): G|cr| Cannot open last document, starting file browser
F/libc (30307): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)

Discussion