Skip to content

KOReader v2020.04.1 crashes after instllation on fully updated KOBO Touch #6076

@jmartens

Description

@jmartens
  • KOReader version: v2020.04.1
  • Device: KOBO Touch (N905B)

Issue

KOReader crashes after instllation with installation script on fully updated KOBO Touch

Steps to reproduce

crash.log (if applicable)
Original fb rotation is set @ 3
Original fb bitdepth is set @ 32bpp
Switching fb bitdepth to 8bpp & rotation to Portrait
[FBInk] Detected a Kobo Touch A/B (310 => Trilogy @ Mark 3)
Variable fb info: 600x800 (608x896), 32bpp @ rotation: 3 (Counter Clockwise, 270°)
Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 2179072 bytes & line length: 2432 bytes
Device's expected Portrait orientation should be: 3 (Counter Clockwise, 270°)!

Current rotation is already 3!

Switching fb to 8bpp @ rotation 3 . . .
Setting bitdepth to 8bpp
Setting grayscale to 1
Setting rotate to 3 (Counter Clockwise, 270°)
Bitdepth is now 8bpp (grayscale: 1) @ rotate: 3 (Counter Clockwise, 270°)

Variable fb info: 600x800 (608x1792), 8bpp @ rotation: 3 (Counter Clockwise, 270°)
Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 2179072 bytes & line length: 608 bytes
---------------------------------------------
                launching...
  _  _____  ____                _
 | |/ / _ \|  _ \ ___  __ _  __| | ___ _ __
 | ' / | | | |_) / _ \/ _` |/ _` |/ _ \ '__|
 | . \ |_| |  _ <  __/ (_| | (_| |  __/ |
 |_|\_\___/|_| \_\___|\__,_|\__,_|\___|_|

 It's a scroll... It's a codex... It's KOReader!

 [*] Current time: 04/20/20-20:39:23
 [*] Version: v2020.04.1

ffi.load: SDL2
ffi.load (warning): libSDL2.so: cannot open shared object file: No such file or directory
ffi.load: libSDL2-2.0.so
ffi.load (warning): libSDL2-2.0.so: cannot open shared object file: No such file or directory
ffi.load: libSDL2-2.0.so.0
ffi.load (warning): libSDL2-2.0.so.0: cannot open shared object file: No such file or directory
SDL2 not loaded:	./setupkoenv.lua:27: Not able to load dynamic library: libSDL2-2.0.so.0
ffi.load: blitbuffer
FB: computed size: 1089536
FB: id           : mxc_epdc_fb
FB: smem_len     : 2179072
FB: line_length  : 608
FB: xres         : 600
FB: xres_virtual : 608
FB: yres         : 800
FB: yres_virtual : 1792
FB: bpp          : 8
04/20/20-20:39:23 INFO  initializing for device Kobo_trilogy
04/20/20-20:39:23 INFO  framebuffer resolution: {
    ["h"] = 800,
    ["w"] = 600
}
[ko-input] Forked off fake event generator(pid:1045).
ffi.load: libs/libmupdf.so
ffi.load: libs/libwrap-mupdf.so
ffi.load: libs/libfreetype.so.6
04/20/20-20:39:24 INFO  could not open image file: resources/kobo-touch-probe.png
./luajit: frontend/ui/widget/imagewidget.lua:172: attempt to index field 'bb' (a nil value)
stack traceback:
	frontend/ui/widget/imagewidget.lua:172: in function '_loadfile'
	frontend/ui/widget/imagewidget.lua:189: in function '_render'
	frontend/ui/widget/imagewidget.lua:294: in function 'getSize'
	./tools/kobo_touch_probe.lua:57: in function 'init'
	frontend/ui/widget/widget.lua:48: in function 'new'
	frontend/device/kobo/device.lua:375: in function 'touchScreenProbe'
	./reader.lua:152: in main chunk
	[C]: at 0x000140c1
!!!!
Uh oh, something went awry... (Crash n°1: 04/20/20 @ 20:39:24)
Running FW 4.20.14622 on Linux 2.6.35.3-850-gbc67621+ (#328 PREEMPT Thu Dec 22 14:41:49 CST 2016)
Attempting to restart KOReader . . .
!!!!

The referenced file resources/kobo-touch-probe.png seems to be present if I look at it through explorer when connected with USB and I can open the image on my PC.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions