mangosArchives / Mangos-Zero-server-old

This repo has been moved to: https://github.com/mangoszero/server
http://www.getmangos.eu/
Other
63 stars 2 forks source link

Fixed a crash on closing mangosd.exe #15

Closed Psimage closed 12 years ago

Psimage commented 12 years ago

Crash log:

Revision: * * 1809 *
Date 8:11:2011. Time 17:11 
//=====================================================
*** Hardware ***
Processor: Intel(R) Celeron(R) M CPU        520  @ 1.60GHz
Number Of Processors: 1
Physical Memory: 2087024 KB (Available: 1133052 KB)
Commit Charge Limit: 2701204 KB

*** Operation System ***
Microsoft Windows XP Professional Service Pack 3 (Version 5.1, Build 2600)

//=====================================================
Exception code: C0000005 ACCESS_VIOLATION
Fault address:  0090F629 02:000BB629 D:\MaNGOS\zero_dev\Mangos_Server\bin\Win32_Debug\mangosd.exe

Registers:
EAX:E5E5E5E9
EBX:020EB150
ECX:E5E5E5E5
EDX:78CC5600
ESI:02F9FE70
EDI:02F9FD04
CS:EIP:001B:0090F629
SS:ESP:0023:02F9FCBC  EBP:02F9FD10
DS:0023  ES:0023  FS:003B  GS:0000
Flags:00010246

Call stack:
Address   Frame     Function      SourceFile
0090F629  00000000  

With some debug magic i found that BattleGroundMng tries to erase some not existing data.

New problem

After shutdown command (or restart), mangosd.exe proccess freezes (he still works but eats all CPU time) and not exiting by himself (if i click "close" button it closes process). Debug shows that it start freezing after "exit(code)" function (after executing main).

DomGries commented 12 years ago

http://getmangos.com/community/topic/16971/one-server-crashes-on-windows-reasonworkaround/ . Either a coincidence or you copied the patch from me. Either way the proper patch is in my last post in the linked thread :)

Psimage commented 12 years ago

Thx. Your version is nicer :) But why its still not in release? And don't you know something how to solve the second problem?