![]() |
![]() |
RoboCop |
![]()
Post
#1
|
![]() RCBot Fan ![]() ![]() ![]() ![]() Group: Admin Posts: 192 Joined: 17-December 15 From: Dundee, Scotland Member No.: 2,435 ![]() |
Well just to avoid confusion I've compiled two versions of RCBot1: first is the main version that supports DMC, HLDM, TFC, RC etc, while the second version is only supported for Sven Co-op v5.
As some of you know already that the src code I've salvaged that was built for Sven 4.5 many years ago, and I've managed to add the important new SC 5 weapon entities and all of that - despite that they cannot shoot nor attack. I've been making about a dozen waypoints for DMC and I've noticed some crashes linked to the Segmentation Fault from 'WaypointFindPath(path**, int*, int, int)'. This crash also appears to occur for the RCBot Sven side as well. I don't know if my waypoints needs compatibility fixes as well for this latest version of the RCBot build, but here is the crash GDB backtraces I've got:- DMC RCBot Crash:- CODE Program received signal SIGSEGV, Segmentation fault. 0xf38fbf90 in WaypointFindPath(path**, int*, int, int) () from /home/desktop/steamcmd/hlds/rcbot/dlls/rcbot_mm.so (gdb) bt #0 0xf38fbf90 in WaypointFindPath(path**, int*, int, int) () from /home/desktop/steamcmd/hlds/rcbot/dlls/rcbot_mm.so #1 0xf38d26fb in BotNavigate_UpdateWaypoint(CBot*) () from /home/desktop/steamcmd/hlds/rcbot/dlls/rcbot_mm.so #2 0xf3892386 in CBot::Think() () from /home/desktop/steamcmd/hlds/rcbot/dlls/rcbot_mm.so #3 0xf38e98b3 in CBotGlobals::StartFrame() () from /home/desktop/steamcmd/hlds/rcbot/dlls/rcbot_mm.so #4 0xf38dec2f in StartFrame() () from /home/desktop/steamcmd/hlds/rcbot/dlls/rcbot_mm.so #5 0xf3d83285 in api_caller_void_args_void(void const*, void const*) () from /home/desktop/steamcmd/hlds/./dmc/addons/metamod/metamod.so #6 0xf3d8278f in main_hook_function_void(unsigned int, enum_api_t, unsigned int, void const*) () from /home/desktop/steamcmd/hlds/./dmc/addons/metamod/metamod.so #7 0xf3d85dae in mm_StartFrame() () from /home/desktop/steamcmd/hlds/./dmc/addons/metamod/metamod.so #8 0xf77f9c88 in SV_Physics () at ../engine/sv_phys.c:1985 #9 0xf77f1b86 in SV_Frame () at ../engine/sv_main.c:9236 #10 0xf77b9ec2 in _Host_Frame (time=0.00706900191) at ../engine/host.c:1404 #11 0xf77ba282 in Host_Frame (time=0.00706900191, iState=1, stateInfo=0xffffcd6c) at ../engine/host.c:1522 #12 0xf77de93c in CEngine::Frame (this=0xf78756a0 <g_Engine>) ---Type <return> to continue, or q <return> to quit--- at ../engine/sys_engine.cpp:245 #13 0xf77dbca3 in RunFrame (this=<optimized out>) at ../engine/sys_dll2.cpp:1235 #14 CDedicatedServerAPI::RunFrame ( this=0xf7870d00 <__g_CDedicatedServerAPI_singleton>) at ../engine/sys_dll2.cpp:1226 #15 0x08049c65 in RunServer () at ../dedicated/sys_ded.cpp:766 #16 0x08049472 in main (argc=24, argv=0xffffcfa4) at ../dedicated/sys_ded.cpp:1146 (gdb) Sven Co-op RCBot Crash:- CODE Program received signal SIGSEGV, Segmentation fault. 0xe2fc2920 in WaypointFindPath(path**, int*, int, int) () from /home/desktop/steamcmd/sven/rcbot/dlls/rcbot_mm.so (gdb) bt #0 0xe2fc2920 in WaypointFindPath(path**, int*, int, int) () from /home/desktop/steamcmd/sven/rcbot/dlls/rcbot_mm.so #1 0xe2f9939b in BotNavigate_UpdateWaypoint(CBot*) () from /home/desktop/steamcmd/sven/rcbot/dlls/rcbot_mm.so #2 0xe2f591e6 in CBot::Think() () from /home/desktop/steamcmd/sven/rcbot/dlls/rcbot_mm.so #3 0xe2fb0243 in CBotGlobals::StartFrame() () from /home/desktop/steamcmd/sven/rcbot/dlls/rcbot_mm.so #4 0xe2fa56ef in StartFrame() () from /home/desktop/steamcmd/sven/rcbot/dlls/rcbot_mm.so #5 0xe3fadc18 in main_hook_function_void(unsigned int, enum_api_t, unsigned int, void const*) () from /home/desktop/steamcmd/sven/./svencoop/addons/metamod/metamod.so #6 0xe3fadfe2 in mm_StartFrame() [clone .lto_priv.63] () from /home/desktop/steamcmd/sven/./svencoop/addons/metamod/metamod.so #7 0xf6936cd8 in SV_Physics () from /home/desktop/steamcmd/sven/engine_i686.so #8 0xf692e746 in SV_Frame () from /home/desktop/steamcmd/sven/engine_i686.so #9 0xf68fa783 in _Host_Frame () from /home/desktop/steamcmd/sven/engine_i686.so #10 0xf68fa9b8 in Host_Frame () from /home/desktop/steamcmd/sven/engine_i686.so #11 0xf691b524 in CEngine::Frame() () from /home/desktop/steamcmd/sven/engine_i686.so #12 0xf691a0b5 in CDedicatedServerAPI::RunFrame() () from /home/desktop/steamcmd/sven/engine_i686.so #13 0x08049b92 in RunServer() () #14 0x0804936c in main () (gdb) |
![]() ![]() |
madmax2 |
![]()
Post
#2
|
RCBot Guru ![]() ![]() ![]() ![]() ![]() Group: Waypointers Posts: 957 Joined: 2-March 12 From: USA, WA state Member No.: 2,162 ![]() |
I haven't been able to get anything like debug.log, just a log in the svencoop/logs folder. There are meta events in it, but nothing beyond routine stuff. Here is the end, on the very last line is where I entered rcbot addbot in the console:
CODE L 07/03/2018 - 14:39:58: [META] (debug:8) Looking up usermsg name 'DeathMsg' for plugin 'RCBot For Half-Life' L 07/03/2018 - 14:39:58: [META] (debug:8) Looking up usermsg name 'SayText' for plugin 'RCBot For Half-Life' L 07/03/2018 - 14:39:58: [META] (debug:8) Looking up usermsg name 'TeamScore' for plugin 'RCBot For Half-Life' L 07/03/2018 - 14:39:59: [META] (debug:3) Calling rcbot_mm.dll:ServerActivate() L 07/03/2018 - 14:39:59: [META] (debug:3) Calling server.dll:ServerActivate() L 07/03/2018 - 14:40:00: Started map "hplanet" (CRC "248228248") L 07/03/2018 - 14:40:00: Log file closed L 07/03/2018 - 14:40:00: Log file started (file "logs\2018-03-07.log") (game "svencoop") (version "48/5.0.0.0/7730") L 07/03/2018 - 14:40:00: Log file closed L 07/03/2018 - 14:40:00: Log file started (file "logs\2018-03-07.log") (game "svencoop") (version "48/5.0.0.0/7730") L 07/03/2018 - 14:41:48: [META] (debug:5) called: meta_command_handler; arg0=rcbot args='addbot' This is dedicated server with developer mode 3 set, I tried dev 1 , too. As a listen server with developer mode I see a lot more game engine stuff in the console, but nothing I could see that added any detail to the meta events? Maybe there is another command to add more verbosity to the log? Guess I'm going to have to put this aside for a while, it's been eating up all my free time. I'll upload the rest of the log plus the mini dump, etc. I could see references to "rcbot addbot" with a hex viewer. When it fails, the windows dialog box includes this information: CODE Error Signature EventType : BEX P1 : svends.exe P2 : 4.1.1.1 P3 : 59e8ff9d P4 : rcbot_mm.dll P5 : 0.0.0.0 P6 : 5a9c4341 P7 : 0009b781 P8 : c0000409 P9 : 00000000 P7 appears to be the fault address according to windows event viewer... (also referred to as an offset) Event Type: Error Event Source: Application Error Event Category: (100) Event ID: 1000 Date: 3/6/2018 Time: 7:07:36 PM User: N/A Computer: PC6 Description: Faulting application svends.exe, version 4.1.1.1, faulting module rcbot_mm.dll, version 0.0.0.0, fault address 0x0009b781. I also get a very large heap dump when it crashes (650mb)... (This won't be uploaded) Not sure if any of this is useful, probably not? That address inside the minidump looks like a lot of zeros. svends.exe.mdmp.zip (+ logs) http://www76.zippyshare.com/v/6iDPjREW/file.html |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 19th June 2025 - 03:32 AM |