crashdetect
#1

so i came across one problem today , my server crashes everytime i type my password in. But while registering everything is fine.

I'm using crashdetect plugin , can someone help me out ?

Код:
--------------------------

SA-MP Server: 0.3.7-R2



Exception At Address: 0x00401ED7 Module: (samp-server.exe)



Registers:

EAX: 0x00000081	EBX: 0x00000001	ECX: 0x00000000	EDX: 0x63000000

ESI: 0x026F44D8	EDI: 0x02672A40	EBP: 0x026E8588	ESP: 0x0019F850

EFLAGS: 0x00010206



Stack:

+0000: 0x0019FB54   0x02672A40   0x00000000   0x00000000

+0010: 0x00000001   0x000246B4   0x00024B20   0x00024B30

+0020: 0x00020B58   0x00000000   0x00020B58   0x026E856C

+0030: 0x026F44D8   0x00000000   0x026E77B8   0x0000BF6C

+0040: 0x0046EC31   0x02672A40   0x0019F8E0   0x00000007

+0050: 0x02672A40   0x00000000   0x02672A40   0x00000002

+0060: 0x02672A40   0x00000001   0x02672A40   0xFFFFFFFF

+0070: 0x02672A40   0x0019F8FC   0x0019F8E4   0x0019FA38

+0080: 0x0271500C   0x00000000   0x0019FB39   0x02672A40

+0090: 0x00000000   0x0271500C   0x00493912   0x00000007

+00A0: 0x00000002   0x00000001   0xFFFFFFFF   0x00020B34

+00B0: 0x02656230   0x0019FB60   0x009CD501   0x00000000

+00C0: 0x01080000   0x0000FFFF   0x00000002   0x00000000

+00D0: 0x00000078   0x00000078   0x00000070   0x0019FB60

+00E0: 0x00000000   0x00000000   0x00000000   0x00000000

+00F0: 0x00000000   0x00000000   0x00000000   0x00000000

+0100: 0x00000000   0x00000000   0x00000000   0x00000000

+0110: 0x00000000   0x00000000   0x00000000   0x00000000

+0120: 0x00000000   0x00000000   0xCEDCC095   0x598A9404

+0130: 0xCEEAAF9E   0xD9DECEC8   0x4FC8D84A   0x00000000



--------------------------



Loaded Modules:

samp-server.exe	A: 0x00400000 - 0x00519000	(C:\Users\Lukasz\Desktop\modes\rp\samp-server.exe)

ntdll.dll	A: 0x77180000 - 0x772FB000	(C:\WINDOWS\SYSTEM32\ntdll.dll)

KERNEL32.DLL	A: 0x76F20000 - 0x77000000	(C:\WINDOWS\SYSTEM32\KERNEL32.DLL)

KERNELBASE.dll	A: 0x765A0000 - 0x7671E000	(C:\WINDOWS\SYSTEM32\KERNELBASE.dll)

SHELL32.dll	A: 0x74900000 - 0x75CFE000	(C:\WINDOWS\SYSTEM32\SHELL32.dll)

msvcrt.dll	A: 0x76E60000 - 0x76F1E000	(C:\WINDOWS\SYSTEM32\msvcrt.dll)

cfgmgr32.dll	A: 0x73FC0000 - 0x73FF7000	(C:\WINDOWS\SYSTEM32\cfgmgr32.dll)

windows.storage.dll	A: 0x76720000 - 0x76C1A000	(C:\WINDOWS\SYSTEM32\windows.storage.dll)

combase.dll	A: 0x76260000 - 0x7641D000	(C:\WINDOWS\SYSTEM32\combase.dll)

RPCRT4.dll	A: 0x741D0000 - 0x7427D000	(C:\WINDOWS\SYSTEM32\RPCRT4.dll)

SspiCli.dll	A: 0x73DB0000 - 0x73DCE000	(C:\WINDOWS\SYSTEM32\SspiCli.dll)

CRYPTBASE.dll	A: 0x73DA0000 - 0x73DAA000	(C:\WINDOWS\SYSTEM32\CRYPTBASE.dll)

bcryptPrimitives.dll	A: 0x74170000 - 0x741C8000	(C:\WINDOWS\SYSTEM32\bcryptPrimitives.dll)

sechost.dll	A: 0x74080000 - 0x740C4000	(C:\WINDOWS\SYSTEM32\sechost.dll)

advapi32.dll	A: 0x74280000 - 0x742FB000	(C:\WINDOWS\SYSTEM32\advapi32.dll)

shlwapi.dll	A: 0x74030000 - 0x74075000	(C:\WINDOWS\SYSTEM32\shlwapi.dll)

GDI32.dll	A: 0x76110000 - 0x7625F000	(C:\WINDOWS\SYSTEM32\GDI32.dll)

USER32.dll	A: 0x73E70000 - 0x73FB7000	(C:\WINDOWS\SYSTEM32\USER32.dll)

kernel.appcore.dll	A: 0x745D0000 - 0x745DC000	(C:\WINDOWS\SYSTEM32\kernel.appcore.dll)

shcore.dll	A: 0x740D0000 - 0x7415D000	(C:\WINDOWS\SYSTEM32\shcore.dll)

powrprof.dll	A: 0x744C0000 - 0x74504000	(C:\WINDOWS\SYSTEM32\powrprof.dll)

profapi.dll	A: 0x76D10000 - 0x76D1F000	(C:\WINDOWS\SYSTEM32\profapi.dll)

WSOCK32.dll	A: 0x71E50000 - 0x71E58000	(C:\WINDOWS\SYSTEM32\WSOCK32.dll)

WS2_32.dll	A: 0x74750000 - 0x747AF000	(C:\WINDOWS\SYSTEM32\WS2_32.dll)

