Technical support > Bugs in stable version (2.5)

Crashes on Tac Missions, smoke grenades cause lag

(1/3) > >>

tb87670:
Playing on a few tac missions and they randomly crash to desktop for no apparent reason. Had all settings set to highest possible on graphics and game ran well except smoke grenades cause major lag and the random CTD's. On the last CTD I got a prompt to make a crash log, it's very short:


--- Quote ---======start======
Date: 2012-09-11
Windows version 6.1 (Build 7600)
Win32 DEBUG, cpu: IA-32, version: 2.5-dev

Failed to init symbol context
======end========
--- End quote ---

tb87670:
Found out what was happening with my crash log, when my game crashes it asks me to upload the crash log but before I can click yes it crashes that prompt also, with Windows asking me to look for solutions to the problem or closing the program. Working on Win7 64-bit. Here is the crash-dump from this last crash I found in my application folder:


--- Quote ---======start======
Date: 2012-09-11
Windows version 6.1 (Build 7600)
Win32 DEBUG, cpu: IA-32, version: 2.5-dev

Failed to get file flags from (C:\Windows\syswow64\msvcrt.dll) File in wrong format
0x75eac1c1 : C:\Windows\syswow64\msvcrt.dll : initterm
0x98193d : C:\Program Files (x86)\UFOAI-2.5-dev\ufo.exe : /home/users/mattn/mingw-cross-env/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/bits/stl_algobase.h (562) : in function (_ZNSt20__copy_move_backwardILb0ELb1ESt26random_access_iterator_tagE13__copy_move_bIcEEPT_PKS3_S6_S4_)
0x982f93 : C:\Program Files (x86)\UFOAI-2.5-dev\ufo.exe : /home/users/mattn/mingw-cross-env/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/bits/stl_algobase.h (582) : in function (_ZSt22__copy_move_backward_aILb0EPcS0_ET1_T0_S2_S1_)
0x9830f1 : C:\Program Files (x86)\UFOAI-2.5-dev\ufo.exe : /home/users/mattn/mingw-cross-env/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/bits/stl_algobase.h (591) : in function (_ZSt23__copy_move_backward_a2ILb0EPcS0_ET1_T0_S2_S1_)
0x982642 : C:\Program Files (x86)\UFOAI-2.5-dev\ufo.exe : /home/users/mattn/mingw-cross-env/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/bits/stl_algobase.h (626) : in function (_ZSt13copy_backwardIPcS0_ET0_T_S2_S1_)
0x981ae6 : C:\Program Files (x86)\UFOAI-2.5-dev\ufo.exe : /home/users/mattn/mingw-cross-env/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/bits/vector.tcc (627) : in function (_ZNSt6vectorIcSaIcEE15_M_range_insertIPKcEEvN9__gnu_cxx17__normal_iteratorIPcS1_EET_S9_St20forward_iterator_tag)
0x981d9b : C:\Program Files (x86)\UFOAI-2.5-dev\ufo.exe : /home/users/mattn/mingw-cross-env/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/bits/stl_vector.h (1276) : in function (_ZNSt6vectorIcSaIcEE18_M_insert_dispatchIPKcEEvN9__gnu_cxx17__normal_iteratorIPcS1_EET_S9_St12__false_type)
0x981ff3 : C:\Program Files (x86)\UFOAI-2.5-dev\ufo.exe : /home/users/mattn/mingw-cross-env/usr/lib/gcc/i686-pc-mingw32/4.7.0/include/c++/bits/stl_vector.h (1045) : in function (_ZNSt6vectorIcSaIcEE6insertIPKcEEvN9__gnu_cxx17__normal_iteratorIPcS1_EET_S9_)
0x48944e : C:\Program Files (x86)\UFOAI-2.5-dev\ufo.exe : /home/users/mattn/localslave/src-master/src/src/common/dbuffer.cpp (21) : in function (_ZN7dbuffer3addEPKcj)
0x486c59 : C:\Program Files (x86)\UFOAI-2.5-dev\ufo.exe : /home/users/mattn/localslave/src-master/src/src/common/net.cpp (712) : in function (_Z17NET_StreamEnqueueP10net_streamPKci)
0x48918f : C:\Program Files (x86)\UFOAI-2.5-dev\ufo.exe : /home/users/mattn/localslave/src-master/src/src/common/netpack.cpp (622) : in function (_Z17NET_WriteConstMsgP10net_streamPK7dbuffer)
0x4a4a3b : C:\Program Files (x86)\UFOAI-2.5-dev\ufo.exe : /home/users/mattn/localslave/src-master/src/src/server/sv_send.cpp (146) : in function (_Z12SV_MulticastiP7dbuffer)
0x49b3b4 : C:\Program Files (x86)\UFOAI-2.5-dev\ufo.exe : /home/users/mattn/localslave/src-master/src/src/server/sv_game.cpp (335) : in function (SV_EndEvents)
0x6a612949 : C:\Program Files (x86)\UFOAI-2.5-dev\base\game.dll : /home/users/mattn/localslave/src-master/src/src/game/g_events.cpp (620) : in function (_Z10G_EventEndv)
0x6a611d73 : C:\Program Files (x86)\UFOAI-2.5-dev\base\game.dll : /home/users/mattn/localslave/src-master/src/src/game/g_events.cpp (340) : in function (_Z17G_EventActorWoundPK7edict_si)
0x6a613eb8 : C:\Program Files (x86)\UFOAI-2.5-dev\base\game.dll : /home/users/mattn/localslave/src-master/src/src/game/g_health.cpp (163) : in function (_Z16G_SendWoundStatsP7edict_s)
0x6a61abac : C:\Program Files (x86)\UFOAI-2.5-dev\base\game.dll : /home/users/mattn/localslave/src-master/src/src/game/g_stats.cpp (41) : in function (_Z11G_SendStatsP7edict_s)
0x6a60bddd : C:\Program Files (x86)\UFOAI-2.5-dev\base\game.dll : /home/users/mattn/localslave/src-master/src/src/game/g_combat.cpp (81) : in function (G_Morale)
0x6a60cae1 : C:\Program Files (x86)\UFOAI-2.5-dev\base\game.dll : /home/users/mattn/localslave/src-master/src/src/game/g_combat.cpp (433) : in function (_Z22G_CheckDeathOrKnockoutP7edict_sS0_PK9fireDef_si)
0x6a613d74 : C:\Program Files (x86)\UFOAI-2.5-dev\base\game.dll : /home/users/mattn/localslave/src-master/src/src/game/g_health.cpp (149) : in function (_Z13G_BleedWoundsi)
0x6a61a8e2 : C:\Program Files (x86)\UFOAI-2.5-dev\base\game.dll : /home/users/mattn/localslave/src-master/src/src/game/g_round.cpp (217) : in function (_Z16G_ClientEndRoundP8player_s)
0x6a606141 : C:\Program Files (x86)\UFOAI-2.5-dev\base\game.dll : /home/users/mattn/localslave/src-master/src/src/game/g_ai.cpp (1231) : in function (AI_PlayerRun)
0x6a606197 : C:\Program Files (x86)\UFOAI-2.5-dev\base\game.dll : /home/users/mattn/localslave/src-master/src/src/game/g_ai.cpp (1249) : in function (_Z6AI_Runv)
0x6a615c2a : C:\Program Files (x86)\UFOAI-2.5-dev\base\game.dll : /home/users/mattn/localslave/src-master/src/src/game/g_main.cpp (452) : in function (_Z10G_RunFramev)
0x49ba5e : C:\Program Files (x86)\UFOAI-2.5-dev\ufo.exe : /home/users/mattn/localslave/src-master/src/src/server/sv_game.cpp (639) : in function (_Z15SV_RunGameFramev)
0x49ba10 : C:\Program Files (x86)\UFOAI-2.5-dev\ufo.exe : /home/users/mattn/localslave/src-master/src/src/server/sv_game.cpp (625) : in function (_Z21SV_RunGameFrameThreadPv)
0x61af6e : C:\Program Files (x86)\UFOAI-2.5-dev\ufo.exe : /home/users/mattn/mingw-cross-env/tmp-sdl/SDL-1.2.15/./src/thread/SDL_thread.c (205) : in function (SDL_RunThread)
======end========

