PDA

View Full Version : shared memory crash


nosfentora
03-08-2013, 11:23 AM
Thanks to Bad_Captian for pointing out that I need to read the changelog when.... well, something changes....

So i created the 'shared' folder as a sub-folder of my server folder.

compiled everything RelWithDebInfo | x64 with no errors.

copied the entire contents of the release folder (*.exe, *.pdb, *.

Ran shared_memory.exe from a command prompt (admin) and got this in the logs:


---------------------------------------------
[03.08. - 10:14:45] Starting Log: logs/crash_shared_memory_3336.log
[03.08. - 10:14:45] EXCEPTION_ACCESS_VIOLATION
[03.08. - 10:14:45] SymInit: Symbol-SearchPath: '.;D:\Installs\EverQuest\Server;D:\Installs\EverQu est\Server;C:\Windows;C:\Windows\system32;SRV*C:\w ebsymbols*http://msdl.microsoft.com/download/symbols;', symOptions: 530, UserName: 'nos'
[03.08. - 10:14:45] OS-Version: 6.1.7601 (Service Pack 1) 0x100-0x1
[03.08. - 10:14:45] D:\Installs\EverQuest\Server\shared_memory.exe:sha red_memory.exe (000000013F200000), size: 3989504 (result: 0), SymType: 'PDB', PDB: 'D:\Installs\EverQuest\Server\shared_memory.exe'
[03.08. - 10:14:45] C:\Windows\SYSTEM32\ntdll.dll:ntdll.dll (00000000778E0000), size: 1740800 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\ntdll.dll', fileVersion: 6.1.7601.17725
[03.08. - 10:14:45] C:\Windows\system32\kernel32.dll:kernel32.dll (00000000777C0000), size: 1175552 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\kernel32.dll', fileVersion: 6.1.7601.18015
[03.08. - 10:14:45] C:\Windows\system32\KERNELBASE.dll:KERNELBASE.dll (000007FEFD220000), size: 438272 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\KERNELBASE.dll', fileVersion: 6.1.7601.18015
[03.08. - 10:14:45] C:\Windows\system32\WS2_32.dll:WS2_32.dll (000007FEFEF50000), size: 315392 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\WS2_32.dll', fileVersion: 6.1.7601.17514
[03.08. - 10:14:45] C:\Windows\system32\msvcrt.dll:msvcrt.dll (000007FEFEAC0000), size: 651264 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\msvcrt.dll', fileVersion: 7.0.7601.17744
[03.08. - 10:14:45] C:\Windows\system32\RPCRT4.dll:RPCRT4.dll (000007FEFEB60000), size: 1232896 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\RPCRT4.dll', fileVersion: 6.1.7601.17514
[03.08. - 10:14:45] C:\Windows\system32\NSI.dll:NSI.dll (000007FEFE8A0000), size: 32768 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\NSI.dll', fileVersion: 6.1.7600.16385
[03.08. - 10:14:45] C:\Windows\system32\VERSION.dll:VERSION.dll (000007FEFC2B0000), size: 49152 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\VERSION.dll', fileVersion: 6.1.7600.16385
[03.08. - 10:14:45] C:\Windows\system32\ADVAPI32.dll:ADVAPI32.dll (000007FEFEE70000), size: 897024 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\ADVAPI32.dll', fileVersion: 6.1.7600.16385
[03.08. - 10:14:45] C:\Windows\SYSTEM32\sechost.dll:sechost.dll (000007FEFD6F0000), size: 126976 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SYSTEM32\sechost.dll', fileVersion: 6.1.7600.16385
[03.08. - 10:14:45] C:\Windows\system32\NLAapi.dll:NLAapi.dll (000007FEFA4E0000), size: 86016 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\NLAapi.dll', fileVersion: 6.1.7601.17964
[03.08. - 10:14:45] C:\Windows\system32\napinsp.dll:napinsp.dll (000007FEF7950000), size: 86016 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\napinsp.dll', fileVersion: 6.1.7600.16385
[03.08. - 10:14:45] C:\Windows\system32\pnrpnsp.dll:pnrpnsp.dll (000007FEF7930000), size: 102400 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\pnrpnsp.dll', fileVersion: 6.1.7600.16385
[03.08. - 10:14:45] C:\Windows\System32\mswsock.dll:mswsock.dll (000007FEFC980000), size: 348160 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\mswsock.dll', fileVersion: 6.1.7601.17514
[03.08. - 10:14:45] C:\Windows\system32\user32.dll:user32.dll (00000000776C0000), size: 1024000 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\user32.dll', fileVersion: 6.1.7601.17514
[03.08. - 10:14:45] C:\Windows\system32\GDI32.dll:GDI32.dll (000007FEFD680000), size: 421888 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\GDI32.dll', fileVersion: 6.1.7601.17514
[03.08. - 10:14:45] C:\Windows\system32\LPK.dll:LPK.dll (000007FEFEA10000), size: 57344 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\LPK.dll', fileVersion: 6.1.7600.16385
[03.08. - 10:14:45] C:\Windows\system32\USP10.dll:USP10.dll (000007FEFE8E0000), size: 823296 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\USP10.dll', fileVersion: 1.626.7601.18009
[03.08. - 10:14:45] C:\Windows\system32\IMM32.DLL:IMM32.DLL (000007FEFE8B0000), size: 188416 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\IMM32.DLL', fileVersion: 6.1.7600.16385
[03.08. - 10:14:45] C:\Windows\system32\MSCTF.dll:MSCTF.dll (000007FEFE6B0000), size: 1085440 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\MSCTF.dll', fileVersion: 6.1.7600.16385
[03.08. - 10:14:45] C:\Windows\system32\DNSAPI.dll:DNSAPI.dll (000007FEFC810000), size: 372736 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\DNSAPI.dll', fileVersion: 6.1.7601.17570
[03.08. - 10:14:45] C:\Windows\System32\winrnr.dll:winrnr.dll (000007FEF7920000), size: 45056 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\winrnr.dll', fileVersion: 6.1.7600.16385
[03.08. - 10:14:45] C:\Program Files\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL:WLIDNSP.DLL (0000000072840000), size: 188416 (result: 0), SymType: '-exported-', PDB: 'C:\Program Files\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL', fileVersion: 6.500.3165.0
[03.08. - 10:14:45] C:\Windows\system32\PSAPI.DLL:PSAPI.DLL (0000000077AB0000), size: 28672 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\PSAPI.DLL', fileVersion: 6.1.7600.16385
[03.08. - 10:14:45] C:\Windows\system32\SHLWAPI.dll:SHLWAPI.dll (000007FEFD600000), size: 462848 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\SHLWAPI.dll', fileVersion: 6.1.7601.17514
[03.08. - 10:14:45] C:\Windows\system32\rasadhlp.dll:rasadhlp.dll (000007FEF86F0000), size: 32768 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\rasadhlp.dll', fileVersion: 6.1.7600.16385
[03.08. - 10:14:45] C:\Windows\system32\dbghelp.dll:dbghelp.dll (000007FEF7B80000), size: 1200128 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\dbghelp.dll', fileVersion: 6.1.7601.17514
[03.08. - 10:14:45] C:\Windows\system32\SspiCli.dll:SspiCli.dll (000007FEFD010000), size: 151552 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\SspiCli.dll', fileVersion: 6.1.7601.17725
[03.08. - 10:14:45] g:\bs\connector-c-vs2008-64bit\src\mysql-connector-c-6.0.2\libmysql\client.c (2899): mysql_send_query
[03.08. - 10:14:45] g:\bs\connector-c-vs2008-64bit\src\mysql-connector-c-6.0.2\libmysql\client.c (2910): mysql_real_query
[03.08. - 10:14:45] d:\dropbox\server source\everquest\source\server\common\dbcore.cpp (76): DBcore::RunQuery
[03.08. - 10:14:45] d:\dropbox\server source\everquest\source\server\common\shareddb.cpp (728): SharedDatabase::GetItemsCount
[03.08. - 10:14:45] d:\dropbox\server source\everquest\source\server\shared_memory\items .cpp (34): LoadItems
[03.08. - 10:14:45] d:\dropbox\server source\everquest\source\server\shared_memory\main. cpp (111): main
[03.08. - 10:14:45] f:\dd\vctools\crt_bld\self_64_amd64\crt\src\crt0.c (241): __tmainCRTStartup
[03.08. - 10:14:45] ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000777D652D)
[03.08. - 10:14:45] 00000000777D652D (kernel32): (filename not available): BaseThreadInitThunk
[03.08. - 10:14:45] ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007790C521)
[03.08. - 10:14:45] 000000007790C521 (ntdll): (filename not available): RtlUserThreadStart


