Log in

View Full Version : Sudden zone.exe error - map/set iterator not dereferencable


zerjz3
10-27-2014, 01:37 AM
Been running my server for several weeks now and have NOT recently changed anything in the source or anything major in the database.

Suddenly, out of nowhere, when I run the server start file, I get this error:

Debug Assertion Failed!

Program: C:\EQ\EQEmuServer\zone.exe
File C:\Program Files\Microsoft Visual Studio 12.0\VC\include\xtree
Line: 237

Expression: map/set iterator not dereferencable

For information on how your program can cause an assertion failure, see the Visual C++ documentaion on asserts.

(Press Retry to debug the application)

One of these messages pops up for every static that zone.exe tries to load.

This is perplexing to me because nothing has been changed about my server today, and this just started happening out of nowhere.

Any help would be greatly appreciated, as my server is nonfunctional now due to this error.

http://i61.tinypic.com/2nt8k5x.png

Maze_EQ
10-27-2014, 04:31 AM
Got any global scripts running?

New Items during reboot?

Would need the stack trace, recompile with debug.

zerjz3
10-27-2014, 08:35 AM
There was one new item, but it has since been deleted to see if it was causing the problem. No new global scripts, nothing really new at all other than that one item.



Edit: Ok, I am having a hell of a time figuring out how to get this stack trace thing going... I have googled and googled and just can't figure it out. I'm a Visual Basic newbie. Any help with that would also be greatly appreciated!


Does this help at all? This is what I get when I right click zone.exe in Visual Basic and click Debug. Note that the computer I'm running VB on is not the same as the computer that is running the server...

'zone.exe' (Win32): Loaded 'C:\EQ\Source\Build\bin\Debug\zone.exe'. Symbols loaded.
'zone.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
'zone.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
'zone.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file.
'zone.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shell32.dll'. Cannot find or open the PDB file.
'zone.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Cannot find or open the PDB file.
'zone.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shlwapi.dll'. Cannot find or open the PDB file.
'zone.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'. Cannot find or open the PDB file.
'zone.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Cannot find or open the PDB file.
'zone.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Cannot find or open the PDB file.
'zone.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Cannot find or open the PDB file.
'zone.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Cannot find or open the PDB file.
'zone.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Cannot find or open the PDB file.
'zone.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Cannot find or open the PDB file.
'zone.exe' (Win32): Loaded 'C:\Windows\SysWOW64\lpk.dll'. Cannot find or open the PDB file.
'zone.exe' (Win32): Loaded 'C:\Windows\SysWOW64\usp10.dll'. Cannot find or open the PDB file.
'zone.exe' (Win32): Loaded 'C:\Perl\bin\perl512.dll'. Module was built without symbols.
'zone.exe' (Win32): Loaded 'C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.18201_none_ec8 0f00e8593ece5\comctl32.dll'. Cannot find or open the PDB file.
The program '[2792] zone.exe' has exited with code -1073741515 (0xc0000135) 'A dependent dll was not found'.


I don't seem to be able to get into Debug mode at all in VB. When I "Start Debug" I get that the following files are out of date:

ZERO_CHECK - Debug Win32
ALL_BUILD - Debug Win32


It asks if I want to rebuild them, and when I select yes, I get this error:

Unable to start program: C:\EQ\Source\Build\Debug\ALL_BUILD

The system cannot find the file specified

zerjz3
10-27-2014, 10:41 AM
Got any global scripts running?

New Items during reboot?

Would need the stack trace, recompile with debug.



Ok -- is this the information we need? Found in logs/crash_zone_1248.txt

