Bug #751

Updated by Spyhawk almost 5 years ago

I've been unable to run a listen server with etpub/nq with latest etl (jaymod/silent are fine).

It seems the game crash at soon as the listen server is started.

Backtrace when launching etpub:

<pre>
$ gdb --args ./etl +set fs_game etpub
GNU gdb (GDB) 7.8.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later &lt;http://gnu.org/licenses/gpl.html&gt;
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type &quot;show copying&quot;
and &quot;show warranty&quot; for details.
This GDB was configured as &quot;x86_64-unknown-linux-gnu&quot;.
Type &quot;show configuration&quot; for configuration details.
For bug reporting instructions, please see:
&lt;http://www.gnu.org/software/gdb/bugs/&gt;.
Find the GDB manual and other documentation resources online at:
&lt;http://www.gnu.org/software/gdb/documentation/&gt;.
For help, type &quot;help&quot;.
Type &quot;apropos word&quot; to search for commands related to &quot;word&quot;...
Reading symbols from ./etl...done.
(gdb) run
Starting program: /home/remy/dev/etlegacy-build/etl +set fs_game etpub
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need &quot;set solib-search-path&quot; or &quot;set sysroot&quot;?
[Thread debugging using libthread_db enabled]
Using host libthread_db library &quot;/usr/lib/libthread_db.so.1&quot;.
ET Legacy v2.71a-72-gd1f6480 linux-i386 Jan 1 2015 DEBUG
Zone megs: 64
----- FS_Startup -----
Current search path:
/home/remy/.etlegacy/etpub
/home/remy/.etlegacy/etpub/etpubc-20100628.pk3 (163 files)
./etpub
/home/remy/.etlegacy/etmain
/home/remy/.etlegacy/etmain/venice.pk3 (330 files)
/home/remy/.etlegacy/etmain/te_valhalla.pk3 (56 files)
/home/remy/.etlegacy/etmain/tc_base.pk3 (63 files)
/home/remy/.etlegacy/etmain/sw_goldrush_te.pk3 (48 files)
/home/remy/.etlegacy/etmain/supplydepot2.pk3 (46 files)
/home/remy/.etlegacy/etmain/supply.pk3 (44 files)
/home/remy/.etlegacy/etmain/sp_delivery_te.pk3 (51 files)
/home/remy/.etlegacy/etmain/northpole.pk3 (112 files)
/home/remy/.etlegacy/etmain/mp_base.pk3 (327 files)
/home/remy/.etlegacy/etmain/Frostbite.pk3 (99 files)
/home/remy/.etlegacy/etmain/baserace_desert.pk3 (154 files)
/home/remy/.etlegacy/etmain/adlernest.pk3 (113 files)
./etmain
./etmain/pak2.pk3 (22 files)
./etmain/pak1.pk3 (10 files)
./etmain/pak0.pk3 (3725 files)

----------------------
5363 files in pk3 files
execing default.cfg
execing profiles/Spyhawk/etconfig.cfg
couldn&#x27;t exec autoexec.cfg
Hunk_Clear: reset the hunk ok
Not logging server attacks to disk.
Tracker: Server communication disabled by sv_advert.
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
ETKEY found.
Available client translations:
Available mod translations:
Language set to English
----- Client Initialization Complete -----
----- R_Init -----
SDL using driver &quot;x11&quot;
Initializing OpenGL display
Estimated display aspect: 1.779
...setting mode 4: 800x600
Using 24 color bits, 24 depth, 0 stencil display.
Available modes [4]: &#x27;1366x768 640x480 800x600 1024x768&#x27;
Using GLEW 1.11.0
GL_RENDERER: Mesa DRI Intel(R) Sandybridge Mobile x86/MMX/SSE2
Initializing OpenGL extensions
...found OpenGL extension - GL_EXT_texture_compression_s3tc
...found OpenGL extension - GL_EXT_texture_env_add
...found OpenGL extension - GL_ARB_multitexture
Initializing joystick devices
...joysticks initialized
...available joysticks: 0
...no active joystick set

GL_VENDOR: Intel Open Source Technology Center
GL_VERSION: 3.0 Mesa 10.4.1

