csgo-osx-linux icon indicating copy to clipboard operation
csgo-osx-linux copied to clipboard

[Linux] OUT OF MEMORY crashes

Open Ur0s opened this issue 11 years ago • 9 comments

I've been getting random OUT OF MEMORY crashes, mostly when playing DEATHMATCH, but it happened in COMPETITIVE and CASUAL as well.

When game crashes this way, there is no .dmp file generated/uploaded to your servers.

Last few lines from .xsession-errors before the crash:

Could not load program cache file glbaseshaders.cfg
Could not find base GL shader cache file
CClientSteamContext logged on = 1
Game.dll loaded for "Counter-Strike: Global Offensive"
CGameEventManager::AddListener: event 'server_pre_shutdown' unknown.
CGameEventManager::AddListener: event 'game_newmap' unknown.
CGameEventManager::AddListener: event 'finale_start' unknown.
CGameEventManager::AddListener: event 'round_start' unknown.
CGameEventManager::AddListener: event 'round_end' unknown.
CGameEventManager::AddListener: event 'difficulty_changed' unknown.
CGameEventManager::AddListener: event 'player_connect' unknown.
CGameEventManager::AddListener: event 'player_disconnect' unknown.
GameTypes: missing mapgroupsSP entry for game type/mode (custom/custom).
GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/cooperative).
****loading serverbrowser_client.so
***** OUT OF MEMORY! attempted allocation size: 12582931 ****

