[Linux] Game crash when shooting

shokksshokks Away from Keyboard Join Date: 2013-10-14 Member: 188698Members
edited October 2013 in Technical Support
Hi ! i'm here because each time I use a fire weapon, the game crash without any error messages in log !
I don't have any mods, and I'm using Linux version Build 257. I tried to change graphic options, and I'm using medium textures but nothing changes.
So, I don't know what more informations I can give you except some lines like that in my log :
Error: Sound 'sound/NS2.fev/alien/voiceovers/chuckle_female' couldn't be loaded (Event not found)
and
WARNING: Corrected case of '/mnt/sdb/Shokks/Steam/SteamApps/common/Natural Selection 2/ns2/models/marine/Dropship/dropship1.material'
Thanks :)
«1345

Comments

  • ExoskelettExoskelett Join Date: 2012-12-18 Member: 175509Members, Reinforced - Supporter
    edited October 2013
    Got alot better bugs - you want this? :D

    n1sw.jpg

    http://img89.imageshack.us/img89/6909/n1sw.jpg

    Or this one! This should be refinery!

    2aqg.jpg
  • shokksshokks Away from Keyboard Join Date: 2013-10-14 Member: 188698Members
    WTF is that ? :p
    But my problem make my game unplayable at all.. !
  • rkfgrkfg Russia Join Date: 2013-09-03 Member: 187744Members, Reinforced - Supporter, Reinforced - Silver, Reinforced - Gold, Reinforced - Diamond, Reinforced - Shadow
    edited October 2013
    Try getting a backtrace as described here. Linux build is very unstable as of now, wait until Thursday, devs promised to release 258 which addresses those and some other issues. I've got crashes on firing, entering the gorge tunnel and just midgame for no reason.
  • ConfusedConfused Wait. What? Join Date: 2003-01-28 Member: 12904Members, Constellation, NS2 Playtester, Squad Five Blue, Subnautica Playtester
    hey guys this should be fixed in 258 which just came out.

    so should the textures note loading because you alt tabbed bug too.

    Let me know if you see anything else
  • shokksshokks Away from Keyboard Join Date: 2013-10-14 Member: 188698Members
    Hi ! Build 258 didn't fixed it..
    Here is my dmesg lines :
    [78766.812741] ns2_linux32[18221]: segfault at 0 ip 00000000f16eed37 sp 00000000fff05640 error 4 in libnvidia-glcore.so.325.15[f01d4000+2070000]
    [79653.082122] ns2_linux32[18543]: segfault at 0 ip 00000000f16b2d37 sp 00000000fff5e8e0 error 4 in libnvidia-glcore.so.325.15[f0198000+2070000]

    But I didn't found how to make a backtrace ... :/
  • ConfusedConfused Wait. What? Join Date: 2003-01-28 Member: 12904Members, Constellation, NS2 Playtester, Squad Five Blue, Subnautica Playtester
    Can you post the output from sysinfo or like like for your system as well as teh contents of the log file in ~/.config/Natural Selection 2/log.txt

  • shokksshokks Away from Keyboard Join Date: 2013-10-14 Member: 188698Members
    Here is my log.txt file
    http://pastie.org/8404559

    My configuration is a GTX 660 with a I5-750 and 5Gb of RAM.
  • ConfusedConfused Wait. What? Join Date: 2003-01-28 Member: 12904Members, Constellation, NS2 Playtester, Squad Five Blue, Subnautica Playtester
    I am actually more interested in the version of the drivers and on what distro you are running:)

    So you start up the tutorial, and then it crashes at the first time you shoot is what the log looks like. is that basically what is happening?
  • shokksshokks Away from Keyboard Join Date: 2013-10-14 Member: 188698Members
    Oh sorry ! I'm using ArchLinux with the kernel 3.11.5-1-ARCH
    And my nvidia-proprietary drivers are 325.15-10 :)

    Yes ! It's exactly what's happend.. However I can use the "body weapons"

    Thanks :)
  • herrsheimerherrsheimer Join Date: 2008-06-06 Member: 64403Members
    Now I have the same issue with b258, and it didnt happen in b257 for me.
  • IronHorseIronHorse Developer, QA Manager, Technical Support & contributor Join Date: 2010-05-08 Member: 71669Members, Super Administrators, Forum Admins, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Blue, Subnautica Playtester, Subnautica PT Lead, Pistachionauts
    Where'd you get those proprietary drivers shokks?
  • shokksshokks Away from Keyboard Join Date: 2013-10-14 Member: 188698Members
    edited October 2013
    I found it on the Archlinux depot ( https://www.archlinux.org/packages/?name=nvidia ) but I think that I will try soon those beta nvidia drivers if they are the sources of the troubles https://aur.archlinux.org/packages/nvidia-beta :)
  • VantskruvVantskruv Join Date: 2012-11-04 Member: 166678Members
    Have the same problem too, whenever trying to shoot the game crashes, and the log in "~/.config/Natural Selection 2/log.txt" doesn't tell me anything interesting.

    Reporting from Linux Mint 14 64 bit with Nvidia 331.13 Open Source Drivers.
  • shokksshokks Away from Keyboard Join Date: 2013-10-14 Member: 188698Members
    edited October 2013
    Same problem with beta drivers :
    In DMESG :
    [ 656.142623] ns2_linux32[2594]: segfault at 0 ip 00000000f15cb607 sp 00000000ffa71840 error 4 in libnvidia-glcore.so.331.13[effc7000+21c9000]
    [ 1205.295466] ns2_linux32[2754]: segfault at 0 ip 00000000f1698607 sp 00000000ff9351c0 error 4 in libnvidia-glcore.so.331.13[f0094000+21c9000]
    and log.txt http://pastie.org/8406988
    For those who want to try, on archlinux, install nvidia-full-beta and in the PKGBUILD, change lib32 variable from 0 to 1 to make it work with steam ;)
  • IronHorseIronHorse Developer, QA Manager, Technical Support & contributor Join Date: 2010-05-08 Member: 71669Members, Super Administrators, Forum Admins, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Blue, Subnautica Playtester, Subnautica PT Lead, Pistachionauts
    Forwarding this to the devs.
    Thanks.
    Any further info you can gather will help. (you can run -verbose in steam launch options to gather more data/errors)
  • shokksshokks Away from Keyboard Join Date: 2013-10-14 Member: 188698Members
    edited October 2013
    Thanks :) Keep us in the loop about the devs's answer !
    EDIT : Nothing more with -verbose or -console option in steam
  • aklingakling germany Join Date: 2013-10-17 Member: 188737Members
    Same here: NS2 Build 258 crashes on the first shot in the tutorial.
    I have cleaned the cache in ~/.config/Natural Selection 2/cache
    Previous Builds ran fine on the same machine.
    steam runs with:
    export LC_ALL=C
    [175384.762578] ns2_linux32[12463]: segfault at 0 ip 00000000f1856ea6 sp 00000000ffc78ef0 error 4 in libnvidia-glcore.so.319.32[f035c000+1f5a000]
    [176193.876899] ns2_linux32[12961]: segfault at 0 ip 00000000f1793ea6 sp 00000000ff9bab30 error 4 in libnvidia-glcore.so.319.32[f0299000+1f5a000]
    

    Steam Info:
    Prozessor:
        Hersteller: GenuineIntel
        CPU-Familie: 0x6
        CPU-Modell: 0x1e
        CPU-Stepping: 0x5
        CPU-Typ: 0x0
        Geschwindigkeit: 2668 MHz
        4 logische Prozessoren
        4 technische Prozessoren
        HyperThreading:  Nicht unterstützt
        FCMOV:  Unterstützt
        SSE2:  Unterstützt
        SSE3:  Unterstützt
        SSSE3:  Unterstützt
        SSE4a:  Nicht unterstützt
        SSE41:  Unterstützt
        SSE42:  Unterstützt
    
    Netzwerk-Informationen:
        Netzwerk-Geschwindigkeit:
    
    Betriebssystem:
        "openSUSE 12.2 (x86_64)" (64 Bit)
        Kernel-Name: Linux
        Kernel-Version: 3.4.47-2.38-desktop
        X-Server-Vendor: The X.Org Foundation
        X-Server-Release: 11203000
        X-Fenstermanager: KWin
        Steam-Runtime-Version: steam-runtime-release_2013-09-05
    
    Grafikkarte:
        Treiber: NVIDIA Corporation GeForce GTX 650/PCIe/SSE2
    
        Treiber-Version: 4.3.0 NVIDIA 319.32
        OpenGL-Version: 4.3
        Desktop-Farbtiefe: 24 Bit per Pixel
        Monitor-Aktualisierungsrate: 59 Hz
        Anbieterkennung: 0x10de
        Gerätekennung: 0xfc6
        Anzahl der Monitore: 1
        Keine Grafikkartenanzahl entdeckt
        Prim. Anzeigeauflösung: 1680 x 1050
        Desktop-Auflösung: 1680 x 1050
        Prim. Anzeigegröße: 47.4 cm x 29.6 cm (55.8 cm diag.)
    
        Primärer Bus: PCI Express 16x
        Primärer VRAM: 2048 MB
        Unterstützte MSAA-Modi: 2x 4x 8x 16x
    
    Soundkarte:
        Audiogerät: VIA VT1828S
    
    Speicher:
        RAM: 7992 MB
    
    log.txt 29.4K
  • aklingakling germany Join Date: 2013-10-17 Member: 188737Members
    In a linux environment, its a bad idea to name a directory "core" because this prevents in most cases the generation of a core file, which has usually the same name.
  • VantskruvVantskruv Join Date: 2012-11-04 Member: 166678Members
    edited October 2013
    Tried running with the nvidia-current driver instead (for now version 304.88 propieraty).

    Edit: The game crashes when shooting. Testing this in bot-training as marine.

    Log file attached.
    log.txt 43.3K
  • IronHorseIronHorse Developer, QA Manager, Technical Support & contributor Join Date: 2010-05-08 Member: 71669Members, Super Administrators, Forum Admins, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Blue, Subnautica Playtester, Subnautica PT Lead, Pistachionauts
    Can you guys test out the WHQL versions if applicable? (have clue how that works in linux)
  • shokksshokks Away from Keyboard Join Date: 2013-10-14 Member: 188698Members
    Mhhh WHQL versions are microsoft certified..
    Windows doesn't certifiate Linux versions.. ?? http://en.m.wikipedia.org/wiki/WHQL_Testing
  • Omega_K2Omega_K2 Join Date: 2011-12-25 Member: 139013Members, Reinforced - Shadow
    edited October 2013
    shokks wrote: »
    Hi ! Build 258 didn't fixed it..
    Here is my dmesg lines :
    [78766.812741] ns2_linux32[18221]: segfault at 0 ip 00000000f16eed37 sp 00000000fff05640 error 4 in libnvidia-glcore.so.325.15[f01d4000+2070000]
    [79653.082122] ns2_linux32[18543]: segfault at 0 ip 00000000f16b2d37 sp 00000000fff5e8e0 error 4 in libnvidia-glcore.so.325.15[f0198000+2070000]

    But I didn't found how to make a backtrace ... :/

    ulimit -c unlimited, then start the game (probably manually from CLI); it should create a core dump on crash. (If you want to permanetly enable coredumps, you'll have to edit /etc/security/limits.conf )

    As for the trace, just install gdb and run it with the coredump and path to the game executable, then run backtrace in the GDB prompt.


    I think alternatively you can also start GDB, attach it to the process and then do that if it crashed or start GDB and run ns2 from GDB.
  • B166ERDKB166ERDK Join Date: 2013-09-04 Member: 187770Members, Reinforced - Gold
    edited October 2013
    I am having this bug too, everything works fine until i shoot with my main gun as a marine, and then the game crashes and in my console it just says Segmentation fault..

    This is on Linux Mint 15 64Bit
    My GPU is a Nvidia 650

    I have tested this with the Nvida 325 and 331 driver and both crash when shooting.

    And this is on build 258 of NS2.
  • shokksshokks Away from Keyboard Join Date: 2013-10-14 Member: 188698Members
    B166ERDK, how do you launch the game ? With steam steam://rungameid/4920 ?
    If you have a segmentation fault, you should get a core dump file in you directory if you launch the command "ulimit -c unlimited" before the game.

    I don't have any core dump, even after "ulimit -c unlimited", probably because I don't have any Segmentation fault in my console when I run the command ! Omega_K2, do you know if there are others possiblity to have a backtrace ?

    Thanks !
  • Omega_K2Omega_K2 Join Date: 2011-12-25 Member: 139013Members, Reinforced - Shadow
    shokks wrote: »
    I don't have any core dump, even after "ulimit -c unlimited", probably because I don't have any Segmentation fault in my console when I run the command ! Omega_K2, do you know if there are others possiblity to have a backtrace ?

    Make sure you run the game in the same shell you've executed the command in, otherwise it will use the default (which is 0 - i..e no dumps). Or try setting it in limits.conf and reboot.
  • shokksshokks Away from Keyboard Join Date: 2013-10-14 Member: 188698Members
    I well executed the command in the same shell, but always the same.
    I add these lines to my limits.conf :
    shom - core unlimited
    root - core unlimited
    But I doesn't have any core or other new files in my directory
    As I'm using systemd, I tried to launch "systemd-coredumpctl"
    But I have "No coredumps found" :/
    The strange thing is that I don't have any "Segmentation Fault". Are you using this command "steam steam://rungameid/4920" to launch the game too ?
    And I'm unable to use the steam-runtime because there aren't any install script for Archlinux
  • ConfusedConfused Wait. What? Join Date: 2003-01-28 Member: 12904Members, Constellation, NS2 Playtester, Squad Five Blue, Subnautica Playtester
    So, the easy way to get a backtrace, sans dump is gdb.

    run the game.
    open up a console.
    find the ns2 pid
    $ps -e |grep ns2_
    
    run gdb
    $gdb
    (gdb)attach 123435
    (gdb)cont
    

    You probably will have to run gdb as root (sudo gdb)

    Once you get that backtrace please post that and your log. from the time you get the crash and we will see what can be seen.

    As, always it would be super nice if you made sure you have no running mods when you have the crash.
  • shokksshokks Away from Keyboard Join Date: 2013-10-14 Member: 188698Members
    Here is my backtrace http://pastie.org/8421471
    And my log.txt http://pastie.org/8421476
    And i'm sure I have no anny running mods !
  • ConfusedConfused Wait. What? Join Date: 2003-01-28 Member: 12904Members, Constellation, NS2 Playtester, Squad Five Blue, Subnautica Playtester
    edited October 2013
    So, it looks like it is exiting cleanly, with no crash.

    The log as you no doubt noticed is also clean.

    Super weird.

    No sure what to ask about next, Since you are all crashing in the training mode I am going to assume that you don't have custom binds.

    Does it crash on firing in a non bots game?

    Can you post the contents of ~/.config/Natural Selection 2/system_options.xml and /mnt/sdb/Martin/Steam/userdata/43232187/4920/remote/options.xml?

    edit: also, can you try with -verbose as a startup option in steam? and see if there is anything at the end of the log that looks interesting
  • B166ERDKB166ERDK Join Date: 2013-09-04 Member: 187770Members, Reinforced - Gold
    Okay here we go.

    Btw I'm not an expert at this kind of stuff but hope i got something you can use..

    And when you say post your log. I was not sure what log you meant or where it was located, so I am just gonna post the log from Steam..
    Edit: can't it's to long and it just says it got a Segmentation fault, no real info anyway.

    The only thing I did in this test was launch a sandbox (no mods) join the marines and try to fire my gun..

    Output from gdb:
    (gdb) cont
    Continuing.
    [New Thread 0xce9e0b40 (LWP 5720)]
    [New Thread 0xce8dfb40 (LWP 5721)]
    [Thread 0xce9e0b40 (LWP 5720) exited]
    [New Thread 0xce9e0b40 (LWP 5722)]
    [Thread 0xd3933b40 (LWP 5592) exited]
    [New Thread 0xd3933b40 (LWP 5723)]
    [New Thread 0xb374ab40 (LWP 5724)]
    [New Thread 0xb723bb40 (LWP 5725)]
    [Thread 0xd3933b40 (LWP 5723) exited]
    [Thread 0xb723bb40 (LWP 5725) exited]
    [New Thread 0xd0dbbb40 (LWP 5732)]
    
    Program received signal SIGSEGV, Segmentation fault.
    0xf15e5607 in ?? () from /usr/lib32/nvidia-331/libnvidia-glcore.so.331.13
    (gdb)
    

Sign In or Register to comment.