Page 1 of 1

MQ2Bzsrch DataType type CTD

Posted: Mon May 17, 2004 2:11 am
by Kint
Entering a typo such as ${Bazaar.Item[1].Nam} results in a CTD with me, bedugged it and here's what I got:

Code: Select all

[MQ2]CCommandHook::Detour(/echo ${Bazaar.Item[1].Nam})
(c50.af50): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=00000000 ebx=00000000 ecx=00000003 edx=014a0fd1 esi=014a0fd1 edi=3d454d41
eip=0109c82a esp=00138b38 ebp=00138b64 iopl=0         nv up ei pl zr na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010246
*** WARNING: Unable to verify checksum for C:\MQ2-Latest\Release\MQ2Main.dll
MQ2Main!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::compare+0x7a:
0109c82a f3a6             rep     cmpsb         ds:014a0fd1=4e es:3d454d41=??
and for stack backtrace info:

Code: Select all

ChildEBP RetAddr  Args to Child              
00138b64 0109b152 00000000 00000003 3d454d41 MQ2Main!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::compare+0x7a
00138c10 0109fe5a 00138c40 00138c54 00139570 MQ2Main! ?? :: ?? ::insert+0x92
00138ca0 0109e113 001395b7 001395bb 00000000 MQ2Main!MQ2Internal::MQ2Type::FindMember+0x12a
00139574 0109f002 001395a8 00139594 0013adf6 MQ2Main!ParseMQ2DataPortion+0x493
00139db4 010d5201 0013a5f0 06706f10 0013b5f0 MQ2Main!ParseMacroData+0x262
00139dc4 010872f5 06711250 0013a5f0 00000000 MQ2Main!ParseMacroParameter+0x31
0013b5f0 004e4bae 06711250 0013b614 0000001c MQ2Main!CCommandHook::Detour+0x275
WARNING: Stack unwind information not available. Following frames may be wrong.
0013db0c 00587047 2bb75858 2bb757b8 00000008 eqgame+0xe4bae
0000001c 00000000 00000000 00000000 00000000 eqgame+0x187047
I can't reproduce with any other data types besides Bazaar. One note, Lax said this may be a buffer overflow in mq2bzsrch, thanks.