However, compiling DEBUG | x64, it works.

Any suggestions on what I can try to figure out why the release compile doesn't work?

KLS
03-08-2013, 10:03 PM
Thanks, this was a problem with DBCore not shared_memory. I will have it corrected tonight. I'm shocked it's never popped up before now.

nosfentora
03-11-2013, 08:59 AM
Glad I could help, albeit unknowingly.....

Thanks KLS

TallonZek10
09-04-2014, 09:41 PM
So what's the solution? I'm still having this problem.

joligario
09-04-2014, 11:35 PM
The solution is to stand by as noted above:
I will have it corrected tonight.

lerxst2112
09-05-2014, 01:16 AM
Except tonight was 6 months ago. You should post what your stack trace looks like as well as any other relevant information, it may not have anything to do with this particular problem or fix.

joligario
09-05-2014, 05:55 AM
Haha, I should read first. As lex hinted, probably not the same issue as there have been many code changes over 6 months.

TallonZek10
09-06-2014, 12:44 PM
Well I'm getting this. It's pretty much word for word the exact same issue as nosfentora with the exception of file locations and system names.-

--------------------------------------------
[09.06. - 09:50:23] Starting Log: logs/crash_shared_memory_8828.log
[09.06. - 09:50:23] EXCEPTION_ACCESS_VIOLATION
[09.06. - 09:50:23] 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: 'James'
[09.06. - 09:50:23] OS-Version: 6.1.7601 (Service Pack 1) 0x100-0x1
[09.06. - 09:50:25] C:\EQ\EQEmuserver\shared_memory.exe:shared_memory. exe (01270000), size: 4886528 (result: 0), SymType: 'PDB', PDB: 'C:\EQ\EQEmuserver\shared_memory.exe'
[09.06. - 09:50:25] C:\Windows\SysWOW64\ntdll.dll:ntdll.dll (77E20000), size: 1572864 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SysWOW64\ntdll.dll', fileVersion: 6.1.7601.18247
[09.06. - 09:50:25] C:\Windows\syswow64\kernel32.dll:kernel32.dll (77370000), size: 1114112 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\kernel32.dll', fileVersion: 6.1.7601.18409
[09.06. - 09:50:25] C:\Windows\syswow64\KERNELBASE.dll:KERNELBASE.dll (75880000), size: 290816 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\KERNELBASE.dll', fileVersion: 6.1.7601.18409
[09.06. - 09:50:25] C:\Windows\syswow64\WS2_32.dll:WS2_32.dll (758D0000), size: 217088 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\WS2_32.dll', fileVersion: 6.1.7601.17514
[09.06. - 09:50:25] C:\Windows\syswow64\msvcrt.dll:msvcrt.dll (774F0000), size: 704512 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\msvcrt.dll', fileVersion: 7.0.7601.17744
[09.06. - 09:50:25] C:\Windows\syswow64\RPCRT4.dll:RPCRT4.dll (76C90000), size: 983040 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\RPCRT4.dll', fileVersion: 6.1.7601.18532
[09.06. - 09:50:25] C:\Windows\syswow64\SspiCli.dll:SspiCli.dll (75820000), size: 393216 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\SspiCli.dll', fileVersion: 6.1.7601.18496
[09.06. - 09:50:25] C:\Windows\syswow64\CRYPTBASE.dll:CRYPTBASE.dll (75810000), size: 49152 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\CRYPTBASE.dll', fileVersion: 6.1.7600.16385
[09.06. - 09:50:26] C:\Windows\SysWOW64\sechost.dll:sechost.dll (75960000), size: 102400 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\SysWOW64\sechost.dll', fileVersion: 6.1.7600.16385
[09.06. - 09:50:26] C:\Windows\syswow64\NSI.dll:NSI.dll (77DF0000), size: 24576 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\NSI.dll', fileVersion: 6.1.7600.16385
[09.06. - 09:50:26] C:\Windows\system32\VERSION.dll:VERSION.dll (72960000), size: 36864 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\VERSION.dll', fileVersion: 6.1.7600.16385
[09.06. - 09:50:26] C:\Windows\syswow64\USER32.dll:USER32.dll (775A0000), size: 1048576 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\USER32.dll', fileVersion: 6.1.7601.17514
[09.06. - 09:50:26] C:\Windows\syswow64\GDI32.dll:GDI32.dll (76D80000), size: 589824 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\GDI32.dll', fileVersion: 6.1.7601.18577
[09.06. - 09:50:26] C:\Windows\syswow64\LPK.dll:LPK.dll (776A0000), size: 40960 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\LPK.dll', fileVersion: 6.1.7601.18177
[09.06. - 09:50:26] C:\Windows\syswow64\USP10.dll:USP10.dll (77270000), size: 643072 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\USP10.dll', fileVersion: 1.626.7601.18454
[09.06. - 09:50:26] C:\Windows\syswow64\ADVAPI32.dll:ADVAPI32.dll (76720000), size: 655360 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\ADVAPI32.dll', fileVersion: 6.1.7601.18247
[09.06. - 09:50:26] C:\Windows\system32\IMM32.DLL:IMM32.DLL (77210000), size: 393216 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\IMM32.DLL', fileVersion: 6.1.7601.17514
[09.06. - 09:50:26] C:\Windows\syswow64\MSCTF.dll:MSCTF.dll (76BC0000), size: 835584 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\MSCTF.dll', fileVersion: 6.1.7600.16385
[09.06. - 09:50:26] C:\Windows\system32\NLAapi.dll:NLAapi.dll (718C0000), size: 65536 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\NLAapi.dll', fileVersion: 6.1.7601.17761
[09.06. - 09:50:26] C:\Windows\system32\napinsp.dll:napinsp.dll (718B0000), size: 65536 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\napinsp.dll', fileVersion: 6.1.7600.16385
[09.06. - 09:50:26] C:\Windows\system32\pnrpnsp.dll:pnrpnsp.dll (71890000), size: 73728 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\pnrpnsp.dll', fileVersion: 6.1.7600.16385
[09.06. - 09:50:26] C:\Windows\System32\mswsock.dll:mswsock.dll (71850000), size: 245760 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\mswsock.dll', fileVersion: 6.1.7601.18254
[09.06. - 09:50:26] C:\Windows\system32\DNSAPI.dll:DNSAPI.dll (71800000), size: 278528 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\DNSAPI.dll', fileVersion: 6.1.7601.17570
[09.06. - 09:50:26] C:\Windows\System32\winrnr.dll:winrnr.dll (71760000), size: 32768 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\winrnr.dll', fileVersion: 6.1.7600.16385
[09.06. - 09:50:26] C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL:WLIDNSP.DLL (71730000), size: 159744 (result: 0), SymType: '-exported-', PDB: 'C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL', fileVersion: 7.250.4311.0
[09.06. - 09:50:26] C:\Windows\syswow64\PSAPI.DLL:PSAPI.DLL (774E0000), size: 20480 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\PSAPI.DLL', fileVersion: 6.1.7600.16385
[09.06. - 09:50:26] C:\Windows\syswow64\SHLWAPI.dll:SHLWAPI.dll (77840000), size: 356352 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\syswow64\SHLWAPI.dll', fileVersion: 6.1.7601.17514
[09.06. - 09:50:26] C:\Windows\system32\wshbth.dll:wshbth.dll (71720000), size: 53248 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\wshbth.dll', fileVersion: 6.1.7601.17514
[09.06. - 09:50:26] C:\Windows\system32\rasadhlp.dll:rasadhlp.dll (73FD0000), size: 24576 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\rasadhlp.dll', fileVersion: 6.1.7600.16385
[09.06. - 09:50:26] C:\Windows\System32\wshtcpip.dll:wshtcpip.dll (71530000), size: 20480 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\System32\wshtcpip.dll', fileVersion: 6.1.7600.16385
[09.06. - 09:50:26] C:\Windows\system32\dbghelp.dll:dbghelp.dll (71DA0000), size: 962560 (result: 0), SymType: '-exported-', PDB: 'C:\Windows\system32\dbghelp.dll', fileVersion: 6.1.7601.17514
[09.06. - 09:50:27] f:\dd\vctools\crt_bld\self_x86\crt\src\atof.c (59): _atof_l
[09.06. - 09:50:28] f:\dd\vctools\crt_bld\self_x86\crt\src\atof.c (71): atof
[09.06. - 09:50:28] c:\eq\source\common\shareddb.cpp (1760): SharedDatabase::LoadSpells
[09.06. - 09:50:28] c:\eq\source\shared_memory\spells.cpp (41): LoadSpells
[09.06. - 09:50:28] c:\eq\source\shared_memory\main.cpp (154): main
[09.06. - 09:50:28] f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (240): __tmainCRTStartup
[09.06. - 09:50:28] f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c (164): mainCRTStartup
[09.06. - 09:50:28] ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 7738338A)
[09.06. - 09:50:28] 7738338A (kernel32): (filename not available): BaseThreadInitThunk
[09.06. - 09:50:28] ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 77E59F72)
[09.06. - 09:50:28] 77E59F72 (ntdll): (filename not available): RtlInitializeExceptionChain
[09.06. - 09:50:28] ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 77E59F45)
[09.06. - 09:50:28] 77E59F45 (ntdll): (filename not available): RtlInitializeExceptionChain

