rotators / fomono

FOnline SDK Mono extension
3 stars 2 forks source link

FOnlineServer.exe crashes with MonoEnabled=0 in FOnlineServer.cfg #4

Open k3tamina opened 11 years ago

k3tamina commented 11 years ago

Host system: Windows 7 x64

Steps to reproduce this bug:

1) Download latest binaries 2) Check the presence of the lines in FOnlineServer.cfg 3) Run Wipe.bat 4) Run FOnlineServer.exe and press the "Start Server" button

In the end you will obtain the Log on the server window and the CrashDump_FOnlineServer0518*\ file

FOnlineServer.cfg:

MonoEnabled=0 MonoLibDir=mono/lib

Wipe.bat

del scripts.fosb del scripts.fosp del maps.fomapb del scripts.fosb del scripts.fosp del maps.mapb del save.fo del save\clients.client del save\clients\last_id.txt

Log

[00:000] FOnline server, version 0518-F7. [01:772] * Starting initialization ** [01:779] Script system initialization... [01:801] Reload scripts... [23:098] Reload scripts complete. [23:098] Bind reserved functions... [23:107] Bind reserved functions complete. [23:107] Script system initialization complete. [23:107] Loading language packs... [23:188] Loading language packs complete, loaded<2> packs. [23:188] Reload client scripts... [26:938] Reload client scripts complete. [26:938] Indexing client data. [26:938] Clients data not found. [26:939] AI manager initialization... [26:939] Find bags... [27:081] Loaded<722> bags. [27:081] AI manager initialization complete. [27:081] Item manager initialization... [27:094] Item manager initialization complete. [27:094] Critter manager initialization... [27:142] Critter manager initialization complete. [27:142] Map manager initialization... [27:147] Map manager initialization complete. [27:147] Var manager initialization. [27:147] Update template vars... [27:165] Update template vars complete. [27:165] Var manager initialization complete. [27:165] Load Dialogs...[27:165] from list. [27:219] Loading dialogs finish, loaded<62/62>. [27:225] FixBoy load crafts... [27:236] FixBoy load crafts complete. [27:242] Loaded<282> critter types. [27:263] Loading items prototypes... [28:707] Items prototypes successfully loaded, count<5395>. [28:708] Loading critters prototypes... [28:732] Loaded<309> critter protos, errors<0>. [28:732] Load location and map prototypes... [33:349] Load location and map prototypes complete, loaded<39> location protos. [33:355] MonoManager::MainInit[33:355] MonoManager::MainInit: Main[33:769] World dump file not found. [33:769] Generate world... [33:769] Location: pid<500>, worldX<802>, worldY<1004>. [33:769] Unable to call managed Map::Create

CrashDump_FOnlineServer_0518_2013.07.17_15-09-44.txt

Application Name FOnlineServer Version 0518 OS 6.1.7601 (Service Pack 1) Timestamp 2013.07.17 15:09:44

Exception Code EXCEPTION_ACCESS_VIOLATION Address 0x77728DC9 Flags 0x0

Thread 'Main' (5628, current) ntdll, RtlIntegerToUnicodeString + 764 ntdll, RtlIntegerToUnicodeString + 523 mono-2.0, mono_gc_memmove + 283 FOnlineServer, public: void thiscall Map::SetMonoMap(struct MonoObject ) + 44 FOnlineServer, public: class Map \ thiscall MapManager::CreateMap(unsigned short,class Location ,unsigned int) + 427 FOnlineServer, public: class Location * thiscall MapManager::CreateLocation(unsigned short,unsigned short,unsigned short,unsigned int) + 303 FOnlineServer, public: bool thiscall MapManager::GenerateWorld(char const ,int) + 447 FOnlineServer, public: static bool cdecl FOServer::NewWorld(void) + 27 FOnlineServer, public: static bool cdecl FOServer::InitReal(void) + 1186 FOnlineServer, public: static bool cdecl FOServer::Init(void) + 22 FOnlineServer, void cdecl GameLoopThread(void ) + 10 FOnlineServer, void * __cdecl ThreadBeginExecution(void ) + 44 FOnlineServer, _ptw32_threadStart@4 + 97 FOnlineServer, endthreadex + 58 FOnlineServer, endthreadex + 196 kernel32, BaseThreadInitThunk + 18 ntdll, RtlInitializeExceptionChain + 99 ntdll, RtlInitializeExceptionChain + 54

