[Linux] Freeze on map load

rkfgrkfg Russia Join Date: 2013-09-03 Member: 187744Members, Reinforced - Supporter, Reinforced - Silver, Reinforced - Gold, Reinforced - Diamond, Reinforced - Shadow Posts: 429 Advanced user
This started to happen on the "Downloading mods" stage recently. The game just freezes randomly. Here's the traceback:
(gdb) bt
#0 0xf77cac89 in __kernel_vsyscall ()
#1 0xf6988d92 in __lll_lock_wait () from target:/lib/i386-linux-gnu/libpthread.so.0
#2 0xf69828de in pthread_mutex_lock () from target:/lib/i386-linux-gnu/libpthread.so.0
#3 0xf6c1b742 in tbb::internal::critical_section_v4::lock (this=0xf1ebbe38) at ../libs/tbb/include/tbb/critical_section.h:88
#4 M4::CriticalSection::Enter (this=this@entry=0xf1ebbe34) at ../Source/Engine/linux/CriticalSection.cpp:51
#5 0xf6c1b7e1 in M4::CriticalSectionLock::CriticalSectionLock (this=0xff84017c, criticalSection=...) at ../Source/Engine/CriticalSectionLock.cpp:21
#6 0xf730b518 in M4::StreamingFileTextureManager::OnCommandQueuesFlushed (userData=0xf1ebbe18) at ../Source/Render/StreamingFileTextureManager.cpp:1283
#7 0xf72afe60 in M4::RenderEventHandler::Send (this=this@entry=0xf023bd78, event=event@entry=M4::RenderEvent_CommandQueuesFlushed) at ../Source/Render/RenderEventHandler.cpp:48
#8 0xf729bdf3 in M4::OpenGLDevice::BeginRendering (this=0xf023b7d8) at ../Source/Render/OpenGLDevice.cpp:528
#9 0x08086864 in M4::ClientGame::Update (this=0xf023c008, deltaTime=3.8319994928315282e-06) at ../Source/Spark_Client/ClientGame.cpp:1133
#10 0x0806f25e in M4::ClientEngine::Update (this=0xf4860be0, deltaTime=3.8319994928315282e-06) at ../Source/Spark_Client/ClientEngine.cpp:252
#11 0x080e75d2 in M4::BaseEngine::RunFrame (this=0xf4860be0) at ../Source/Spark_Server/BaseEngine.cpp:206
#12 M4::BaseEngine::Run (this=this@entry=0xf4860be0) at ../Source/Spark_Server/BaseEngine.cpp:170
#13 0x0806c39d in main (argc=1, argv=0xff840524) at ../Source/ShooterExe/Main.cpp:110

Seems to be a deadlock. I'm not 100% sure but it started really not so long ago, maybe an update or two back.
Intel Core i7-7700k, 32Gb RAM, NVIDIA GeForce 1070 GTX driver v384.90, Debian Stretch GNU/Linux amd64, Awesome WM 3.5.6, kernel v4.13.0

Comments

  • GhoulofGSG9GhoulofGSG9 Join Date: 2013-03-31 Member: 184566Members, Super Administrators, Forum Admins, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Blue, Squad Five Silver, Reinforced - Supporter, WC 2013 - Supporter, Pistachionauts Posts: 2,778 admin
    edited September 1
    Hi, the usage of tbb will be removed with upcoming build to avoid issues like this one. However there may be some new issues at Linux due to the switch to 64bit and the related code and libs changes.

    To run the beta you will need gcc-5 and g++-5.
    Developer, Modder and Server Admin of Survival of the Fattest - Ingame Nick: Ghoul
    rkfg
  • rkfgrkfg Russia Join Date: 2013-09-03 Member: 187744Members, Reinforced - Supporter, Reinforced - Silver, Reinforced - Gold, Reinforced - Diamond, Reinforced - Shadow Posts: 429 Advanced user
    Good, the best way to fix the faulty code is indeed to remove it (no irony)! I have several GCC and G++ installed, from 5 to 7, but it's a kinda weird requirement for an end user. Maybe you mean libstdc++ that's often the source of issues?
    Intel Core i7-7700k, 32Gb RAM, NVIDIA GeForce 1070 GTX driver v384.90, Debian Stretch GNU/Linux amd64, Awesome WM 3.5.6, kernel v4.13.0
  • GhoulofGSG9GhoulofGSG9 Join Date: 2013-03-31 Member: 184566Members, Super Administrators, Forum Admins, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Blue, Squad Five Silver, Reinforced - Supporter, WC 2013 - Supporter, Pistachionauts Posts: 2,778 admin
    rkfg wrote: »
    Good, the best way to fix the faulty code is indeed to remove it (no irony)! I have several GCC and G++ installed, from 5 to 7, but it's a kinda weird requirement for an end user. Maybe you mean libstdc++ that's often the source of issues?

    Yeah I meant libstdc++-5.
    Developer, Modder and Server Admin of Survival of the Fattest - Ingame Nick: Ghoul
    rkfg
Sign In or Register to comment.