GL_MAX_TEXTURE_SIZE: 8192
GL_MAX_ACTIVE_TEXTURES_ARB: 8
PIXELFORMAT: color(24-bits) Z(24-bit) stencil(0-bits)
MODE: 4, SCREEN: 800 x 600 windowed (ratio 1.3333) Hz:N/A
GAMMA: hardware w/ 0 overbright bits
rendering primitives: single glDrawElements
texturemode: GL_LINEAR_MIPMAP_LINEAR
picmip: 0
texture bits: 32
multitexture: enabled
compiled vertex arrays: enabled
texenv add: enabled
compressed textures: enabled
Renderer: vanilla+
Initializing Shaders
----- finished R_Init -----
------ Initializing Sound (1)------
SDL_Init( SDL_INIT_AUDIO )... [New Thread 0xe3607b40 (LWP 582)]
[Thread 0xe3607b40 (LWP 582) exited]
OK
SDL audio driver is &quot;pulseaudio&quot;.
[New Thread 0xe3607b40 (LWP 583)]
SDL_AudioSpec:
Format: AUDIO_S16LSB
Freq: 44100
Samples: 512
Channels: 2
Silence: 0
Size: 2048
Starting SDL audio callback...
SDL audio initialized.
----- Sound Info -----
sound system is muted
1 stereo
16384 samples
16 samplebits
1 submission_chunk
44100 speed
0xb0ec538 dma buffer
No background file.
----------------------
Sound initialization successfully done.
s_backend set to base
--------------------------------
Sound memory manager started
Sys_LoadGameDll -&gt; FS_CL_ExtractFromPakFile(/home/remy/.etlegacy, etpub, ui.mp.i386.so)
Sys_LoadDll(./etpub/ui.mp.i386.so)... failed: &quot;Failed loading ./etpub/ui.mp.i386.so: ./etpub/ui.mp.i386.so: cannot open shared object file: No such file or directory&quot;
Sys_LoadDll(/home/remy/.etlegacy/etpub/ui.mp.i386.so)... succeeded
Sys_LoadDll(ui) found vmMain function at 0xd88935c0
R_LoadScalableFont: Unable to find any supported font files by the name of ariblk
R_LoadScalableFont: Unable to find any supported font files by the name of ariblk
R_LoadScalableFont: Unable to find any supported font files by the name of courbd
R_LoadScalableFont: Unable to find any supported font files by the name of courbd
Total favourite servers restored: 0
--- Common Initialization Complete ---
IP: 127.0.0.1
Opening IP socket: 0.0.0.0:27960
Network initialized.
MOTD: resolving motd.etlegacy.com... couldn&#x27;t resolve address
Updater: resolving update.etlegacy.com... couldn&#x27;t resolve address
------ Server Initialization ------
Server: goldrush
RE_Shutdown( 0 )
Hunk_Clear: reset the hunk ok
----- FS_Startup -----
Current search path:
/home/remy/.etlegacy/etpub
/home/remy/.etlegacy/etpub/etpubc-20100628.pk3 (163 files)
./etpub
/home/remy/.etlegacy/etmain
/home/remy/.etlegacy/etmain/venice.pk3 (330 files)
/home/remy/.etlegacy/etmain/te_valhalla.pk3 (56 files)
/home/remy/.etlegacy/etmain/tc_base.pk3 (63 files)
/home/remy/.etlegacy/etmain/sw_goldrush_te.pk3 (48 files)
/home/remy/.etlegacy/etmain/supplydepot2.pk3 (46 files)
/home/remy/.etlegacy/etmain/supply.pk3 (44 files)
/home/remy/.etlegacy/etmain/sp_delivery_te.pk3 (51 files)
/home/remy/.etlegacy/etmain/northpole.pk3 (112 files)
/home/remy/.etlegacy/etmain/mp_base.pk3 (327 files)
/home/remy/.etlegacy/etmain/Frostbite.pk3 (99 files)
/home/remy/.etlegacy/etmain/baserace_desert.pk3 (154 files)
/home/remy/.etlegacy/etmain/adlernest.pk3 (113 files)
./etmain
./etmain/pak2.pk3 (22 files)
./etmain/pak1.pk3 (10 files)
./etmain/pak0.pk3 (3725 files)

----------------------
5363 files in pk3 files
Sys_LoadDll(./etpub/qagame.mp.i386.so)... failed: &quot;Failed loading ./etpub/qagame.mp.i386.so: ./etpub/qagame.mp.i386.so: cannot open shared object file: No such file or directory&quot;
Sys_LoadDll(/home/remy/.etlegacy/etpub/qagame.mp.i386.so)... succeeded
Sys_LoadDll(qagame) found vmMain function at 0xd4e32650
------- Game Initialization -------
gamename: etpub
gamedate: Jun 28 2010
412 cvars in use.
tty]
Program received signal SIGSEGV, Segmentation fault.
0x080abae4 in Cvar_Register (vmCvar=0xf6f41b80 <g_log>, varName=0xd4ec9056 "g_log", defaultValue=0xd4ec8ccb "", flags=1)
at /home/remy/dev/etlegacy/src/qcommon/cvar.c:1511
1511 vmCvar->handle = cv - cvar_indexes;
(gdb) backtrace
#0 0x080abae4 in Cvar_Register (vmCvar=0xf6f41b80 <g_log>, varName=0xd4ec9056 "g_log", defaultValue=0xd4ec8ccb "", flags=1)
at /home/remy/dev/etlegacy/src/qcommon/cvar.c:1511
#1 0x080c3ad3 in SV_GameSystemCalls (args=0xffffb454) at /home/remy/dev/etlegacy/src/server/sv_game.c:409
#2 0x08092d06 in VM_DllSyscall (arg=3) at /home/remy/dev/etlegacy/src/qcommon/vm.c:317
#3 0xd4e6b9b1 in trap_Cvar_Register () from /home/remy/.etlegacy/etpub/qagame.mp.i386.so
#4 0x00000003 in ?? ()
#5 0xf6f41b80 in ?? () from /usr/lib32/libglib-2.0.so.0
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) quit
</pre>

Back