code icon indicating copy to clipboard operation
code copied to clipboard

Can't start the appimage from more than one user

Open bynect opened this issue 1 year ago • 1 comments

Describe the bug

If I start the modrinth appimage from one user I can't launch it from any other users. When launched it segfaults with this message

thread '<unnamed>' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-plugin-deep-link-0.1.1/src/linux.rs:94:49:
Can't create listener: Os { code: 98, kind: AddrInUse, message: "Address already in use" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
zsh: IOT instruction  modrinth-app

I am not sure which address is it trying to connect.

Steps to reproduce

  1. Open modrinth in UserA
  2. Close or keep open modrinth for UserA
  3. Open modrinth in UserB
  4. Does not start for UserB

Expected behavior

To be able to use the appimage from more than a single user. Note that this problem happens even if I exit modrinth from UserA and sign out from UserA.

System information

Gentoo linux, modrinth 0.6.3 appimage

Additional context

No response

bynect avatar Jun 05 '24 19:06 bynect

I found that /tmp/com.modrinth.theseus-deep-link.sock is the problem. I don't understand why this is not deleted when modrinth quits or why it is shared for all the users

bynect avatar Jun 05 '24 19:06 bynect