Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CrashDetect does not load on Windows XP v11 and up #17

Closed
karimcambridge opened this issue May 20, 2013 · 1 comment
Closed

CrashDetect does not load on Windows XP v11 and up #17

karimcambridge opened this issue May 20, 2013 · 1 comment

Comments

@karimcambridge
Copy link
Contributor

Since version 11 and up, crashdetect crashes on load. v11.1 crashlog is below as v11 didn't create one

Windows XP SP2
Intel
HP Compaq dx2300 Microtower


SA-MP Server: 0.3x

Exception At Address: 0x010244A3 Module: (crashdetect.dll)

Registers:

EAX: 0x0100272F EBX: 0x003F69D0 ECX: 0x00000000 EDX: 0x00000000

ESI: 0x00401C90 EDI: 0x7C80ADB0 EBP: 0x0012FBE4 ESP: 0x0012FBE4

EFLAGS: 0x00010212

Stack:

+0000: 0x0012FC30 0x01026208 0x0100272F 0x003F6FA0

+0010: 0x0012FC24 0x00000000 0x0012FC38 0x00000001

+0020: 0x0012FC2C 0x7C80ADEE 0x0012FC2C 0x7C80AE00

+0030: 0x01000000 0x00000000 0x7C80ADB0 0x003F69D0

+0040: 0x000C000B 0x004AC984 0x3B0D3A93 0x003F69D0

+0050: 0x0046982B 0x003F69D0 0x0012FD78 0x003F7A3C

+0060: 0xFFFFFFFF 0x003F6FA0 0x0046997C 0x0012FD64

+0070: 0x004B03FD 0x003F79A1 0x00000000 0x67756C70

+0080: 0x5C736E69 0x006E0000 0x00730074 0x00610020

+0090: 0x0064006E 0x00530020 0x00740065 0x00000000

+00A0: 0x0067006E 0x005C0073 0x0061004B 0x00690072

+00B0: 0x005C006D 0x0079004D 0x00440020 0x0063006F

+00C0: 0x006D0075 0x003F7A90 0x00730074 0x0047005C

+00D0: 0x00610072 0x0064006E 0x00540020 0x00650068

+00E0: 0x00740066 0x00410020 0x00740075 0x003F6E90

+00F0: 0x00610053 0x0020006E 0x003F0178 0x00720064

+0100: 0x003F6E98 0x005C0073 0x003F7A88 0x00000008

+0110: 0x003F0178 0x00450053 0x00560052 0x003F0178

+0120: 0x00430028 0x003F69D0 0x005C0029 0x00610073

+0130: 0x0070006D 0x0073002D 0x00720065 0x00650076


Loaded Modules:

samp-server.exe A: 0x00400000 - 0x004F4000 (C:\Documents and Settings\Karim\My Documents\Grand Theft Auto San Andreas\SA-MP SERVER(CNR)\samp-server.exe)

ntdll.dll A: 0x7C900000 - 0x7C9B2000 (C:\WINDOWS\system32\ntdll.dll)

snxhk.dll A: 0x64D00000 - 0x64D3F000 (C:\Program Files\AVAST Software\Avast\snxhk.dll)

KERNEL32.dll A: 0x7C800000 - 0x7C8F5000 (C:\WINDOWS\system32\KERNEL32.dll)

SHELL32.dll A: 0x7C9C0000 - 0x7D1D6000 (C:\WINDOWS\system32\SHELL32.dll)

ADVAPI32.dll A: 0x77DD0000 - 0x77E6B000 (C:\WINDOWS\system32\ADVAPI32.dll)

RPCRT4.dll A: 0x77E70000 - 0x77F02000 (C:\WINDOWS\system32\RPCRT4.dll)

Secur32.dll A: 0x77FE0000 - 0x77FF1000 (C:\WINDOWS\system32\Secur32.dll)

GDI32.dll A: 0x77F10000 - 0x77F58000 (C:\WINDOWS\system32\GDI32.dll)

