Skip to content

KOReader crashes due to httpinspector when port is already in use #12043

Description

@arpanghosh8453
  • KOReader version: 2024.04 (latest)
  • Device: Kobo Libra 2

Koreader crashes when using httpinspector plugin

  1. Turn on her httpinspector plugin server ( under more tools )
  2. Press the power button to sleep the device
  3. Press the power button to wake up
  4. try to go to the file browser menu from the top panel
    --- CRASH ---
crash.log
06/17/24-16:19:06 DEBUG HttpInspector: Starting server... 
./luajit: frontend/ui/message/simpletcpserver.lua:27: attempt to index field 'server' (a nil value)
stack traceback:
	frontend/ui/message/simpletcpserver.lua:27: in function 'start'
	plugins/httpinspector.koplugin/main.lua:103: in function 'start'
	plugins/httpinspector.koplugin/main.lua:29: in function 'action'
	frontend/ui/uimanager.lua:1012: in function '_checkTasks'
	frontend/ui/uimanager.lua:1460: in function 'handleInput'
	frontend/ui/uimanager.lua:1580: in function 'run'
	./reader.lua:280: in main chunk
	[C]: at 0x000140cd
!!!!
Uh oh, something went awry... (Crash n°1: 06/17/24 @ 16:19:07)
Running FW 4.38.21908 on Linux 4.1.15-00866-g3a75628c73c (#96 SMP PREEMPT Thu Nov 17 14:25:47 CST 2022)
Attempting to restart KOReader . . .

Metadata

Metadata

Assignees

No one assigned

    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