1. We have a QA initiative where we work with the community more closely than ever to get your bug reports into the hands of the developers. Please use this forum for LIVE Server bug reporting. Do follow the format below, because it will help us out greatly in responding. If you do not, it's possible your bug report will be misinterpreted, or worse, lost!

    Read BEFORE submitting your first bug: Reporting Bugsā€¦ QA 101 Document
    • Search for your bug before posting in order to avoid duplicate reports.
    • Only reply to an existing thread if you have additional information for the reported bug. ALL extraneous commentary will be deleted to avoid cluttering the reports.
    • Keep your bug report short and factual.
    • There is no need to submit crash logs. Crash data we require is automatically logged.
    Bug Report Template
    1. Title:
    2. Reproduction Rate:
    3. Blocker?
    4. Details:
    5. Steps to Reproduce:
    6. User Specs:
    To get started, use /bug in-game (/devbug if on QA) to auto-create this template. It will even auto-fill some of the required information and open the browser for you. Then take the information that was just saved to your system's clipboard and paste it into a new QA forum post. Thank you bug hunters!
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 greenapple2, Aug 13, 2018.

  1. Tyrir Lux

    Tyrir Lux Avatar

    Messages:
    43
    Likes Received:
    33
    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:
    33
    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 SotA Dev Moderator SOTA Developer

    Messages:
    1,215
    Likes Received:
    3,694
    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:
    33
    Trophy Points:
    8