Skip to content

Crashes on the second start #780

@daks-ua

Description

@daks-ua

Hi, skyjake

I hit an issue when I run Lagrange on my desktop after closing. It starts and works fine the first time, when there is no profile in my home directory. But if I close it and try to run again, it throws the following error:
daks@power ~ % lagrange Lagrange: A Beautiful Gemini Client [Gamepad] failed to initialize: SDL not built with joystick support [Gamepad] failed to initialize: SDL not built with joystick support X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 42 (X_SetInputFocus) Serial number of failed request: 246 Current serial number in output stream: 247 daks@power ~ % echo $? 1

Image

I found that I can run it by deleting the file ~/.config/lagrange/state.lgr (logs of the clean run, clean exit):
daks@power ~ % rm -f ~/.config/lagrange/state.lgr; lagrange Lagrange: A Beautiful Gemini Client [Gamepad] failed to initialize: SDL not built with joystick support [Gamepad] failed to initialize: SDL not built with joystick support daks@power ~ %

Image

There is really nothing in this file after the very first run, except the default about:help page:
Image

That's not a regression of recent versions, I have this issue from at least 1.19.3 (not sure for the earlier versions, I discovered and started using Largange when it was 1.19.3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions