World Crash - startup

Old bugs stored here for reference.
Locked
User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

World Crash - startup

Post by John Adams » Sat Aug 17, 2013 11:42 pm

This one is probably for Scat, since I have seen it happening in his DatabaseNew stuff the more I start using it.

World is starting, loading it's data and many times in a row, I will get an error that "MySQL has gone away". So I usually just stop Debugging, restart my SQL service and go again and it's okay.

Once in a blue moon, I will get a console fprintf() puke something like this:
23:37:14 D Widget : -Load Widget data complete!
23:37:14 D GSpawn : -Loading Groundspawn data...
23:37:14 D GSpawn : --Loaded 117 GroundSpawn(s)
23:37:14 D GSpawn : --Loaded 16 GroundSpawn Entries.
Error: Freeing unallocated data at line 355, '..\mysys\my_alloc.c'
And the stack looks more nightmarish than usual:
EQ2World__Debug_x64.exe!free_root() Unknown
EQ2World__Debug_x64.exe!free_old_query() Unknown
EQ2World__Debug_x64.exe!end_server() Unknown
EQ2World__Debug_x64.exe!cli_safe_read() Unknown
EQ2World__Debug_x64.exe!cli_read_rows() Unknown
EQ2World__Debug_x64.exe!mysql_store_result() Unknown
> EQ2World__Debug_x64.exe!DatabaseNew::Select(DatabaseResult * result, const char * query, ...) Line 191 C++
EQ2World__Debug_x64.exe!WorldDatabase::LoadSpells() Line 3911 C++
EQ2World__Debug_x64.exe!SpellLoad(void * tmp) Line 509 C++
EQ2World__Debug_x64.exe!_callthreadstart() Line 257 C
EQ2World__Debug_x64.exe!_threadstart(void * ptd) Line 239 C
kernel32.dll!0000000076c6652d() Unknown
ntdll.dll!0000000076d9c521() Unknown
As per usual, I just refactored LoadSpells() tonight to try and make sense of the data being loaded... any clues would be appreciated. If this is a one-off, I will commit my code changes, because bugs only happen to me anyway.

Locked

Who is online

Users browsing this forum: No registered users and 0 guests