WINMM.dll	A: 0x71E60000 - 0x71E84000	(C:\WINDOWS\SYSTEM32\WINMM.dll)

WINMMBASE.dll	A: 0x00960000 - 0x00983000	(C:\WINDOWS\SYSTEM32\WINMMBASE.dll)

IMM32.DLL	A: 0x74000000 - 0x7402B000	(C:\WINDOWS\SYSTEM32\IMM32.DLL)

streamer.DLL	A: 0x6FB10000 - 0x6FB3D000	(C:\Users\Lukasz\Desktop\modes\rp\plugins\streamer.DLL)

MSVCR90.dll	A: 0x73B00000 - 0x73BA3000	(C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9177_none_5093cc7abcb795e9\MSVCR90.dll)

MSVCP90.dll	A: 0x6ED50000 - 0x6EDDE000	(C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9177_none_5093cc7abcb795e9\MSVCP90.dll)

sscanf.DLL	A: 0x10000000 - 0x1000B000	(C:\Users\Lukasz\Desktop\modes\rp\plugins\sscanf.DLL)

mswsock.dll	A: 0x739B0000 - 0x739FF000	(C:\WINDOWS\system32\mswsock.dll)

napinsp.dll	A: 0x72590000 - 0x725A2000	(C:\WINDOWS\system32\napinsp.dll)

pnrpnsp.dll	A: 0x697B0000 - 0x697C6000	(C:\WINDOWS\system32\pnrpnsp.dll)

NLAapi.dll	A: 0x6E210000 - 0x6E224000	(C:\WINDOWS\system32\NLAapi.dll)

DNSAPI.dll	A: 0x71FF0000 - 0x72074000	(C:\WINDOWS\SYSTEM32\DNSAPI.dll)

NSI.dll	A: 0x74160000 - 0x74167000	(C:\WINDOWS\SYSTEM32\NSI.dll)

winrnr.dll	A: 0x697A0000 - 0x697AB000	(C:\WINDOWS\System32\winrnr.dll)

IPHLPAPI.DLL	A: 0x73AA0000 - 0x73ACF000	(C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL)

bcrypt.dll	A: 0x73D00000 - 0x73D1B000	(C:\WINDOWS\SYSTEM32\bcrypt.dll)

rasadhlp.dll	A: 0x71E40000 - 0x71E48000	(C:\Windows\System32\rasadhlp.dll)
Reply
#2

Tried to debug it

it says:

Код:
[22:41:17] [debug] Server crashed while executing rpg.amx
[22:41:17] [debug] AMX backtrace:
[22:41:17] [debug] #0 00000014 in public OnDialogResponse () at C:\Users\Lukasz\Desktop\modes\rp\pawno\include\float.inc:108
[22:41:17] [debug] Native backtrace:
[22:41:17] [debug] #0 6fad5bb2 in amx_Exec () from plugins\crashdetect.DLL
[22:41:17] [debug] #1 6fac9b84 in CrashDetect::DoAmxExec () from plugins\crashdetect.DLL
[22:41:17] [debug] #2 6fad4a1a in AmxExec () from plugins\crashdetect.DLL
[22:41:17] [debug] #3 0046ec31 in ?? () from samp-server.exe
[22:41:17] [debug] #4 00452270 in ?? () from samp-server.exe
[22:41:17] [debug] #5 73b63c1b in ?? () from C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9177_none_5093cc7abcb795e9\MSVCR90.dll
[22:41:17] [debug] #6 73b63c3a in ?? () from C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9177_none_5093cc7abcb795e9\MSVCR90.dll
Reply
#3

Show us the code that is used when you login.
Reply
#4

As above said, code is needed.

What did you edit before this started happening? what did you just add?
Reply
#5

Hello!

We need this row:
PHP код:
[22:41:17] [debug#0 00000014 in public OnDialogResponse () at C:\Users\Lukasz\Desktop\modes\rp\pawno\include\float.inc:108 
Show us row 108 in the include float.inc.
Reply
#6

float.inc line (108 and 109)

Код:
stock Float:operator-(Float:oper)
    return oper^Float:cellmin;                  /* IEEE values are sign/magnitude */
my OnDialogResponse code:

http://pastebin.com/9M0JYfPi


So the problem is that before it never happened , i even don't remember what did i add because it's my old gamemode .
Reply
#7

Not sure if this could be the fix of this, but you could try this.

pawn Код:
case DIALOG_LOGIN:
        {
            if ( !response ) return Kick ( playerid );
            if( response )
            {
                if(!strcmp(udb_hash(inputtext),PlayerInfo[playerid][pPass])
                //Rest of code
Reply
#8

Quote:
Originally Posted by DTV
Посмотреть сообщение
Not sure if this could be the fix of this, but you could try this.

pawn Код:
case DIALOG_LOGIN:
        {
            if ( !response ) return Kick ( playerid );
            if( response )
            {
                if(!strcmp(udb_hash(inputtext),PlayerInfo[playerid][pPass])
                //Rest of code
gives me the following error:

Код:
error 035: argument type mismatch (argument 1)
line

Код:
if(!strcmp(udb_hash(inputtext),PlayerInfo[playerid][pPass])
Reply
#9

Oh sorry, the line's suppose to look like this.

pawn Код:
if(!strcmp(udb_hash(inputtext),PlayerInfo[playerid][pPass])) //Forgot the last )
Reply
#10

Quote:
Originally Posted by DTV
Посмотреть сообщение
Oh sorry, the line's suppose to look like this.

pawn Код:
if(!strcmp(udb_hash(inputtext),PlayerInfo[playerid][pPass])) //Forgot the last )
still gives the same error
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)