fered / ebookdroid

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

Edroid-1.5.5 crashes while opening specific pdf documents. Previous version works OK with same docs. #343

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Get a Postscript article.
2. Convert to PDF using either Acrobat Distiller 9.5.2 (Windows)
   or ps2pdf (ESP Ghostscript 815.02)
3. Open the PDF document in Edroid-1.5.5

What is the expected output?
Document display.

What do you see instead?
Blank pages.  I can navigate between pages.

What version of the product are you using?
Ebookdroid-1.5.5 

On what operating system?
Android-4.0.4

What device are you using?
Samsung Galaxy Note 1 (International version)

Please provide any additional information below.
  I can open the same files with Ebookdroid-1.4.2 (The previous version) and
Adobe PDF reader on the phone.
  I attach one file that shows the problem (I also provide the original .ps
file in case this can be useful).

Original issue reported on code.google.com by jerlemi...@gmail.com on 20 Oct 2012 at 10:43

Attachments:

GoogleCodeExporter commented 8 years ago
[Clarification] In fact the sequence of events is a bit complex.  After opening 
the document nothing happens initially, then the blank pages appear for a 
while, then after scrolling a couple of times through all (blank) pages, some 
pages display, and then all the pages will display, finally the viewer gives up 
and closes all by itself.  And then I am back to the Edroid menu. So it is the 
PDF viewer that crashes, not ebookdroid itself.

Original comment by jerlemi...@gmail.com on 20 Oct 2012 at 11:06

GoogleCodeExporter commented 8 years ago
[Augmentation] After the PDF viewer crashes, I am back in Edroid, then If I 
reopen the document, I will first see the blank pages and then the displays 
starts flashing on and off at about one flash per second.  Then Edroid crashes 
or I need to close it from the task manager.  I guess this concludes the whole 
story.

Original comment by jerlemi...@gmail.com on 20 Oct 2012 at 11:13

GoogleCodeExporter commented 8 years ago
From 1.4.2 to 1.5 we updated mupdf library to more recent version. Maybe it is 
a bug in it. We'll try to fix it.

Original comment by Andrei.K...@gmail.com on 21 Oct 2012 at 7:31

GoogleCodeExporter commented 8 years ago
This document shown quite correctly on my Asus TF201/4.0.3/1.5.6-dev.

Have you installed and selected any font pack?

Original comment by Alexander.V.Kasatkin@gmail.com on 21 Oct 2012 at 10:21

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks a lot for the info.
  Initially, I didn't install any fonts since Edroid-1.4.2 worked fine without additional fonts.  However,following Alexander's comment I installed the Free Gnu, free URW and the Nimbus fonts, and selected them in the setup (same setup as Alexander) but that did not help.
  I will check with the latest mupdf on my PC and see if there is anything new I need to know.
  I will try to reset the Eboodroid options.

Original comment by jerlemi...@gmail.com on 21 Oct 2012 at 3:04

GoogleCodeExporter commented 8 years ago
Mupdf-1.1 Windows is the last stable version of Mupdf and it has no problem 
displaying the above document, so if Edroid has a problem loading that same pdf 
on my phone, it must be a problem with my install. 
  I will remove Ebookdroid from the phone and reinstall it, but I fear that just uninstalling Edroid will nor remove everything and the setups will still be there somewhere for the new install to use. Indeed I already removed 1.5 reinstalled 1.4.2 and then reinstalled 1.5 and the settings seem to keep any preferences I have setup before. Is there any suggestion on how to reset all Ebookdroid parameters?

Original comment by jerlemi...@gmail.com on 21 Oct 2012 at 3:37

GoogleCodeExporter commented 8 years ago
I also installed 'mupdf-1.1-android.apk' and it displays the above document 
without any problem.

Original comment by jerlemi...@gmail.com on 21 Oct 2012 at 3:45

GoogleCodeExporter commented 8 years ago
[SOLVED] The culprit is 'Performance settings/Number of decoding threads'.  I 
had set the number of decoding threads to 2 (this worked fine in 1.4.2) since 
my phone has a dual core processor.  After I set the number of threads to 1, 
Ebookdroid-1.5.5 now displays the document all right.
  As a side note, I add that there are pdf's Ebookdroid-1.5/5 could read with 2 threads but those small pdf's (journal papers mostly) do seem to break something with multi-thread!

Original comment by jerlemi...@gmail.com on 21 Oct 2012 at 5:19

GoogleCodeExporter commented 8 years ago
[Additional information] Although I can now read all PDF's, I find that 1.5.5 
is unstable while 1.4.2 was perfectly stable; Ebookdroid-1.5.5 crashes 
regularly on my phone while just browsing the titles (not even reading).  Maybe 
there is another parameter setting causing this problem.
    Those small issues put aside I find Ebookdroid combined with the Note to be the most fantastic book reader there is to read all sizes of technical documents. Really great!

Original comment by jerlemi...@gmail.com on 21 Oct 2012 at 5:47

GoogleCodeExporter commented 8 years ago
If EBD crashes with Force close please look at /sdcard/.org.ebookdrod/logs and 
attach any stacktraces found there - it will help to solve issue.

Original comment by Andrei.K...@gmail.com on 22 Oct 2012 at 3:38

GoogleCodeExporter commented 8 years ago
I attach the last logs.

Original comment by jerlemi...@gmail.com on 22 Oct 2012 at 10:25

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by jerlemi...@gmail.com on 22 Oct 2012 at 10:37

Attachments:

GoogleCodeExporter commented 8 years ago
Big thanks for the logs.

Original comment by Andrei.K...@gmail.com on 22 Oct 2012 at 11:44

GoogleCodeExporter commented 8 years ago
About crashes - they have been fixed. Try 1.5.6-dev:
http://code.google.com/p/ebookdroid/downloads/detail?name=ebookdroid-1.5.6-dev-r
1788.apk

Original comment by Alexander.V.Kasatkin@gmail.com on 22 Oct 2012 at 12:01

GoogleCodeExporter commented 8 years ago
I installed the latest 1.5.6-dev apk and I did not experience any crash yet.
    However there are still two other problems I didn't mention yet and that I still meet in 1.5.6-dev.  I got a flashing screen, and also some documents are very long to load (one is still loading after a couple of minutes while I a writing this).  I will give a more detailed report when I can make sense of all that.

Original comment by jerlemi...@gmail.com on 22 Oct 2012 at 6:15

GoogleCodeExporter commented 8 years ago
OK. Please open another issue for other problems. One issue - one problem. I 
think this one can be closed because you confirmed that there are no more 
crashes.

Original comment by Andrei.K...@gmail.com on 25 Oct 2012 at 7:49