.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Common Questions (http://forums.bots-united.com/forumdisplay.php?f=51)
-   -   server crash on bot add (http://forums.bots-united.com/showthread.php?t=7051)

apechimp 02-03-2009 14:46

server crash on bot add
 
When I add a bot either via `pb add' and join the server, my server crashes:

Code:

pb add
Creating bot...
L 03/02/2009 - 08:38:39: [admin.amxx] Login: "apechimp<3><STEAM_0:1:xxxxxx><>" became an admin (account "STEAM_0:1
:xxxxxx") (access "abcdefghijklmnopqrstu") (address "192.168.1.151")
Dropped [P0D]Al_Pacino (98) from server
Reason:  Kicked
./hlds_run: line 342: 14399 Segmentation fault      (core dumped) $HL_CMD
Cannot access memory at address 0xbffc730c
/srv/HLDS/csserver/debug.cmds:4: Error in sourced command file:
Cannot access memory at address 0xbffc730c
email debug.log to linux@valvesoftware.com
Mon Mar  2 08:38:53 EST 2009: Server restart in 10 seconds


This is the linux version of HLDS. I had POD bot working perfectly until I updated CS to the new protocol (48). Any ideas as to what is causing the segfault?

apechimp 02-03-2009 16:39

Re: server crash on bot add
 
I'm sorry...This is NOT a bot issue. The server crashes everytime I restart the round. If anyone has any tips, I'd be glad to hear them.

apechimp 02-03-2009 18:46

Re: server crash on bot add
 
In fact this is now clearly a csdm issue. I apologize for wasting the time of anyone who has viewed this thread

\thread

KWo 03-03-2009 08:44

Re: server crash on bot add
 
It's not CSDM issue. It's Your no-steam version CS issue. Bailopan clearly says about that here. If You were using the previous version of CSDM and if it was working - it's because Your no-steam CS was compatible with that CSDM version (the binaries of no-steam are once a while updated, but they don't follow instantly all VALVE updates). The latest CSDM is compatible with the latest steam update (which no-steam isn't yet).

apechimp 03-03-2009 13:48

Re: server crash on bot add
 
I'm using steam...If you look in the server output, it even shows my steam id...

Anyways, the issue was that I was using CSDM 2.1.1 which was broken by the update to protocol 48. I just needed to update to 2.1.2. I initially thought it was a bot issue becasue the server crashed when a bot was added, but the crash was really caused when the round restarted. Either way, with the new CSDM, everything is working.

KWo 03-03-2009 17:26

Re: server crash on bot add
 
The log You posted is printed by AMX X plugin which doesn't know if You are using Steam or no-steam version of CS. The steam id like "STEAM_0:1:xxxxxx" isn't any normal value anyway. But if You got everything working, that's good.

apechimp 03-03-2009 19:45

Re: server crash on bot add
 
I changed it to the xxxx so no one would now my steam id :P Also, I'd like to say thanks for developing POD Bot and keeping such an active roll in the CS 1.6 mod community

splatt 11-05-2010 12:01

Re: server crash on bot add
 
I have this problem too.
I believe podbot and CSDM is not compatible.

I installed clean steam counter-strike 1.6 server on CentOS (used hldsupdatetool), installed last metamod (v1.19) and amxmodx (1.8.1), last csdm (2.1.2).

My metamod plugins.ini:

Code:

linux addons/amxmodx/dlls/amxmodx_mm_i386.so
linux addons/podbot/podbot_mm_i386.so



And every time bot trying to join, segmentation fault happens:
Code:


./hlds_run: line 321:  402 Segmentation fault                  (core dumped) $HL_CMD
Cannot access memory at address 0xbfb6aa30
/hlds/debug.cmds:4: Error in sourced command file:
Cannot access memory at address 0xbfb6aa30



I don't know is this a podbot bug or csdm, but a lots of ppl has it.


KWo 11-05-2010 13:46

Re: server crash on bot add
 
Please show the output of command:
meta list
amxx plugins

Are You able to use gdb to give me the debug information of the crash?

KWo 11-05-2010 20:33

Re: server crash on bot add
 
Quote:

Originally Posted by splatt (Post 61607)

I don't know is this a podbot bug or csdm, but a lots of ppl has it.

You mean a lot of people are experiencing the same crash with podbot mm + CSDM? Please direct them to me here. I need somebody who can give me debug info from gdb.
http://www.mediafire.com/download.php?mljmjmdnm4z
This is the debugged version of podbot mm.
If You have installed gdb on Your linux PC, go to the console.
Go to the HLDS folder by cd folder_name commands.
Use this command then:
LD_LIBRARY_PATH=. gdb hlds_i686
If You are in the right folder and gdb is correctly installed You should see the answer from the console like:
GNU gdb (...).
Copyright (...)

Then - You should see You are in gdb shell:
(gdb)

If so - then write those 2 lines:
(gdb) set args -game cstrike +maxplayers 32 +map de_dust
(gdb) run

The game should start. Just after it will crashe, use this command in gdb shell:
(gdb) bt

That should point the exact code line from the code where it is really crashing. To be honnest - I'm using CSDM 2.1.2 with podbot mm on my test linux Mandriva 2009.1 and the only problem I can see it sometimes crashes at the game start (before podbot mm is even loaded). But when everything finally is loaded (after second or third try), the server is working without crashing anymore).
If You cannot do it Your-self on Your server, please find somebody who can use or install gdb on his server and he can give me the full info about the crash.


All times are GMT +2. The time now is 18:48.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.