demonstar55
09-06-2014, 01:27 PM
Well I'm getting this. It's pretty much word for word the exact same issue as nosfentora with the exception of file locations and system names.-

Nope his crash:
[03.08. - 10:14:45] d:\dropbox\server source\everquest\source\server\common\dbcore.cpp (76): DBcore::RunQuery
[03.08. - 10:14:45] d:\dropbox\server source\everquest\source\server\common\shareddb.cpp (728): SharedDatabase::GetItemsCount
[03.08. - 10:14:45] d:\dropbox\server source\everquest\source\server\shared_memory\items .cpp (34): LoadItems
[03.08. - 10:14:45] d:\dropbox\server source\everquest\source\server\shared_memory\main. cpp (111): main

Your crash:
[09.06. - 09:50:28] c:\eq\source\common\shareddb.cpp (1760): SharedDatabase::LoadSpells
[09.06. - 09:50:28] c:\eq\source\shared_memory\spells.cpp (41): LoadSpells
[09.06. - 09:50:28] c:\eq\source\shared_memory\main.cpp (154): main

kinglykrab explains what you needed to do to stop it in the thread you started. You should also probably update your source as well.

TallonZek10
09-06-2014, 02:05 PM
Well I'm a bit of a nooby when it comes to servers. But I followed KinglyKrab's instructions, I had some files that didn't duplicate but it didn't fix the problem. And my source is the PEQDB from August 2014...Is there a newer one I haven't seen?