[linux] segfaults with build 258 and nvidia 310.19 drivers

eyeriseyeris Join Date: 2013-09-10 Member: 188088Members
Looks like build 258 is incompatible with the nvidia 310.19 drivers on linux. The game worked (for a substandard but better definition of worked) with these drivers as of build 256 and 257. Plenty of segfaults in other libs too though.
[397360.121404] ns2_linux32[25131]: segfault at 0 ip 00000000f37b7500 sp 00000000d3a2afb8 error 4 in libc-2.17.so[f367d000+1a9000]
[849853.097429] ns2_linux32[17197]: segfault at 0 ip 00000000f19b0a46 sp 00000000ffb405e0 error 4 in libnvidia-glcore.so.310.19[f0576000+1cb1000]
[1203111.189557] ns2_linux32[2238]: segfault at 0 ip 00000000f1a05a46 sp 00000000ffe56c90 error 4 in libnvidia-glcore.so.310.19[f05cb000+1cb1000]
[1205002.565482] ns2_linux32[2970]: segfault at 0 ip 00000000f1963a46 sp 00000000ffb4c820 error 4 in libnvidia-glcore.so.310.19[f0529000+1cb1000]
[1292888.812705] ns2_linux32[6906]: segfault at 0 ip 00000000f19aba46 sp 00000000ffee28e0 error 4 in libnvidia-glcore.so.310.19[f0571000+1cb1000]
[1293107.439296] ns2_linux32[7880]: segfault at 0 ip 00000000f1a43a46 sp 00000000ffbc3710 error 4 in libnvidia-glcore.so.310.19[f0609000+1cb1000]
[1550415.480694] ns2_linux32[21194]: segfault at 0 ip 00000000f3819500 sp 00000000d31fcfb8 error 4 in libc-2.17.so[f36df000+1a9000]
[1556538.101440] ns2_linux32[21708]: segfault at 0 ip 00000000f3786500 sp 00000000d9c1dfb8 error 4 in libc-2.17.so[f364c000+1a9000]
[1561338.287818] ns2_linux32[24273]: segfault at 0 ip 00000000f1a31a46 sp 00000000ff97d850 error 4 in libnvidia-glcore.so.310.19[f05f7000+1cb1000]
[1632959.100005] ns2_linux32[29183]: segfault at 0 ip 00000000f3769500 sp 00000000cf14cfb8 error 4 in libc-2.17.so[f362f000+1a9000]
[1703709.666316] ns2_linux32[1693]: segfault at 0 ip 00000000f19e9a46 sp 00000000fff80020 error 4 in libnvidia-glcore.so.310.19[f05af000+1cb1000]
[2107108.632693] ns2_linux32[18642]: segfault at 25fd9 ip 00000000f6c65229 sp 00000000ff920200 error 4 in libSpark_Core.so[f6a37000+6c0000]
[2392257.053188] ns2_linux32[3384]: segfault at 0 ip 00000000f3775500 sp 00000000cf157fb8 error 4 in libc-2.17.so[f363b000+1a9000]
[2400127.302314] ns2_linux32[3777]: segfault at 0 ip 00000000f377f500 sp 00000000ce944fb8 error 4 in libc-2.17.so[f3645000+1a9000]
[2799407.220132] ns2_linux32[22371]: segfault at 0 ip 00000000f1989a46 sp 00000000ff9a24a0 error 4 in libnvidia-glcore.so.310.19[f054f000+1cb1000]
[3011356.123094] ns2_linux32[2751]: segfault at 0 ip 00000000f19b5a46 sp 00000000ffe14e70 error 4 in libnvidia-glcore.so.310.19[f057b000+1cb1000]
[3011574.044282] ns2_linux32[2904]: segfault at 0 ip 00000000f19dba46 sp 00000000ffa376f0 error 4 in libnvidia-glcore.so.310.19[f05a1000+1cb1000]
[3186542.946600] ns2_linux32[13060]: segfault at 0 ip 00000000f1969a46 sp 00000000ffd18f60 error 4 in libnvidia-glcore.so.310.19[f052f000+1cb1000]
[3186858.838389] ns2_linux32[13250]: segfault at 0 ip 00000000f194aa46 sp 00000000ff9ebba0 error 4 in libnvidia-glcore.so.310.19[f0510000+1cb1000]