/media/storage/games/steam/SteamApps/common/Counter-Strike Global Offensive/csgo.sh: line 52: 19697 Segmentation fault      ${DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
Game removed: AppID 730 "Counter-Strike: Global Offensive", ProcID 19697 
Inconsistency detected by ld.so: dl-close.c: 764: _dl_close: Assertion `map->l_init_called' failed!
sh: lsb_release: command not found
sh: lspci: command not found

One way of knowing that crash is about to happen is because weapon textures get all blacked out a few seconds before like this :

steam sysinfo 2015-07-27

Ur0s avatar Jul 27 '15 19:07 Ur0s

looks like you've got to little gfx memory. can you post your system specs? try installing and using the program "hardinfo" for that purpose.

eNTi avatar Aug 05 '15 17:08 eNTi

Please post your system specs.

davidw-valve avatar Aug 11 '15 20:08 davidw-valve

Related steam sysinfo available here.

Ur0s avatar Aug 11 '15 20:08 Ur0s

My problem is similar. I also get out of memory error with several GB available. Though I don't always get the weapon skin glitch, it only happens occasionally and it could be a few minutes before my game crashes. This does not happen when I play on Windows 7 (dual-boot).

#289 with multiple crash logs, all stating out of memory. Weapon glitch My system info

erichoglander avatar Aug 16 '15 13:08 erichoglander

Finally got out of memory crash with dump created/uploaded as well.

Last few lines from .xsession-errors before the crash:

##### swap interval = 0     swap limit = 1 #####
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 80: saw unknown, expected number
ERROR: ld.so: object '/media/storage/games/steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/media/storage/games/steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
[0907/230729:ERROR:renderer_main.cc(200)] Running without renderer sandbox
Could not load program cache file glbaseshaders.cfg
Could not find base GL shader cache file
CClientSteamContext logged on = 1
Game.dll loaded for "Counter-Strike: Global Offensive"
CGameEventManager::AddListener: event 'server_pre_shutdown' unknown.
CGameEventManager::AddListener: event 'game_newmap' unknown.
CGameEventManager::AddListener: event 'finale_start' unknown.
CGameEventManager::AddListener: event 'round_start' unknown.
CGameEventManager::AddListener: event 'round_end' unknown.
CGameEventManager::AddListener: event 'difficulty_changed' unknown.
CGameEventManager::AddListener: event 'player_connect' unknown.
CGameEventManager::AddListener: event 'player_disconnect' unknown.
GameTypes: missing mapgroupsSP entry for game type/mode (custom/custom).
GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/cooperative).
****loading serverbrowser_client.so
***** OUT OF MEMORY! attempted allocation size: 16777216 ****

ERROR: ld.so: object '/media/storage/games/steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
crash_20150907230717_1.dmp[9235]: Uploading dump (out-of-process)
/tmp/dumps/crash_20150907230717_1.dmp
/media/storage/games/steam/SteamApps/common/Counter-Strike Global Offensive/csgo.sh: line 52:  9103 Segmentation fault      ${DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
Game removed: AppID 730 "Counter-Strike: Global Offensive", ProcID 9103 
crash_20150907230717_1.dmp[9235]: Finished uploading minidump (out-of-process): success = yes
crash_20150907230717_1.dmp[9235]: response: Discarded=1
crash_20150907230717_1.dmp[9235]: file ''/tmp/dumps/crash_20150907230717_1.dmp'', upload yes: ''Discarded=1''
pid 9235 != 9233, skipping destruction (fork without exec?)

Steam info :

Processor Information:
    Vendor:  GenuineIntel
    CPU Family:  0x6
    CPU Model:  0x17
    CPU Stepping:  0xa
    CPU Type:  0x0
    Speed:  2833 Mhz
    4 logical processors
    4 physical processors
    HyperThreading:  Unsupported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Supported
    SSE42:  Unsupported

Network Information:
    Network Speed:  

Operating System Version:
    Linux (64 bit)
    Kernel Name:  Linux
    Kernel Version:  4.1.1-gentoo-r1
    X Server Vendor:  The X.Org Foundation
    X Server Release:  11702000
    X Window Manager:  KWin
    Steam Runtime Version:  steam-runtime-release_2015-06-12

Video Card:
    Driver:  NVIDIA Corporation GeForce GTX 670/PCIe/SSE2

    Driver Version:  4.5.0 NVIDIA 355.06
    OpenGL Version: 4.5
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 59 Hz
    VendorID:  0x10de
    DeviceID:  0x1189
    Number of Monitors:  1
    Number of Video Cards Not Detected
    Primary Display Resolution:  1920 x 1200
    Desktop Resolution: 1920 x 1200
    Primary Display Size: 20.39" x 12.76"  (24.02" diag)
                                            51.8cm x 32.4cm  (61.0cm diag)
    Primary Bus: PCI Express 16x
    Primary VRAM: 2048 MB
    Supported MSAA Modes:  2x 4x 8x 16x 

Sound card:
    Audio device: SigmaTel STAC9721,23

Memory:
    RAM:  7974 Mb

Miscellaneous:
    UI Language:  English
    LANG:  POSIX
    Microphone:  Not set
    Total Hard Disk Space Available:  450552 Mb
    Largest Free Hard Disk Block:  39872 Mb

Installed software:

Recent Failure Reports:
    Mon Sep  7 17:41:29 2015 GMT: file ''/tmp/dumps/crash_20150907191258_1.dmp'', upload yes: ''Discarded=1''
    Mon Sep  7 21:54:28 2015 GMT: file ''/tmp/dumps/crash_20150907230717_1.dmp'', upload yes: ''Discarded=1''

Hope this helps.

Ur0s avatar Sep 07 '15 22:09 Ur0s

Same issue here. I'll try to pull an error log next time it happens. I suspect it's hitting the 32bit memory cap, not my system's, because I have 16GB of RAM and 6GB of VRAM so it's unlikely to be running low on VRAM. I also noticed my weapon skins glitching out before the crash. It's happened twice now, enough to keep me on Windows in competitive mode.

Specs:

Processor Information:
    Vendor:  GenuineIntel
    CPU Family:  0x6
    CPU Model:  0x2d
    CPU Stepping:  0x7
    CPU Type:  0x0
    Speed:  5700 Mhz
    12 logical processors
    6 physical processors
    HyperThreading:  Supported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Supported
    SSE42:  Supported

Network Information:
    Network Speed:  

Operating System Version:
    "Arch Linux" (64 bit)
    Kernel Name:  Linux
    Kernel Version:  4.2.2-1-ARCH
    X Server Vendor:  The X.Org Foundation
    X Server Release:  11702000
    X Window Manager:  GNOME Shell
    Steam Runtime Version:  steam-runtime-release_2015-06-12

Video Card:
    Driver:  NVIDIA Corporation GeForce GTX 980 Ti/PCIe/SSE2

    Driver Version:  4.5.0 NVIDIA 355.11
    OpenGL Version: 4.5
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 144 Hz
    VendorID:  0x10de
    DeviceID:  0x17c8
    Number of Monitors:  1
    Number of Logical Video Cards:  1
    Primary Display Resolution:  2560 x 1440
    Desktop Resolution: 2560 x 1440
    Primary Display Size: 23.54" x 13.23"  (26.97" diag)
                                            59.8cm x 33.6cm  (68.5cm diag)
    Primary Bus: PCI Express 16x
    Primary VRAM: 6144 MB
    Supported MSAA Modes:  2x 4x 8x 16x 

Sound card:
    Audio device: AV200

Memory:
    RAM:  15991 Mb

Miscellaneous:
    UI Language:  English
    LANG:  en_US.utf8
    Microphone:  Not set
    Total Hard Disk Space Available:  937763 Mb
    Largest Free Hard Disk Block:  428843 Mb

Installed software:

Recent Failure Reports:

Vash63 avatar Oct 03 '15 09:10 Vash63

Same here, any news?

`Processor Information: CPU Vendor: GenuineIntel CPU Family: 0x6 CPU Model: 0x3c CPU Stepping: 0x3 CPU Type: 0x0 Speed: 3501 Mhz 8 logical processors 4 physical processors HyperThreading: Supported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Unsupported SSE41: Supported SSE42: Supported AES: Supported AVX: Supported CMPXCHG16B: Supported LAHF/SAHF: Supported PrefetchW: Unsupported

Network Information: Network Speed:

Operating System Version: Linux (64 bit) Kernel Name: Linux Kernel Version: 4.1.20 X Server Vendor: The X.Org Foundation X Server Release: 11704000 X Window Manager: Xfwm4 Steam Runtime Version: steam-runtime-release_2016-02-23

Video Card: Driver: NVIDIA Corporation GeForce GTX 770/PCIe/SSE2

Driver Version:  4.5.0 NVIDIA 355.11
OpenGL Version: 4.5
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 60 Hz
VendorID:  0x10de
DeviceID:  0x1184
Number of Monitors:  2
Number of Video Cards Not Detected
Primary Display Resolution:  1920 x 1080
Desktop Resolution: 3840 x 1080
Primary Display Size: 20.08" x 11.30"  (23.03" diag)
                                        51.0cm x 28.7cm  (58.5cm diag)
Primary Bus: PCI Express 16x
Primary VRAM: 2048 MB
Supported MSAA Modes:  2x 4x 8x 16x 

Sound card: Audio device: Realtek ALC898

Memory: RAM: 15982 Mb

Miscellaneous: UI Language: English LANG: en_US.UTF-8 Microphone: Not set Total Hard Disk Space Available: 151061 Mb Largest Free Hard Disk Block: 18724 Mb VR Headset: None detected

Mon Apr 18 15:53:11 2016 GMT: file ''/tmp/dumps/assert_20160418182811_1.dmp'', upload yes: ''Discarded=1''
Mon Apr 18 16:41:52 2016 GMT: file ''/tmp/dumps/assert_20160418185317_1.dmp'', upload yes: ''Discarded=1''
Mon Apr 18 16:49:04 2016 GMT: file ''/tmp/dumps/assert_20160418194900_23.dmp'', upload yes: ''CrashID=bp-8aefdf82-c755-43f8-b99b-8eca02160418''

`

Perlovka avatar Apr 18 '16 16:04 Perlovka

This was fixed for me with the new 64-bit client. Should this be closed?

Vash63 avatar Jun 03 '16 19:06 Vash63

You're correct, I haven't experienced any memory crashes for a while now.. even before 64-bit clients were introduced. I'm closing this.

Ur0s avatar Jun 03 '16 20:06 Ur0s