Igniz - Jun 27, 2013 23:49
Tested under windows and linux, could anyone confirm?
Crashdump of windows:
[spoiler]
[code=auto:0]> map-server.exe!script_free_state(script_state * st) Line 2801 C
map-server.exe!script_reload(...) Line 3861 C
map-server.exe!atcommand_reloadscript(const int fd, map_session_data * sd, const char * command, const char * message, AtCommandInfo * info) Line 3750 C
map-server.exe!is_atcommand(const int fd, map_session_data * sd, const char * message, int type) Line 9985 C
map-server.exe!clif_parse_GlobalMessage(int fd, map_session_data * sd) Line 9901 C
map-server.exe!clif_parse(int fd) Line 17590 C
map-server.exe!do_sockets(int next) Line 810 C
map-server.exe!main(int argc, char * * argv) Line 347 C
map-server.exe!__tmainCRTStartup() Line 241 C
map-server.exe!mainCRTStartup() Line 164 C
[/code]
[img]http://i.imgur.com/n702sQL.png[/img]
[code=auto:0]st 0x06786790 {stack=0x00000000 {sp=??? sp_max=??? defsp=??? ...} start=0 end=0 ...} script_state *[/code]
[code=auto:0] if( st->script && st->script->script_vars && !db_size(st->script->script_vars) ) {
007D568B mov eax,dword ptr [st]
007D568E cmp dword ptr [eax+1Ch],0
007D5692 je script_free_state+1D7h (07D56E7h)
007D5694 mov eax,dword ptr [st]
007D5697 mov ecx,dword ptr [eax+1Ch]
007D569A cmp dword ptr [ecx+8],0
007D569E je script_free_state+1D7h (07D56E7h)
007D56A0 mov eax,dword ptr [st]
007D56A3 mov ecx,dword ptr [eax+1Ch]
007D56A6 mov esi,esp
007D56A8 mov edx,dword ptr [ecx+8]
007D56AB push edx
007D56AC mov eax,dword ptr [st]
007D56AF mov ecx,dword ptr [eax+1Ch]
007D56B2 mov edx,dword ptr [ecx+8]
>007D56B5 mov eax,dword ptr [edx+3Ch]
007D56B8 call eax
007D56BA add esp,4
007D56BD cmp esi,esp
007D56BF call __RTC_CheckEsp (05B432Ah)
007D56C4 test eax,eax
007D56C6 jne script_free_state+1D7h (07D56E7h) [/code]
[/spoiler]
This post has been edited by
Igniz
on Jun 27, 2013 23:52
Igniz - Jun 28, 2013 0:07
Last Hercules compile (sadly)
ossi0110 - Jun 28, 2013 16:16
CANT reproduce using Windows and PRE RE Mode