ok
I try to use LAN server and get same error
I have lead experiment
in modules.ini set sqlite before mysql (so it load first and set as default)
after this in my script I add this code
server_print("[Access Manager] try SetAffinity to sqlite");
SQL_SetAffinity("sqlite");
server_print("[Access Manager] try SetAffinity to mysql");
SQL_SetAffinity("mysql");
server_print("[Access Manager] try SetAffinity to sqlite again");
SQL_SetAffinity("sqlite");
and run server from gdb
homeland halflife # gdb hlds_i686
GNU gdb 6.7
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run -game cstrike -heapsize 131072 -insecure -noipx -nojoy -nomaster -pingboost 2 +map de_dust +maxplayers 20 +port 27015 +sv_lan 1 +servercfgfile server_3.cfg
Starting program: /opt/halflife/hlds_i686 -game cstrike -heapsize 131072 -insecure -noipx -nojoy -nomaster -pingboost 2 +map de_dust +maxplayers 20 +port 27015 +sv_lan 1 +servercfgfile server_3.cfg
warning: Lowest section in system-supplied DSO at 0xffffe000 is .hash at ffffe0b4
Console initialized.
scandir failed:/opt/halflife/./valve/SAVE
scandir failed:/opt/halflife/./platform/SAVE
Protocol version 47
Exe version 1.1.2.5/Stdio (cstrike)
Exe build: 20:02:49 Oct 24 2006 (3651)
STEAM Auth Server
couldn't exec language.cfg
Server IP address 127.0.0.1:27015
Metamod version 1.19p32 Copyright (c) 2001-2006 Will Day
Patch: Metamod-P (mm-p) v32 Copyright (c) 2004-2007 Jussi Kivilinna
Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `meta gpl' for details.
AMX Mod X version 1.76d Copyright (c) 2004-2006 AMX Mod X Development Team
AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'.
This is free software and you are welcome to redistribute it under
certain conditions; type 'amxx gpl' for details.
scandir failed:/opt/halflife/./valve/SAVE
scandir failed:/opt/halflife/./platform/SAVE
L 10/25/2007 - 10:29:16: -------- Mapchange to de_dust --------
Admin Spectator ESP v1.3, Copyright (C) 2006 by KoST
[Access Manager] try SetAffinity to sqlite
[Access Manager] try SetAffinity to mysql
[Access Manager] try SetAffinity to sqlite again
Program received signal SIGSEGV, Segmentation fault.
0x00000001 in ?? ()
(gdb) bt
#0 0x00000001 in ?? ()
#1 0xf4eea4f5 in ?? () from cstrike/addons/amxmodx/modules/mysql_amxx_i386.so
#2 0xf50e8740 in ?? () from cstrike/addons/amxmodx/modules/sqlite_amxx_i386.so
#3 0xf51659c0 in ?? () from /opt/halflife/addons/amxmodx/dlls/amxmodx_mm_i386.so
#4 0x00000000 in ?? ()
(gdb)
so if can see server die after swith from mysql to sqlite driver
I think it is a bug
Any ideas ?
__________________