.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Developer's Farm > General Programming
General Programming Help others and get yourself helped here!

Reply
 
Thread Tools
Re: How to debug linux crashes
Old
  (#41)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: How to debug linux crashes - 26-01-2006

No problem. But even without -s (and without -o) near linking, I'm getting still the same info about crash (and nothing more). What is that "zone_shelter" in the drmingw report? It's always the same.
  
Reply With Quote
Re: How to debug linux crashes
Old
  (#42)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: How to debug linux crashes - 28-01-2006

OK. Finally got crash saying this (it was compiled with MSVC++2005 and drmingw described it nice):

Quote:
Originally Posted by drmingw
hlds.exe caused an Access Violation at location 077d5306 in module podbot_mm.dll Reading from location 0000017c.

Registers:
eax=00000174 ebx=077cf644 ecx=00000174 edx=0012e47c esi=0012f534 edi=0012e368
eip=077d5306 esp=0012e284 ebp=0012e368 iopl=0 nv up ei pl nz na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000206

Call stack:
077D5306 podbot_mm.dll:077D5306 Vector::operator* vector.h:76
...
inline Vector operator+(const Vector& v) const{ return Vector(x+v.x, y+v.y, z+v.z);}
inline Vector operator-(const Vector& v) const{ return Vector(x-v.x, y-v.y, z-v.z);}
> inline Vector operator*(float fl) const{ return Vector(x*fl, y*fl, z*fl);}
inline Vector operator/(float fl) const{ return Vector(x/fl, y/fl, z/fl);}

...

078082FD podbot_mm.dll:078082FD VecBModelOrigin util.cpp:274
...
Vector VecBModelOrigin (edict_t *pEdict)
{
> return (pEdict->v.absmin + (pEdict->v.size * 0.5));
}

...

077D59C7 podbot_mm.dll:077D59C7 BotFindBreakable bot.cpp:840
...
case 0:
v_src = pEdict->v.origin;
> v_dest = VecBModelOrigin (pBot->pShootBreakable);
break;
case 1:
...

077EBC07 podbot_mm.dll:077EBC07 BotThink bot.cpp:7158
...

// Breakable destroyed ?
> if (!BotFindBreakable (pBot))
{
BotTaskComplete (pBot);
...

07801219 podbot_mm.dll:07801219 StartFrame dll.cpp:1750
...
&& !FNullEnt (bots[bot_index].pEdict))
{
> BotThink (&bots[bot_index]);
num_bots++;
}
...

6B234EAE metamod.dll:6B234EAE zone_shelter
It happened when I was shooting at the bot sitting in some window.

[EDIT]
I think there is a need to check if (pBot->pShootBreakable<>NULL) before executing parts in case 1 and in case 2 in BotFindBreakable.
[/EDIT]

Last edited by KWo; 28-01-2006 at 10:01..
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com