ligate / vudroid

Automatically exported from code.google.com/p/vudroid
0 stars 0 forks source link

wenkangwei@gmail.com #51

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.open chinese.pdf(%PDF-1.6)
2.ap hung.

What is the expected output? What do you see instead?
Can show the pdf.

What version of the product are you using? On what operating system?
1.2
android 2.2 SDK

Please provide any additional information below.
Is it the bug form mupdf?

#logcat

I/ActivityManager(   62): Starting activity: Intent { 
act=android.intent.action.VIEW dat=file:///sdcard/001-src.pdf 
cmp=org.vudroid/.pdfdroid.PdfViewerActivity }
D/PhoneWindow(  807): couldn't save which view has focus because the focused 
view android.widget.ListView@44eb9568 has no id.
D/dalvikvm(  807): Trying to load lib /data/data/org.vudroid/lib/libvudroid.so 
0x44eaa9d8
D/dalvikvm(  807): Added shared lib /data/data/org.vudroid/lib/libvudroid.so 
0x44eaa9d8
D/PdfDroid(  807): initializing PdfRender JNI library based on MuPDF
D/PdfDroid(  807): PdfDocument.nativeOpen(): return handle = 0x11f888
D/PdfDroid(  807): Exception 'java/lang/RuntimeException', Message: 'error 
loading page'
D/PdfDroid(  807): PdfPage.nativeOpenPage(): return handle = 0x117128
D/AndroidRuntime(  807): Shutting down VM
W/dalvikvm(  807): threadid=1: thread exiting with uncaught exception 
(group=0x4001d800)
E/AndroidRuntime(  807): FATAL EXCEPTION: main
E/AndroidRuntime(  807): java.lang.RuntimeException: error loading page
E/AndroidRuntime(  807):    at org.vudroid.pdfdroid.codec.PdfPage.open(Native 
Method)
E/AndroidRuntime(  807):    at 
org.vudroid.pdfdroid.codec.PdfPage.createPage(PdfPage.java:54)
E/AndroidRuntime(  807):    at 
org.vudroid.pdfdroid.codec.PdfDocument.getPage(PdfDocument.java:18)
E/AndroidRuntime(  807):    at 
org.vudroid.core.DecodeServiceBase.getPage(DecodeServiceBase.java:174)
E/AndroidRuntime(  807):    at 
org.vudroid.core.DecodeServiceBase.getEffectivePagesWidth(DecodeServiceBase.java
:191)
E/AndroidRuntime(  807):    at 
org.vudroid.core.DocumentView.init(DocumentView.java:61)
E/AndroidRuntime(  807):    at 
org.vudroid.core.DocumentView.access$500(DocumentView.java:20)
E/AndroidRuntime(  807):    at 
org.vudroid.core.DocumentView$2.run(DocumentView.java:148)
E/AndroidRuntime(  807):    at android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime(  807):    at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime(  807):    at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(  807):    at 
android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime(  807):    at java.lang.reflect.Method.invokeNative(Native 
Method)
E/AndroidRuntime(  807):    at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime(  807):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime(  807):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime(  807):    at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager(   62):   Force finishing activity 
org.vudroid/.pdfdroid.PdfViewerActivity
W/ActivityManager(   62):   Force finishing activity 
org.vudroid/.core.MainBrowserActivity
W/ActivityManager(   62): Activity pause timeout for HistoryRecord{45053c10 
org.vudroid/.pdfdroid.PdfViewerActivity}

Original issue reported on code.google.com by wenkang...@gmail.com on 5 Nov 2010 at 12:32

Attachments: