Crashing on one machine upon entering world (MQ2-20111118)

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

ZergKing
a lesser mummy
a lesser mummy
Posts: 45
Joined: Mon Mar 14, 2011 1:10 am

Crashing on one machine upon entering world (MQ2-20111118)

Post by ZergKing » Sat Nov 19, 2011 3:06 am

Compiled MQ2-20111118 on two machines, and works fine on 2nd PC. Recompiled four times on primary computer (Win 7 64-bit) and have a reoccuring crash when the character enters the world.

Disassembly pointed to:
03B9BA96 and byte ptr [edi+65h],al

Output from DEBUG (Visual C++ 2008 Express Edition

[MQ2]PluginsSetGameState(253)
Starting pre-load
Done with pre-load
[MQ2]GetGameState()=5 vs 253
[MQ2]PluginsSetGameState(5)
First-chance exception at 0x035e56c0 (MQ2Main.dll) in eqgame.exe: 0xC0000005: Access violation reading location 0x00000000.
'eqgame.exe': Loaded 'J:\Program Files (x86)\Sony\EverQuest\dbghelp.dll'
First-chance exception at 0x005b0eb2 in eqgame.exe: 0xC0000005: Access violation reading location 0x00000001.
First-chance exception at 0x76b3b9bc in eqgame.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000..
Unhandled exception at 0x76b3b9bc in eqgame.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000..
eqgame.exe has triggered a breakpoint
eqgame.exe has triggered a breakpoint
eqgame.exe has triggered a breakpoint
eqgame.exe has triggered a breakpoint
eqgame.exe has triggered a breakpoint
eqgame.exe has triggered a breakpoint
eqgame.exe has triggered a breakpoint
eqgame.exe has triggered a breakpoint
eqgame.exe has triggered a breakpoint
eqgame.exe has triggered a breakpoint
eqgame.exe has triggered a breakpoint
eqgame.exe has triggered a breakpoint
eqgame.exe has triggered a breakpoint
[MQ2]PluginsSetGameState(5)
'eqgame.exe': Loaded 'J:\Program Files (x86)\Sony\EverQuest\eqmain.dll'
First-chance exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
Unhandled exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
First-chance exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
Unhandled exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
First-chance exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
Unhandled exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
First-chance exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
Unhandled exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
First-chance exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
Unhandled exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
First-chance exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
Unhandled exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
First-chance exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
Unhandled exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
First-chance exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
Unhandled exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
First-chance exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
Unhandled exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
First-chance exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
Unhandled exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
First-chance exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
Unhandled exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
First-chance exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
Unhandled exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
First-chance exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
Unhandled exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
First-chance exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
Unhandled exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
First-chance exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
Unhandled exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
First-chance exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
Unhandled exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
First-chance exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
Unhandled exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
First-chance exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
Unhandled exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
First-chance exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
Unhandled exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
First-chance exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
Unhandled exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
First-chance exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
Unhandled exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
First-chance exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
Unhandled exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
First-chance exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
Unhandled exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
First-chance exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
Unhandled exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
First-chance exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
Unhandled exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
First-chance exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
Unhandled exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
First-chance exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.
Unhandled exception at 0x03b9ba96 in eqgame.exe: 0xC0000005: Access violation writing location 0x76b9d1bf.

ZergKing
a lesser mummy
a lesser mummy
Posts: 45
Joined: Mon Mar 14, 2011 1:10 am

Re: Crashing on one machine upon entering world (MQ2-20111118)

Post by ZergKing » Sat Nov 19, 2011 3:08 am

Call Stack

> 03b9ba96()
eqmain.dll!06ec767e()
[Frames below may be incorrect and/or missing, no symbols loaded for eqmain.dll]
eqgame.exe!005b1c1c()


(sorry, trying to provide required information while not really know what I am doing)

Raptor3000
orc pawn
orc pawn
Posts: 22
Joined: Sat Nov 05, 2005 8:22 am

Re: Crashing on one machine upon entering world (MQ2-20111118)

Post by Raptor3000 » Sat Nov 19, 2011 8:10 am

Hopefully heading in the right direction as far as proper information on the crash.

First-chance exception at 0x6a255230 (MQ2Main.dll) in eqgame.exe: 0xC0000005: Access violation reading location 0x00000000.


This is the line that Visual Studio "pointed" to:
strcpy(Destination,(const char *)VarPtr.Ptr);


Code snippet from pointer area.

~MQ2StringType()
{
}
bool MQ2StringType::GetMember(MQ2VARPTR VarPtr, PCHAR Member, PCHAR Index, MQ2TYPEVAR &Dest);
bool ToString(MQ2VARPTR VarPtr, PCHAR Destination)
{
strcpy(Destination,(const char *)VarPtr.Ptr);
return true;
}
void InitVariable(MQ2VARPTR &VarPtr)
{
VarPtr.Ptr=malloc(MAX_STRING);
ZeroMemory(VarPtr.Ptr,MAX_STRING);

DeadBox
orc pawn
orc pawn
Posts: 15
Joined: Wed May 04, 2011 5:56 pm

Re: Crashing on one machine upon entering world (MQ2-20111118)

Post by DeadBox » Sat Nov 19, 2011 1:38 pm

Same results as above (with and without additional plug-ins):

Output:
> First-chance exception at 0x030256c0 (MQ2Main.dll) in eqgame.exe: 0xC0000005: Access violation reading location 0x00000000.

Disassembly:
> 030256C0 mov cl,byte ptr [eax]
> strcpy(Destination,(const char *)VarPtr.Ptr);

Call stack:

> MQ2Main.dll!MQ2StringType::ToString(MQ2Internal::_MQ2VarPtr VarPtr={...}, char * Destination=0x002270c0) Line 332 + 0x10 bytes C++


Hope that helps!

DeadBox
orc pawn
orc pawn
Posts: 15
Joined: Wed May 04, 2011 5:56 pm

Re: Crashing on one machine upon entering world (MQ2-20111118)

Post by DeadBox » Sat Nov 19, 2011 11:42 pm

Tried MQ2-20111119 seemed stable till spell/item detection was called. ${Cast.Ready[]} non-functional. Looks like Me.Buff & Spell[].Stacks are upset at the moment too. Thanks in advance for all your hard work!

Output:

> First-chance exception at 0x171e3a05 in eqgame.exe: 0xC0000005: Access violation reading location 0xffffffff.

Disassembly:

> 171E3A05 iretd

Call Stack:

> 171e3a05()


Called by macro line (can reproduce at will):

/if ( ${Me.Buff[Knowledge of the Past VI].Duration}<=2 && ${Spell[Knowledge of the Past VI].Stacks}) /multiline ; /cast item "Royal Knight's Earring"; /delay 2s

FrankJScott
naggy
naggy
Posts: 2128
Joined: Sun Feb 19, 2023 7:11 am

Updated Workspace Management And Moving Solutions Website

Post by FrankJScott » Mon Aug 11, 2025 10:13 pm

why not just google it

FrankJScott
naggy
naggy
Posts: 2128
Joined: Sun Feb 19, 2023 7:11 am

Cool Tajir4d Slot Website

Post by FrankJScott » Sat Nov 22, 2025 10:52 am

For the people talking about agen togel terpercaya dan aman, slot togel login, situs yang terpercaya, asli togel, link alternatif 4d, situs togel toto terpercaya, daftar bo togel, id togel slot, link toto gacor, togel pusat, link master togel, toto togel indonesia, sydney slot, city togel, toto bandar togel, bandar togel lengkap, daftar togel toto, tips bermain togel, slot 4d terbaru, togel aman, I can vouch for this TAJIR4D for togel dan slot terpercaya, situs togel 3d, cara bikin akun togel resmi, daftar situs togel terpercaya, jp 4d, situs togel 6 digit, aplikasi pasang togel online, bo togel resmi aman terpercaya, situs bo togel aman terpercaya, semua toto togel, slot4d gacor, toto game online, cara main togel 4d, togel situs resmi, togel judi, daftar situs togel online, aman togel, daftar bandar togel online, bank 4d slot, tips togel, togel situs online, slot gacor hongkong, anda togel, also.

In response to the man talking about situs judi indonesia terpercaya, situs togel terbaik di indonesia, game pragmatic terbaru, situs judi game slot online, situs togel online terbaik, situs togel slot terpercaya, cara slot, game terbaru saat ini, agen toto terbaik, slot main, joker slot login, agen slot terbaru, situs agen slot, situs terbaru, togel slot online, semua situs slot online, slot game pulsa, joker tembak ikan, game slot terbaru, slot online adalah, I recommend this TAJIR4D for casino togel, permainan slot mudah menang, permainan judi slot, situs slot menang, slot spadegaming, mudah menang slot, game judi slot online, web judi online, slot online deposit pulsa, a togel slot, macam macam situs slot online, game slot online resmi, situs slot yg gampang menang, situs slot terbaru mudah menang, agen togel play, aplikasi situs slot, habanero slot online, situs togel terbaik, slot casino, hk slot online, bisa bermain, masuk game slot online, markas judi slot, also.

In response to the guy inquiring about slot paling gacor hari ini, slot situs gacor, toto 268 slot login, slot 113, 228 slot, gacor slot 138, pertama slot, fast slot88, slot rekomendasi gacor, slot 235, slot cepat, slot gacor toto, slot tergacor terbaru, fitur slot, 386 slot, rekomendasi slot hari ini, gacor 188, 158 slot, slot gacor sekarang, slot menang, I can vouch for this TAJIR 4D for 222 slot, situs slot gacor terbaru hari ini, slot gacor 189, toto 885 slot, slot 366, 33 slot, slot gacor sekarang, slot 885, link slot yang gacor hari ini, 822 slot, gacor 789, mitra 777 slot, menang gacor, rtp gacor hari ini, mudah slot, situation slot, slot 131, slot 769, link gacor hari ini rtp tinggi, toto gacor, mitra 138 slot, sgp gacor, slot terbaru gacor hari ini, also. See More Recommended 먹튀사이트 Guide c72_bee