USER32.dll A: 0x77D40000 - 0x77DD0000 (C:\WINDOWS\system32\USER32.dll)

msvcrt.dll A: 0x77C10000 - 0x77C68000 (C:\WINDOWS\system32\msvcrt.dll)

SHLWAPI.dll A: 0x77F60000 - 0x77FD6000 (C:\WINDOWS\system32\SHLWAPI.dll)

WSOCK32.dll A: 0x71AD0000 - 0x71AD9000 (C:\WINDOWS\system32\WSOCK32.dll)

WS2_32.dll A: 0x71AB0000 - 0x71AC7000 (C:\WINDOWS\system32\WS2_32.dll)

WS2HELP.dll A: 0x71AA0000 - 0x71AA8000 (C:\WINDOWS\system32\WS2HELP.dll)

WINMM.dll A: 0x76B40000 - 0x76B6D000 (C:\WINDOWS\system32\WINMM.dll)

comctl32.dll A: 0x773D0000 - 0x774D2000 (C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll)

comctl32.dll A: 0x5D090000 - 0x5D127000 (C:\WINDOWS\system32\comctl32.dll)

mysql.dll A: 0x10000000 - 0x10016000 (C:\Documents and Settings\Karim\My Documents\Grand Theft Auto San Andreas\SA-MP SERVER(CNR)\plugins\mysql.dll)

LIBMYSQL.dll A: 0x00B70000 - 0x00CE6000 (C:\Documents and Settings\Karim\My Documents\Grand Theft Auto San Andreas\SA-MP SERVER(CNR)\LIBMYSQL.dll)

MSVCP100.dll A: 0x78050000 - 0x780B9000 (C:\WINDOWS\system32\MSVCP100.dll)

MSVCR100.dll A: 0x78AA0000 - 0x78B5E000 (C:\WINDOWS\system32\MSVCR100.dll)

mswsock.dll A: 0x71A50000 - 0x71A8F000 (C:\WINDOWS\system32\mswsock.dll)

DNSAPI.dll A: 0x76F20000 - 0x76F47000 (C:\WINDOWS\system32\DNSAPI.dll)

winrnr.dll A: 0x76FB0000 - 0x76FB8000 (C:\WINDOWS\System32\winrnr.dll)

WLDAP32.dll A: 0x76F60000 - 0x76F8C000 (C:\WINDOWS\system32\WLDAP32.dll)

rasadhlp.dll A: 0x76FC0000 - 0x76FC6000 (C:\WINDOWS\system32\rasadhlp.dll)

streamer.dll A: 0x00E20000 - 0x00E5E000 (C:\Documents and Settings\Karim\My Documents\Grand Theft Auto San Andreas\SA-MP SERVER(CNR)\plugins\streamer.dll)

sscanf.dll A: 0x00E70000 - 0x00E7C000 (C:\Documents and Settings\Karim\My Documents\Grand Theft Auto San Andreas\SA-MP SERVER(CNR)\plugins\sscanf.dll)

irc.dll A: 0x00E90000 - 0x00EDC000 (C:\Documents and Settings\Karim\My Documents\Grand Theft Auto San Andreas\SA-MP SERVER(CNR)\plugins\irc.dll)

nativechecker.dll A: 0x00FF0000 - 0x00FF5000 (C:\Documents and Settings\Karim\My Documents\Grand Theft Auto San Andreas\SA-MP SERVER(CNR)\plugins\nativechecker.dll)

Zeex added a commit that referenced this issue May 22, 2013
TLS storage happens to be not initialized for DLLs that access TLS variables
in pre-existing threads (like the main thread of the SA-MP server).

More details in this blog post:

https://blogs.msdn.com/b/oldnewthing/archive/2010/11/22/10094489.aspx?Redirected=true

This fixes issue #17.
@Zeex
Copy link
Owner

Zeex commented May 22, 2013

Fixed in 4.11.2, see downloads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants