Closed KungFuJesus closed 11 years ago
We should have the dump here as it looks like it was successfully sent to Valve. Unfortunately it won't tell us what was using up all of the memory, we'll need to repro.
Not sure exactly what I did to reproduce, it was all mostly in the Steam client's UI. I was browsing the store a bit, it crashed when I left it unattended for the download, though.
Does that dump include a meaningful backtrace for you? Is there anyway for me to produce one should this happen again?
It looks like I managed to produce it again after the client was open for a little while and I selected a different game under the libraries menu:
IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 96 ps-combo 0 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 96 ps-combo 1 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 96 ps-combo 2 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 96 ps-combo 3 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 0 ps-combo 0 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 0 ps-combo 1 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 0 ps-combo 2 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 0 ps-combo 3 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000004) differs from mask derived from shader name (0x0000000C) for shader ps-file shatteredglass_ps20b ps-index 40 ps-combo 0 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000004) differs from mask derived from shader name (0x0000000C) for shader ps-file shatteredglass_ps20b ps-index 40 ps-combo 2 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 4 ps-combo 0 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 4 ps-combo 1 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 4 ps-combo 2 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 4 ps-combo 3 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 100 ps-combo 0 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 100 ps-combo 1 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 100 ps-combo 2 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 100 ps-combo 3 Loaded program cache file "glshaders.cfg", total keyvalues: 138, total successfully linked: 138 Precache: Took 1813 ms, Vertex 548, Pixel 584 Game.so loaded for "Counter-Strike: Source" Game update: AppID 240 "Counter-Strike: Source", ProcID 5494, IP 216.128.88.62:27016 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 40 ps-combo 0 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 40 ps-combo 1 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 40 ps-combo 2 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file flashlight_ps20b ps-index 40 ps-combo 3 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file teeth_flashlight_ps20b ps-index 0 ps-combo 0 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file teeth_flashlight_ps20b ps-index 0 ps-combo 1 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file teeth_flashlight_ps20b ps-index 0 ps-combo 2 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file teeth_flashlight_ps20b ps-index 0 ps-combo 3 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file eyes_flashlight_ps20b ps-index 0 ps-combo 0 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file eyes_flashlight_ps20b ps-index 0 ps-combo 1 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file eyes_flashlight_ps20b ps-index 0 ps-combo 2 IDirect3DDevice9::CreatePixelShader: shaderapi's centroid mask (0x00000000) differs from mask derived from shader name (0x0000000C) for shader ps-file eyes_flashlight_ps20b ps-index 0 ps-combo 3 warning: Unknown nb_ctl request: 4 warning: Unknown nb_ctl request: 4 warning: Unknown nb_ctl request: 4 warning: Unknown nb_ctl request: 4 warning: Unknown nb_ctl request: 4 warning: Unknown nb_ctl request: 4 Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client) Installing breakpad exception handler for appid(steam)/version(1360966495_client) [0217/172713:ERROR:nss_ocsp.cc(583)] No URLRequestContext for OCSP handler. [0217/172713:ERROR:nss_ocsp.cc(583)] No URLRequestContext for OCSP handler. [0217/172713:ERROR:nss_ocsp.cc(583)] No URLRequestContext for OCSP handler. [0217/172713:ERROR:nss_ocsp.cc(583)] No URLRequestContext for OCSP handler. [0217/172713:ERROR:nss_ocsp.cc(583)] No URLRequestContext for OCSP handler. [0217/172713:ERROR:nss_ocsp.cc(583)] No URLRequestContext for OCSP handler. ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred Unable to remove /scratchdir/adam/Steam/SteamApps/hardrocker@zoomtown.com/Counter-Strike Source/cstrike/textwindow_temp.html! Game removed: AppID 240 "Counter-Strike: Source", ProcID 5494 saving roaming config store to 'sharedconfig.vdf' roaming config store 2 saved successfully * OUT OF MEMORY! attempted allocation size: 1689600 memstd.cpp (2501) : Assertion Failed: OUT OF MEMORY memstd.cpp (2501) : Fatal assert failed: /home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/tier0/memstd.cpp, line 2501. Application exiting.
Assert( Fatal assert ):/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/tier0/memstd.cpp:2501
Installing breakpad exception handler for appid(steam)/version(1360966495_client) Uploading dump (in-process) [proxy ''] /tmp/dumps/assert_20130217182237_1.dmp success = yes response: CrashID=bp-19123e6d-9e5e-4464-ad23-4cd302130217 _ExitOnFatalAssert
This happened after playing CS:S for a bit and then going back to the library menu. Sorry there aren't more precise steps to reproduce this just yet. I can add that I had been switching which monitor the steam client resided on. I'm using twinview with the Nvidia drivers.
I think I found a unique but similar way to crash the client. If I switch back and forth between games in my library menu fast enough long enough the client outputs the following:
CAPIJobRequestUserStats - Server response failed 2 CAPIJobRequestUserStats - Server response failed 2
When that happens the debugger tries to launch and crashes with a segmentation fault.
Generating new string page texture 140: 128x256, total string texture memory is 5.57 MB Generating new string page texture 141: 64x256, total string texture memory is 5.64 MB Generating new string page texture 143: 512x256, total string texture memory is 6.16 MB Generating new string page texture 149: 512x256, total string texture memory is 6.68 MB Generating new string page texture 150: 48x256, total string texture memory is 6.73 MB Generating new string page texture 151: 512x256, total string texture memory is 7.26 MB Generating new string page texture 153: 256x256, total string texture memory is 7.52 MB CAPIJobRequestUserStats - Server response failed 2 Installing breakpad exception handler for appid(steam)/version(1360966495_client) Generating new string page texture 154: 512x256, total string texture memory is 8.04 MB CAPIJobRequestUserStats - Server response failed 2 CAPIJobRequestUserStats - Server response failed 2 Generating new string page texture 159: 128x256, total string texture memory is 8.18 MB Generating new string page texture 160: 384x256, total string texture memory is 8.57 MB Uploading dump (in-process) [proxy ''] /tmp/dumps/crash_20130217183334_1.dmp success = yes response: CrashID=bp-2ab94c15-3554-4da1-847f-9bf082130217 ./steam.sh: line 561: 10542 Segmentation fault $STEAM_DEBUGGER "$STEAMROOT/$PLATFORM/$STEAMEXE" "$@"
The backtrace in the dump is fine, but it doesn't necessarily show the problem, just a random allocation that hit once memory had been exhausted somewhere else.
I didn't have any problem pulling down the game. Does this happen every time you download Killing Floor?
I couldn't repro a crash with switching games either. That's been reported in the past so you aren't the only person who's seen it, but we haven't been able to repro here.
I can reliably reproduce the latter bug every time. All I have to do is hold the down key in the libraries menu to quickly cycle through the games. I could likely produce video though I'm not sure how much that would help.
Duplicate of #813.
I hold-down-arrow'ed through all 2,000 games without an issue. There was a similar bug that was fixed a couple of months ago, but you shouldn't be hitting it any more. I would go ahead and open a separate issue for that as this original post issue is a duplicate of #813, as @MrSchism comments.
It just occurred to me that I likely had the "Downloads" window open in steam while Killing Floor was downloading. My steam memory usage is at ~1.2GB right now and rising, and my "String Page Texture" sizes are rising. I'm ignorant as to what those are but they growing as high as 18MB. The following is being printed to stdout:
roaming config store 2 saved successfully Generating new string page texture 183: 384x256, total string texture memory is 6.60 MB Generating new string page texture 184: 128x256, total string texture memory is 6.73 MB Generating new string page texture 185: 256x256, total string texture memory is 7.00 MB Generating new string page texture 186: 128x256, total string texture memory is 7.13 MB CAPIJobRequestUserStats - Server response failed 2 Generating new string page texture 187: 64x256, total string texture memory is 7.19 MB Generating new string page texture 189: 256x256, total string texture memory is 7.45 MB CAPIJobRequestUserStats - Server response failed 2 CAsyncIOManager: creating I/O worker thread Generating new string page texture 192: 256x256, total string texture memory is 7.72 MB CAPIJobRequestUserStats - Server response failed 2 Generating new string page texture 193: 512x256, total string texture memory is 8.24 MB CAPIJobRequestUserStats - Server response failed 2 Generating new string page texture 196: 48x256, total string texture memory is 8.29 MB Generating new string page texture 198: 512x256, total string texture memory is 8.81 MB CAPIJobRequestUserStats - Server response failed 2 Generating new string page texture 199: 384x256, total string texture memory is 9.21 MB Generating new string page texture 200: 128x256, total string texture memory is 9.34 MB Generating new string page texture 201: 128x256, total string texture memory is 9.47 MB Generating new string page texture 202: 128x256, total string texture memory is 9.60 MB Generating new string page texture 203: 128x256, total string texture memory is 9.73 MB Generating new string page texture 204: 128x256, total string texture memory is 9.86 MB Generating new string page texture 205: 128x256, total string texture memory is 9.99 MB Generating new string page texture 206: 128x256, total string texture memory is 10.13 MB Generating new string page texture 207: 128x256, total string texture memory is 10.26 MB Generating new string page texture 208: 128x256, total string texture memory is 10.39 MB Generating new string page texture 209: 128x256, total string texture memory is 10.52 MB Generating new string page texture 210: 128x256, total string texture memory is 10.65 MB Generating new string page texture 211: 128x256, total string texture memory is 10.78 MB Generating new string page texture 215: 128x256, total string texture memory is 10.91 MB Generating new string page texture 216: 128x256, total string texture memory is 11.04 MB Generating new string page texture 217: 1024x256, total string texture memory is 12.09 MB Generating new string page texture 218: 128x256, total string texture memory is 12.22 MB Generating new string page texture 219: 128x256, total string texture memory is 12.35 MB Generating new string page texture 220: 128x256, total string texture memory is 12.48 MB Generating new string page texture 221: 128x256, total string texture memory is 12.62 MB Generating new string page texture 222: 128x256, total string texture memory is 12.75 MB Generating new string page texture 223: 128x256, total string texture memory is 12.88 MB Generating new string page texture 224: 128x256, total string texture memory is 13.01 MB Generating new string page texture 225: 128x256, total string texture memory is 13.14 MB Generating new string page texture 226: 128x256, total string texture memory is 13.27 MB Generating new string page texture 227: 1024x256, total string texture memory is 14.32 MB ExecSteamURL: "steam://url/StoreAppPage/80" Generating new string page texture 228: 256x256, total string texture memory is 393.22 KB Generating new string page texture 229: 256x256, total string texture memory is 14.58 MB Installing breakpad exception handler for appid(steam)/version(1360966495_client) Installing breakpad exception handler for appid(steam)/version(1360966495_client) Generating new string page texture 234: 128x256, total string texture memory is 14.71 MB Generating new string page texture 235: 128x256, total string texture memory is 14.84 MB Generating new string page texture 236: 128x256, total string texture memory is 14.97 MB Generating new string page texture 237: 128x256, total string texture memory is 15.11 MB Generating new string page texture 238: 128x256, total string texture memory is 15.24 MB Generating new string page texture 239: 128x256, total string texture memory is 15.37 MB Generating new string page texture 240: 128x256, total string texture memory is 15.50 MB Generating new string page texture 241: 128x256, total string texture memory is 15.63 MB Generating new string page texture 242: 128x256, total string texture memory is 15.76 MB Generating new string page texture 243: 128x256, total string texture memory is 15.89 MB Generating new string page texture 244: 128x256, total string texture memory is 16.02 MB Generating new string page texture 245: 128x256, total string texture memory is 16.15 MB Generating new string page texture 246: 128x256, total string texture memory is 16.29 MB Generating new string page texture 247: 128x256, total string texture memory is 16.42 MB Generating new string page texture 248: 128x256, total string texture memory is 16.55 MB Generating new string page texture 249: 128x256, total string texture memory is 16.68 MB Generating new string page texture 250: 128x256, total string texture memory is 16.81 MB Generating new string page texture 251: 128x256, total string texture memory is 16.94 MB Generating new string page texture 252: 128x256, total string texture memory is 17.07 MB Generating new string page texture 253: 128x256, total string texture memory is 17.20 MB Generating new string page texture 254: 128x256, total string texture memory is 17.33 MB Generating new string page texture 255: 128x256, total string texture memory is 17.47 MB Generating new string page texture 256: 128x256, total string texture memory is 17.60 MB Generating new string page texture 257: 128x256, total string texture memory is 17.73 MB Generating new string page texture 258: 128x256, total string texture memory is 17.86 MB Generating new string page texture 259: 128x256, total string texture memory is 17.99 MB Generating new string page texture 260: 128x256, total string texture memory is 18.12 MB Generating new string page texture 261: 128x256, total string texture memory is 18.25 MB Generating new string page texture 262: 128x256, total string texture memory is 18.38 MB Generating new string page texture 263: 128x256, total string texture memory is 18.51 MB
Could this be the memory leak?
It seems to be running away with memory on this screen
I'm now at ~1668MB and growing while on that screen.
This is better posted on #813.
The following was spit to stderr/stdout:
saving roaming config store to 'sharedconfig.vdf' roaming config store 2 saved successfully Generating new string page texture 208: 256x256, total string texture memory is 9.22 MB Generating new string page texture 209: 64x256, total string texture memory is 9.29 MB Generating new string page texture 210: 128x256, total string texture memory is 9.42 MB Generating new string page texture 211: 128x256, total string texture memory is 9.55 MB Generating new string page texture 220: 384x256, total string texture memory is 9.95 MB Generating new string page texture 221: 256x256, total string texture memory is 10.21 MB Generating new string page texture 223: 48x256, total string texture memory is 507.90 KB Generating new string page texture 225: 256x256, total string texture memory is 10.47 MB Generating new string page texture 226: 256x256, total string texture memory is 10.73 MB ExecSteamURL: "steam://url/CommentNotifications" Generating new string page texture 240: 1024x256, total string texture memory is 11.78 MB CAPIJobRequestUserStats - Server response failed 2 Generating new string page texture 242: 48x256, total string texture memory is 11.83 MB Installing breakpad exception handler for appid(steam)/version(1360966495_client) Installing breakpad exception handler for appid(steam)/version(1360966495_client) Generating new string page texture 243: 128x256, total string texture memory is 11.96 MB Errors in resource/layout/htmlpopup.layout: Unknown key 'scaling' set in style 'URLStatusImage' in file 'resource/layout/htmlpopup.layout' * OUT OF MEMORY! attempted allocation size: 1048576 memstd.cpp (2501) : Assertion Failed: OUT OF MEMORY memstd.cpp (2501) : Fatal assert failed: /home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/tier0/memstd.cpp, line 2501. Application exiting.
Assert( Fatal assert ):/home/buildbot/buildslave_steam/steam_rel_client_ubuntu12_linux/build/src/tier0/memstd.cpp:2501
Installing breakpad exception handler for appid(steam)/version(1360966495_client) Uploading dump (in-process) [proxy ''] /tmp/dumps/assert_20130217144844_1.dmp success = yes response: CrashID=bp-871f8415-87f8-416f-9f73-c46372130217 _ExitOnFatalAssert
I have 32 GB of memory, I certainly doubt that all of my memory was exhausted. Then again if I'm not mistaken it is a 32 bit application, so a little under 4 GB is probably a bit easier to exhaust.
Should I upload the dump?