server crash if i dont log out of client

Post in this forum if you found any bugs with server functionality.

Moderator: Team Members

Forum rules
READ THE STICKY ON PROPER BUG SUBMISSION FORMAT BEFORE POSTING.
Post Reply
User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

server crash if i dont log out of client

Post by Ememjr » Wed Oct 11, 2017 3:24 am

this is where it breaks at the retval=heapfree line

Code: Select all

void __cdecl _free_base (void * pBlock)
{

        int retval = 0;


        if (pBlock == NULL)
            return;

        RTCCALLBACK(_RTC_Free_hook, (pBlock, 0));

        retval = HeapFree(_crtheap, 0, pBlock);
        if (retval == 0)
        {
            errno = _get_errno_from_oserr(GetLastError());
        }
}
here is the stack
stack.JPG
here is the apparent last emu code is in eqstream.cpp

Code: Select all

if (OutOfOrderpackets.find(NextInSeq) != OutOfOrderpackets.end()){
			p = OutOfOrderpackets[NextInSeq];
			// Remove te packet from the list
			OutOfOrderpackets.erase(NextInSeq);  //<<<<<<<<<<<<<<<<< this looks like what was happening when crash happened
			if (p){ 

#ifdef EQN_DEBUG
You do not have the required permissions to view the files attached to this post.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests