Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 03-31-2022, 02:03 PM   #1
Uncle Robin
Diligent dilettante
Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.
 
Uncle Robin's Avatar
 
Posts: 3,632
Karma: 50808776
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra Colour
Consistent crash on opening - cover problem?

KOReader has started crashing every time I open a new book. So far, I've been able to get past the crash by trying a few times and if necessary powering off and back on again. I took a photo of the most recent one, am I right in thinking it might be a problem with the cover images?
Attached Thumbnails
Click image for larger version

Name:	covers.jpg
Views:	602
Size:	109.3 KB
ID:	193017  
Uncle Robin is offline   Reply With Quote
Old 03-31-2022, 04:19 PM   #2
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,742
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
I think we'd need to see a bit more from the actual crash.log and perhaps a scrambled copy to say more. It looks like the log is cut off here?
Frenzie is offline   Reply With Quote
Advert
Old 03-31-2022, 08:17 PM   #3
Uncle Robin
Diligent dilettante
Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.
 
Uncle Robin's Avatar
 
Posts: 3,632
Karma: 50808776
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra Colour
Quote:
Originally Posted by Frenzie View Post
I think we'd need to see a bit more from the actual crash.log and perhaps a scrambled copy to say more. It looks like the log is cut off here?
Nothing secret or sensitive, they've all been books I recently downloaded from Kobo and de-drmd. I'll definitely post the log next time it happens. I just took a quick screenshot before that screen disappeared - it then goes back to the last book opened before the crash.
Uncle Robin is offline   Reply With Quote
Old 04-02-2022, 07:12 AM   #4
Uncle Robin
Diligent dilettante
Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.
 
Uncle Robin's Avatar
 
Posts: 3,632
Karma: 50808776
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra Colour
Here's the crash log - it seems to be "cannot register" a whole set of Noto fonts. Would removing them from the device stop the crashes?
Attached Files
File Type: txt crashlog.txt (533.4 KB, 276 views)
Uncle Robin is offline   Reply With Quote
Old 04-02-2022, 07:28 AM   #5
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,742
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
No, that's harmless.

But this is the part that was cut off:
Code:
04/03/22-00:06:10 INFO  Kobo suspend: asked the kernel to put subsystems to standby, ret: true
./luajit: frontend/ui/uimanager.lua:1826: allowing standby that isn't prevented; you have an allow/prevent mismatch somewhere
stack traceback:
	[C]: in function 'assert'
	frontend/ui/uimanager.lua:1826: in function 'allowStandby'
	plugins/coverbrowser.koplugin/bookinfomanager.lua:643: in function 'collectSubprocesses'
	plugins/coverbrowser.koplugin/bookinfomanager.lua:743: in function 'action'
	frontend/ui/uimanager.lua:1210: in function '_checkTasks'
	frontend/ui/uimanager.lua:1631: in function 'handleInput'
	frontend/ui/uimanager.lua:1743: in function 'run'
	./reader.lua:291: in main chunk
	[C]: at 0x000140bd
!!!!
Uh oh, something went awry... (Crash n°1: 04/03/22 @ 00:06:16)
Running FW 4.30.18838 on Linux 4.9.56 (#337 SMP PREEMPT Thu Jan 13 14:23:14 CST 2022)
Attempting to restart KOReader . . .
!!!!
Frenzie is offline   Reply With Quote
Advert
Old 04-02-2022, 07:39 AM   #6
Uncle Robin
Diligent dilettante
Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.
 
Uncle Robin's Avatar
 
Posts: 3,632
Karma: 50808776
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra Colour
Whatever the "allow/prevent mismatch" is, how do I fix it?It's happening pretty consistently with every new book I open - I thin of the last 10 books I have opened, one surprised me by not crashing in this manner.
Uncle Robin is offline   Reply With Quote
Old 04-02-2022, 12:36 PM   #7
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Are you running a nightly with a standby timeout set? (if so, at which amount).
NiLuJe is offline   Reply With Quote
Old 04-02-2022, 12:52 PM   #8
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
This patch will allow us to see who's calling prevent/allow, which should help tracking down the misbehaving code...

Code:
diff --git a/frontend/ui/uimanager.lua b/frontend/ui/uimanager.lua
index 3a0cb8860..6acd3748b 100644
--- a/frontend/ui/uimanager.lua
+++ b/frontend/ui/uimanager.lua
@@ -1823,6 +1823,7 @@ Called once we're done with whatever we were doing in the background.
 Standby is re-enabled only after all issued prevents are paired with allowStandby for each one.
 ]]
 function UIManager:allowStandby()
