ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.23k stars 174 forks source link

Counter-Strike crashes when using the command viewdemo #940

Closed awedsa closed 11 years ago

awedsa commented 11 years ago

Counter-Strike crashes when I try to start a HLTV demo using the viewdemo command (viewdemo demofilename), I tried several demos and they all crash the game, although I can watch them using the command playdemo, I want to watch them using "viewdemo" since it gives you more options like fast forward, slow, pause, etc. I downloaded the demos from www.hltv.org and I was able to view them on Windows without problems.

Here's the log: https://gist.github.com/4644993

System information: https://gist.github.com/4695720

johndrinkwater commented 11 years ago

A backtrace from viewdemo

Playing demo from cstrike\esea_match_3150098.dem.

Program received signal SIGSEGV, Segmentation fault.
0xf7d6531c in fclose () from /lib/i386-linux-gnu/libc.so.6
(gdb) bt
#0  0xf7d6531c in fclose () from /lib/i386-linux-gnu/libc.so.6
#1  0xf7fc33d6 in CBaseFileSystem::Close (this=0xf7fd3720, file=0x8182fb8) at ../filesystem/FileSystem_Stdio/BaseFileSystem.cpp:504
#2  0xdbb488e2 in DemoFile::CloseFile() () from /home/john/Steam/SteamApps/common/Half-Life/core.so
#3  0xdbb48597 in DemoFile::Reset() () from /home/john/Steam/SteamApps/common/Half-Life/core.so
#4  0xdbb61fe8 in Server::Reset() () from /home/john/Steam/SteamApps/common/Half-Life/core.so
#5  0xdbb618e2 in Server::LoadDemo(IWorld*, char*, bool, bool) () from /home/john/Steam/SteamApps/common/Half-Life/core.so
#6  0xe824063a in DemoPlayer::LoadGame (this=0xe82501a0, filename=0xffffc8dc "cstrike\\esea_match_3150098.dem") at ../HLTV/DemoPlayer/DemoPlayer.cpp:1123
#7  0xf69579b2 in DemoPlayer_LoadGame (filename=0xffffc8dc "cstrike\\esea_match_3150098.dem") at ../engine/DemoPlayerWrapper.cpp:62
#8  0xf68e9013 in CL_ViewDemo_f () at ../engine/CL_DEMO.C:2405
#9  0xf68609cd in Cmd_ExecuteString (text=0xffffca00 "viewdemo cstrike\\esea_match_3150098.dem", src=<optimised out>) at ../engine/cmd.c:1107
#10 Cbuf_Execute () at ../engine/cmd.c:242
#11 0xf6876b23 in _Host_Frame (time=0.0166330002) at ../engine/host.c:1392
#12 0xf6876fd2 in Host_Frame (time=0.0166330002, iState=1, stateInfo=0xffffcf1c) at ../engine/host.c:1530
#13 0xf68a2d84 in CEngine::Frame (this=0xf6aa1a60) at ../engine/sys_engine.cpp:258
#14 0xf68a0ae3 in RunListenServer (instance=0x0, basedir=0x804b220 "/home/john/Steam/SteamApps/common/Half-Life", 
    cmdline=0x804e958 "/home/john/Steam/SteamApps/common/Half-Life/hl_linux -game cstrike -dev -sw -steam", postRestartCmdLineArgs=0x804d360 "", launcherFactory=
    0x8049350 <CreateInterfaceLocal(char const*, int*)>, filesystemFactory=0xf7fc7810 <CreateInterface(char const*, int*)>) at ../engine/sys_dll2.cpp:939
#15 0x08048d67 in main (argc=6, argv=0xffffd154) at ../launcher/launcher.cpp:431