I think I crashed the server again.
Moderators: Community Managers, Developers
Re: I think I crashed the server again.
Where there is an assert failure (I'm assuming the error was an assert) on _CrtIsValidHeapPointer, the problem is not necessarily where the assert failed. That is only where the pointer was accessed (in this case, deleted) and doesn't tell us what invalidated the memory space in the first place.
I think we need more specific logging on why a character failed to save.
I think we need more specific logging on why a character failed to save.
Re: I think I crashed the server again.
Even though I've seen the failed to save message numerous times, I have not had any crash events on my own server (single player) at all. The only time I ever crash is when making coding mistakes while testing that reference null pointers. It's really hard to track these things down in a multiplayer setting.
Re: I think I crashed the server again.
Do you recall about when you started noticing the failure to save message?
Re: I think I crashed the server again.
After the updates this week that requied the new source and header files. I thought at first it was from not updating the sql tables, but it persistd after I ran the new scripts. Very random, would occasionally see it but no idea why. i could just be parked and tabbed out for a while and still have it occur.
Re: I think I crashed the server again.
Nope, no crash on the (second) bag thing. However, the only way I could get the character back to normal was to shut down the client and wait 5 or 10 minutes before logging back in. At first I thought maybe the chunk got messed up, and I was waiting for the chunk timer to expire. But that doesn't make sense, because I had the problem in whatever chunk I went to (unless I was messing up every chunk I entered).
I did try camping to desktop and coming right back in, and I still had the problem. It was only when I was out for a few minutes that things would spontaneously clear up. Is there something about the character that hangs around for a couple minutes after I shut down the client?
I did try camping to desktop and coming right back in, and I still had the problem. It was only when I was out for a few minutes that things would spontaneously clear up. Is there something about the character that hangs around for a couple minutes after I shut down the client?
Re: I think I crashed the server again.
Latest crash
Code: Select all
> WorldServer.exe!Net::HandleCharacterSelected(std::shared_ptr<Client> & client, PacketStruct * packet_struct) Line 384 C++
WorldServer.exe!Net::Process() Line 159 C++
WorldServer.exe!main(int argc, char * * argv) Line 189 C++
WorldServer.exe!__tmainCRTStartup() Line 241 C
WorldServer.exe!mainCRTStartup() Line 164 C
Re: I think I crashed the server again.
Do you know where within that function the crash occurred?
- John Adams
- Retired
- Posts: 4582
- Joined: Wed Aug 28, 2013 9:40 am
- Location: Phoenix, AZ.
- Contact:
Re: I think I crashed the server again.
FYI, New Telon in Rev 884 as of tonight. Please retest.
- John Adams
- Retired
- Posts: 4582
- Joined: Wed Aug 28, 2013 9:40 am
- Location: Phoenix, AZ.
- Contact:
Re: I think I crashed the server again.
On New Telon, I don't have to do anything but log in and sit there to get the "Failed to save your character" message. There are no messages at the console either relating to this message.
Doesn't happen immediately. Probably that first 5 minute timer fire. Shouldn't be too hard to troubleshoot.
Doesn't happen immediately. Probably that first 5 minute timer fire. Shouldn't be too hard to troubleshoot.
Re: I think I crashed the server again.
On your particular char, John, do you get any Failed to Load XXX in Red console error after selecting your character?