Re: progress
Quote:
|
Re: progress
As I said, backtrace is not an error list. It just shows the last call-stack up to the crash.
|
Re: progress
Quote:
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. |
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? |
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* |
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 |
Re: progress
Quote:
Also, what version of Sandbot are you using? |
Re: progress
Newest one.
I don't have directory what u give me. I run server from user "nubzior" not root. |
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 |
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 |
Re: progress
Thanks - thought the .wp* timestamp check could be a problem but that's not it.
So, with https://github.com/tschumann/sandbot...473cb1f5bd84d9 I got the following. Half-Life works. Half-Life with MetaMod works. Opposing Force works. Opposing Force with waypoints crashes. Opposing Force with MetaMod crashes. So I think the undefined symbol issue is fixed now (not sure why...). Also, Opposing Force with waypoints works if .wp1, .wp2, .wp3 and .wp4 waypoint files are present (I noticed that running a non-waypointed map followed by a waypointed map generated these extra files), so it looks like some variable may be initialised with bad data to make Opposing Force CTF think there are four teams. |
Re: progress
Still the same on 0.4.1.1-hotfix.
|
Re: progress
Quote:
If you did compile it yourself what version of gcc are you using? |
Re: progress
Sorry for delay, been too busy on my essays. Do you need me to run Sandbot on Linux listenserver, is that what you are saying?
|
Re: progress
Quote:
gcc (Debian 6.3.0-18) 6.3.0 20170516 |
Re: progress
Quote:
Quote:
Also, does Sandbot for Half-Life work even though Day of Defeat doesn't? |
Re: progress
No problem.
|
Re: progress
Quote:
Let me know how that goes - if that doesn't work I might try playing around with some compiler options. |
Re: progress
Still the same i think is something with Makefile binaries
|
Re: progress
Quote:
What version of libc and libstdc++ do you have installed? |
Re: progress
Could you also post the output of ldd sandbot.so?
I've got v2.24 of libc6 and v6.3.0 of libstdc++6 installed. |
Re: progress
I tried only your binary, didn't compiled by myself.
output of dpkg-query -l libstdc++6 Code:
ii libstdc++6:amd64 6.3.0-18 amd64 GNU Standard C++ Library v3 Code:
ii libc6:amd64 2.24-11+deb9u1 amd64 GNU C Library: Shared libraries Code:
ldd sandbot.so |
Re: progress
Okay so it looks like libstdc++6 isn't in the dependency list for you but it is for me (neither is libm, but libstdc++6 explains the missing operator delete).
My libstdc++ is at /usr/lib/i386-linux-gnu/libstdc++.so.6 - where is yours? Also, I thought ldd showed all dependencies even if they couldn't be located. |
Re: progress
My is at the same place
|
Re: progress
Alright I've recompiled with g++ and have explicitly linked with libstc++: https://github.com/tschumann/sandbot...f5f6e71ba3c087
Let me know if those binaries work. If not please let me know what ldd returns, and try recompiling yourself and let me know what ldd returns (and if your compiled binaries work). |
Re: progress
Also, I've fixed the waypoints not loading issue (stupid struct size and padding differences between Visual Studio and gcc).
I also tested MetaMod for Opposing Force on Linux and at least on my VM it has a tendency to hang on start but it does load (not sure if that was only a problem for but it's not a problem now anyway). Re the undefined symbol - doesn't seem like a problem with the code but hopefully it can be resolved soon. |
Re: progress
And on the master branch I've got single player support working now.
Still a bit of work to get the auto-kicking etc working though. |
Re: progress
Are you able to release the latest compiled G++ version of Sandbot for us to try?
|
Re: progress
@RoboCop
tschumann have compiled binaries by g++ in github branch 0.4.1.1-hotfix A tryied compile it by g++ some times ago but have error. Code:
Auto-restarting the server on crash |
Re: progress
I've just tried the latest fix for Sandbot on Op4 server and that CXXABI 1.3.9 error occurs on my side too.
|
Re: progress
Alright, so looks like a discrepancy between the version of libstdc++ I compiled with and the versions on your systems: https://stackoverflow.com/a/35394410/5158636, https://github.com/FoldingAtHome/fah-issues/issues/1147
Can you both ldd sandbot.so then ls -ali the path to libstdc++.so.6 - for me the symlink points to libstdc++.so.6.0.22 which I guess is pretty recent @RoboCop if you're on Ubuntu 14 you might need to compile yourself or possibly update libstdc++ to a newer version if possible. @Nubzior you seem to be on a pretty recent version of Debian so might only be off by a minor version. Do the above anyway and we'll see what's what. |
Re: progress
Quote:
|
Re: progress
I don't think that using clang would fix this - I think it's the version of libstdc++ I have installed. What's the name of the file that gets symlinked on your KUbuntu 14?
|
Re: progress
Well I'm quite sure how to find my symlink for libstdc++, I did try this but don't seem to work and that file does exist in my Ubuntu 14.04:-
Code:
$ ls -l usr/lib32/libstdc++.so.6 Also I cannot seem to recompile your latest beta build on both my Ubuntu 14.04 and my Linux Mint 18.2 Cinnamon Laptop:- Code:
waypoint.cpp: In function 'bool WaypointLoad(edict_t*)': |
Re: progress
Can you ldd sandbot.so and then ls -ali the path it gives to libstdc++.so.6?
Looks like static_assert is a newer feature of C++ (see https://stackoverflow.com/questions/...ic-assert-in-c) - you should just be able to comment out those lines and compile. |
Re: progress
Well you be pleased to know from when I commented out those 'static_assert' lines and recompiled sandbot in my Linux Mint it appears to be working now, BUT only in standalone "liblist.gam" mode. I did try sandbot loaded only from Metamod but they don't seem to be selecting which team they can randomly pick.
And here is the ldd and ls -ali results of this recompiled sandbot.so:- https://www.dropbox.com/s/ec4cnf1gkv1ci32/ldd.jpg?dl=0 |
Re: progress
Great, so it's not a bug with Sandbot as such!
With MetaMod you were trying Opposing Force CTF? What was the problem exactly? I know that the bots currently don't join teams to create even teams. What version of gcc do you have installed locally? I have v6.3.0 but libstdc++.so.6.0.24 suggests you have gcc v7.x.x installed. |
Re: progress
Quote:
Code:
Using built-in specs. |
Re: progress
Hm, so it's an older version of gcc but it looks like you have a pretty new version of libstdc++ installed - mine in 6.3.0-12 but yours is 6.3.0-18. Are you using a non-Ubuntu repo/mirror?
Reading https://gcc.gnu.org/onlinedocs/libst...anual/abi.html it looks like using new libraries while linking with old libraries should work, but doesn't as we can see. |
Re: progress
I've installed it from Ubuntu Software Centre. I didn't use PPA or using any repos from launchpad for libstdc++ nor GCC for Lubuntu 14.04.
|
All times are GMT +2. The time now is 10:07. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.