+    logger.dbg("UIManager:allowStandby:", debug.traceback())
     assert(self._prevent_standby_count > 0, "allowing standby that isn't prevented; you have an allow/prevent mismatch somewhere")
     self._prevent_standby_count = self._prevent_standby_count - 1
 end
@@ -1833,6 +1834,7 @@ Prevent standby.
 i.e., something is happening in background, yet UI may tick.
 ]]
 function UIManager:preventStandby()
+    logger.dbg("UIManager:preventStandby:", debug.traceback())
     self._prevent_standby_count = self._prevent_standby_count + 1
 end
NiLuJe is offline   Reply With Quote
Old 04-02-2022, 01:11 PM   #9
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
See also https://github.com/koreader/koreader/pull/8962
NiLuJe is offline   Reply With Quote
Old 04-02-2022, 02:28 PM   #10
zwim
Junior Member
zwim began at the beginning.
 
zwim's Avatar
 
Posts: 5
Karma: 10
Join Date: Nov 2021
Device: Sage
@Uncle Robin
Could you please post your settings file here?
You find it under `/mnt/onboard/.adds/koreader/settings.reader.lua`
zwim is offline   Reply With Quote
Old 04-02-2022, 02:40 PM   #11
Uncle Robin
Diligent dilettante
Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.
 
Uncle Robin's Avatar
 
Posts: 3,632
Karma: 50808776
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra Colour
Here's a screenshot of my KOReader settings. I do run nightlies, but if I understand this screen properly, I have no standby set.

Please forgive my utter ignorance, but how do I add that code to my KOReader?
Attached Thumbnails
Click image for larger version

Name:	koreader.png
Views:	92
Size:	54.7 KB
ID:	193050  
Uncle Robin is offline   Reply With Quote
Old 04-02-2022, 04:08 PM   #12
zwim
Junior Member
zwim began at the beginning.
 
zwim's Avatar
 
Posts: 5
Karma: 10
Join Date: Nov 2021
Device: Sage
Thanks, for the screenshot.

I want to ask you for two things. It is important to do this in the correct sequence.

1.) Go to filemanager -> Tools -> More tools -> Developer options:
Enable debug logging and enable verbose debug logging.
Then wait for the crash and post the crash.log here. If there is no crash, please play a few minutes with KOReader and post the crash.log.

2.) Try to enable `Autostandby timeout` to something like 5 seconds.
If there is a crash please post the appropriate crash.log here or tell us if there is no crash.
zwim is offline   Reply With Quote
Old 04-02-2022, 04:09 PM   #13
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Unzip the following archive in the `.adds/koreader` folder.

And while you're rooting around in there, we might actually need the full `settings.reader.lua` file as-is, as @zwim requested above .

EDIT: You might want to restart KOReader after @zwim's step 1 above, too.
Attached Files
File Type: zip koreader-pr8962.zip (20.5 KB, 228 views)
NiLuJe is offline   Reply With Quote
Old 04-02-2022, 04:47 PM   #14
Uncle Robin
Diligent dilettante
Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.Uncle Robin ought to be getting tired of karma fortunes by now.
 
Uncle Robin's Avatar
 
Posts: 3,632
Karma: 50808776
Join Date: Sep 2019
Location: in my mind
Device: Kobo Sage; Kobo Libra Colour
Here's the settings.reader.lua , extension changed to txt to allow it to be attached here. This is from prior to enabling the standby and verbose logging. I have enabled the logging am now going to set the 5 second standby as suggested and extract the pr8962 as suggested. Morituri te salutant!
Attached Files
File Type: txt settings.reader.txt (5.7 KB, 277 views)
Uncle Robin is offline   Reply With Quote
Old 04-02-2022, 05:23 PM   #15
zwim
Junior Member
zwim began at the beginning.
 
zwim's Avatar
 
Posts: 5
Karma: 10
Join Date: Nov 2021
Device: Sage
Who will be so pessimistic. Morituri and so on .... tststststs ....

The settings.reader.lua look like it should be. I have the same device as you. Here it works, so we will get it soon.
zwim is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Night mode problem on PW1 after cover opening LittleBiG KOReader 12 02-22-2021 06:55 PM
Kobo aura hd freezes when opening cover Ech1965 Kobo Reader 29 03-21-2014 01:46 PM
When opening a new book, why doesn't Kindle start at the cover? jpcapili Calibre 3 10-23-2011 05:05 PM
Showing book cover upon opening ebook? marimorimo Amazon Kindle 31 08-08-2011 07:16 PM
Opening Cover First? [Kindle] playful Calibre 1 10-12-2010 06:00 AM


All times are GMT -4. The time now is 12:04 PM.


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