Comments

  • ConfusedConfused Wait. What? Join Date: 2003-01-28 Member: 12904Members, Constellation, NS2 Playtester, Squad Five Blue, Subnautica Playtester
    @eyris, can you post a bit more info about your system, and some reproduction steps if possible? Maybe a copy of log log.txt

  • eyeriseyeris Join Date: 2013-09-10 Member: 188088Members
    Well I've since upgraded my kernel from 3.9 to 3.10 and downgraded my nvidia drivers to 304.108. If I can get this combo to crash I will try to get you a backtrace. As for system information, here's what Steam dumps out:
    Processor Information:
        Vendor:  GenuineIntel
        CPU Family:  0x6
        CPU Model:  0x2a
        CPU Stepping:  0x7
        CPU Type:  0x0
        Speed:  3700 Mhz
        4 logical processors
        4 physical processors
        HyperThreading:  Unsupported
        FCMOV:  Supported
        SSE2:  Supported
        SSE3:  Supported
        SSSE3:  Supported
        SSE4a:  Unsupported
        SSE41:  Supported
        SSE42:  Supported
        
    Network Information:
        Network Speed:  
        
    Operating System Version:
        Debian GNU/Linux testing (jessie) (64 bit)
        Kernel Name:  Linux
        Kernel Version:  3.10-3-amd64
        X Server Vendor:  The X.Org Foundation
        X Server Release:  11403000
        X Window Manager:  Mutter
        Steam Runtime Version:  steam-runtime-release_2013-09-28
        
    Video Card:
        Driver:  NVIDIA Corporation GeForce GTX 460/PCIe/SSE2
    
        Driver Version:  4.2.0 NVIDIA 304.108
        OpenGL Version: 4.2
        Desktop Color Depth: 24 bits per pixel
        Monitor Refresh Rate: 60 Hz
        VendorID:  0x10de
        DeviceID:  0xe22
        Number of Monitors:  1
        Number of Logical Video Cards:  1
        Primary Display Resolution:  1600 x 1200
        Desktop Resolution: 1600 x 1200
        Primary Display Size: 16.06" x 12.05"  (20.08" diag)
                                                40.8cm x 30.6cm  (51.0cm diag)
        Primary Bus: PCI Express 16x
        Primary VRAM: 1023 MB
        Supported MSAA Modes:  2x 4x 8x 16x 
        
    Sound card:
        Audio device: Realtek ALC892
        
    Memory:
        RAM:  16041 Mb
        
    Miscellaneous:
        UI Language:  English
        LANG:  en_US.UTF-8
        Microphone:  Not set
        Total Hard Disk Space Available:  1408347 Mb
        Largest Free Hard Disk Block:  476269 Mb
        
    Installed software:
        
    Recent Failure Reports:
    


    As for reproduction steps: just play the game. I have noticed that it happens more often after entering gorge tunnels, evolving higher lifeforms, and buying weapons from the armory.
  • spongeboburuspongeboburu Join Date: 2013-09-30 Member: 188540Members
    I too experience this. I'm using nvidia 325.15-10. Although I have not made any connection to evolving, it sometimes is completely random, but most of the time when entering gorge tunnels.
  • ConfusedConfused Wait. What? Join Date: 2003-01-28 Member: 12904Members, Constellation, NS2 Playtester, Squad Five Blue, Subnautica Playtester
    So, I got reproduction steps on the gorge tunnel one last night.

    Anything special about the armory and the evolution that you can think of for me to try out? does ti crash opening a menu? or buying? etc etc

  • eyeriseyeris Join Date: 2013-09-10 Member: 188088Members
    • One time I was able to reproduce it 3 times in a row was on biodome, bought a shotgun at an armory in the eastern nook of reception, then ran into lobby and crashed.
    • Another time I was able to reproduce it consistently was on tram, bought a shotgun in shipping, then ran to logistics and crashed in the corridor.
    • I crashed 3 times in a row on veil after evolving higher lifeforms in cargo, though the details following were a little less consistent. First I evolved a lerk from my own res, crashed while flying to pipe. Logged back on, took a lerk egg, crashed flying to nano. A bit later, after accumulating some res, I evolved an ono and crashed running to pipe.
  • AsranielAsraniel Join Date: 2002-06-03 Member: 724Members, Playtest Lead, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow, Subnautica Playtester, Retired Community Developer
    can you run the game with gdb? then create a backtrace and post it here.
  • eyeriseyeris Join Date: 2013-09-10 Member: 188088Members
    Yeah, I've been trying to do that. Haven't been able to play as much lately and it seems much more stable with the 304.108 nvidia drivers.
  • eyeriseyeris Join Date: 2013-09-10 Member: 188088Members
    Here's a backtrace for the gorge tunnel crash using a 3.10 kernel and the 304.108 drivers:
    #0  0xf72371a4 in M4::RenderObject::GetType (this=0x0) at ../Source/Render/RenderObject.cpp:33
    #1  0xf7240370 in M4::RenderRenderer::CollectObjects (this=0xd68532f0, object=0xffeb9d58, numObjects=1, objects=...) at ../Source/Render/RenderRenderer.cpp:2094
    #2  0xf724b0c1 in M4::RenderRenderer::Render (this=0xd68532f0, pipeline=0xba312cd8, colorTarget=0xe7cf4b80, depthTarget=0xe7e05f58, faceIndex=0, sourceTexture=0x0, 
        sceneSettings=0xbf32de0e, setupSettings=0xffeb9d58, scene=0xd718dc00, time=1724.812744140625, camera=..., viewport=..., visibleObjects=..., background=0x0)
        at ../Source/Render/RenderRenderer.cpp:1215
    #3  0xf725fa3c in M4::RenderScene::InternalRender (this=0xd718dc00, settings=..., colorTarget=0xe7cf4b80, depthTarget=0xe7e05f58, faceIndex=0, pipeline=0xba312cd8, 
        camera=..., prevCamera=0x0, viewport=..., renderMask=4294967295, cullingMode=M4::RenderScene_CullingMode_Occlusion, background=0x0, deltaTime=0.0128173828)
        at ../Source/Render/RenderScene.cpp:801
    #4  0xf7260611 in M4::RenderScene::InternalRender (this=0xd718dc00, settings=..., colorTarget=0xe7cf4b80, depthTarget=0xe7e05f58, faceIndex=0, camera=0xd94d36b0, 
        _viewport=0x0, background=0x0, deltaTime=0.0128173828) at ../Source/Render/RenderScene.cpp:743
    #5  0xf72609ec in M4::RenderScene::RenderMainCamera (this=0xd718dc00, settings=..., colorTarget=0xe7cf4b80, depthTarget=0xe7e05f58, faceIndex=0, camera=0xd94d36b0, 
        viewport=0x0, background=0x0, time=1724.812744140625) at ../Source/Render/RenderScene.cpp:698
    #6  0xf7260afe in M4::RenderScene::Render (this=0xd718dc00, settings=..., colorTarget=0xe7cf4b80, depthTarget=0xe7e05f58, camera=0xd94d36b0, background=0x0, 
        time=1724.812744140625) at ../Source/Render/RenderScene.cpp:481
    #7  0x080822a4 in M4::ClientWorld::Render (this=0xbf32c008, drawer=..., swapChain=0xe7e05f28) at ../Source/Spark_Client/ClientWorld.cpp:2260
    #8  0x0806ca5d in M4::ClientGame::Render (this=0xe7e03008, swapChain=0xe7e05f28) at ../Source/Spark_Client/ClientGame.cpp:1649
    #9  0x08077fea in M4::ClientGame::Update (this=0xe7e03008, deltaTime=0.014783078000050409) at ../Source/Spark_Client/ClientGame.cpp:926
    #10 0x0806be56 in M4::ClientEngine::Update (this=0xf3c79170, deltaTime=0.014783078000050409) at ../Source/Spark_Client/ClientEngine.cpp:152
    #11 0x080bf114 in M4::BaseEngine::RunFrame (this=0xf3c79170) at ../Source/Spark_Server/BaseEngine.cpp:196
    #12 0x080bf140 in M4::BaseEngine::Run (this=0xf3c79170) at ../Source/Spark_Server/BaseEngine.cpp:160
    #13 0x0806a273 in main (argc=<error reading variable: Cannot access memory at address 0x0>, argv=<error reading variable: Cannot access memory at address 0x4>)
        at ../Source/ShooterExe/Main.cpp:82
    

    After my game crashed, log.txt was old -- from my previous match. I also have a full backtrace with all local context and a core dump (1.9 GB, 495 MB compressed) that I'd be willing to send to the devs, given an email address. I don't feel comfortable posting those here since they possibly contain my NS2 credentials and possibly a steam auth token.
  • AsranielAsraniel Join Date: 2002-06-03 Member: 724Members, Playtest Lead, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow, Subnautica Playtester, Retired Community Developer
    This looks exactly like the crash that happend when exciting/entering gorge tunnels (which is likely to be fixed in the next patch).

    Did you do anything with gorge tunnels when the crash happend?
  • eyeriseyeris Join Date: 2013-09-10 Member: 188088Members
    Nope, nothing special. I was just hopping in it.
  • eyeriseyeris Join Date: 2013-09-10 Member: 188088Members
    eyeris wrote: »
    • One time I was able to reproduce it 3 times in a row was on biodome, bought a shotgun at an armory in the eastern nook of reception, then ran into lobby and crashed.
    • Another time I was able to reproduce it consistently was on tram, bought a shotgun in shipping, then ran to logistics and crashed in the corridor.

    This isn't exactly the same bug but they both relate to the shotgun, as do a few other crash posts recently:

    http://forums.unknownworlds.com/discussion/132992/linux-crash-while-being-shot-by-shotgun-by-entrace-to-energy-flow
  • 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
    @eyeris
    I can't tell based on comparing what the bug reporting system we use is saying and the last patch's changelog..
    (changelog does not mention it but reporting system says the fix made it in)

    Do you still get this from entering gorge tunnels?
    If so please provide a new BT.
    Thanks
  • eyeriseyeris Join Date: 2013-09-10 Member: 188088Members
    I haven't had the gorge tunnel bug in a while but I've also been playing less. I'll be sure to continue grabbing BTs whenever I can. Thanks for the reply.
Sign In or Register to comment.