Thread 'GUI' (5164) ntdll, ZwWaitForMultipleObjects + 21 kernel32, WaitForMultipleObjectsEx + 142 USER32, MsgWaitForMultipleObjectsEx + 250 USER32, MsgWaitForMultipleObjects + 31 FOnlineServer, int __cdecl fl_wait(double) + 665 FOnlineServer, public: static double cdecl Fl::wait(double) + 23 FOnlineServer, public: static int cdecl Fl::wait(void) + 33 FOnlineServer, _main + 1169 FOnlineServer, _WinMain@16 + 402 FOnlineServer, __tan_default + 552 kernel32, BaseThreadInitThunk + 18 ntdll, RtlInitializeExceptionChain + 99 ntdll, RtlInitializeExceptionChain + 54

Thread 'GUIUpdate' (5740) ntdll, ZwDelayExecution + 21 KERNELBASE, Sleep + 15 FOnlineServer, public: static void cdecl Thread::Sleep(unsigned int) + 13 FOnlineServer, void cdecl GUIUpdate(void ) + 17 FOnlineServer, void * __cdecl ThreadBeginExecution(void ) + 44 FOnlineServer, _ptw32_threadStart@4 + 97 FOnlineServer, endthreadex + 58 FOnlineServer, endthreadex + 196 kernel32, BaseThreadInitThunk + 18 ntdll, RtlInitializeExceptionChain + 99 ntdll, RtlInitializeExceptionChain + 54

Thread 'ScriptTimeout' (4676) ntdll, ZwDelayExecution + 21 KERNELBASE, Sleep + 15 FOnlineServer, public: static void cdecl Thread::Sleep(unsigned int) + 13 FOnlineServer, void cdecl RunTimeout(void ) + 963 FOnlineServer, void * __cdecl ThreadBeginExecution(void ) + 44 FOnlineServer, _ptw32_threadStart@4 + 97 FOnlineServer, endthreadex + 58 FOnlineServer, endthreadex + 196 kernel32, BaseThreadInitThunk + 18 ntdll, RtlInitializeExceptionChain + 99 ntdll, RtlInitializeExceptionChain + 54

Loaded modules D:_\Documents\Visual Studio 2010\Projects\FOnline\fonline-aop\trunk\server\FOnlineServer.exe (00400000) C:\Windows\SysWOW64\ntdll.dll (776F0000) C:\Windows\syswow64\kernel32.dll (771D0000) C:\Windows\syswow64\KERNELBASE.dll (752A0000) C:\Windows\syswow64\USER32.dll (76F50000) C:\Windows\syswow64\GDI32.dll (75660000) C:\Windows\syswow64\LPK.dll (76840000) C:\Windows\syswow64\USP10.dll (76860000) C:\Windows\syswow64\msvcrt.dll (77050000) C:\Windows\syswow64\ADVAPI32.dll (75700000) C:\Windows\SysWOW64\sechost.dll (75640000) C:\Windows\syswow64\RPCRT4.dll (76A20000) C:\Windows\syswow64\SspiCli.dll (75140000) C:\Windows\syswow64\CRYPTBASE.dll (75130000) C:\Windows\syswow64\WS2_32.dll (76800000) C:\Windows\syswow64\NSI.dll (772E0000) D:\**\Documents\Visual Studio 2010\Projects\FOnline\fonline-aop\trunk\server\mono-2.0.dll (659C0000) C:\Windows\system32\MSWSOCK.DLL (71E90000) C:\Windows\syswow64\OLE32.dll (76680000) C:\Windows\syswow64\OLEAUT32.DLL (757B0000) C:\Windows\syswow64\PSAPI.DLL (776C0000) C:\Windows\syswow64\SHELL32.DLL (75840000) C:\Windows\syswow64\SHLWAPI.dll (76580000) C:\Windows\system32\VERSION.dll (73370000) C:\Windows\system32\WINMM.DLL (721F0000) C:\Windows\system32\dbghelp.dll (6C050000) C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7601.17514_noneec83dffa859149af\COMCTL32.dll (74760000) C:\Windows\system32\IMM32.DLL (75230000) C:\Windows\syswow64\MSCTF.dll (77100000) C:\Windows\system32\uxtheme.dll (6E6B0000) C:\Windows\system32\dwmapi.dll (6E610000) C:\Windows\syswow64\CLBCatQ.DLL (764F0000) C:\Windows\system32\msimtf.dll (740D0000) D:**_\Documents\Visual Studio 2010\Projects\FOnline\fonline-aop\trunk\server\scripts\fonline_tla.dll (6D490000) D:\_\Documents\Visual Studio 2010\Projects\FOnline\fonline-aop\trunk\server\scripts\fonline_test.dll (67310000)

k3tamina commented 11 years ago

Forgot to mention that if using the FOnlineServer.exe from the "fonline_sdk" (Version 0518) this error doesn't happen.