/call CTD? full debug info included (solved/fixed)

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

Preocts
a snow griffon
a snow griffon
Posts: 312
Joined: Thu Jan 29, 2004 1:02 pm

/call CTD? full debug info included (solved/fixed)

Post by Preocts » Tue Apr 27, 2004 2:41 pm

Getting this crash on a simple /call. Can't see what is causing it. Here is the info. If I've missed something or need more just ask. Reproduced this problem about 10 times now, it will be easy to do again. :wink:

Edit: Fixed some debugger bugs and got the more complete info.
Redundant Info wrote: [MQ2]CCommandHook::Detour(/varset MakeSwitch "ArmDot")
[MQ2]Goto - went to label :LoopForEver
[MQ2]Call - Calling subroutine Switch with params "ArmDot"
First-chance exception in eqgame.exe (MQ2MAIN.DLL): 0xC0000005: Access Violation.
Disassembly in _DataIni: wrote: 017005EE mov cl,byte ptr ds:[1740C12h]
017005F4 mov word ptr [edi],ax
017005F7 mov byte ptr [edi+2],cl
017005FA mov eax,dword ptr [ebp+0Ch]
017005FD mov dword ptr [eax+4],175AF40h
01700604 mov edx,dword ptr ds:[175AEC8h]
0170060A mov dword ptr [eax],edx
0170060C mov eax,1
01700611 pop edi
01700612 pop esi
01700613 pop ebx
01700614 mov esp,ebp
01700616 pop ebp
01700617 ret
01700618 cmp byte ptr [esi],0 <--
0170061B je 0170064E
0170061D mov edx,175AF40h
01700622 mov eax,esi
01700624 sub edx,esi
01700626 mov cl,byte ptr [eax]
01700628 mov byte ptr [edx+eax],cl
0170062B inc eax
0170062C test cl,cl
0170062E jne 01700626
01700630 mov eax,dword ptr [ebp+0Ch]
01700633 mov dword ptr [eax+4],175AF40h
0170063A mov ecx,dword ptr ds:[175AEC8h]
01700640 mov dword ptr [eax],ecx
01700642 mov eax,1
01700647 pop edi
01700648 pop esi
01700649 pop ebx
0170064A mov esp,ebp
CallStack wrote: MQ2MAIN! dataIni + 535 bytes<--
MQ2MAIN! ParseMQ2DataPortion + 1415 bytes
MQ2MAIN! ParseMacroData + 314 bytes
MQ2MAIN! ParseMacroParameter + 38 bytes
MQ2MAIN! HideDoCommand + 811 bytes
MQ2MAIN! DoNextCommand(void) + 208 bytes
MQ2MAIN! Heartbeat(void) + 280 bytes
MQ2MAIN! Detour_ProcessGameEvents(void) + 5 bytes
EQGAME! 004acd5f()
Last edited by Preocts on Tue Apr 27, 2004 5:04 pm, edited 3 times in total.

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Tue Apr 27, 2004 3:13 pm

unfortunately since the crash was in MQ2 we need the function names not just the addresses. What version of visual studio are you using, and what zip?
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Preocts
a snow griffon
a snow griffon
Posts: 312
Joined: Thu Jan 29, 2004 1:02 pm

Post by Preocts » Tue Apr 27, 2004 3:33 pm

[old and incorrect info]
Last edited by Preocts on Tue Apr 27, 2004 4:27 pm, edited 1 time in total.

Charisa
a hill giant
a hill giant
Posts: 165
Joined: Tue Apr 06, 2004 5:38 pm

Post by Charisa » Tue Apr 27, 2004 3:42 pm

Preocts wrote: VS 6, VC++ cause I'm a retarded monkey. SP5 installed.
Copied over the 2003 .NET files from Microsoft Visual C++ Toolkit 2003
Not that its much help at all but
Post subject: IMPORTANT: Visual Studio 6 (including Visual C 6) users
Download and install SERVICE PACK 6 before reporting any bugs.
as seen on the sticky thread at the top of this forum

http://macroquest2.com/phpBB2/viewtopic.php?t=6326

Preocts
a snow griffon
a snow griffon
Posts: 312
Joined: Thu Jan 29, 2004 1:02 pm

Post by Preocts » Tue Apr 27, 2004 3:55 pm

:wink: I know.

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Tue Apr 27, 2004 4:55 pm

we tracked this down in irc to a usage of ${Ini} that happened to crash. It is fixed in next zip.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0