Mumble Overlay on Linux
NegatedVoid
Join Date: 2010-07-27 Member: 73202Members, Reinforced - Shadow
Hello!
I'm trying to get the mumble overlay working on a 64bit linux system.
I've built the prerequisite 32bit copy of libmumble.so.1 and I've verified that it works with a 32bit copy of glxgears.
However, it just crashes:
Loading it up in GDB produces a ls.so error that I don't know how to debug, then stops at a breakpoint:
Continuing from the breakpoint manually, the game then segfaults in a localtime() call from libawesomium:
If I run the game under gdb without the mumble overlay, it still gets the breakpoint, but then proceeds to work. (At least, through the menu and loading screen. I don't consider it wise to join a game with a debugger running).
Is anyone able to give advice on debugging this further? I'm comfortable modifying the way that the Mumble Overlay functions if it is at fault.
I'm trying to get the mumble overlay working on a 64bit linux system.
I've built the prerequisite 32bit copy of libmumble.so.1 and I've verified that it works with a 32bit copy of glxgears.
However, it just crashes:
$ LD_PRELOAD="/usr/lib32/mumble/libmumble.so.1" ./ns2_linux32
GetInstanceCount currently unimplemented
Segmentation fault
Loading it up in GDB produces a ls.so error that I don't know how to debug, then stops at a breakpoint:
(gdb) set environment LD_PRELOAD=/usr/lib32/mumble/libmumble.so.1
(gdb) start
Temporary breakpoint 1 at 0x806a150: file ../Source/ShooterExe/Main.cpp, line 40.
Starting program: /home/murph/.local/share/Steam/SteamApps/common/Natural Selection 2/ns2_linux32
ERROR: ld.so: object '/usr/lib32/mumble/libmumble.so.1' from LD_PRELOAD cannot be preloaded: ignored.
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Temporary breakpoint 1, main (argc=-13395, argv=0x0) at ../Source/ShooterExe/Main.cpp:40
40 ../Source/ShooterExe/Main.cpp: No such file or directory.
(gdb)
Continuing from the breakpoint manually, the game then segfaults in a localtime() call from libawesomium:
(gdb) c
Continuing.
GetInstanceCount currently unimplemented
Program received signal SIGSEGV, Segmentation fault.
0xf495d41d in localtime () from /home/murph/.local/share/Steam/SteamApps/common/Natural Selection 2/libawesomium-1-7.so.0
If I run the game under gdb without the mumble overlay, it still gets the breakpoint, but then proceeds to work. (At least, through the menu and loading screen. I don't consider it wise to join a game with a debugger running).
Is anyone able to give advice on debugging this further? I'm comfortable modifying the way that the Mumble Overlay functions if it is at fault.
Comments
If that's true, than my question becomes ... does anyone know the details of this incompatibility?
I do not recommend overlays of any kind while running NS2.
Steam overlay is different in many ways, however.