Suwayomi / Suwayomi-JUI

A Suwayomi-Server client built in Compose Multiplatform
Mozilla Public License 2.0
412 stars 26 forks source link

[Bug] Wayland crash #42

Open Revival8697 opened 2 years ago

Revival8697 commented 2 years ago

Device information

Steps to reproduce

  1. Launch Tachidesk-JUI.
  2. Clicking the options in the settings for about 15 seconds. It doesn't matter what is clicked, none of the options is changed.

    Expected behavior

    It doesn't crash.

    Actual behavior

    It crashed. Trying to re-launch it failed, trying to re-launch it using the terminal give this:

    12:53:54.155 [DefaultDispatcher-worker-1] INFO/ServerService: Starting server with /usr/lib/jvm/java-17-openjdk/bin/java
    12:53:54.164 [DefaultDispatcher-worker-1] INFO/ServerService: Using server properties:
    -Dsuwayomi.tachidesk.config.server.systemTrayEnabled=false
    -Dsuwayomi.tachidesk.config.server.webUIEnabled=false
    -Dsuwayomi.tachidesk.config.server.initialOpenInBrowserEnabled=false
    12:53:54.174 [DefaultDispatcher-worker-1] INFO/ServerService: Server started successfully
    12:53:54.557 [DefaultDispatcher-worker-1] INFO/Server: 12:53:54.554 [main] INFO  suwayomi.tachidesk.server.ServerSetup - Running Tachidesk v0.6.0 revision r1
    12:53:55.334 [DefaultDispatcher-worker-1] INFO/Server: 12:53:55.334 [main] INFO  suwayomi.tachidesk.server.util.AppMutex - Another instance of Tachidesk is running on 127.0.0.1:4567
    12:53:55.335 [DefaultDispatcher-worker-1] INFO/Server: 12:53:55.334 [main] INFO  suwayomi.tachidesk.server.util.AppMutex - Probably user thought tachidesk is closed so, opening webUI in browser again.
    12:53:55.335 [DefaultDispatcher-worker-1] INFO/Server: 12:53:55.335 [main] INFO  suwayomi.tachidesk.server.util.AppMutex - Aborting startup.
    12:53:55.336 [DefaultDispatcher-worker-1] INFO/Server: 12:53:55.336 [main] INFO  suwayomi.tachidesk.server.util.AppExit - Shutting Down Tachidesk. Goodbye!
    12:53:55.352 [DefaultDispatcher-worker-1] INFO/ServerService: Server closed
    12:53:55.353 [DefaultDispatcher-worker-1] INFO/ServerService: Process exitValue: 1

    Brave browser (brave-bin), Discord (discord) (and maybe more?) also crashed and unable to re-launch. Telegram (telegram-desktop) doesn't crash but if I exit it, I won't able to re-launch it. Trying to restart the PC using the Application Launcher will makes the it freeze. I can launch the konsole and do "sudo reboot".

    Other details

    All packages are "latest" on the Arch Linux stable branch as of 1:10 PM GMT+7 16 Feb 2022. I tried on the linux and linux-zen kernel. It doesn't crash on X11.

Latrolage commented 2 years ago

Mine does a similar thing. On a fresh boot, the first launch shows a UI but after about 10 seconds it crashes. Opening it up again tells me that the server is still open, so i have to kill the tachidesk server thing manually. On the 3rd launch it stalls on a particular line.

Here is a full log of what i did. The htop part is me killing the lingering tachidesk server process. It's a little long so i put it in a pastebin instead https://bin.disroot.org/?bc73542e5ab6c7f0#HkUUFmgWr6Lw9qXT7jrSzNAKK6y6ntYEaKXBZYA5kvBD

AriaMoradi commented 2 years ago

might be a Server issue, It may be that dorkbox doesn't support wayland?