Dismiss Notice
This Section is READ ONLY - All Posts Are Archived

Linux Launcher closes after unzipping

Discussion in 'Critical Issues (Blockers, Performance, Crashes)' started by Tyrir Lux, Aug 13, 2018.

Thread Status:
Not open for further replies.
  1. Tyrir Lux

    Tyrir Lux Avatar

    Messages:
    43
    Likes Received:
    34
    Trophy Points:
    8
    When I run the launcher, it appears to download the 144.zip file. It appears to get to 100% of unzipping it in step 4/6. There is no error in the output.

    The Player.log does have the following error though.

    Platform assembly: /home/greenapple/sota/StandaloneLinuxUniversalPatcher/Shroud of the Avatar - Launcher_Data/Managed/Mono.Security.dll (this message is harmless)
    Handle Error for message: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
    at System.Collections.Generic.SortedDictionary`2[MonoTorrent.BEncoding.BEncodedString,MonoTorrent.BEncoding.BEncodedValue].get_Item (MonoTorrent.BEncoding.BEncodedString key) [0x00000] in <filename unknown>:0
    at MonoTorrent.BEncoding.BEncodedDictionary.get_Item (MonoTorrent.BEncoding.BEncodedString key) [0x00000] in <filename unknown>:0
    at MonoTorrent.Dht.Messages.GetPeersResponse.get_Token () [0x00000] in <filename unknown>:0
    at MonoTorrent.Dht.Messages.GetPeersResponse.Handle (MonoTorrent.Dht.DhtEngine engine, MonoTorrent.Dht.Node node) [0x00000] in <filename unknown>:0
    at MonoTorrent.Dht.MessageLoop.ReceiveMessage () [0x00000] in <filename unknown>:0
    Unzipped to:/tmp/PatchClientTMP/
    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

    Installed patch client 144 to temp directory.
    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

    Starting temp patch client: "/tmp/PatchClientTMP/StandaloneLinuxUniversalPatcher/Shroud of the Avatar - Launcher.x86" "+UpdatePatchClient=/home/greenapple/sota/StandaloneLinuxUniversalPatcher/Shroud of the Avatar - Launcher_Data/../"
    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

    Application initiated quit...
    (Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

    Setting up 4 worker threads for Enlighten.
    Thread -> id: ca565b40 -> priority: 1
    Thread -> id: c7ff5b40 -> priority: 1
    Thread -> id: c77f4b40 -> priority: 1
    Thread -> id: c6ff3b40 -> priority: 1
     
  2. Tyrir Lux

    Tyrir Lux Avatar

    Messages:
    43
    Likes Received:
    34
    Trophy Points:
    8
    Figured out the issue. The launcher installs some executables to /tmp/PatchClientTMP/. It is not uncommon for linux distros to mount /tmp/ with noexec mount flags. In such a case, the launcher unfortunately closes without an error message because the executables in the /tmp dir cannot be executed.

    Some ways you can fix this issue. 1) Use the existing $HOME/.SotA.GameTMP/ dir that the launcher already has created. 2) Check the mount flags of /tmp for exec. If it is noexec, use a different directory e.g. $HOME/.SotA.GameTMP/.

    Workaround for others encountering this issue is to remount /tmp with exec e.g.
    sudo mount -o remount,exec /tmp
     
  3. BurningToad

    BurningToad Dev Emeritus Dev Emeritus

    Messages:
    1,280
    Likes Received:
    3,797
    Trophy Points:
    125
    Gender:
    Male
    Location:
    Austin, TX
    Thanks for the report! Was the launcher you were using that was updating itself from a new install? Or had you already been playing with this installation for a while and the launcher updated itself? It looks like we may have fixed this issue in the latest version, but the version that comes with the installer is fairly old, so perhaps we just need to update it.
     
  4. Tyrir Lux

    Tyrir Lux Avatar

    Messages:
    43
    Likes Received:
    34
    Trophy Points:
    8
Thread Status:
Not open for further replies.