Meanwhile, the output window in VS2010 shows this:
Which coincides with where the stack shows the break:HEAP[EQ2World.exe]: Heap block at 1B20C730 modified at 1B20CA66 past requested size of 32e
Windows has triggered a breakpoint in EQ2World.exe.
Code (malloc.c)ntdll.dll!7c81a229()
[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]
ntdll.dll!7c87b559()
ntdll.dll!7c86a9bb()
ntdll.dll!7c85a344()
ntdll.dll!7c83e448()
> EQ2World.exe!malloc(unsigned int size) Line 89 + 0x3b bytes C
EQ2World.exe!operator new(unsigned int size) Line 59 + 0x8 bytes C++
EQ2World.exe!malloc(unsigned int size) Line 89 + 0x3b bytes C
ffffffff()
Code: Select all
// allocate memory block
res = _heap_alloc(size);I have no idea where this came from. The thread stack looks like this:
Code: Select all
Unflagged > 3012 0 Worker Thread _threadstart malloc Normal
Unflagged 2904 0 Main Thread Main Thread main Normal
Unflagged 332 0 Worker Thread _threadstart LogLoop Normal
Unflagged 3444 0 Worker Thread _threadstart TCPConnectionLoop Above Normal
Unflagged 3944 0 Worker Thread _threadstart ServerLoop Normal
Unflagged 900 0 Worker Thread _threadstart __set_flsgetvalue Normal
Unflagged 3152 0 Worker Thread _threadstart Mutex::lock Normal
Unflagged 2104 0 Worker Thread _threadstart EQStreamFactory::CombinePacketLoop Normal
Unflagged 3232 0 Worker Thread _threadstart _read_nolock Normal
Unflagged 2952 0 Worker Thread _threadstart ZoneLoop Normal
Unflagged > 3012 0 Worker Thread _threadstart malloc Normal <== broke here
Unflagged 3164 0 Worker Thread _threadstart ZoneServer::CheckSendSpawnToClient Above Normal