---------------------------------------------
[10.27. - 10:52:09] Starting Log: logs/crash_zone_1248.log
[10.27. - 10:52:09] EXCEPTION_BREAKPOINT
[10.27. - 10:52:09] SymInit: Symbol-SearchPath: '.;C:\EQ\EQEmuServer;C:\EQ\EQEmuServer;C:\Windows; C:\Windows\system32;SRV*C:\websymbols*http://msdl.microsoft.com/download/symbols;', symOptions: 530, UserName: 'Jake Heart'
[10.27. - 10:52:09] OS-Version: 6.1.7600 () 0x100-0x1
[10.27. - 10:52:10] C:\EQ\EQEmuServer\zone.exe:zone.exe (013A0000), size: 30470144 (result: 0), SymType: 'PDB', PDB: 'C:\EQ\EQEmuServer\zone.exe'
[10.27. - 10:52:10] C:\Windows\SYSTEM32\ntdll.dll:ntdll.dll (77480000), size: 1294336 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\ntdll.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\kernel32.dll:kernel32.dll (76F30000), size: 868352 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\kernel32.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\KERNELBASE.dll:KERNELBASE.dll (75710000), size: 303104 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\KERNELBASE.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\SHELL32.dll:SHELL32.dll (76140000), size: 12881920 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\SHELL32.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\msvcrt.dll:msvcrt.dll (76E80000), size: 704512 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\msvcrt.dll', fileVersion: 7.0.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\SHLWAPI.dll:SHLWAPI.dll (773A0000), size: 356352 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\SHLWAPI.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\GDI32.dll:GDI32.dll (75DC0000), size: 319488 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\GDI32.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\USER32.dll:USER32.dll (75F10000), size: 823296 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\USER32.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\LPK.dll:LPK.dll (775D0000), size: 40960 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\LPK.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\USP10.dll:USP10.dll (772B0000), size: 643072 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\USP10.dll', fileVersion: 1.626.7600.16385
[10.27. - 10:52:10] C:\Perl\bin\perl512.dll:perl512.dll (28000000), size: 1273856 (result: 0), SymType: '-exported-', PDB: 'C:\Perl\bin\perl512.dll', fileVersion: 5.12.3.1204
[10.27. - 10:52:10] C:\Windows\system32\ADVAPI32.dll:ADVAPI32.dll (75FE0000), size: 655360 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\ADVAPI32.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\SYSTEM32\sechost.dll:sechost.dll (760C0000), size: 102400 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\sechost.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\RPCRT4.dll:RPCRT4.dll (75960000), size: 659456 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\RPCRT4.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7600.16385_none_ebf 82fc36c758ad5\COMCTL32.dll:COMCTL32.dll (75650000), size: 540672 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7600.16385_none_ebf 82fc36c758ad5\COMCTL32.dll', fileVersion: 5.82.7600.16385
[10.27. - 10:52:10] C:\EQ\EQEmuServer\lua51.dll:lua51.dll (6D780000), size: 356352 (result: 0), SymType: '-exported-', PDB: 'C:\EQ\EQEmuServer\lua51.dll'
[10.27. - 10:52:10] C:\Windows\system32\MSVCR110.dll:MSVCR110.dll (6B070000), size: 876544 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\MSVCR110.dll', fileVersion: 11.0.51106.1
[10.27. - 10:52:10] C:\Windows\system32\WS2_32.dll:WS2_32.dll (76080000), size: 217088 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\WS2_32.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\NSI.dll:NSI.dll (75BB0000), size: 24576 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\NSI.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\VERSION.dll:VERSION.dll (74AD0000), size: 36864 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\VERSION.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\apphelp.dll:apphelp.dll (75500000), size: 307200 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\apphelp.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\AppPatch\AcLayers.DLL:AcLayers.DLL (6B150000), size: 573440 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\AppPatch\AcLayers.DLL', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\SspiCli.dll:SspiCli.dll (754E0000), size: 106496 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\SspiCli.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\ole32.dll:ole32.dll (77150000), size: 1425408 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\ole32.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\OLEAUT32.dll:OLEAUT32.dll (758D0000), size: 585728 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\OLEAUT32.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\USERENV.dll:USERENV.dll (74C30000), size: 94208 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\USERENV.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\profapi.dll:profapi.dll (755D0000), size: 45056 (result: 0), SymType: '-nosymbols-', PDB: 'C:\Windows\system32\profapi.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\WINSPOOL.DRV:WINSPOOL.DRV (70280000), size: 331776 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\WINSPOOL.DRV', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\MPR.dll:MPR.dll (6FF30000), size: 73728 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\MPR.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\IMM32.DLL:IMM32.DLL (76D90000), size: 126976 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\IMM32.DLL', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\MSCTF.dll:MSCTF.dll (76DB0000), size: 835584 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\MSCTF.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\NLAapi.dll:NLAapi.dll (74790000), size: 65536 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\NLAapi.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\System32\mswsock.dll:mswsock.dll (75040000), size: 245760 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\mswsock.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\DNSAPI.dll:DNSAPI.dll (74F00000), size: 278528 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\DNSAPI.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\System32\winrnr.dll:winrnr.dll (6FFC0000), size: 32768 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\winrnr.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\napinsp.dll:napinsp.dll (6FFB0000), size: 65536 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\napinsp.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\pnrpnsp.dll:pnrpnsp.dll (6FF60000), size: 73728 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\pnrpnsp.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\rasadhlp.dll:rasadhlp.dll (71580000), size: 24576 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\rasadhlp.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\System32\wshtcpip.dll:wshtcpip.dll (74B60000), size: 20480 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\wshtcpip.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Perl\lib\auto\Cwd\Cwd.dll:Cwd.dll (10000000), size: 20480 (result: 0), SymType: '-exported-', PDB: 'C:\Perl\lib\auto\Cwd\Cwd.dll'
[10.27. - 10:52:10] C:\Perl\lib\auto\Filter\Util\Call\Call.dll:Call.dl l (00200000), size: 20480 (result: 0), SymType: '-exported-', PDB: 'C:\Perl\lib\auto\Filter\Util\Call\Call.dll'
[10.27. - 10:52:10] C:\Perl\lib\auto\IO\IO.dll:IO.dll (00240000), size: 24576 (result: 0), SymType: '-exported-', PDB: 'C:\Perl\lib\auto\IO\IO.dll'
[10.27. - 10:52:10] C:\Perl\lib\auto\List\Util\Util.dll:Util.dll (00330000), size: 28672 (result: 0), SymType: '-exported-', PDB: 'C:\Perl\lib\auto\List\Util\Util.dll'
[10.27. - 10:52:10] C:\Windows\System32\fwpuclnt.dll:fwpuclnt.dll (73AD0000), size: 229376 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\fwpuclnt.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\uxtheme.dll:uxtheme.dll (73770000), size: 262144 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\uxtheme.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\dwmapi.dll:dwmapi.dll (73280000), size: 77824 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\dwmapi.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\CRYPTBASE.dll:CRYPTBASE.dll (75550000), size: 49152 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\CRYPTBASE.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:10] C:\Windows\system32\dbghelp.dll:dbghelp.dll (6DC90000), size: 962560 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\dbghelp.dll', fileVersion: 6.1.7600.16385
[10.27. - 10:52:18] f:\dd\vctools\crt\crtw32\stdcpp\stdthrow.cpp (15): std::_Debug_message
[10.27. - 10:52:18] c:\program files (x86)\microsoft visual studio 12.0\vc\include\xtree (237): std::_Tree_const_iterator<std::_Tree_val<std::_Tree_simple_types<std::pair<unsigned int const ,std::list<MerchantList,std::allocator<MerchantList> > > > > >::operator*
[10.27. - 10:52:18] c:\program files (x86)\microsoft visual studio 12.0\vc\include\xtree (403): std::_Tree_iterator<std::_Tree_val<std::_Tree_simple_types<std::pair<unsigned int const ,std::list<MerchantList,std::allocator<MerchantList> > > > > >::operator*
[10.27. - 10:52:18] c:\program files (x86)\microsoft visual studio 12.0\vc\include\xtree (407): std::_Tree_iterator<std::_Tree_val<std::_Tree_simple_types<std::pair<unsigned int const ,std::list<MerchantList,std::allocator<MerchantList> > > > > >::operator->
[10.27. - 10:52:18] c:\eq\source\zone\zone.cpp (496): Zone::LoadMerchantData_result
[10.27. - 10:52:18] c:\eq\source\zone\zone.cpp (688): Zone::DBAWComplete
[10.27. - 10:52:18] c:\eq\source\zone\zonedbasync.cpp (37): DispatchFinishedDBAsync
[10.27. - 10:52:18] c:\eq\source\zone\net.cpp (449): main
[10.27. - 10:52:18] f:\dd\vctools\crt\crtw32\startup\crt0.c (255): __tmainCRTStartup
[10.27. - 10:52:18] f:\dd\vctools\crt\crtw32\startup\crt0.c (165): mainCRTStartup
[10.27. - 10:52:18] ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 76F81174)
[10.27. - 10:52:18] 76F81174 (kernel32): (filename not available): BaseThreadInitThunk
[10.27. - 10:52:18] ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 774DB3F5)
[10.27. - 10:52:18] 774DB3F5 (ntdll): (filename not available): RtlInitializeExceptionChain
[10.27. - 10:52:18] ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 774DB3C8)
[10.27. - 10:52:18] 774DB3C8 (ntdll): (filename not available): RtlInitializeExceptionChain

zerjz3
10-27-2014, 11:16 AM
Well, I figured it out by looking at the log I just posted above ^

It was a bad merchant -- there was one set to merchantid 0 with an item, that was causing huge issues. Now I know! Thank you Maze for pointing me in the right direction. Much appreciated

Maze_EQ
10-27-2014, 12:15 PM
Was just about to ask if you made a merchant due to the error above.

Good work, i'll be on later.

cannon
01-22-2017, 10:40 AM
I realize this thread is a couple years old, but I had this happen yesterday and there wasn't really much on this in the search. Just my experience, i did create new merchants and they were all set right, coincidence or not my fix was removing some items from a merchant that had 87 items on him. Just to be safe I took it down to 79 items and it fixed the problem. Hope this helps anyone that finds this thread.