[Linux] Natural Selection crash on Optimize and loading new map.

hoomehoome Join Date: 2013-12-03 Member: 189712Members
edited December 2013 in Technical Support
Hi,

I've bought Natural Selection 2 on steam (i'm running linux) and i'm having some difficulties running the game.

When i try to run the game, a window is asking for me to optimize the game (nothing unusual), but, when i click on the window (to optmize), the game starts to optimize and when the message "Loading Map..." or something like that shows up the game crash, the crash (until now) has come to 3 different states:
-> one: just close the game with no error.
-> two: close the game with a error message called "Fatal Error" but inside the message i just got alot of squares, like [].
-> three: the game freezes and does not goes anywhere.

Oh, and if i click on Skip then try to open any map or game, the game have the same behavior.

I've search on the net and found anything about this problem, then, i've made all the things that NS2 Wiki says to do on a linux machine, the first thing there is to run the game then find the process that is running ns2, is for my surprise is two differente, i don't know why (i've tryied to killall ns2_linux32 and then relauch to make sure that steam is really launching two processes and it isn't and old one).

So, i've made a gdb from the two processes, for my surprise, this time the game just froze, then, the first process crashed and the second one is still running, the i've get de gdb of both and i will post all the logs here.

-> The NS2 log (found at /home/artur/.config/Natural Selection 2/): http://pastebin.com/7FBRm9uq
-> The gdb for the first process (6135), that close after the game freeze: http://pastebin.com/8Vzb8szS
-> The gdb for the second process (6154), that i have to kill manually: http://pastebin.com/vT34S1JM
-> The console output (on steam) while running the game (i was running steam from console): http://pastebin.com/cAgxW94r

And a screenshot of all consoles running after the game crash but before i kill the second process:
15mnx3s.jpg

