IPB

Welcome Guest ( Log In | Register )

> Common Crash and Waypoint Flaw
RoboCop
post Feb 23 2018, 09:45 PM
Post #1


RCBot Fan
****

Group: Admin
Posts: 191
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)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 29th March 2024 - 11:24 AM