Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-02-2017, 07:17 PM   #1
Claghorn
Member
Claghorn began at the beginning.
 
Claghorn's Avatar
 
Posts: 16
Karma: 10
Join Date: Aug 2012
Device: Nexus 7
One specific epub dead slow in viewer?

I use the calibre from the fedora repos. Sometime in the last few months, an epub book that always opened just as fast as all my other epubs suddenly started taking forever to render in the viewer. The screen stays white for 10 or 15 minutes, the system monitor says 1 cpu is pegged at 100% and if I wait long enough, it finally shows up.

If I run strace while it is eating cpu, I see an infinite number of lines like this:

Code:
...
madvise(0x7f0dbe150000, 4096, MADV_NORMAL) = 0
madvise(0x7f0dd757c000, 8192, MADV_NORMAL) = 0
madvise(0x7f0dd757a000, 8192, MADV_NORMAL) = 0
madvise(0x7f0dd7024000, 16384, MADV_NORMAL) = 0
madvise(0x7f0dd701c000, 16384, MADV_NORMAL) = 0
...
The exact same epub opens with no problems on fbreader in my android tablet.

Is there any way to debug what is going on here? This is one of the many Discworld books I have, and as near as I can tell came from the same source as all the others which don't seem to have this problem.

Details:

calibre-3.1.1-1.fc26.x86_64
Eric - Terry Pratchett.epub

I bought all my Discworld books from either google or amazon and stripped the DRM so I didn't have to read each book in a different app.
Claghorn is offline   Reply With Quote
Old 09-02-2017, 07:53 PM   #2
Claghorn
Member
Claghorn began at the beginning.
 
Claghorn's Avatar
 
Posts: 16
Karma: 10
Join Date: Aug 2012
Device: Nexus 7
OK, I experimented a bit. I converted the original epub to mobi, then converted the mobi back to epub, and the new epub displays fine, no huge delays. The new epub is also considerably smaller (but I don't notice anything missing when I read it):

orig versus epub->mobi->epub:

-rw-r--r-- 1 tom users 715135 Sep 2 19:39 Eric - Terry Pratchett.epub
-rw-r--r-- 1 tom users 191426 Sep 2 19:48 Eric - Terry Pratchett.epub

so I guess I have a work around even if I have no idea why the original book suddenly got so slow.
Claghorn is offline   Reply With Quote
Advert
Old 09-03-2017, 07:04 AM   #3
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 74,756
Karma: 131375596
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
You really should try to find out why the ePub is acting up.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Calibre Viewer App (now dead) Crocboy Windows Devices 2 05-27-2017 10:03 PM
Dead intradocument link in epub in Calibre but not in iBook viewer kmrjohnson Calibre 4 09-28-2014 03:30 PM
It was a slow wreck happening - Amy Winehouse Dead at 27 y.o. kennyc Lounge 9 07-26-2011 01:22 PM
[old-topic]ebook-viewer: Open source, crossplatform viewer for EPUB, LIT, MOBI, etc kovidgoyal Calibre 68 05-30-2011 08:46 PM
[Old Thread] Reading epub on viewer inexplicably changes the time stamp of epub greenapple Library Management 20 03-19-2011 10:18 PM


All times are GMT -4. The time now is 09:06 PM.


MobileRead.com is a privately owned, operated and funded community.