Some info about software:
Nvidia Proprietary Driver 331.20 installed.
Arch Linux x64 updated, with 32Bits compatibility lib.
Steam 32Bits (since there's no steam 64Bits for linux).
kernel Linux 3.12.2-1-ARCH
Desktop environment KDE 4.11.3

Some info about the hardware:
AMD Phenom II x6 1090T (3.2GHz), 4x2GB Corsair 1600MHz (DC Mode).
Asus GeForce GTX770 DirectCU II OC Edition 2GB GDDR5
My games (including natural selection) are installed on a 2TB Seagate SATA III disk (i have 5TB at total, 2x2TB and 2x500GB).
Nothing is overclocked, only the videocard has a factory overclock of 12MHz.
I have one LG Flatron screen of 23" and 1920x1080 resolution.

Sorry about my bad english, english isn't my native language. If anyone can help me I would appreciate it a lot
«13

Comments

  • ConfusedConfused Wait. What? Join Date: 2003-01-28 Member: 12904Members, Constellation, NS2 Playtester, Squad Five Blue, Subnautica Playtester
    edited December 2013
    Howdy,

    So looking at your trace. it looks like there is a something about pango failing miserably. Its also in your steam log.

    I would guess that awesomium on linux requires pango and you may need to install libpango. However, the path is to the steam install. This likely means that the copy of pango you have installed with steam does not get along with your install via Arch

    Is your steam up to date? is pango installed globally?

    Any of these work for you?
    http://steamcommunity.com/app/218090/discussions/0/846943514173626592/

    edit: should probalby mention that you may need:
    https://wiki.archlinux.org/index.php/Multilib



  • hoomehoome Join Date: 2013-12-03 Member: 189712Members
    edited December 2013
    Hello @Confused, thanks for the reply.

    I have pango installed on both pango (64bit) and lib32-pango on my arch linux:
    zl6o2t.jpg

    I believe my steam is up-to-date, i've installed steam from the pacman official repository and all the steam updates are installed:

    23s84sk.jpg

    I don't know how to check if pango is installed globally, the pango and lib32-pango packages are installed from the official repository.

    You have any idea that can fix my "broken" pango, maybe if i set steam/ns2 to use native pango instead of the copy running with steam? But i don't know how to do it.

    Oh, i have multilib repositories and packages installed and updated :)

    j8eek0.jpg

    Instalado = Installed
  • ConfusedConfused Wait. What? Join Date: 2003-01-28 Member: 12904Members, Constellation, NS2 Playtester, Squad Five Blue, Subnautica Playtester
    It seems like you have all the stings you are supposed to installed which is good. Things still are broken which is bad:)

    It looks like you might have better luck running as root once. Not sure it counts as a good idea though.


    Steam has a development version of their runtime you can get it here. it builds dependencies locally i think so it ought to have a working copy of libpango after you run the setup.sh script.

    After you install:

    $ cd ~/path/steam-runtime/sdk
    $ ./shell-i386.sh
    $ cd ~/.local/share/Steam/SteamApps/common/Natural\ Selection\ 2/
    $ run.sh ~/.local/share/Steam/SteamApps/common/Natural\ Selection\ 2/ns2_linux32
  • hoomehoome Join Date: 2013-12-03 Member: 189712Members
    edited December 2013
    i've tried to replace the pango by the ones that you supplied (http://steamcommunity.com/app/218090/discussions/0/846943514173626592/) and then i got an error telling that libthai is missing, i have this package installed, but, on arch repository and aur there's no lib32-libthai, only a package called libthai.

    The steam script at /usr/bin/steam prevents me to run steam as root, when i try i got "Cannot run as root" dialog, i can override that on script, but i don't know if it's a good idea.

    I'm downloading and trying the steam runtime sdk now :)

    Update: The steam-runtime-sdk is mean to run with debian based system, i can't compile the source or run ./shell-i386 because it's complain that dpkg or apt-get is missing.
    [artur@phenom-x6 sdk]$ ./shell-i386.sh 
    ./shell-i386.sh: line 36: dpkg: comando não encontrado
    Setting up for build targeting i386
    

    And then when i try to use the run.sh, i got "steam must be running in order..."

    I was thinking that i can compile a 32Bits version of libthai, you think that helpful or i'm going to the wrong way?
  • hoomehoome Join Date: 2013-12-03 Member: 189712Members
    I've managed to install all missing libraries (libthai and libdatrie) that was necessary for the patched version of pango to work, but, even then, no success running the game, but, i got a different error on steam console: http://pastebin.com/8Z3CeB7b

  • SiGeSiGe Join Date: 2013-12-02 Member: 189685Members
    I dare to say this might be the same issue I have http://forums.unknownworlds.com/discussion/132486/linux-mmap-crashes-worse-than-others-can-t-load-a-single-map-fglrx-virtualgl#latest
    Or at least very similar.
    But we all use Arch Linux and I doubt it's just a mere coincidence.

    Also.. I ran it again and got a different error now

    GDB backtrace
    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0xee73bb40 (LWP 1441)]
    0xf6c21e0b in M4::ResourceManagerBase::Shutdown (this=0x120eb4c0) at ../Source/Engine/ResourceManagerBase.cpp:69
    69 ../Source/Engine/ResourceManagerBase.cpp: No such file or directory.
    (gdb) bt
    #0 0xf6c21e0b in M4::ResourceManagerBase::Shutdown (this=0x120eb4c0) at ../Source/Engine/ResourceManagerBase.cpp:69
    #1 0xf6c21f0d in M4::ResourceManagerBase::~ResourceManagerBase (this=0x120eb4c0, __in_chrg=<optimized out>) at ../Source/Engine/ResourceManagerBase.cpp:39
    #2 0xf6bf40bd in ~ResourceManager (this=0x120eb4c0, __in_chrg=<optimized out>) at ../Source/Engine/ResourceManager.h:28
    #3 M4::ResourceManager<M4::Model>::~ResourceManager (this=0x120eb4c0, __in_chrg=<optimized out>) at ../Source/Engine/ResourceManager.h:28
    #4 0x08094159 in Destroy () at ../Source/Engine/Singleton.inl:66
    #5 M4::Singleton<M4::ResourceManager<M4::Model> >::Cleanup::~Cleanup (this=0x8280e70 <M4::Singleton<M4::ResourceManager<M4::Model> >::Get()::cleanup>, __in_chrg=<optimized out>)
    at ../Source/Engine/Singleton.inl:25
    #6 0xf360b6e1 in __run_exit_handlers () from /usr/lib32/libc.so.6
    #7 0xf360b73d in exit () from /usr/lib32/libc.so.6
    #8 0xf2dc8abf in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
    #9 0xf3991b74 in _XIOError () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libX11.so.6
    #10 0xf398f97c in _XReply () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libX11.so.6
    #11 0xf3974fb2 in XGetSelectionOwner () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libX11.so.6
    #12 0xf2dcd7a3 in gdk_selection_owner_set_for_display () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
    #13 0xf2fc2b81 in gtk_selection_owner_set_for_display () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #14 0xf30a6fc3 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #15 0xf2f40551 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #16 0xf2f45640 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #17 0xf2956243 in g_cclosure_marshal_VOID__VOIDv () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #18 0xf2952db7 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #19 0xf2954727 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #20 0xf296da29 in g_signal_emit_valist () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #21 0xf296e453 in g_signal_emit () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #22 0xf308cc6e in gtk_widget_grab_focus () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #23 0xf2f4068d in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    ---Type <return> to continue, or q <return> to quit---
    #24 0xf2f51a72 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #25 0xf29532fd in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #26 0xf29543d2 in g_closure_invoke () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #27 0xf296670d in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #28 0xf296dff5 in g_signal_emit_valist () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #29 0xf296e453 in g_signal_emit () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #30 0xf308d86a in gtk_widget_child_focus () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #31 0xf2ec4551 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #32 0xf2f51a72 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #33 0xf29532fd in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #34 0xf29543d2 in g_closure_invoke () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #35 0xf296670d in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #36 0xf296dff5 in g_signal_emit_valist () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #37 0xf296e453 in g_signal_emit () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #38 0xf308d86a in gtk_widget_child_focus () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #39 0xf2ec4551 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #40 0xf2f51a72 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #41 0xf29532fd in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #42 0xf29543d2 in g_closure_invoke () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #43 0xf296670d in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #44 0xf296dff5 in g_signal_emit_valist () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #45 0xf296e453 in g_signal_emit () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #46 0xf308d86a in gtk_widget_child_focus () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #47 0xf2ec4551 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #48 0xf2f51a72 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    ---Type <return> to continue, or q <return> to quit---
    #49 0xf29532fd in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #50 0xf29543d2 in g_closure_invoke () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #51 0xf296670d in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #52 0xf296dff5 in g_signal_emit_valist () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #53 0xf296e453 in g_signal_emit () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #54 0xf308d86a in gtk_widget_child_focus () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #55 0xf309f0fc in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #56 0xf2f51a72 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #57 0xf29532fd in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #58 0xf2954484 in g_closure_invoke () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #59 0xf296670d in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #60 0xf296dff5 in g_signal_emit_valist () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #61 0xf296e453 in g_signal_emit () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #62 0xf308d86a in gtk_widget_child_focus () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #63 0xf309ee98 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #64 0xf308e4c2 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #65 0xf2956bd1 in g_cclosure_marshal_VOID__ENUMv () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #66 0xf2954727 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #67 0xf296da29 in g_signal_emit_valist () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #68 0xf296e8af in g_signal_emit_by_name () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #69 0xf2ec5bda in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #70 0xf2956243 in g_cclosure_marshal_VOID__VOIDv () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #71 0xf2952db7 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #72 0xf2954727 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #73 0xf296da29 in g_signal_emit_valist () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    ---Type <return> to continue, or q <return> to quit---
    #74 0xf296e453 in g_signal_emit () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #75 0xf30934ba in gtk_widget_map () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #76 0xf309efcd in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #77 0xf29561ec in g_cclosure_marshal_VOID__VOID () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #78 0xf29532fd in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #79 0xf2954484 in g_closure_invoke () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #80 0xf2966535 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #81 0xf296e2dc in g_signal_emit_valist () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #82 0xf296e453 in g_signal_emit () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #83 0xf3093f6a in gtk_widget_show () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #84 0xf2ec6bc0 in gtk_dialog_run () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #85 0xf6c3a816 in M4::Platform_MessageBox (message=0xee73a2c0 "Failed to allocate 6152 bytes and will now terminate.", title=0xf6f2c8f9 "Fatal Error") at ../Source/Engine/linux/Platform.cpp:79
    #86 0xf6baa153 in M4::OutOfMemory (size=<optimized out>) at ../Source/Engine/HeapAllocator.cpp:38
    #87 0xf6baa391 in M4::HeapAllocator::AllocateAligned (this=0xf70cd1c8 <M4::(anonymous namespace)::_allocatorsBuffer+8>, size=6152, align=8) at ../Source/Engine/HeapAllocator.cpp:67
    #88 0xf6c16bd4 in M4::ProxyAllocator::AllocateAligned (this=0xf70cd1d4 <M4::(anonymous namespace)::_allocatorsBuffer+20>, size=6152, align=8) at ../Source/Engine/ProxyAllocator.cpp:162
    #89 0xf6c16bd4 in M4::ProxyAllocator::AllocateAligned (this=0xee741174, size=6152, align=8) at ../Source/Engine/ProxyAllocator.cpp:162
    #90 0xf6c16bd4 in M4::ProxyAllocator::AllocateAligned (this=0xe6662014, size=6152, align=8) at ../Source/Engine/ProxyAllocator.cpp:162
    #91 0xf6c16bd4 in M4::ProxyAllocator::AllocateAligned (this=0xe65eb0b8, size=6152, align=8) at ../Source/Engine/ProxyAllocator.cpp:162
    #92 0xf716bf7d in Allocate (size=6152, this=<optimized out>) at ../Source/Engine/Allocator.inl:17
    #93 M4::AllocCallback (size=6152, type=0, sourcestr=0x0) at ../Source/Sound/SoundSystem.cpp:70
    #94 0xf689d357 in ?? () from /home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/libfmodex.so
    #95 0xf689dc27 in ?? () from /home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/libfmodex.so
    #96 0xf681345f in ?? () from /home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/libfmodex.so
    #97 0xf6827276 in ?? () from /home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/libfmodex.so
    #98 0xf689724b in FMOD::System::createReverb(FMOD::Reverb**) () from /home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/libfmodex.so
    ---Type <return> to continue, or q <return> to quit---
    #99 0xf6796622 in ?? () from /home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/libfmodevent.so
    #100 0xf679391e in FMOD::EventSystem::createReverb(FMOD::EventReverb**) () from /home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/libfmodevent.so
    #101 0xf716fc64 in M4::SoundSystem::CreateReverb (this=0xa472360, reverbName=0xad180314 "sound/NS2.fev/medium room") at ../Source/Sound/SoundSystem.cpp:1716
    #102 0x080870e0 in M4::ClientWorld::CreateReverb (this=0xbbb51010, reverbName=0xad180314 "sound/NS2.fev/medium room", origin=..., minDistance=7.61999989, maxDistance=9.85519981)
    at ../Source/Spark_Client/ClientWorld.cpp:3783
    #103 0xf69d4668 in lj_vm_ffi_call () from /home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/liblua51.so
    #104 0xf697e35f in lj_ccall_func (L=0xbb10dc9c, cd=0xbad0403c) at ../Source/LuaJIT/src/lj_ccall.c:915
    #105 0xf69b7823 in lj_cf_ffi_meta___call (L=0xbb10dc9c) at ../Source/LuaJIT/src/lib_ffi.c:270
    #106 0xf69d2688 in lj_BC_FUNCC () from /home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/liblua51.so
    #107 0xf6970e7d in lua_pcall (L=0xbb10dc9c, nargs=3, nresults=0, errfunc=7) at ../Source/LuaJIT/src/lj_api.c:1111
    #108 0x080db06a in M4::Script_Call (L=0xbb10dc9c, nargs=3, nresults=0) at ../Source/Spark_Server/Script.cpp:1672
    #109 0x080c4608 in M4::EventHookCall (L=0xbb10dc9c, name=0x8216a16 "MapLoadEntity", nargs=3, nresults=0) at ../Source/Spark_Server/EventScript.cpp:163
    #110 0x0811150c in M4::World::CreateMapEntity (this=0xbbb51010, entity=0xaf9b2b90, groupName=...) at ../Source/Spark_Server/World.cpp:2304
    #111 0x0810f469 in M4::World::CreateMapEntities (this=0xbbb51010, level=0xc0e68f28) at ../Source/Spark_Server/World.cpp:2331
    #112 0x081122df in M4::World::LoadMap (this=0xbbb51010, mapFileName=0x11e56c0c "maps/ns2_descent.level", cancelRequest=@0xbc424a8c: false) at ../Source/Spark_Server/World.cpp:739
    #113 0x0809319d in M4::ClientWorld::Initialize (this=0xbbb51010, xResolution=-150252944, yResolution=-150252944, mapName=0x11e56c0c "maps/ns2_descent.level", buildNumber=-150252944, serverMods=..., reader=...,
    cancelRequest=@0xbc424a8c: false, networkServices=...) at ../Source/Spark_Client/ClientWorld.cpp:975
    #114 0x0807a78f in M4::ClientLoadJob::Run (this=0xbc424a28) at ../Source/Spark_Client/ClientLoadJob.cpp:110
    #115 0xf6c39d08 in M4::WorkerThread::Run (this=0x88c9b80) at ../Source/Engine/linux/Job.cpp:93
    #116 0xf6c3abbf in M4::RunThread (data=0x88c9b80) at ../Source/Engine/linux/Thread.cpp:32
    #117 0xf38e7f10 in start_thread () from /usr/lib32/libpthread.so.0
    #118 0xf36c7fce in clone () from /usr/lib32/libc.so.6
  • hoomehoome Join Date: 2013-12-03 Member: 189712Members
    edited December 2013
    SiGe wrote: »
    I dare to say this might be the same issue I have http://forums.unknownworlds.com/discussion/132486/linux-mmap-crashes-worse-than-others-can-t-load-a-single-map-fglrx-virtualgl#latest
    Or at least very similar.
    But we all use Arch Linux and I doubt it's just a mere coincidence.

    Also.. I ran it again and got a different error now

    GDB backtrace
    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0xee73bb40 (LWP 1441)]
    0xf6c21e0b in M4::ResourceManagerBase::Shutdown (this=0x120eb4c0) at ../Source/Engine/ResourceManagerBase.cpp:69
    69 ../Source/Engine/ResourceManagerBase.cpp: No such file or directory.
    (gdb) bt
    #0 0xf6c21e0b in M4::ResourceManagerBase::Shutdown (this=0x120eb4c0) at ../Source/Engine/ResourceManagerBase.cpp:69
    #1 0xf6c21f0d in M4::ResourceManagerBase::~ResourceManagerBase (this=0x120eb4c0, __in_chrg=<optimized out>) at ../Source/Engine/ResourceManagerBase.cpp:39
    #2 0xf6bf40bd in ~ResourceManager (this=0x120eb4c0, __in_chrg=<optimized out>) at ../Source/Engine/ResourceManager.h:28
    #3 M4::ResourceManager<M4::Model>::~ResourceManager (this=0x120eb4c0, __in_chrg=<optimized out>) at ../Source/Engine/ResourceManager.h:28
    #4 0x08094159 in Destroy () at ../Source/Engine/Singleton.inl:66
    #5 M4::Singleton<M4::ResourceManager<M4::Model> >::Cleanup::~Cleanup (this=0x8280e70 <M4::Singleton<M4::ResourceManager<M4::Model> >::Get()::cleanup>, __in_chrg=<optimized out>)
    at ../Source/Engine/Singleton.inl:25
    #6 0xf360b6e1 in __run_exit_handlers () from /usr/lib32/libc.so.6
    #7 0xf360b73d in exit () from /usr/lib32/libc.so.6
    #8 0xf2dc8abf in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
    #9 0xf3991b74 in _XIOError () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libX11.so.6
    #10 0xf398f97c in _XReply () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libX11.so.6
    #11 0xf3974fb2 in XGetSelectionOwner () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libX11.so.6
    #12 0xf2dcd7a3 in gdk_selection_owner_set_for_display () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
    #13 0xf2fc2b81 in gtk_selection_owner_set_for_display () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #14 0xf30a6fc3 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #15 0xf2f40551 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #16 0xf2f45640 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #17 0xf2956243 in g_cclosure_marshal_VOID__VOIDv () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #18 0xf2952db7 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #19 0xf2954727 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #20 0xf296da29 in g_signal_emit_valist () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #21 0xf296e453 in g_signal_emit () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #22 0xf308cc6e in gtk_widget_grab_focus () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #23 0xf2f4068d in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    ---Type <return> to continue, or q <return> to quit---
    #24 0xf2f51a72 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #25 0xf29532fd in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #26 0xf29543d2 in g_closure_invoke () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #27 0xf296670d in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #28 0xf296dff5 in g_signal_emit_valist () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #29 0xf296e453 in g_signal_emit () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #30 0xf308d86a in gtk_widget_child_focus () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #31 0xf2ec4551 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #32 0xf2f51a72 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #33 0xf29532fd in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #34 0xf29543d2 in g_closure_invoke () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #35 0xf296670d in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #36 0xf296dff5 in g_signal_emit_valist () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #37 0xf296e453 in g_signal_emit () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #38 0xf308d86a in gtk_widget_child_focus () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #39 0xf2ec4551 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #40 0xf2f51a72 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #41 0xf29532fd in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #42 0xf29543d2 in g_closure_invoke () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #43 0xf296670d in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #44 0xf296dff5 in g_signal_emit_valist () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #45 0xf296e453 in g_signal_emit () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #46 0xf308d86a in gtk_widget_child_focus () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #47 0xf2ec4551 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #48 0xf2f51a72 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    ---Type <return> to continue, or q <return> to quit---
    #49 0xf29532fd in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #50 0xf29543d2 in g_closure_invoke () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #51 0xf296670d in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #52 0xf296dff5 in g_signal_emit_valist () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #53 0xf296e453 in g_signal_emit () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #54 0xf308d86a in gtk_widget_child_focus () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #55 0xf309f0fc in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #56 0xf2f51a72 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #57 0xf29532fd in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #58 0xf2954484 in g_closure_invoke () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #59 0xf296670d in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #60 0xf296dff5 in g_signal_emit_valist () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #61 0xf296e453 in g_signal_emit () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #62 0xf308d86a in gtk_widget_child_focus () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #63 0xf309ee98 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #64 0xf308e4c2 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #65 0xf2956bd1 in g_cclosure_marshal_VOID__ENUMv () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #66 0xf2954727 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #67 0xf296da29 in g_signal_emit_valist () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #68 0xf296e8af in g_signal_emit_by_name () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #69 0xf2ec5bda in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #70 0xf2956243 in g_cclosure_marshal_VOID__VOIDv () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #71 0xf2952db7 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #72 0xf2954727 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #73 0xf296da29 in g_signal_emit_valist () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    ---Type <return> to continue, or q <return> to quit---
    #74 0xf296e453 in g_signal_emit () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #75 0xf30934ba in gtk_widget_map () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #76 0xf309efcd in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #77 0xf29561ec in g_cclosure_marshal_VOID__VOID () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #78 0xf29532fd in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #79 0xf2954484 in g_closure_invoke () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #80 0xf2966535 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #81 0xf296e2dc in g_signal_emit_valist () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #82 0xf296e453 in g_signal_emit () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #83 0xf3093f6a in gtk_widget_show () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #84 0xf2ec6bc0 in gtk_dialog_run () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #85 0xf6c3a816 in M4::Platform_MessageBox (message=0xee73a2c0 "Failed to allocate 6152 bytes and will now terminate.", title=0xf6f2c8f9 "Fatal Error") at ../Source/Engine/linux/Platform.cpp:79
    #86 0xf6baa153 in M4::OutOfMemory (size=<optimized out>) at ../Source/Engine/HeapAllocator.cpp:38
    #87 0xf6baa391 in M4::HeapAllocator::AllocateAligned (this=0xf70cd1c8 <M4::(anonymous namespace)::_allocatorsBuffer+8>, size=6152, align=8) at ../Source/Engine/HeapAllocator.cpp:67
    #88 0xf6c16bd4 in M4::ProxyAllocator::AllocateAligned (this=0xf70cd1d4 <M4::(anonymous namespace)::_allocatorsBuffer+20>, size=6152, align=8) at ../Source/Engine/ProxyAllocator.cpp:162
    #89 0xf6c16bd4 in M4::ProxyAllocator::AllocateAligned (this=0xee741174, size=6152, align=8) at ../Source/Engine/ProxyAllocator.cpp:162
    #90 0xf6c16bd4 in M4::ProxyAllocator::AllocateAligned (this=0xe6662014, size=6152, align=8) at ../Source/Engine/ProxyAllocator.cpp:162
    #91 0xf6c16bd4 in M4::ProxyAllocator::AllocateAligned (this=0xe65eb0b8, size=6152, align=8) at ../Source/Engine/ProxyAllocator.cpp:162
    #92 0xf716bf7d in Allocate (size=6152, this=<optimized out>) at ../Source/Engine/Allocator.inl:17
    #93 M4::AllocCallback (size=6152, type=0, sourcestr=0x0) at ../Source/Sound/SoundSystem.cpp:70
    #94 0xf689d357 in ?? () from /home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/libfmodex.so
    #95 0xf689dc27 in ?? () from /home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/libfmodex.so
    #96 0xf681345f in ?? () from /home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/libfmodex.so
    #97 0xf6827276 in ?? () from /home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/libfmodex.so
    #98 0xf689724b in FMOD::System::createReverb(FMOD::Reverb**) () from /home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/libfmodex.so
    ---Type <return> to continue, or q <return> to quit---
    #99 0xf6796622 in ?? () from /home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/libfmodevent.so
    #100 0xf679391e in FMOD::EventSystem::createReverb(FMOD::EventReverb**) () from /home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/libfmodevent.so
    #101 0xf716fc64 in M4::SoundSystem::CreateReverb (this=0xa472360, reverbName=0xad180314 "sound/NS2.fev/medium room") at ../Source/Sound/SoundSystem.cpp:1716
    #102 0x080870e0 in M4::ClientWorld::CreateReverb (this=0xbbb51010, reverbName=0xad180314 "sound/NS2.fev/medium room", origin=..., minDistance=7.61999989, maxDistance=9.85519981)
    at ../Source/Spark_Client/ClientWorld.cpp:3783
    #103 0xf69d4668 in lj_vm_ffi_call () from /home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/liblua51.so
    #104 0xf697e35f in lj_ccall_func (L=0xbb10dc9c, cd=0xbad0403c) at ../Source/LuaJIT/src/lj_ccall.c:915
    #105 0xf69b7823 in lj_cf_ffi_meta___call (L=0xbb10dc9c) at ../Source/LuaJIT/src/lib_ffi.c:270
    #106 0xf69d2688 in lj_BC_FUNCC () from /home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/liblua51.so
    #107 0xf6970e7d in lua_pcall (L=0xbb10dc9c, nargs=3, nresults=0, errfunc=7) at ../Source/LuaJIT/src/lj_api.c:1111
    #108 0x080db06a in M4::Script_Call (L=0xbb10dc9c, nargs=3, nresults=0) at ../Source/Spark_Server/Script.cpp:1672
    #109 0x080c4608 in M4::EventHookCall (L=0xbb10dc9c, name=0x8216a16 "MapLoadEntity", nargs=3, nresults=0) at ../Source/Spark_Server/EventScript.cpp:163
    #110 0x0811150c in M4::World::CreateMapEntity (this=0xbbb51010, entity=0xaf9b2b90, groupName=...) at ../Source/Spark_Server/World.cpp:2304
    #111 0x0810f469 in M4::World::CreateMapEntities (this=0xbbb51010, level=0xc0e68f28) at ../Source/Spark_Server/World.cpp:2331
    #112 0x081122df in M4::World::LoadMap (this=0xbbb51010, mapFileName=0x11e56c0c "maps/ns2_descent.level", cancelRequest=@0xbc424a8c: false) at ../Source/Spark_Server/World.cpp:739
    #113 0x0809319d in M4::ClientWorld::Initialize (this=0xbbb51010, xResolution=-150252944, yResolution=-150252944, mapName=0x11e56c0c "maps/ns2_descent.level", buildNumber=-150252944, serverMods=..., reader=...,
    cancelRequest=@0xbc424a8c: false, networkServices=...) at ../Source/Spark_Client/ClientWorld.cpp:975
    #114 0x0807a78f in M4::ClientLoadJob::Run (this=0xbc424a28) at ../Source/Spark_Client/ClientLoadJob.cpp:110
    #115 0xf6c39d08 in M4::WorkerThread::Run (this=0x88c9b80) at ../Source/Engine/linux/Job.cpp:93
    #116 0xf6c3abbf in M4::RunThread (data=0x88c9b80) at ../Source/Engine/linux/Thread.cpp:32
    #117 0xf38e7f10 in start_thread () from /usr/lib32/libpthread.so.0
    #118 0xf36c7fce in clone () from /usr/lib32/libc.so.6

    @SiGe, i think it is exactly the same problem,

    So, the problem is related with memory allocation, there's just no free memory (because of the 32bits allocation) and the game crash? Make alot of sense.

    You've manage to find any workaround/solution?

  • ConfusedConfused Wait. What? Join Date: 2003-01-28 Member: 12904Members, Constellation, NS2 Playtester, Squad Five Blue, Subnautica Playtester
    So the out of memory crashes ought to be fixed at this point or at absolute minimum they should be edge cases only.

    The stack trace you posted revolves around a file not found error. I would verify your ns2 install through steam or use obby's nuke it from orbit guide in the stickies and just wipe everything and re download.
  • CommanderAlchemyCommanderAlchemy Sweden Join Date: 2013-12-04 Member: 189780Members
    edited December 2013
    Confused wrote: »
    So the out of memory crashes ought to be fixed at this point or at absolute minimum they should be edge cases only.

    The stack trace you posted revolves around a file not found error. I would verify your ns2 install through steam or use obby's nuke it from orbit guide in the stickies and just wipe everything and re download.


    I have the same issue. Crashes on optimize and somtimes gives awesomnium error....
    I have tried to remove cache files, and also nuked the install and same issue.
    [ 9797.420985] ns2_linux32[2403]: segfault at 0 ip           (null) sp 00000000e64f3fdc error 14 in ns2_linux32[8048000+234000]
    
    [11745.126446] ns2_linux32[3424]: segfault at 0 ip 00000000f3792a80 sp 00000000cf0efe18 error 4 in libc-2.18.so[f3660000+1a9000]
    

    Bought this game about 1 month or 2 ago. Still havent played a single round since first i had crashes when shooting a gun that is fixed by now?. And now this......

    EDIT: Added Log for optimization crash. Log = http://codepad.org/xCiwqiq5
    EDIT 2: I think this must be a joke... I skipped the optimization and just went into tutorial. It loaded but the second i fired the gun it crashed. Log = http://codepad.org/55pWLLtf

    Then I tried to load a skirmish game and it crashed during loading.
    Log: http://codepad.org/Jx3pqROt

    This is worse than BF4 launch on Windows.
    Im using Linux 3.12.2-2-ck with ArchLinux x86_64
    Latest nVidia 331.20 drivers with nVidia Zotac 670 AMP
    Steamsysteminfo : http://codepad.org/ZHIY0STn
  • SiGeSiGe Join Date: 2013-12-02 Member: 189685Members
    It was verified 100% without any errors by Steam.
    Deleted the game and its settings and retried it.
    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0xe8fcdb40 (LWP 9597)]

    Program received signal SIGSEGV, Segmentation fault.
    0xf2df2864 in atk_registry_get_factory_type () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libatk-1.0.so.0
    (gdb) bt
    #0 0xf2df2864 in atk_registry_get_factory_type () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libatk-1.0.so.0
    #1 0xf2df28c2 in atk_registry_get_factory () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libatk-1.0.so.0
    #2 0xf3125eb5 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #3 0xf3134ba7 in gtk_widget_get_accessible () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #4 0xf3007ad0 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #5 0xf29f6683 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #6 0xf29f7cf9 in g_object_newv () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #7 0xf29f8543 in g_object_new_valist () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #8 0xf29f87a0 in g_object_new () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #9 0xf3007741 in gtk_message_dialog_new () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #10 0xf6cd77da in M4::Platform_MessageBox (message=0xe8fcc680 "Failed to allocate 4100 bytes and will now terminate.", title=0xf6fc98f9 "Fatal Error") at ../Source/Engine/linux/Platform.cpp:77
    #11 0xf6c47153 in M4::OutOfMemory (size=<optimized out>) at ../Source/Engine/HeapAllocator.cpp:38
    #12 0xf6c47391 in M4::HeapAllocator::AllocateAligned (this=0xf716a1c8 <M4::(anonymous namespace)::_allocatorsBuffer+8>, size=4100, align=8) at ../Source/Engine/HeapAllocator.cpp:67
    #13 0xf6cb3bd4 in M4::ProxyAllocator::AllocateAligned (this=0xf716a1d4 <M4::(anonymous namespace)::_allocatorsBuffer+20>, size=4100, align=8) at ../Source/Engine/ProxyAllocator.cpp:162
    #14 0xf6cb3bd4 in M4::ProxyAllocator::AllocateAligned (this=0xe668a558, size=4100, align=8) at ../Source/Engine/ProxyAllocator.cpp:162
    #15 0xf6ca4e34 in Allocate (size=<optimized out>, this=<optimized out>) at ../Source/Engine/Allocator.inl:17
    #16 M4::PoolAllocator::AllocatePage (this=0xca69cf38) at ../Source/Engine/PoolAllocator.cpp:139
    #17 0xf6ca4ea9 in M4::PoolAllocator::AllocateFromPage (this=0xca69cf38, size=512) at ../Source/Engine/PoolAllocator.cpp:161
    #18 0xf6ca4f74 in M4::PoolAllocator::AllocateAligned (this=0xca69cf38, size=512, align=8) at ../Source/Engine/PoolAllocator.cpp:100
    #19 0x08124faa in Allocate (size=<optimized out>, this=<optimized out>) at ../Source/Engine/Allocator.inl:17
    #20 M4::LuaAllocator::Alloc (this=0xca666f38, size=384) at ../Source/Spark_Server/LuaAllocator.cpp:46
    #21 0x080d9c41 in M4::Script_Alloc (ud=0xbe375fd0, ptr=0x0, osize=0, nsize=384) at ../Source/Spark_Server/Script.cpp:1042
    #22 0xf6a2f557 in lj_mem_realloc (L=0xb126500c, p=0x0, osz=0, nsz=384) at ../Source/LuaJIT/src/lj_gc.c:835
    #23 0xf6a4d63b in newhpart (hbits=4, L=0xb126500c, t=<optimized out>) at ../Source/LuaJIT/src/lj_tab.c:60
    #24 resizetab (L=0xb126500c, t=0xa3ac49ec, asize=0, hbits=4) at ../Source/LuaJIT/src/lj_tab.c:245
    ---Type <return> to continue, or q <return> to quit---
    #25 0xf6a4d2a9 in rehashtab (ek=<optimized out>, t=<optimized out>, L=<optimized out>) at ../Source/LuaJIT/src/lj_tab.c:351
    #26 lj_tab_newkey (L=0xb126500c, t=0xa3ac49ec, key=0xb04e90e4) at ../Source/LuaJIT/src/lj_tab.c:428
    #27 0xf6a337dc in lj_meta_tset (L=0xb126500c, o=0xb04e90dc, k=0xb04e90e4) at ../Source/LuaJIT/src/lj_meta.c:173
    #28 0xf6a0d924 in lua_settable (L=0xb126500c, idx=4) at ../Source/LuaJIT/src/lj_api.c:941
    #29 0x0811142c in M4::World::CreateMapEntity (this=0xb141e140, entity=0xafbb7a98, groupName=...) at ../Source/Spark_Server/World.cpp:2273
    #30 0x0810f469 in M4::World::CreateMapEntities (this=0xb141e140, level=0xbf85ef28) at ../Source/Spark_Server/World.cpp:2331
    #31 0x080a06c4 in M4::PredictWorld::LoadMapInfo (this=0xb141e140, level=...) at ../Source/Spark_Client/PredictWorld.cpp:149
    #32 0x08094061 in M4::ClientWorld::OnPostLoad (this=0xb6733000, level=0xe8fccf30) at ../Source/Spark_Client/ClientWorld.cpp:4040
    #33 0x081123fc in M4::World::LoadMap (this=0xb6733000, mapFileName=0x13870dec "maps/ns2_descent.level", cancelRequest=@0xb6e6a954: false) at ../Source/Spark_Server/World.cpp:777
    #34 0x0809319d in M4::ClientWorld::Initialize (this=0xb6733000, xResolution=338219728, yResolution=338219728, mapName=0x13870dec "maps/ns2_descent.level", buildNumber=338219728, serverMods=..., reader=...,
    cancelRequest=@0xb6e6a954: false, networkServices=...) at ../Source/Spark_Client/ClientWorld.cpp:975
    #35 0x0807a78f in M4::ClientLoadJob::Run (this=0xb6e6a8f0) at ../Source/Spark_Client/ClientLoadJob.cpp:110
    #36 0xf6cd6d08 in M4::WorkerThread::Run (this=0x90bd500) at ../Source/Engine/linux/Job.cpp:93
    #37 0xf6cd7bbf in M4::RunThread (data=0x90bd500) at ../Source/Engine/linux/Thread.cpp:32
    #38 0xf3984f10 in start_thread () from /usr/lib32/libpthread.so.0
    #39 0xf3764fce in clone () from /usr/lib32/libc.so.6

    Console output (started Steam in console) still gives me the very same thing.
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/descent/descent_terminal_C_corner_1.model'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/descent/descent_terminal_C_corner_1.model'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/descent/descent_terminal_C_str_1.model'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/descent/descent_terminal_C_str_1.model'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/descent/descent_terminal_C_str_2.model'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/descent/descent_terminal_C_str_2.model'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/descent/descent_terminal_C_str_3.model'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/descent/descent_terminal_C_str_3.model'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/descent/descent_terminal_C_str_7.model'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/descent/descent_terminal_C_str_7.model'
    WARNING: Correwarning: The VAD has been replaced by a hack pending a complete rewrite
    warning: The VAD has been replaced by a hack pending a complete rewrite
    mmap() failed: Cannot allocate memory
    mmap() failed: Cannot allocate memory
    mmap() failed: Cannot allocate memory
    [1205/015639:ERROR:browser_main_loop_impl.cc(126)] GLib-GObject: cannot register existing type `AtkRegistry'
    [1205/015639:ERROR:browser_main_loop_impl.cc(126)] GLib-GObject: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
    [1205/015639:ERROR:browser_main_loop_impl.cc(126)] GLib-GObject: cannot register existing type `AtkRegistry'
    [1205/015639:ERROR:browser_main_loop_impl.cc(126)] <unknown>: atk_registry_new: assertion `ATK_IS_REGISTRY (object)' failed
    mmap() failed: Cannot allocate memory
    Game removed: AppID 4920 "Natural Selection 2", ProcID 9584

    When trying to play the tutorial this backtrace and log:
    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0xd4c61b40 (LWP 9951)]
    0xf36798c6 in __memcpy_ia32 () from /usr/lib32/libc.so.6
    (gdb) bt
    #0 0xf36798c6 in __memcpy_ia32 () from /usr/lib32/libc.so.6
    #1 0x00000664 in ?? ()
    #2 0xde1b4df3 in ?? () from /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so
    #3 0xf240fa35 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libasound.so.2
    #4 0xf23cb642 in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libasound.so.2
    #5 0xf240fbfa in ?? () from /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libasound.so.2
    #6 0xde0dfad8 in snd_pcm_readi () from /usr/lib32/libasound.so
    #7 0xf68c9d44 in ?? () from /home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/libfmodex.so
    #8 0xf68c1c55 in ?? () from /home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/libfmodex.so
    #9 0xf3909f10 in start_thread () from /usr/lib32/libpthread.so.0
    #10 0xf36e9fce in clone () from /usr/lib32/libc.so.6
    Cooked mesh with 4 faces, 4 vertices
    Cooked mesh with 4 faces, 4 vertices
    Cooked mesh with 4 faces, 4 vertices
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/descent/descent_terminal_C_corner_1.model'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/descent/descent_terminal_C_corner_1.model'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/descent/descent_terminal_C_str_1.model'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/descent/descent_terminal_C_str_1.model'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/descent/descent_terminal_C_str_2.model'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/descent/descent_terminal_C_str_2.model'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/descent/descent_terminal_C_str_3.model'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/descent/descent_terminal_C_str_3.model'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/descent/descent_terminal_C_str_7.model'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/descent/descent_terminal_C_str_7.model'
    WARNING: Correwarning: The VAD has been replaced by a hack pending a complete rewrite
    warning: The VAD has been replaced by a hack pending a complete rewrite
    mmap() failed: Cannot allocate memory
    mmap() failed: Cannot allocate memory
    mmap() failed: Cannot allocate memory
    [1205/015639:ERROR:browser_main_loop_impl.cc(126)] GLib-GObject: cannot register existing type `AtkRegistry'
    [1205/015639:ERROR:browser_main_loop_impl.cc(126)] GLib-GObject: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
    [1205/015639:ERROR:browser_main_loop_impl.cc(126)] GLib-GObject: cannot register existing type `AtkRegistry'
    [1205/015639:ERROR:browser_main_loop_impl.cc(126)] <unknown>: atk_registry_new: assertion `ATK_IS_REGISTRY (object)' failed
    mmap() failed: Cannot allocate memory
    Game removed: AppID 4920 "Natural Selection 2", ProcID 9584

    Here is the output of ps -u just before the game crashes for the corresponding ns2_linux process which crashes.
    USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
    sige     10188  134 16.0 1799492 979140 pts/1  Dl   02:05   1:12 /home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2_linux32
    
    It uses about 16% of my 6GB Ram, so I'm certainly not actually out of memory

    It's happening too reliable for edge cases and it doesn't seem like I'm the only one around with it.
    But it appears to be Arch Linux only. At least I don't see any other distro here with that problem.
    I almost dare to say it might be some updated library?
    If so, I dare to say this problem might eventually come to other distributions as well soon enough.
  • FaidenFaiden Sweden Join Date: 2013-11-29 Member: 189626Members
    Yea running Arch-Linux x64 here aswell and can't optimize and before last patch i got random crashes ingame and when using the "esc" menu
    Backtrack:
    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0xe7837b40 (LWP 24598)]
    0xf2da0864 in atk_registry_get_factory_type ()
    from /home/faiden/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libatk-1.0.so.0
    (gdb) bt
    #0 0xf2da0864 in atk_registry_get_factory_type ()
    from /home/faiden/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libatk-1.0.so.0
    #1 0xf2da08c2 in atk_registry_get_factory ()
    from /home/faiden/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libatk-1.0.so.0
    #2 0xf30d2eb5 in ?? () from /home/faiden/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #3 0xf30e1ba7 in gtk_widget_get_accessible ()
    from /home/faiden/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #4 0xf2fb4ad0 in ?? () from /home/faiden/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #5 0xf29a4683 in ?? () from /home/faiden/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #6 0xf29a5cf9 in g_object_newv ()
    from /home/faiden/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #7 0xf29a6543 in g_object_new_valist ()
    from /home/faiden/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #8 0xf29a67a0 in g_object_new ()
    from /home/faiden/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    #9 0xf2fb4741 in gtk_message_dialog_new ()
    from /home/faiden/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
    #10 0xf6c787da in M4::Platform_MessageBox (message=0xe7836980 "Failed to allocate 8960 bytes and will now terminate.",
    title=0xf6f6a8f9 "Fatal Error") at ../Source/Engine/linux/Platform.cpp:77
    #11 0xf6be8153 in M4::OutOfMemory (size=<optimized out>) at ../Source/Engine/HeapAllocator.cpp:38
    #12 0xf6be8391 in M4::HeapAllocator::AllocateAligned (this=0xf710b1c8 <M4::(anonymous namespace)::_allocatorsBuffer+8>, size=8960,
    align=16) at ../Source/Engine/HeapAllocator.cpp:67
    #13 0xf6c54bd4 in M4::ProxyAllocator::AllocateAligned (this=0xf710b1d4 <M4::(anonymous namespace)::_allocatorsBuffer+20>, size=8960,
    align=16) at ../Source/Engine/ProxyAllocator.cpp:162
    #14 0xf6c54bd4 in M4::ProxyAllocator::AllocateAligned (this=0xef9d5174, size=8960, align=16) at ../Source/Engine/ProxyAllocator.cpp:162
    #15 0xf6c54bd4 in M4::ProxyAllocator::AllocateAligned (this=0xe78abff0, size=8960, align=16) at ../Source/Engine/ProxyAllocator.cpp:162
    #16 0xf6c54bd4 in M4::ProxyAllocator::AllocateAligned (this=0xe7859fec, size=8960, align=16) at ../Source/Engine/ProxyAllocator.cpp:162
    #17 0xf739c80e in M4::PhysXAllocator::allocate (this=0xe7859fe8, size=8960, typeName=0xf7667d5c "<no allocation names in this config>",
    filename=0xf76787ac "./../../LowLevel/software/include/PxsBlockArray.h", line=70) at ../Source/Physics/PhysXAllocator.cpp:33
    #18 0xf75a70a1 in physx::shdfnd::Foundation::AlignCheckAllocator::allocate(unsigned int, char const*, char const*, int) ()
    from /home/faiden/.local/share/Steam/SteamApps/common/Natural Selection 2/libSpark_Physics.so
    #19 0xf74dbbb4 in physx::PxsContext::updateCCDEnd() ()
    from /home/faiden/.local/share/Steam/SteamApps/common/Natural Selection 2/libSpark_Physics.so
    #20 0xf74dd260 in physx::PxsContext::updateCCD(float, physx::pxtask::BaseTask*) ()
    from /home/faiden/.local/share/Steam/SteamApps/common/Natural Selection 2/libSpark_Physics.so
    #21 0xf749301c in physx::Sc::Scene::updateCCDSinglePass(physx::pxtask::BaseTask*) ()
    from /home/faiden/.local/share/Steam/SteamApps/common/Natural Selection 2/libSpark_Physics.so
    #22 0xf749c4b2 in physx::Cm::DelegateTask<physx::Sc::Scene, &physx::Sc::Scene::updateCCDSinglePass>::run() ()
    from /home/faiden/.local/share/Steam/SteamApps/common/Natural Selection 2/libSpark_Physics.so
    #23 0xf73da351 in physx::Ext::CpuWorkerThread::execute() ()
    from /home/faiden/.local/share/Steam/SteamApps/common/Natural Selection 2/libSpark_Physics.so
    #24 0xf75a9b88 in physx::shdfnd::Thread::execute() ()
    from /home/faiden/.local/share/Steam/SteamApps/common/Natural Selection 2/libSpark_Physics.so
    #25 0xf75a9bbb in physx::shdfnd::PxThreadStart(void*) ()
    from /home/faiden/.local/share/Steam/SteamApps/common/Natural Selection 2/libSpark_Physics.so
    #26 0xf3924f10 in start_thread () from /usr/lib32/libpthread.so.0
    #27 0xf3704fce in clone () from /usr/lib32/libc.so.6
  • jaenjaen Poland Join Date: 2013-12-08 Member: 189919Members
    edited December 2013
    My two cents:
    I've also get a crash on a x86_64 Arch, just launching the training map. Crashes also happened when trying to optimise, didn't check what causes them then though.
    For me the cause is a nullptr dereference a couple of frames below pango_map_get_engines. The mmap complaints also lend some credence to the guess that the nullptr is a result of an unexpected OOM condition. I usually run without a swap, but when I enabled a 4G swapfile it didn't stop the crash either. The memory consumption when I hit SIGSEGV is 1731M 862M 81620 (virtual, resource, shared respectively) as reported by htop, which doesn't seem to be crossing the usual 32bit 3G limit, althought I don't know how much memory did awesomium/pango want to allocate and if even the limit would apply in this case.

    Relevant logs: https://gist.github.com/jaen/7855740
  • ConfusedConfused Wait. What? Join Date: 2003-01-28 Member: 12904Members, Constellation, NS2 Playtester, Squad Five Blue, Subnautica Playtester
    So, this seems like its an arch only issue. Which is odd because we have play tester who has the game running nicely in arch. This makes it sort of hard for me to reproduce directly since i don't really want to switch:)

    Can you guys give me more details about you arch installs? Are you all having to recompile the copy of pango included with steam? Anything else that you can think of that might help me out trying to get the crash fixed?

    An aside:

    So the optimization process is basically shader compilation. If you dont run it it will be done for you silently when loading a map for the first time. This will make first load a bit longer that usual that one time. Can you guys start up a listen server with no bots, no tutorial, successfully?
  • SiGeSiGe Join Date: 2013-12-02 Member: 189685Members
    edited December 2013
    If your playtester is running the 32bit version of arch, that might be it?
    Everyone in this thread is running the 64 bit version with multiarch and probably a few packages installed from AUR.
    I never had to recompile anything pango related - that is just running fine.

    Trying to start a listen Server, no bots
    http://codepad.org/fho0fcNK
    From the commandline
    Build 261
    Arch Linux x86_64
    Steam initialized
    Num displays: 1
    OpenGL 4.4.0 NVIDIA 331.20 initialized (NVIDIA Corporation GeForce GTS 450/PCIe/SSE2)
    GLSL version 4.40 NVIDIA via Cg compiler
    ARB_texture_storage extension present
    Sound Device: default stereo
    Record Device: default
    Loading config://ConsoleBindings.json
    Loading config://FavoriteServers.json
    Loading config://HistoryServers.json
    Cooked mesh with 4964 faces, 3757 vertices
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/biodome/Biodome_bamboo_01.dds'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/biodome/Biodome_bamboo_01.dds'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/biodome/Biodome_bamboo_01_normal.dds'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/biodome/Biodome_bamboo_01_normal.dds'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/biodome/Biodome_bamboo_01_spec.dds'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/biodome/Biodome_bamboo_01_spec.dds'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/biodome/Biodome_bamboo_01_opacity.dds'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/biodome/Biodome_bamboo_01_opacity.dds'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/biodome/biodome_waterpipes_01_bubbles_FX.material'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/biodome/biodome_waterpipes_01_bubbles_FX.material'
    Error: Couldn't open file 'D:/build/assets/materialsrc/biodome/biodome_glass_01.material'
    Error: No shader specified for material 'D:/build/assets/materialsrc/biodome/biodome_glass_01.material'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/biodome/Biodome_bamboo_01_opacity.dds'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/biodome/Biodome_bamboo_01_opacity.dds'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/biodome/Biodome_bamboo_01_spec.dds'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/biodome/Biodome_bamboo_01_spec.dds'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/biodome/Biodome_bamboo_01_normal.dds'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/biodome/Biodome_bamboo_01_normal.dds'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/biodome/Biodome_bamboo_01.dds'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/biodome/Biodome_bamboo_01.dds'
    Main Menu Initialized at Version: 261
    Steam Id: 46658730
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/biodome/Biodome_bamboo_01.dds'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/biodome/Biodome_bamboo_01.dds'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/biodome/Biodome_bamboo_01_normal.dds'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2/models/props/biodome/Biodome_bamboo_01_normal.dds'
    WARNING: Corrected case of '/home/sige/.local/share/Steam/SteamApps/common/Natural SelectFocused window is now 0, 0
    OnFocusWindowChanged to unknown window type: k_EWindowTypeNonSteamDesktop, 0
    pid 9835 != 9772, skipping destruction (fork without exec?)
    pid 9810 != 9772, skipping destruction (fork without exec?)
    warning: The VAD has been replaced by a hack pending a complete rewrite
    Game update: AppID 4920 "Natural Selection 2", ProcID 9752, IP 62.157.30.18:27015
    warning: The VAD has been replaced by a hack pending a complete rewrite
    warning: The VAD has been replaced by a hack pending a complete rewrite
    /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so: cannot apply additional memory protection after relocation: Cannot allocate memory
    Failed to load module: /home/sige/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
    http://codepad.org/8cH7Vyvx

    There are always different backtraces and logs indicating that it runs out of memory at different spaces. And I'm currently not 100% certain that log and backtrace were created in the same run, but they were created with the same starting options!
    Another snippet from the log while the backtrace is about sound (I think I posted that one before)
    http://codepad.org/GVFcwXjJ

    And what is the information you'd like to hear?
    Everything is always up-to-date on my end
    [sige@LordHelmchen Natural Selection 2]$ pacman -Qs pango
    local/lib32-pango 1.36.1-1
    A library for layout and rendering of text (32-bit)
    local/lib32-pangox-compat 0.0.2-1
    X Window System font support for Pango (32 bit)
    local/pango 1.36.1-1
    A library for layout and rendering of text
    local/pangomm 2.34.0-1
    C++ bindings for pango
    local/pangox-compat 0.0.2-1
    X Window System font support for Pango
    [sige@LordHelmchen Natural Selection 2]$ pacman -Qs glibc
    local/glibc 2.18-10 (base)
    GNU C Library
    local/lib32-glibc 2.18-10
    GNU C Library for multilib

    Most other libs seem to be taken from the steam runtime anyways, even pango.
    Though all the other libs are only loaded to display the error message?
    So it is just libc6/glibc in the end, it appears.

    I can put the Arch Linux lib32-glibc build files into a tar.bz2 archive, if you can't grab them from the arch build system

    Edit: Listen server and not dedicated, right?
    So we're still joining in when loading?
  • SvenstaroSvenstaro Germany Join Date: 2013-12-13 Member: 190041Members
    I also get this. Log for opened so files: https://drive.google.com/file/d/0B0NeWocsTmzaMWt3N0d2QkROZDg/edit?usp=sharing

    Full strace is here. Warning, it's large. https://drive.google.com/file/d/0B0NeWocsTmzaU1Y2UmgwY2VKTEU/edit?usp=sharing

    The full strace shows stuff like this:
    8771969 9500  fstat64(189, {st_mode=S_IFREG|0644, st_size=25985388, ...}) = 0
    8771970 9500  mmap2(NULL, 25985388, PROT_READ, MAP_PRIVATE, 189, 0) = -1 ENOMEM (Cannot alloca        te memory)
    8771971 9536  ioctl(139, SNDRV_PCM_IOCTL_SYNC_PTR <unfinished ...>
    8771972 9516  open("/tmp/gameoverlayrenderer.log", O_WRONLY|O_CREAT|O_APPEND, 0666 <unfinished         ...>
    8771973 9536  <... ioctl resumed> , 0x8992240)  = 0
    8771974 9500  close(189 <unfinished ...>
    8771975 9536  ioctl(139, SNDRV_PCM_IOCTL_SYNC_PTR <unfinished ...>
    8771976 9516  <... open resumed> )              = 190
    8771977 9536  <... ioctl resumed> , 0x8992240)  = 0
    8771978 9516  fstat64(190,  <unfinished ...>
    8771979 9536  ioctl(139, SNDRV_PCM_IOCTL_SYNC_PTR <unfinished ...>
    8771980 9516  <... fstat64 resumed> {st_mode=S_IFREG|0644, st_size=2564, ...}) = 0
    8771981 9536  <... ioctl resumed> , 0x8992240)  = 0
    8771982 9516  mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 <unfini        shed ...>
    8771983 9536  read(138,  <unfinished ...>
    8771984 9516  <... mmap2 resumed> )             = -1 ENOMEM (Cannot allocate memory)
    8771985 9536  <... read resumed> "\1\0\0\0\0\0\0\0\266\227\0\0\0\0\0\0\360\tV\26\0\0\0\0\1\0\0        \0\377\377\377\377", 64) = 32
    

    Notice the (Cannot allocate memory) stuff. My system has 16 Gigs of RAM but alas, we're limited to 2 Gigs for 32bit applications. This of course raises some questions: Why don't we get a native 64 bit version? Why did it work before? What broke it? Is the problem really limited to Arch? What is different on Arch?
  • omer666omer666 Caen, France Join Date: 2013-12-14 Member: 190070Members
    Hi. I'm bringing some good news.
    I've been investigating this issue for quite some time and this morning I installed linux-lts kernel from Arch repos with the idea of setting up a linux/linux-lts dual boot. And guess what ? It works out-of-the box with kernel 3.10.24.

    To do so, install linux-lts, nvidia-lts (if needed), and regenerate your GRUB2 config (# 'grub-mkconfig -o /boot/grub/grub.cfg').

    So it seems to be an issue with 3.12+ kernels. The question is, is this a bug in NS2, or a bug in the kernel?...
  • ConfusedConfused Wait. What? Join Date: 2003-01-28 Member: 12904Members, Constellation, NS2 Playtester, Squad Five Blue, Subnautica Playtester
    Could be it, My ubuntu box is running 3.11.14.

    Looks like the 3.12 release notes have a lot of features related to video performance etc so it might be a worthy avenue to check up on.


  • SvenstaroSvenstaro Germany Join Date: 2013-12-13 Member: 190041Members
    Could you test 3.12 real quick for us? That would be a good way to progress on this bug.
  • SvenstaroSvenstaro Germany Join Date: 2013-12-13 Member: 190041Members
    I could reproduce the results stated by omer666. linux-lts works.
  • ConfusedConfused Wait. What? Join Date: 2003-01-28 Member: 12904Members, Constellation, NS2 Playtester, Squad Five Blue, Subnautica Playtester
    I will try it middle of ludum dare right now so probably not gonna be til monday at least
  • SvenstaroSvenstaro Germany Join Date: 2013-12-13 Member: 190041Members
    Could we get a dev on this? This is either a bug in the kernel or the game and should be solved either way.
  • chamcham Join Date: 2013-12-16 Member: 190182Members
    edited December 2013
    I tried with using native runtime as described here but still not working. I can join empty servers but if I join a server with some players on it game crashes.
  • jaenjaen Poland Join Date: 2013-12-08 Member: 189919Members
    I tried the linux-lts kernel and the game started working for me as well. Without it it wouldn't work either with or without steam runtime. So it seems like it's some change on part of the kernel that broke things.
  • FishermanFisherman Scandinavia Join Date: 2013-12-17 Member: 190230Members
    I got the game just the other day (yesterday?) and I haven't been able to play yet.

    I think the real solution is to make a 64 bit version. It seems it was already a problem, what with people not being able to play with high texture quality.

    Even though it says it's using <1 GB or whatever it might be using a lot more of *virtual* memory which is why mmap is failing. Mmap is some cool stuff, if you're interested in programming. http://en.wikipedia.org/wiki/Mmap
  • FishermanFisherman Scandinavia Join Date: 2013-12-17 Member: 190230Members
    I got the game just the other day (yesterday?) and I haven't been able to play yet.

    I think the real solution is to make a 64 bit version. It seems it was already a problem, what with people not being able to play with high texture quality.

    Even though it says it's using <1 GB or whatever it might be using a lot more of *virtual* memory which is why mmap is failing. Mmap is some cool stuff, if you're interested in programming. http://en.wikipedia.org/wiki/Mmap
  • SvenstaroSvenstaro Germany Join Date: 2013-12-13 Member: 190041Members
    @Confused: Could you test this now?
  • ConfusedConfused Wait. What? Join Date: 2003-01-28 Member: 12904Members, Constellation, NS2 Playtester, Squad Five Blue, Subnautica Playtester
    After I updated the kernel on my ubuntu install steam killed itself in spectacular fashion.

    After getting a warning about the state of the shared libraries on reinstall.
    You are missing the following 32 bit libraries, and Steam may not run.
    libcef.so
    liboverride.so
    libsteam.so
    libpangoft2-1.0.so.0
    libpango-1.0.so.0
    libgtk-x11-2.0.so.0
    libXss.so.1

    I now get the predicted crash in libpango.so

    So, it appears to be the steam libraries above are incompatible with the new kernel. Sadly, since these are steam runtime libraries your only real option is to use the options here:

    https://wiki.archlinux.org/index.php/steam#Using_native_runtime

    I haven't bothered to try that since it seems that steam is not the only thing I have installed that exploded spectacularly.




  • jaenjaen Poland Join Date: 2013-12-08 Member: 189919Members
    I'm pretty sure native runtime didn't help, at least for me - I compiled all the required 32 bit libs and still got the OOM errors, just in a different library than pango, so I think it may be a more systemic issue.
    That said I might have missed something and it's still using non-native libraries. Will check that again soon-ish.
  • SvenstaroSvenstaro Germany Join Date: 2013-12-13 Member: 190041Members
    So we essentially need to wait for a major distro to make the move to 3.12 so that it becomes a problem for more users so that suddenly it becomes are necessity to fix this problem? Why not fix it now? It will *eventually* be a problem for everyone, I think.
  • ConfusedConfused Wait. What? Join Date: 2003-01-28 Member: 12904Members, Constellation, NS2 Playtester, Squad Five Blue, Subnautica Playtester
    So, sadly I'm not the dev team. Really, I'm just a guy who does linux bug triage. I agree that it might be an issue going forward. I will put a bug in about it, but it feels like one of those living on edge type of bugs.

    However, It's December 20th. I really hope that the dev team is basically going to spend the next few weeks with family and friends. So at very minimum it ought to be the new year before we see major changes that can effect the issue.

    @jaen, Depending one what OOM issue you are getting, I would try running with medium or lower textures. It generally helps.
Sign In or Register to comment.