.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Sandbot (http://forums.bots-united.com/forumdisplay.php?f=85)
-   -   progress (http://forums.bots-united.com/showthread.php?t=10041)

RoboCop 05-11-2017 01:16

Re: progress
 
Quote:

Originally Posted by The Storm (Post 66910)
@RoboCop The list is are watching is just a backtrace, not a "huge list of errors". There is no really a reason to split the builds for Metamod and Non-Metamod. The code is isolated in checks and calls Metamod functions when loaded as plugin and the normal game/engine functions when is working standalone.

Well actually they are huge cos those backtrace errors seem to had multipled by that existing error and flooded my terminal over 35 lines...:surrender:

The Storm 05-11-2017 13:02

Re: progress
 
As I said, backtrace is not an error list. It just shows the last call-stack up to the crash.

tschumann 07-11-2017 12:52

Re: progress
 
Quote:

Originally Posted by RoboCop (Post 66912)
Well yes thanks to a bit of hint from Arkshine, he told me to test and engage GDB Debug mode is simply using this in the Terminal "$ LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH" gdb ./hlds_linux"

Then type this in Terminal but don't use "./hlds_run", use "run -game gearbox -ip xx.xx.xx.xx +port 27015 +map op4_bootcamp +exec server.cfg -debug"

You can backtrace or get a full error crash log by typing "bt" as well rerunning the server using "run" (Nothing further as GDB stored the Startup Variables once after GDB is exited by typing "quit")

And "How about v0.4?" you say? Well I just did the tests and they don't seem to instantly crash as much as v0.4.1 did...

Okay, so v0.4 Half-Life is okay and v0.4 Opposing Force crashes in the waypoint code, and v0.4.1 Half-Life crashes only with MetaMod and v0.4.1 Opposing Force crashes due to undefined symbol. Lots going on.

I've got part of the way to debugging minidumps on Linux - I'll probably continue down this path (I do other Half-Life modding so I'll need to figure it out sooner or later). I might crank up the gcc warnings and see what I get.

tschumann 10-11-2017 13:30

Re: progress
 
Alright, playing some more, v0.4.1 works for me in Half-Life and Opposing Force, except for on op4ctf_hairball. Opposing Force doesn't work at all with MetaMod though.
I managed to get the minidump loaded into gdb but there are no symbols, though the backtrace for Opposing Force says WaypointDistanceFromTo and the backtrace for Opposing Force MetaMod says WaypointRouteInit.

Maybe the undefined symbol stuff I saw wasn't actually causing any crash but was more of a warning?

tschumann 21-11-2017 12:25

Re: progress
 
Robocop could you post the output of the following in bash:
ls -ali --time-style=full-iso ~/.local/share/steam/Steam/steamapps/common/Half-Life/gearbox/maps/*.wp*

Nubzior 21-11-2017 20:35

Re: progress
 
After half day trying to run it firstly with Metamod, now i try without it and i got problem. Here is log from console. I tryed your precompiled binary and after all i compiled it on local machine. My OS: Debian 9.1 x64
Server is for Day of Defeat 1.3

Code:

Auto-restarting the server on crash
Could not locate steam binary:steamcmd/steamcmd.sh, ignoring.

Console initialized.
Protocol version 48
Exe version 1.1.2.6/Stdio (dod)
Exe build: 14:13:30 Jul  5 2017 (7559)
STEAM Auth Server
Server IP address 213.251.186.93:27015
LoadLibrary failed on /home/nubzior/dod2017/dod/./dod/dlls/sandbot.so: /home/nubzior/dod2017/dod/./dod/dlls/sandbot.so: undefined symbol: _ZdlPvj
Host_Error: Couldn't get DLL API from /home/nubzior/dod2017/dod/./dod/dlls/sandbot.so!
FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from /home/nubzior/dod2017/dod/./dod/dlls/sandbot.so!


tschumann 23-11-2017 13:28

Re: progress
 
Quote:

Originally Posted by Nubzior (Post 66920)
After half day trying to run it firstly with Metamod, now i try without it and i got problem. Here is log from console. I tryed your precompiled binary and after all i compiled it on local machine. My OS: Debian 9.1 x64
Server is for Day of Defeat 1.3

Code:

Auto-restarting the server on crash
Could not locate steam binary:steamcmd/steamcmd.sh, ignoring.

Console initialized.
Protocol version 48
Exe version 1.1.2.6/Stdio (dod)
Exe build: 14:13:30 Jul  5 2017 (7559)
STEAM Auth Server
Server IP address 213.251.186.93:27015
LoadLibrary failed on /home/nubzior/dod2017/dod/./dod/dlls/sandbot.so: /home/nubzior/dod2017/dod/./dod/dlls/sandbot.so: undefined symbol: _ZdlPvj
Host_Error: Couldn't get DLL API from /home/nubzior/dod2017/dod/./dod/dlls/sandbot.so!
FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API from /home/nubzior/dod2017/dod/./dod/dlls/sandbot.so!


Could you post what you get when you run ls -ali --time-style=full-iso ~/.local/share/steam/Steam/steamapps/common/Half-Life/gearbox/maps/*.wp*
Also, what version of Sandbot are you using?

Nubzior 23-11-2017 19:33

Re: progress
 
Newest one.
I don't have directory what u give me. I run server from user "nubzior" not root.

tschumann 24-11-2017 13:08

Re: progress
 
Could you run ls -ali --time-style=full-iso /home/nubzior/dod2017/dod/./dod/maps/*.wp*

So looks like this is where the crash is:
Code:

                          // check if this is NOT team specific OR matches this team
                          if (!(waypoints[index].flags & W_FL_TEAM_SPECIFIC) ||
                              ((waypoints[index].flags & W_FL_TEAM) == matrix))
                          {

I'll need to take a closer look at the waypoint code to see what it's actually doing, but I guess waypoints[index] is out of bounds.

Nubzior 24-11-2017 19:32

Re: progress
 
Code:

95552360 -rwxrwxrwx 1 nubzior nubzior 13924 2017-04-22 13:49:46.000000000 +0200 /home/nubzior/dod2017/dod/./dod/maps/dod_avalanche.wp1
95552361 -rwxrwxrwx 1 nubzior nubzior  2212 2017-04-22 13:49:46.000000000 +0200 /home/nubzior/dod2017/dod/./dod/maps/dod_avalanche.wpt



All times are GMT +2. The time now is 22:07.

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