Skip to content

Bookmark browser crashes #14925

Description

@shuvashish76

Device

Linux (AppImage)

KOReader version

v2025.10-109-g8285f4e3b_2026-02-03

Model and firmware version

OS: EndeavourOS x86_64 | DE: KDE Plasma 6.5.5 | WM: KWin (Wayland) | Kernel: Linux 6.12.68-1-lts

Issue description

Whatever I pick as Book Source, the AppImage closes immediately.

Steps to reproduce

  1. Go to 'Bookmark browser'
  2. Click on 'History' as Book source
  3. AppImage closes/crashes

Log

---------------------------------------------
                launching...
  _  _____  ____                _
 | |/ / _ \|  _ \ ___  __ _  __| | ___ _ __
 | ' / | | | |_) / _ \/ _` |/ _` |/ _ \ '__|
 | . \ |_| |  _ <  __/ (_| | (_| |  __/ |
 |_|\_\___/|_| \_\___|\__,_|\__,_|\___|_|

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

 [*] Current time: 02/04/26-16:01:22
has monolibtic? no (libs/libkoreader-monolibtic.so: cannot open shared object file: No such file or directory)
lib_search_path: libs/?
lib_basic_format: lib%s.so
lib_version_format: lib%s.so.%s
 [*] Version: v2025.10-109-g8285f4e3b_2026-02-03

ffi.load: rt.so.1 (RTLD_GLOBAL)
ffi.findlib: utf8proc [3]
ffi.load: libs/libutf8proc.so.3
ffi.findlib: blitbuffer
ffi.load: libs/libblitbuffer.so
ffi.findlib: SDL2-2.0 [0]
ffi.load: libs/libSDL2-2.0.so.0
ffi.findlib: archive [13]
ffi.load: libs/libarchive.so.13
Starting SDL in /tmp/.mount_koreadikkJmA/
ffi.findlib: lodepng
ffi.load: libs/liblodepng.so
02/04/26-16:01:23 INFO  initializing for device AppImage 
02/04/26-16:01:23 INFO  framebuffer resolution: {
  h = 800,
  w = 600
} --[[table: 0x712bd212f238]] 
ffi.findlib: wrap-mupdf
ffi.load: libs/libwrap-mupdf.so
ffi.findlib: sqlite3 [0]
ffi.load: libs/libsqlite3.so.0
ffi.findlib: freetype [6]
ffi.load: libs/libfreetype.so.6
ffi.findlib: harfbuzz [0]
ffi.load: libs/libharfbuzz.so.0
ffi.findlib: zstd [1]
ffi.load: libs/libzstd.so.1
02/04/26-16:01:23 INFO  Looking for plugins in directory: plugins 
02/04/26-16:01:23 INFO  Looking for plugins in directory: /home/ss/.config/koreader/plugins/ 
ffi.findlib: leptonica [6]
ffi.load: libs/libleptonica.so.6
ffi.findlib: k2pdfopt [2]
ffi.load: libs/libk2pdfopt.so.2
./luajit: frontend/ui/widget/menu.lua:1534: attempt to perform arithmetic on local 'perpage' (a nil value)
stack traceback:
        frontend/ui/widget/menu.lua:1534: in function 'getItemFontSize'
        frontend/ui/widget/bookmarkbrowser.lua:37: in function 'show'
        frontend/ui/widget/bookmarkbrowser.lua:846: in function 'action'
        frontend/ui/uimanager.lua:1015: in function '_checkTasks'
        frontend/ui/uimanager.lua:1461: in function 'handleInput'
        frontend/ui/uimanager.lua:1581: in function 'run'
        ./reader.lua:295: in main chunk
        [C]: at 0x57fa05e283b0

Additional information

As I mentioned it crashes for all "History, Collections, Home Folder, Home Folder with subfolders, Folder, Folder with subfolders" with same log.

If I pick some files from FileBrowser > Select > Bookmarks it shows following crashlog

logs

---------------------------------------------
                launching...
  _  _____  ____                _
 | |/ / _ \|  _ \ ___  __ _  __| | ___ _ __
 | ' / | | | |_) / _ \/ _` |/ _` |/ _ \ '__|
 | . \ |_| |  _ <  __/ (_| | (_| |  __/ |
 |_|\_\___/|_| \_\___|\__,_|\__,_|\___|_|

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

 [*] Current time: 02/04/26-16:13:58
has monolibtic? no (libs/libkoreader-monolibtic.so: cannot open shared object file: No such file or directory)
lib_search_path: libs/?
lib_basic_format: lib%s.so
lib_version_format: lib%s.so.%s
 [*] Version: v2025.10-109-g8285f4e3b_2026-02-03

ffi.load: rt.so.1 (RTLD_GLOBAL)
ffi.findlib: utf8proc [3]
ffi.load: libs/libutf8proc.so.3
ffi.findlib: blitbuffer
ffi.load: libs/libblitbuffer.so
ffi.findlib: SDL2-2.0 [0]
ffi.load: libs/libSDL2-2.0.so.0
ffi.findlib: archive [13]
ffi.load: libs/libarchive.so.13
Starting SDL in /tmp/.mount_koreadcfhaiP/
ffi.findlib: lodepng
ffi.load: libs/liblodepng.so
02/04/26-16:13:58 INFO  initializing for device AppImage 
02/04/26-16:13:58 INFO  framebuffer resolution: {
  h = 800,
  w = 600
} --[[table: 0x7bf58a8286c0]] 
ffi.findlib: wrap-mupdf
ffi.load: libs/libwrap-mupdf.so
ffi.findlib: sqlite3 [0]
ffi.load: libs/libsqlite3.so.0
ffi.findlib: freetype [6]
ffi.load: libs/libfreetype.so.6
ffi.findlib: harfbuzz [0]
ffi.load: libs/libharfbuzz.so.0
ffi.findlib: zstd [1]
ffi.load: libs/libzstd.so.1
02/04/26-16:13:58 INFO  Looking for plugins in directory: plugins 
02/04/26-16:13:58 INFO  Looking for plugins in directory: /home/ss/.config/koreader/plugins/ 
ffi.findlib: leptonica [6]
ffi.load: libs/libleptonica.so.6
ffi.findlib: k2pdfopt [2]
ffi.load: libs/libk2pdfopt.so.2
./luajit: frontend/ui/widget/menu.lua:1534: attempt to perform arithmetic on local 'perpage' (a nil value)
stack traceback:
        frontend/ui/widget/menu.lua:1534: in function 'getItemFontSize'
        frontend/ui/widget/bookmarkbrowser.lua:37: in function 'show'
        frontend/apps/filemanager/filemanagercollection.lua:1578: in function 'callback'
        frontend/ui/widget/buttontable.lua:81: in function 'callback'
        frontend/ui/widget/button.lua:493: in function 'handleEvent'
        frontend/ui/widget/container/inputcontainer.lua:269: in function 'handleEvent'
        frontend/ui/widget/container/widgetcontainer.lua:83: in function 'propagateEvent'
        frontend/ui/widget/container/widgetcontainer.lua:101: in function 'handleEvent'
        frontend/ui/widget/container/widgetcontainer.lua:83: in function 'propagateEvent'
        frontend/ui/widget/container/widgetcontainer.lua:101: in function 'handleEvent'
        frontend/ui/widget/container/widgetcontainer.lua:83: in function 'propagateEvent'
        ...
        frontend/ui/widget/container/widgetcontainer.lua:101: in function 'handleEvent'
        frontend/ui/widget/container/widgetcontainer.lua:83: in function 'propagateEvent'
        frontend/ui/widget/container/widgetcontainer.lua:101: in function 'handleEvent'
        frontend/ui/uimanager.lua:910: in function 'sendEvent'
        frontend/ui/uimanager.lua:53: in function '__default__'
        frontend/ui/uimanager.lua:1437: in function 'handleInputEvent'
        frontend/ui/uimanager.lua:1537: in function 'handleInput'
        frontend/ui/uimanager.lua:1581: in function 'run'
        ./reader.lua:295: in main chunk
        [C]: at 0x64bc0ce6d3b0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions