Jump to content

[fixed][10337] .learn command crashing the server


Auntie Mangos

Recommended Posts

  • 40 years later...

on latest revision [10337] whenever i use .learn command for any spell it is crashing the server

Revision: 2010-08-10 02:38:48 10337 73500d21698698794b2000875d4531296041215d
//=====================================================

Exception code: C0000005 ACCESS_VIOLATION
Registers:
EAX:00000000
EBX:F1714000
ECX:00000000
EDX:FBC84000
ESI:0851FDA0
EDI:00003C06
CS:EIP:0023:0077478F
SS:ESP:002B:0851EC9C  EBP:0851ECE0
DS:002B  ES:002B  FS:0053  GS:002B
Flags:00010246

Call stack:
Address   Frame     Function      SourceFile
0077478F  00000000  ChatHandler::HandleLearnCommand+9F
0056951D  00000000  ChatHandler::ExecuteCommand+DD
005697E9  00000000  ChatHandler::ParseCommands+109
007BF631  00000000  WorldSession::HandleMessagechatOpcode+2A1
005E8671  00000000  WorldSession::ExecuteOpcode+21
005ECE8B  00000000  WorldSession::Update+CB
004736B1  00000000  World::UpdateSessions+61
004751E4  00000000  World::Update+124
00446374  00000000  WorldRunnable::run+64
004550E4  00000000  ACE_Based::Thread::ThreadTask+34
759C5B04  00000000  ACE_OS_Thread_Adapter::invoke+74
7549C6DE  00000000  _endthreadex+3A
7549C788  00000000  _endthreadex+E4
75FEE3F3  00000000  BaseThreadInitThunk+E
77D4CFED  00000000  RtlCreateUserProcess+8C
77D4D1FF  00000000  RtlCreateProcessParameters+4E
========================
Local Variables And Parameters

Call stack:
Address   Frame     Function      SourceFile
0077478F  00000000  ChatHandler::HandleLearnCommand+9F
punting on symbol args
punting on symbol allRanks

0056951D  00000000  ChatHandler::ExecuteCommand+DD
   Local  <user defined> 'text'
   Local  <user defined> 'parentCommand'
   Local  <user defined> 'fullcmd'
   Local  <user defined> 'command'
   Local  <user defined> 'sel_guid'

005697E9  00000000  ChatHandler::ParseCommands+109
   Local  <user defined> 'text'
   Local  <user defined> 'st'
   Local  <user defined> 'st'

007BF631  00000000  WorldSession::HandleMessagechatOpcode+2A1
   Local  <user defined> 'recv_data'
punting on symbol type
punting on symbol lang
   Local  <user defined> 'timeStr'
   Local  <user defined> 'msg'
punting on symbol tSecurity
   Local  <user defined> 'msg'
   Local  <user defined> 'to'
   Local  <user defined> 'data'
   Local  <user defined> 'msg'
   Local  <user defined> 'msg'
   Local  <user defined> 'msg'
   Local  <user defined> 'data'
   Local  <user defined> 'msg'
   Local  <user defined> 'data'
   Local  <user defined> 'msg'
   Local  <user defined> 'data'
   Local  <user defined> 'msg'
   Local  <user defined> 'data'
   Local  <user defined> 'msg'
   Local  <user defined> 'data'
   Local  <user defined> 'msg'
   Local  <user defined> 'channel'
   Local  <user defined> 'msg'
   Local  <user defined> 'msg'
   Local  <user defined> 'msg'

005E8671  00000000  WorldSession::ExecuteOpcode+21
   Local  <user defined> 'opHandle'
   Local  <user defined> 'packet'

005ECE8B  00000000  WorldSession::Update+CB
punting on symbol __formal
   Local  <user defined> 'packet'

004736B1  00000000  World::UpdateSessions+61
punting on symbol diff
   Local  <user defined> 'sess'
   Local  <user defined> 'next'

004751E4  00000000  World::Update+124
punting on symbol diff
punting on symbol maxClientsNum

00446374  00000000  WorldRunnable::run+64
punting on symbol prevSleepTime

004550E4  00000000  ACE_Based::Thread::ThreadTask+34
punting on symbol param

759C5B04  00000000  ACE_OS_Thread_Adapter::invoke+74
punting on symbol status

7549C6DE  00000000  _endthreadex+3A

7549C788  00000000  _endthreadex+E4

75FEE3F3  00000000  BaseThreadInitThunk+E

77D4CFED  00000000  RtlCreateUserProcess+8C

77D4D1FF  00000000  RtlCreateProcessParameters+4E

========================
Global Variables

Link to comment
Share on other sites

Same problem here. Clean mangos & every .learn crashes server.

Debbuger says:

    bool allRanks = ExtractLiteralArg(&args, "all") != NULL;
   if (!allRanks && *args)                                 // can be fail also at syntax error   <----------------------------------------- HERE HERE HERE
       return false;

In HandleLearnCommand

Link to comment
Share on other sites

Your report absent most important part: example tested command...

I am for example can't reproduce crash

You can include or skip own generic conclusions and etc but if you make report you must if possible provide _exactly_ way for repeat problem.

Because as always conclusions about _all_ something heppen (.learn command use crash always) proved as wrong just by random test.

So better provide exactly tested data instead conclusions.

[added]

Ok, i find way repeat, but as i say this not all cases, but specific. So all what i write about still good recommendation for reports.

More checked info and only optional conclusions as addition.

Link to comment
Share on other sites

  • 3 months later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use