[Crash] MainThread : Error: Failed to allocate x bytes and will now terminate.
fana
Join Date: 2015-05-14 Member: 204472Members
Hey,
after new mesa and stuff I finally managed to game NS2.
However I encountered now twice a crash (after ~15 and ~10 min).
Both due to "[1336.174] MainThread : Error: Failed to allocate 26624 bytes and will now terminate.", see log.txt below.
Any Ideas?
after new mesa and stuff I finally managed to game NS2.
However I encountered now twice a crash (after ~15 and ~10 min).
Both due to "[1336.174] MainThread : Error: Failed to allocate 26624 bytes and will now terminate.", see log.txt below.
Any Ideas?
Date: 01/01/2017 Time: 09:47:10 PM: -------------------------------------------------------------- [ 0.060] Unbound/Unknown : Filesystem initialized, cache enabled Build 312 Chakra" x86_64 Steam initialized [INVENTORY] Granting Promo Items Num displays: 1 OpenGL 4.3 (Core Profile) Mesa 13.0.2 initialized (X.Org Gallium 0.4 on AMD BONAIRE (DRM 2.46.0 / 4.8.6-1-CHAKRA, LLVM 3.9.1)) GLSL version 4.30 ARB_texture_storage extension present ARB_get_program_binary extension present Sound Device: default stereo Record Device: default Loading config://ConsoleBindings.json Loading config://FavoriteServers.json Loading config://HistoryServers.json Loading config://RankedServers.json Resampling uncompressed animations at 1/2 frame rate to conserve memory Physics multithreading is only available on Windows for now Main Menu Initialized at Version: 312 Steam Id: xxxxxxxxxxxxxx Physics multithreading is only available on Windows for now Remote patch received. Loading... Remote patch applied succesfully. Client : 33.569679 : [Analytics] Recording launch event Connecting to server 160.202.165.12:27015 Physics multithreading is only available on Windows for now Loading config://ConsoleBindings.json Loading config://FavoriteServers.json Loading config://HistoryServers.json Loading config://RankedServers.json Physics multithreading is only available on Windows for now Main Menu Initialized at Version: 312 Steam Id: xxxxxxxxxxx Physics multithreading is only available on Windows for now Remote patch received. Loading... Remote patch applied succesfully. Connecting to server 90.154.92.157:3003 Physics multithreading is only available on Windows for now [270.912] Worker 07 : Downloading mods [271.621] Worker 07 : Finished downloading and installing mods [271.621] Worker 07 : Filesystem initialized, cache enabled [271.621] Worker 07 : Mounting mod '' from ~/.config/Natural Selection 2/Workshop/m24ab7638_1479570870/ [271.622] Worker 07 : Mounting mod '' from ~/.config/Natural Selection 2/Workshop/m2900408b_1479548695/ [271.622] Worker 07 : Mounting mod '' from ~/.config/Natural Selection 2/Workshop/m2d5a11f0_1477531243/ [271.624] Worker 07 : Mounting mod '' from ~/.config/Natural Selection 2/Workshop/m706d242_1479656972/ [271.627] Worker 07 : Mounting mod '' from ~/.config/Natural Selection 2/Workshop/mb7149f9_1483011485/ [271.628] Worker 07 : Mounting mod '' from ~/.config/Natural Selection 2/Workshop/mc6fbbb0_1479548032/ [271.628] Worker 07 : Mounting mod '' from ~/.config/Natural Selection 2/Workshop/m23961b33_1452390559/ [271.628] Worker 07 : Error: Couldn't mount '2d3300c4' from path '/run/media/mmedia/Steam/steamapps/common/Natural Selection 2/2d3300c4' as the path does not exist [271.628] Worker 07 : Mounting mod '' from ~/.config/Natural Selection 2/Workshop/m22ee6f61_1453861087/ Loading config://ConsoleBindings.json Loading config://FavoriteServers.json Loading config://HistoryServers.json Loading config://RankedServers.json [290.354] Worker 07 : Loading 'maps/ns2_docking.level' Physics multithreading is only available on Windows for now [372.379] Worker 06 : Downloading mods Physics multithreading is only available on Windows for now [392.816] Worker 06 : Finished downloading and installing mods [392.816] Worker 06 : Filesystem initialized, cache enabled [392.817] Worker 06 : Mounting mod '' from ~/.config/Natural Selection 2/Workshop/m24ab7638_1479570870/ [392.817] Worker 06 : Mounting mod '' from ~/.config/Natural Selection 2/Workshop/m2900408b_1479548695/ [392.818] Worker 06 : Mounting mod '' from ~/.config/Natural Selection 2/Workshop/m2d5a11f0_1477531243/ [392.820] Worker 06 : Mounting mod '' from ~/.config/Natural Selection 2/Workshop/m706d242_1479656972/ [392.822] Worker 06 : Mounting mod '' from ~/.config/Natural Selection 2/Workshop/mb7149f9_1483011485/ [392.823] Worker 06 : Mounting mod '' from ~/.config/Natural Selection 2/Workshop/mc6fbbb0_1479548032/ [392.824] Worker 06 : Mounting mod '' from ~/.config/Natural Selection 2/Workshop/m23961b33_1452390559/ [392.824] Worker 06 : Error: Couldn't mount '2d3300c4' from path '/run/media/mmedia/Steam/steamapps/common/Natural Selection 2/2d3300c4' as the path does not exist [392.824] Worker 06 : Mounting mod '' from ~/.config/Natural Selection 2/Workshop/m22ee6f61_1453861087/ [392.826] Worker 06 : Mounting mod '' from ~/.config/Natural Selection 2/Workshop/md873977_1459796740/ Loading config://ConsoleBindings.json Loading config://FavoriteServers.json Loading config://HistoryServers.json Loading config://RankedServers.json [472.606] Worker 06 : Loading 'maps/ns2_mineral.level' Loading pathing mesh for level maps/ns2_mineral.level [522.666] Worker 06 : Error: Unable to open 'fastload/maps/ns2_mineral.level-client.tile_cache_grid' (usage 0x1) Couldn't find pathing mesh file maps/ns2_mineral.level-client.tile_cache_grid, building it now ... Finished loading 'maps/ns2_mineral.level' Client : 0.000000 : INFO: LuaJIT setup: maxtrace=13,000, maxmcode=27,000 Loading took 244.172401573 seconds Physics multithreading is only available on Windows for now Server changed mr to 30 ============================== Shine started up successfully. - Shine is set to display web pages from plugins. If you wish to globally disable web page display, then enter "sh_disableweb 1" into the console. - Shine is set to report any errors it causes on your client when you disconnect. If you do not wish it to do so, then enter "sh_errorreport 0" into the console. - You can enable/disable UI animations by entering "sh_animateui" into the console. - Shine has a chatbox that you can enable/disable by entering "sh_chatbox" into the console. - You can choose to enable/disable local all talk for yourself by entering sh_alltalklocal_cl true/false. ============================== mtixonow killed Serafim with Shotgun (snip) SethMcDeath killed ooooonet with Flamethrower [1336.174] MainThread : Error: Failed to allocate 26624 bytes and will now terminate.
Comments
I see you're on Linux, I don't know how up to date or relevant this information is but its all I could find - Linux guide
Please provide as much technical info as you can and someone will get back to you.
It is pretty dated, some stuff might still apply, but I don't see anything useful for my bug right now...
Systeminfo:
Also in the meantime I found out that this crash only occurs after a map change. Not directly but after a couple of minutes and never on the first map I load after (re-)starting the game.
The devs have 64bit rewrite on the roadmap, but I don't know what the current status is.
Sooner rather than later.
Also for linux?
Also... unfortunately, NS2 has become quite unstable on linux for the last year. Before 2016 feb, I had no problems with the game, but after some updates rolled out it just kept crashing... until i got fed up and bought another SSD drive for a windows OS
Well, space is not the problem - I just don't want to have the hassle to maintain another OS (and especially windoze).
Besides: Although NS2 has really shitty linux support (e.g. this thread) once it runs, it runs pretty decent. I would even dare to say it's one of the better OpenGL ports out there...
Latest was on HouseOfAwesome:
The problem has persisted across game and OS reinstalls (Debian testing and unstable) and isn't video card specific (happens on both GTX 580 and RX 480).
When this happens, please run TechSupport.exe from your Natural Selection 2 directory, and attach the file. That one line from the log isn't really going to help us find the source of the issue.
TechSupport.exe on Linux? Not likely Isn't it clear that the memory address space run out, based on the error message? And we seem to see it across different distributions and drivers.
Yep, I tried again grabbed a backtrace with gdb, in case it helps. The crash happened soon after loading the second map, like someone noted above. Pretty clear that it's just running into the 32-bit address space limit IMO. Glad to hear that a 64-bit build is in the works.
Log:
GDB:
Saved a core dump, just over 3.3 GiB: