Cuberite Forum

Full Version: Crash on deleting cPlayer::m_CreativeInventory
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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...
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.
It's 50MB so let's just wait forever until it's done uploadingTongue
Eh, I need the EXE, too.
(Updated the How to report crashes guide with this new insight Smile
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.
Yeah I did recompile Sad

Lesson learned for next time!