--- End quote ---

Crystan:
Smoke Grenades cant cause any lag. Lag is a high delay time between computer or phone networks. You ment a FPS drop.

Solution:
http://ufoai.org/forum/index.php/topic,6755.msg53820.html#msg53820

Sandro:

--- Quote from: tb87670 on September 11, 2012, 10:54:47 am ---Here is the crash-dump from this last crash I found in my application folder:

--- End quote ---

Looks like a case of infamous dbuffer crash. Try setting sv_threads to 0; you can do that by opening the ingame console by pressing tilde key, then entering "sv_threads 0" (without quotes). Once is enough, game will remember it from now on.
Altyernatively, can be done by starting the game with "ufo.exe +sv_threads 0" commandline. As in the previous case, once is enough.

tb87670:

--- Quote from: Crystan on September 11, 2012, 12:03:38 pm ---Smoke Grenades cant cause any lag. Lag is a high delay time between computer or phone networks. You ment a FPS drop.

Solution:
http://ufoai.org/forum/index.php/topic,6755.msg53820.html#msg53820

--- End quote ---

Hardware lag aka FPS drop, don't need to be nitpicky. I could be nitpicky and say you spelled meant wrong above as 'ment' but I knew what you meant to spell and normally wouldn't call anyone out for it. Back to topic, I'm going to try both posted solutions and post results here later. Thanks for the replies.

Navigation

[0] Message Index

[#] Next page

Go to full version