Crash on deleting cPlayer::m_CreativeInventory
#1
I don't know why this happens, but this crash happens a lot on my server...

In cPlayer::~cPlayer() it apparently deletes a dangling pointer which doesn't make any sense to me..

The call stack is really not that interesting
[Image: Screenshot-2012-03-21_13.45.54.png]

And here are some variables
[Image: Screenshot-2012-03-21_13.46.45.png]

I also got a dump file from VS2010 so I don't know if that's any help...
Reply
Thanks given by:
#2
Alright, let's try the dump file (but you need to give me the PDBs as well Wink
Looking at the callstack, it doesn't seem like a dangling ptr to inventory, but rather a corrupted inventory - the failing delete[] is the one deleting inventory's items.
Reply
Thanks given by:
#3
It's 50MB so let's just wait forever until it's done uploadingTongue
Reply
Thanks given by:
#4
http://dl.dropbox.com/u/27784874/MCServerDump.rar
Reply
Thanks given by:
#5
Eh, I need the EXE, too.
(Updated the How to report crashes guide with this new insight Smile
Reply
Thanks given by:
#6
http://dl.dropbox.com/u/27784874/MCServer_debug.rar
Reply
Thanks given by:
#7
won't open - did you recompile in the meantime? All the files (pdb, exe, dmp) need to matchTongue That's why we need to archive PDB files for nightbuilds - it is not possible to "just recompile" them.
i guess it's useless - i can't seem to get msvcr100d.dll not msvcp100d.dll symbols anyway, so i couldn't debug your issue.
Reply
Thanks given by:
#8
Yeah I did recompile Sad

Lesson learned for next time!
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)