1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

[912] Launcher started but game not starting, libJuxta.so segfaulting

Discussion in 'Archive' started by DasLeo, Oct 16, 2013.

  1. DasLeo

    DasLeo Catapult Fodder

    Messages:
    1
    Category: KAG Client
    Operating system: Linux
    Build number: 912
    Description:
    Hello KAG Team,

    I'm not able to start the game.
    It crashes with segfault in libJuxta.so.

    Steps to reproduce:
    1. unpack the game
    2. start launcher
    3. wait for update
    4. click "play" button
    Screenshots/Videos/Logs:

    Code:
    GNU gdb (Gentoo 7.6.1 p2) 7.6.1
    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-pc-linux-gnu".
    For bug reporting instructions, please see:
    <http://bugs.gentoo.org/>...
    Reading symbols from /home/leo/Downloads/Games/kagbeta-linux32-client/KAG...(no debugging symbols found)...done.
    (gdb) run
    Starting program: /home/leo/Downloads/Games/kagbeta-linux32-client/./KAG
    PID: 2015
    Starting in directory: /home/leo/Downloads/Games/kagbeta-linux32-client
    Changed directory to: /home/leo/Downloads/Games/kagbeta-linux32-client/
    Engine (build: 903 version: 0.9b)
    Creating video device...
    Irrlicht Engine version 1.8.0-alpha
    Linux 3.11.4-geek #4 ZEN SMP PREEMPT Tue Oct 8 23:02:00 CEST 2013 x86_64
    Using renderer: OpenGL 4.4.0
    GeForce GTX 680M/PCIe/SSE2: NVIDIA Corporation
    OpenGL driver version is 1.2 or better.
    GLSL version: 4.4
    Loaded texture: /home/leo/Downloads/Games/kagbeta-linux32-client/Base/GUI/DarkMicroStone.png
    Loaded texture: /home/leo/Downloads/Games/kagbeta-linux32-client/Base/GUI/BorderStone.png
    Loaded texture: /home/leo/Downloads/Games/kagbeta-linux32-client/Base/GUI/SimpleStone.png
    Loaded texture: /home/leo/Downloads/Games/kagbeta-linux32-client/Base/GUI/FramedStone.png
    Loaded texture: /home/leo/Downloads/Games/kagbeta-linux32-client/Base/GUI/PolishedStone.png
    Loaded texture: /home/leo/Downloads/Games/kagbeta-linux32-client/Base/GUI/paper_tiles.png
    Loaded texture: /home/leo/Downloads/Games/kagbeta-linux32-client/Base/GUI/Bubble.png
    Loaded texture: /home/leo/Downloads/Games/kagbeta-linux32-client/Base/GUI/MenuItems.png
    Loaded texture: /home/leo/Downloads/Games/kagbeta-linux32-client/Base/GUI/title.png
    Loaded texture: /home/leo/Downloads/Games/kagbeta-linux32-client/Base/GUI/Starter_Gradient.png
    Downloading checksums from http://update.kag2d.com/1/linux32-client-release/App/version.txt
    
    Downloading http://update.kag2d.com/1/linux32-client-release/App/version.txt...
    file Downloads/App/version.txt
    Version file the same (key matches)
    
    Downloading http://www.rssitfor.me/getrss?name=kag_news...
    file Downloads/kag_news
    Using file 'Base/../libJuxta.so'
    APP GameDLLInit
    
    INITIALIZING ANGELSCRIPT 2.27.1
    Game DLL initialized.
    Changing game working directory to '/home/leo/Downloads/Games/kagbeta-linux32-client/Base/'
    [20:15:14] Config file not found '../autoconfig.cfg'
    Gathering all files from Base...
    [20:15:14] Config file not found '../Security/ignorelist.cfg'
    [20:15:14] Loading ignorelist from Base/../Security/ignorelist.cfg
    [20:15:14] Loading ignorelist failed - file missing or corrupt. A blank ignorelist file will be generated for you.
    Running autostart script configure from Scripts/autostart.as
    [20:15:14] Creating video device...
    Irrlicht Engine version 1.8.0-alpha
    Linux 3.11.4-geek #4 ZEN SMP PREEMPT Tue Oct 8 23:02:00 CEST 2013 x86_64
    [20:15:14] Desktop resolution is 1920x1080
    [20:15:14] Checking driver support...
    [20:15:14] Initializing new video device...
    [20:15:14] Irrlicht Engine version 1.8.0-alpha
    [20:15:14] Linux 3.11.4-geek #4 ZEN SMP PREEMPT Tue Oct 8 23:02:00 CEST 2013 x86_64
    [20:15:14] Using renderer: OpenGL 4.4.0
    [20:15:14] GeForce GTX 680M/PCIe/SSE2: NVIDIA Corporation
    [20:15:14] OpenGL driver version is 1.2 or better.
    [20:15:14] GLSL version: 4.4
    [20:15:14] PNG warning: Application built with libpng-1.5.5 but running with 1.6.6
    [20:15:14] LOAD PNG: Internal PNG create read struct failure
    : /home/leo/Downloads/Games/kagbeta-linux32-client/Base/GUI/Fonts/commodore.png
    [20:15:14] PNG warning: Application built with libpng-1.5.5 but running with 1.6.6
    
    ...many many more png files with the same warning...
    
    irrKlang sound library version 1.4.0
    ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/conf.c:3314:(snd_config_hooks_call) Cannot open shared library /usr/lib64/alsa-lib/libasound_module_conf_pulse.so
    ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/pcm/pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM default
    Using ALSA driver
    [20:15:14] Sound engine started
    [20:15:14] Precaching files...
    Precaching files.
    [20:15:14]  ...Precaching files.
    Game version 912
    [20:15:14] Creating world from file ''
    [20:15:14] Initializing Game Script
    [20:15:14] ############ GAMEMODE Challenge
    [20:15:14] PNG warning: Application built with libpng-1.5.5 but running with 1.6.6
    [20:15:14] LOAD PNG: Internal PNG create read struct failure
    : /home/leo/Downloads/Games/kagbeta-linux32-client/Base/GUI/DarkMicroStone.png
    
    ...many many more png files with the same warning...
    
    [20:15:14] New track added to mixer Sounds/Music/KAGWorldIntroA.ogg
    During startup program terminated with signal SIGSEGV, Segmentation fault.
    
    Don't know where these libpng warnings are come from.
    I have both librarys on my system.

    Code:
    leo@xmggentoo ~/Downloads/Games/kagbeta-linux32-client $ ldd KAG
    linux-gate.so.1 (0xf7713000)
    librt.so.1 => /lib32/librt.so.1 (0xf76d1000)
    libdl.so.2 => /lib32/libdl.so.2 (0xf76cd000)
    libGL.so.1 => /usr/lib32/libGL.so.1 (0xf75c9000)
    libXxf86vm.so.1 => /usr/lib32/libXxf86vm.so.1 (0xf75c3000)
    libXext.so.6 => /usr/lib32/libXext.so.6 (0xf75af000)
    libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7478000)
    libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf73d8000)
    libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/32/libstdc++.so.6 (0xf72e9000)
    libm.so.6 => /lib32/libm.so.6 (0xf72a7000)
    libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/32/libgcc_s.so.1 (0xf728a000)
    libc.so.6 => /lib32/libc.so.6 (0xf70e4000)
    libpthread.so.0 => /lib32/libpthread.so.0 (0xf70ca000)
    /lib/ld-linux.so.2 (0xf7714000)
    libnvidia-tls.so.331.13 => /usr/lib32/libnvidia-tls.so.331.13 (0xf70c6000)
    libnvidia-glcore.so.331.13 => /usr/lib32/libnvidia-glcore.so.331.13 (0xf4e89000)
    libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf4e66000)
    libz.so.1 => /lib32/libz.so.1 (0xf4e4f000)
    libbz2.so.1 => /lib32/libbz2.so.1 (0xf4e3d000)
    libpng16.so.16 => /usr/lib32/libpng16.so.16 (0xf4e04000)
    libXau.so.6 => /usr/lib32/libXau.so.6 (0xf4e00000)
    libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf4df8000)
    
    Any Idea?
    How can I help to debug this?

    regards Leo
    --- Double Post Merged, Oct 16, 2013, Original Post Date: Oct 11, 2013 ---
    DMESG
    Code:
    KAG[1826]: segfault at 0 ip 00000000f2a3cf79 sp 00000000ffe37244 error 4 in libJuxta.so[f2728000+9e7000]
     
    Last edited: Oct 16, 2013
  2. Asu

    Asu THD Team THD Team Forum Moderator

    Messages:
    1,580
    Have you tryed downgrading your libpng to v1.5.5?
     
  3. lisemeitner

    lisemeitner Catapult Fodder

    Messages:
    0
    I think, I have the same problem. But I am not sure, if downgrading the library is the best way to fix this.
     
  4. Duplolas

    Duplolas So Sad

    Messages:
    917
  5. Superblackcat

    Superblackcat baideist baide Staff Alumni Tester

    Messages:
    462
    Does this still happen on this build? Is this through steam? Or a standalone? Have you tried reinstalling?
     
  6. Duplolas

    Duplolas So Sad

    Messages:
    917
    I an trying it today. Fingers crossed.
     
  7. Superblackcat

    Superblackcat baideist baide Staff Alumni Tester

    Messages:
    462
  8. Duplolas

    Duplolas So Sad

    Messages:
    917
  9. Asu

    Asu THD Team THD Team Forum Moderator

    Messages:
    1,580
    Fixed: KAG now has a rungame.sh script for a while, bundling the libpng dependency correctly.