1. Welcome to the Starbound support forums. Please check the support FAQs before posting: http://playstarbound.com/support

Closed The Linux startup crash thread

Discussion in 'Starbound Support' started by Dutchess_Nicole, Dec 4, 2013.

Thread Status:
Not open for further replies.
  1. Dutchess_Nicole

    Dutchess_Nicole Big Damn Hero

    Hello folks.

    I haven't yet come across a thread for the linux version and it's issues, so I decided to start one. Please try to keep this thread clean, so that hopefully the devs can make use of it.

    Currently, about an hour after launch, the game will not start. Now, it is in Beta so it is expected to fail, but I'd expect it to at least run.

    I am running on Linux Mint 15 'Olivia', an Ubuntu derivative which is (mostly) stock. The only non-standard packages are things like the nvidia-drivers and several codecs for ffmpeg.

    So far I've found that launching the game from steam simply doesn't work.
    This seems to be because the game cannot find a library called libGLEW.so.1.7 in the system path.

    My version of mint indeed does not have this library, but it does have a libGLEW.so.1.8 available in /usr/lib/x86_42-linux-gnu/
    making a symlink for libGLEW.so.1.7 in /usr/lib/x86_42-linux-gnu/ solves this crash.

    With the library issue out of the way, we run into the next crash. This time the issue seems to be that a fie from the assets directory cannot be read or interpreted.

    Output of command:

    bas@HexaMinty /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64 $ ./launch_starbound.sh


    gives the following in starbound.log:


    Info: Preparing Star::Root...
    Info: Creating default Star::Configuration
    Info: Done preparing Star::Root.
    Info: Client version 'Beta v. Perturbed Koala' '615' '418'
    Info: Starting from the title screen
    Info: Initialized SDL
    Info: Initialized SDL Video
    Info: Initialized SDL Joystick
    Info: Initialized SDL Sound
    Info: Opened default audio device with 44khz / 16 bit stereo audio, 1024 sample size buffer
    Error: Could not load /cinematics/splash.cinematic asset, attempting to use default.
    AssetException: Could not read variant asset /cinematics/splash.cinematic
    ./starbound(_ZN4Star13StarExceptionC1ERKSsRKSt9exception+0x126) [0xc029a6]
    ./starbound() [0x6aa405]
    ./starbound() [0x6aa474]
    ./starbound() [0x6a29ca]
    ./starbound() [0x6a2e7f]
    ./starbound() [0x6aa893]
    ./starbound() [0x6ab835]
    ./starbound() [0x6ae4ab]
    ./starbound() [0x6aeb9b]
    ./starbound() [0x53d9a9]
    ./starbound() [0x53e3da]
    ./starbound(_ZN4Star19StarApplicationBase3runEv+0x2c) [0x54c68c]
    ./starbound() [0x533d6a]
    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f11e067eea5]
    ./starbound() [0x538aad]

    caused by: AssetException: No such asset '/cinematics/splash.cinematic'
    ./starbound(_ZN4Star13StarExceptionC2ERKSs+0xfe) [0xc0221e]
    ./starbound() [0x6af7f1]
    ./starbound() [0x6a3ba3]
    ./starbound() [0x6a3c42]
    ./starbound() [0x6aa316]
    ./starbound() [0x6aa474]
    ./starbound() [0x6a29ca]
    ./starbound() [0x6a2e7f]
    ./starbound() [0x6aa893]
    ./starbound() [0x6ab835]
    ./starbound() [0x6ae4ab]
    ./starbound() [0x6aeb9b]
    ./starbound() [0x53d9a9]
    ./starbound() [0x53e3da]
    ./starbound(_ZN4Star19StarApplicationBase3runEv+0x2c) [0x54c68c]
    ./starbound() [0x533d6a]
    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f11e067eea5]
    ./starbound() [0x538aad]

    Info: Shutting down Star::Root
    Error: Fatal Exception Caught: VariantException: Variant type not map for get("panels"), is of type null
    ./starbound(_ZN4Star13StarExceptionC2ERKSs+0xfe) [0xc0221e]
    ./starbound() [0xac7011]
    ./starbound(_ZNK4Star7Variant3getERKNS_6StringE+0xa0) [0xbe4a60]
    ./starbound(_ZNK4Star7Variant4pgetINS_4ListIS0_St5dequeIS0_SaIS0_EEEEEET_RKNS_6StringE+0x29) [0xbee029]
    ./starbound(_ZNK4Star7Variant7getListERKNS_6StringE+0x11) [0xbe7251]
    ./starbound() [0x56e73e]
    ./starbound() [0x53d9b9]
    ./starbound() [0x53e3da]
    ./starbound(_ZN4Star19StarApplicationBase3runEv+0x2c) [0x54c68c]
    ./starbound() [0x533d6a]
    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f11e067eea5]
    ./starbound() [0x538aad]


    The requested asset is available in the assets directory and readable.
    I even chmod'ed everything to 777 to make sure it is not a permission issue.

    running it through gdb doesn't really add much more info, but for completeness' sake I will include it here:


    bas@HexaMinty /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64 $ LD_LIBRARY_PATH="." gdb starbound
    GNU gdb (GD:cool: 7.5.91.20130417-cvs-ubuntu
    Copyright (C) 2013 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "x86_64-linux-gnu".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound...done.
    (gdb) run
    Starting program: /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
    Info: Creating Star::Root with 1 assets sources and config file: './starbound.config'
    Info: Loading Star::Assets from: '../assets'
    [New Thread 0x7fffee127700 (LWP 18141)]
    Info: Preparing Star::Root...
    [New Thread 0x7fffed926700 (LWP 18142)]
    [New Thread 0x7fffed125700 (LWP 18143)]
    Info: Creating default Star::Configuration
    Info: Done preparing Star::Root.
    Info: Client version 'Beta v. Perturbed Koala' '615' '418'
    Info: Starting from the title screen
    Info: Initialized SDL
    Info: Initialized SDL Video
    Info: Initialized SDL Joystick
    [New Thread 0x7fffe7c26700 (LWP 18144)]
    [Thread 0x7fffe7c26700 (LWP 18144) exited]
    Info: Initialized SDL Sound
    [New Thread 0x7fffe7c26700 (LWP 18145)]
    Info: Opened default audio device with 44khz / 16 bit stereo audio, 1024 sample size buffer
    Error: Could not load /cinematics/splash.cinematic asset, attempting to use default.
    AssetException: Could not read variant asset /cinematics/splash.cinematic
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound(_ZN4Star13StarExceptionC1ERKSsRKSt9exception+0x126) [0xc029a6]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x6aa405]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x6aa474]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x6a29ca]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x6a2e7f]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x6aa893]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x6ab835]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x6ae4ab]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x6aeb9b]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x53d9a9]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x53e3da]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound(_ZN4Star19StarApplicationBase3runEv+0x2c) [0x54c68c]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x533d6a]
    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7ffff4a9eea5]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x538aad]

    caused by: AssetException: No such asset '/cinematics/splash.cinematic'
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound(_ZN4Star13StarExceptionC2ERKSs+0xfe) [0xc0221e]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x6af7f1]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x6a3ba3]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x6a3c42]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x6aa316]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x6aa474]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x6a29ca]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x6a2e7f]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x6aa893]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x6ab835]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x6ae4ab]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x6aeb9b]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x53d9a9]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x53e3da]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound(_ZN4Star19StarApplicationBase3runEv+0x2c) [0x54c68c]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x533d6a]
    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7ffff4a9eea5]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x538aad]

    [Thread 0x7fffe7c26700 (LWP 18145) exited]
    Info: Shutting down Star::Root
    [Thread 0x7fffee127700 (LWP 18141) exited]
    [Thread 0x7fffed926700 (LWP 18142) exited]
    [Thread 0x7fffed125700 (LWP 18143) exited]
    Error: Fatal Exception Caught: VariantException: Variant type not map for get("panels"), is of type null
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound(_ZN4Star13StarExceptionC2ERKSs+0xfe) [0xc0221e]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0xac7011]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound(_ZNK4Star7Variant3getERKNS_6StringE+0xa0) [0xbe4a60]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound(_ZNK4Star7Variant4pgetINS_4ListIS0_St5dequeIS0_SaIS0_EEEEEET_RKNS_6StringE+0x29) [0xbee029]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound(_ZNK4Star7Variant7getListERKNS_6StringE+0x11) [0xbe7251]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x56e73e]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x53d9b9]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x53e3da]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound(_ZN4Star19StarApplicationBase3runEv+0x2c) [0x54c68c]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x533d6a]
    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7ffff4a9eea5]
    /mnt/games/SteamLinuxLibrary/SteamApps/common/Starbound/linux64/starbound() [0x538aad]


    [Inferior 1 (process 18137) exited with code 01]
     
  2. Marogareh

    Marogareh Void-Bound Voyager

    So far I'm having absolutely no issues with Linux Mint 15.0 or 16.0, both appear to be running well.
     
  3. danieltos

    danieltos Space Hobo

    Hello,

    I have Ubuntu 13.04 and I'm having some issues as well.
    I have run a few things through cmd:

    *in my Starbound directory
    - ./launch_starbound.sh
    ./starbound: error while loading shared libraries: libdirectfb-1.2.so.9: cannot open shared object file: No such file or directory

    -./starbound
    ./starbound: error while loading shared libraries: libGLEW.so.1.7: cannot open shared object file: No such file or directory

    I haven't found any ways to deal with the issues here. As we can see, the second issue I'm having is similar to the first problem that Nisengo had run into.

    Help would be nice.
     
  4. SkepticalMystic

    SkepticalMystic Orbital Explorer

    I'm having the same issue as danieltos above.
    I'm on Arch Linux x64
    Nvidia GTX 560

    ./starbound: error while loading shared libraries: libdirectfb-1.2.so.9: cannot open shared object file: No such file or directory

    I have directfb installed, but it's the newest version which is 1.7. My distro doesn't have any older versions available that I can see. The libraries associated with this are libdirectfb.so libdirectfb-1.7.so.1 libdirectfb-1.7.so.1.0.0.
     
  5. Coll

    Coll Space Hobo

    After the update, I have the same issues as the two above:
    ./starbound: error while loading shared libraries: libdirectfb-1.2.so.9: cannot open shared object file: No such file or directory

    Before the update I had no issues with launching the game.
     
  6. loctar

    loctar Orbital Explorer

    Got the same issue here, got exactly the same log as Nisengo. No issues with libdirectfb-1.2

    Running on Ubuntu 13.10, 32 bits.

    Edit: just heard on IRC that there is a bug on linux reading subdirectories
     
    Last edited: Dec 5, 2013
  7. Score_Under

    Score_Under Master Chief

    Code:
    score@kirisame ..eam/SteamApps/common/Starbound/linux64 % LD_LIBRARY_PATH=$PWD ldd ./starbound | grep 'not found'
       libdirectfb-1.2.so.9 => not found
       libfusion-1.2.so.9 => not found
       libdirect-1.2.so.9 => not found
       libts-0.0.so.0 => not found
    
    Installed libdirectfb, but it was version 1.7 so not compatible. I can't find libfusion, and "direct" and "ts" are far too general to search for in my package manager.
    I'm on Arch Linux, 64 bit.

    I could run the 32 bit version after installing these:
    Code:
    sudo pacman -S lib32-sdl lib32-libpng lib32-libpng12
    64 bit version is completely broken though.
     
  8. Dutchess_Nicole

    Dutchess_Nicole Big Damn Hero

    That would be because the launcher shell script does a little library magic to make it load in the libGLEW.so.1.7 that is shipped with the game.

    $ LD_LIBRARY_PATH=$PWD ./starbound
    [edit] Yeah I did miss the slash that should be in there. My apologies.[/edit]

    should give you the same result as running the shell launcher itself. Then there's the matter of getting libdirectfb to work.
    You could try to make a symlink in wherever your version of libdirectfb is to the exact version the game is looking for.
    Note that if your installed version is older, this may not work at all.
     
    Last edited: Dec 5, 2013
  9. loctar

    loctar Orbital Explorer

    Should be
    (forgot the slash)
     
  10. SkepticalMystic

    SkepticalMystic Orbital Explorer

    Thanks for your post Score_Under. I didn't even trying running the 32 bit version. It works like a charm. Something is clearly just broken with the 64 bit version.
     
  11. ShiveringAurora

    ShiveringAurora Space Hobo

    Hey. I've managed to get rid of the error about missing library - getting one about missing assets afterward. It seems that the Linux version of the game has got path variables set incorrectly (feel free to correct me here). I went to the root directory of Starbound installation (apparently libGLEW version 1.7 is right there) and and used the one-liner of LD_LIBRARY_PATH=$PWD/linux64:$PWD ; export LD_LIBRARY_PATH ; ./linux64/starbound -- which results in errors like this:

    Error: Could not load /cinematics/splash.cinematic asset, attempting to use default.
    AssetException: Could not read variant asset /cinematics/splash.cinematic


    I'm using Ubuntu 12.04.3, 64-bit.
    Any word from the devs, perhaps?

    ---
    Oh, yeah - seems that there are no libraries for the 32-bit version on my 64-bit Ubuntu setup - 32-bit executable is there, but no libraries accompany it. I get an error about libGLU.so.1 if I try running that.

    Hopefully this gets sorted out.
     
    Last edited: Dec 5, 2013
  12. loctar

    loctar Orbital Explorer

    I believe that is what the original post was about. I have the same issue.
    As far as I could understand from a reply on IRC is that the devs are working on this issue (when they're not exhausted and sleeping). Appearantly there is a bug in linux with reading subdirectories. And since the splash.cinematic is in a subdirectory of the assets directory I think this is what happens. Guess we'll have to wait for the next patch.
     
    ShiveringAurora likes this.
  13. zhade

    zhade Orbital Explorer

    I am using Arch Linux x86_64. The following symlinks allows me to start ./starbound, NOT ./launch_starbound.sh

    drwxr-xr-x 7 root root 4096 Nov 1 20:35 directfb-1.7-1
    lrwxrwxrwx 1 root root 31 Dec 5 10:55 libdirect-1.2.so.9 -> /usr/lib/libdirect-1.7.so.1.0.0
    lrwxrwxrwx 1 root root 22 Nov 1 20:35 libdirect-1.7.so.1 -> libdirect-1.7.so.1.0.0
    -rwxr-xr-x 1 root root 152232 Nov 1 20:35 libdirect-1.7.so.1.0.0
    lrwxrwxrwx 1 root root 33 Dec 5 10:32 libdirectfb-1.2.so.9 -> /usr/lib/libdirectfb-1.7.so.1.0.0
    lrwxrwxrwx 1 root root 24 Nov 1 20:35 libdirectfb-1.7.so.1 -> libdirectfb-1.7.so.1.0.0
    -rwxr-xr-x 1 root root 1297096 Nov 1 20:35 libdirectfb-1.7.so.1.0.0
    lrwxrwxrwx 1 root root 24 Nov 1 20:35 libdirectfb.so -> libdirectfb-1.7.so.1.0.0
    lrwxrwxrwx 1 root root 22 Nov 1 20:35 libdirect.so -> libdirect-1.7.so.1.0.0
    lrwxrwxrwx 1 root root 31 Dec 5 10:51 libfusion-1.2.so.9 -> /usr/lib/libfusion-1.7.so.1.0.0
    lrwxrwxrwx 1 root root 22 Nov 1 20:35 libfusion-1.7.so.1 -> libfusion-1.7.so.1.0.0
    -rwxr-xr-x 1 root root 64512 Nov 1 20:35 libfusion-1.7.so.1.0.0
    lrwxrwxrwx 1 root root 22 Nov 1 20:35 libfusion.so -> libfusion-1.7.so.1.0.0
    lrwxrwxrwx 1 root root 17 Aug 9 22:33 libGLEW.so -> libGLEW.so.1.10.0
    lrwxrwxrwx 1 root root 17 Aug 9 22:33 libGLEW.so.1.10 -> libGLEW.so.1.10.0
    -rwxr-xr-x 1 root root 554064 Aug 9 22:33 libGLEW.so.1.10.0
    lrwxrwxrwx 1 root root 79 Dec 5 11:08 libGLEW.so.1.7 -> /home/user/.local/share/Steam/SteamApps/common/Starbound/linux64/libGLEW.so.1.7
    lrwxrwxrwx 1 root root 78 Dec 5 11:08 libpng12.so.0 -> /home/user/.local/share/Steam/SteamApps/common/Starbound/linux64/libpng12.so.0

    I was able to create a character and teleport down to the planet and open a chest. Haven't tested further and won't do anymore (I play on Win32 anyway).

    Starting ./launch_starbound with above symlinks gives the me libts-0.0.so.0 is missing error, which is needed by libSDL-1.2.so.0 (I even have that installed but it didn't come with libts)
     
    Last edited: Dec 5, 2013
    Score_Under and ShiveringAurora like this.
  14. Darksoox

    Darksoox Void-Bound Voyager

    I am running starbound on Arch Linx x86_64. Created the same symlinks as you zhade but got stuck on the libts-0.0.so.0 error.

    Tried starting via the ./starbound executable instead of via steam. Seems to be running ok now. Thanks for sharing :)
     
  15. Coll

    Coll Space Hobo

    Yes, creating symlinks works for me as well.
     
  16. Toutoul

    Toutoul Void-Bound Voyager

    I am not running starbound on Arch Linux x86_64 but It's working inX386.

    In x86_46 : ./launcher_starbound.sh

    ./starbound: error while loading shared libraries: libdirectfb-1.2.so.9: cannot open shared object file: No such file or directory

    ./starbound

    ./starbound: error while loading shared libraries: libGLEW.so.1.7: cannot open shared object file: No such file or directory


    In arch linux x86_64, I found libGLEW.so but in libGLEW.so.1.10
     
  17. kulpae

    kulpae Void-Bound Voyager

    simple fix, I removed libSDL-1.2.so.0 (don't forget to backup) and it's working fine on Archlinux 3.12.1-3 64bit. via pacman I have sdl 1.2.15-5 installed.

    I played the game right from the start, I had to install libpng12 only. Thereafter the devs pushed a fix with some libs embedded, so thats causing the issues for some.
     
    Score_Under likes this.
  18. Xaxxon

    Xaxxon Void-Bound Voyager

    for 64-bit you can modify launch_starbound.sh to (or use in the command line):
    Code:
    LD_LIBRARY_PATH=/usr/lib:./ ./starbound
    that will give preference to the libSDL provided by the OS (rather than the included version with seems to require libts)
     
    kulpae likes this.
  19. Score_Under

    Score_Under Master Chief

    Thank you :eek:

    These commands (a combination of yours and zhade's observations) got it working for me:
    Code:
    ln -s /usr/lib/libdirect-1.7.so.1.0.0 /usr/lib/libdirectfb-1.7.so.1.0.0 /usr/lib/libfusion-1.7.so.1.0.0 .
    mv libdirect-1.{7.so.1.0.0,2.so.9}
    mv libdirectfb-1.{7.so.1.0.0,2.so.9}
    mv libfusion-1.{7.so.1.0.0,2.so.9}
    mv {,_}libSDL-1.2.so.0
     
  20. Keeperus

    Keeperus Void-Bound Voyager

Thread Status:
Not open for further replies.

Share This Page