[Plugin] CrashDetect

Log:
Код:
[23:48:52] Incoming connection: *.*.*.*:50920
[23:48:52] [join] Nick_Name has joined the server (0:*.*.*.)
[23:49:03] [nick] Nick_Name nick changed to admin
[23:49:06] 0
[23:49:06] 1
[23:49:06] 2
[23:49:06] 3
[23:49:06] j: 13
[23:49:06] [debug] Server crashed while executing mode.amx
[23:49:06] [debug] Backtrace (most recent call first):
[23:49:06] [debug] #0  public OnEnterExitModShop()+0x8 from mode.amx
Console:
Код:
-bash-3.2$ ./samp03svr
Started server on port: 7777, with maxplayers: 500 lanmode is ON.
Segmentation fault
What kind of error can it be?
Thanks.
Reply

Compile your script with debug info to see at which line it crashed. If you don't know how read this post:

http://forum.sa-mp.com/showpost.php?...32&postcount=7
Reply

Have it with the flag, but I can only see this.. doesn't help me -.-

Код:
[18:29:44] [debug] #0  MySQLGetHouses()+0x3480 at E:\Games\GTA San Andreas\scripts\amigos_0.0.1.pwn:18655
[18:29:44] [debug] #1  MySQLLogin(playerid=0, password[]=@0x00000000 "")+0x3ae0 at E:\Games\GTA San Andreas\scripts\amigos_0.0.1.pwn:16847 
[18:29:44] [debug] #2  public OnDialogResponse(playerid=0, dialogid=0, response=57, listitem=56, inputtext[]=@0x00000038 "er_OnPlayerConnect")+0x128 at E:\Games\GTA San Andreas\scripts\amigos_0.0.1.pwn:3075
Reply

And what's on line 18655?
Reply

Pardon me for seeming stupid. But where can I find this already pre-compiled?
Reply

Quote:
Originally Posted by 0x5A656578
Посмотреть сообщение
Download
Or direct link:
https://github.com/Zeex/samp-crashde...ugin/downloads
Reply

Quote:
Originally Posted by Zeex_
Посмотреть сообщение
Thanks, a bunch! Really appreciate the help. It was right in-front of me all along. Sorry for being a noob!
Reply

@Aloushi use the latest crashdetect plugin, v4.1.2, is the best!
And create a pawn.cfg in your /pawno folder, and type in it: "-d3" and recomplile your gamemode!
Reply

man i will say to you my problem my server close every day or 8 or 7 hours some time close in 1 min
idk why my server close my fried talk me use crash detect plugin and im idk how to use this
im using plugin and write in my gm this
Code:
main() {
    function1();
}

function1() {
    function2();
}

function2() {
    new buf[10];
    fread(File:123, buf);
}
then i write in gamemode init
Code:
new bla[5];

    new fffuuuu = 0;

    fffuuuu = 100;
    bla[fffuuuu] = 100;

    return bla[fffuuuu];
and using plugin crash detect
and see the result
Code:
[17:02:56] [debug] Run time error 4: "Array index out of bounds"
[17:02:56] [debug]   Accessing element at index 100 past array upper bound 4
[17:02:56] [debug] Backtrace (most recent call first):
[17:02:57] [debug] #0  public Streamer_OnGameModeInit()+0x1480 from Faour.amx
[17:02:57] [debug] #1  native CallLocalFunction() from samp-server.exe
[17:02:57] [debug] #2  public OnGameModeInit()+0x1210 from Faour.amx
[17:02:57] [debug] Server crashed while executing Faour.amx
[17:02:57] [debug] Backtrace (most recent call first):
[17:02:57] [debug] #0  native fread() from samp-server.exe
[17:02:57] [debug] #1  0x00000fac()+0x58 from Faour.amx
[17:02:57] [debug] #2  0x00000f8c()+0x10 from Faour.amx
[17:02:57] [debug] #3  main()+0xf7c from Faour.amx
and you said to me use plugin crash detect v4.1.3 how to get the ew version and how to fix my best gm and stop close my server

sry for my bad english if you need to help me add my skype: gg1global
Reply

So I saw this plugin and went to go to try it out and see if it could pick up why my server crashes apon a restart and I get, "Server crashed due to an unknown error," what now?
Reply

This means that no Pawn code was being executed upon server crash
Reply

and about that

[17/03/12 12:45:26] [chat] [SkiLoO_BSL]: ta bugado
[17/03/12 12:45:26] [chat] [Branco_Saenz]: '-'
[17/03/12 12:45:27] [debug] Server crashed due to an unknown error

ps.: Yes, I already have the "-d2" stuff
Reply

Well I have a problem with my server and... I use FDLG of Gamer_Z:
Code:
[13:14:28] [debug] Run time error 6: "Invalid instruction"
[13:14:28] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:28] [debug] Backtrace (most recent call first):
[13:14:28] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:29] [debug] Run time error 6: "Invalid instruction"
[13:14:29] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:29] [debug] Backtrace (most recent call first):
[13:14:29] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:29] [debug] Run time error 6: "Invalid instruction"
[13:14:29] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:29] [debug] Backtrace (most recent call first):
[13:14:29] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:29] [debug] Run time error 6: "Invalid instruction"
[13:14:29] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:29] [debug] Backtrace (most recent call first):
[13:14:29] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:29] [debug] Run time error 6: "Invalid instruction"
[13:14:29] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:29] [debug] Backtrace (most recent call first):
[13:14:29] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:29] [debug] Run time error 6: "Invalid instruction"
[13:14:29] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:29] [debug] Backtrace (most recent call first):
[13:14:29] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:29] [debug] Run time error 6: "Invalid instruction"
[13:14:29] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:29] [debug] Backtrace (most recent call first):
[13:14:29] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:29] [debug] Run time error 6: "Invalid instruction"
[13:14:29] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:29] [debug] Backtrace (most recent call first):
[13:14:29] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:29] [debug] Run time error 6: "Invalid instruction"
[13:14:29] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:29] [debug] Backtrace (most recent call first):
[13:14:29] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:29] [debug] Run time error 6: "Invalid instruction"
[13:14:29] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:29] [debug] Backtrace (most recent call first):
[13:14:29] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:29] [debug] Run time error 6: "Invalid instruction"
[13:14:29] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:29] [debug] Backtrace (most recent call first):
[13:14:29] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:29] [debug] Run time error 6: "Invalid instruction"
[13:14:29] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:29] [debug] Backtrace (most recent call first):
[13:14:29] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:29] [debug] Run time error 6: "Invalid instruction"
[13:14:29] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:29] [debug] Backtrace (most recent call first):
[13:14:29] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:29] [debug] Run time error 6: "Invalid instruction"
[13:14:29] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:29] [debug] Backtrace (most recent call first):
[13:14:29] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:30] [debug] Run time error 6: "Invalid instruction"
[13:14:30] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:30] [debug] Backtrace (most recent call first):
[13:14:30] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:30] [debug] Run time error 6: "Invalid instruction"
[13:14:30] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:30] [debug] Backtrace (most recent call first):
[13:14:30] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:30] [debug] Run time error 6: "Invalid instruction"
[13:14:30] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:30] [debug] Backtrace (most recent call first):
[13:14:30] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:30] [debug] Run time error 6: "Invalid instruction"
[13:14:30] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:30] [debug] Backtrace (most recent call first):
[13:14:30] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:30] [debug] Run time error 6: "Invalid instruction"
[13:14:30] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:30] [debug] Backtrace (most recent call first):
[13:14:30] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:30] [debug] Run time error 6: "Invalid instruction"
[13:14:30] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:30] [debug] Backtrace (most recent call first):
[13:14:30] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:30] [debug] Run time error 6: "Invalid instruction"
[13:14:30] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:30] [debug] Backtrace (most recent call first):
[13:14:30] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:30] [debug] Run time error 6: "Invalid instruction"
[13:14:30] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:30] [debug] Backtrace (most recent call first):
[13:14:30] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:30] [debug] Run time error 6: "Invalid instruction"
[13:14:30] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:30] [debug] Backtrace (most recent call first):
[13:14:30] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:30] [debug] Run time error 6: "Invalid instruction"
[13:14:30] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:30] [debug] Backtrace (most recent call first):
[13:14:30] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:30] [debug] Run time error 6: "Invalid instruction"
[13:14:30] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:30] [debug] Backtrace (most recent call first):
[13:14:30] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:30] [debug] Run time error 6: "Invalid instruction"
[13:14:30] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:30] [debug] Backtrace (most recent call first):
[13:14:30] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:30] [debug] Run time error 6: "Invalid instruction"
[13:14:30] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:30] [debug] Backtrace (most recent call first):
[13:14:30] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:30] [debug] Run time error 6: "Invalid instruction"
[13:14:30] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:30] [debug] Backtrace (most recent call first):
[13:14:30] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:30] [debug] Run time error 6: "Invalid instruction"
[13:14:30] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:30] [debug] Backtrace (most recent call first):
[13:14:30] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:30] [debug] Run time error 6: "Invalid instruction"
[13:14:30] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:30] [debug] Backtrace (most recent call first):
[13:14:30] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:31] [debug] Run time error 6: "Invalid instruction"
[13:14:31] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:31] [debug] Backtrace (most recent call first):
[13:14:31] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:31] [debug] Run time error 6: "Invalid instruction"
[13:14:31] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:31] [debug] Backtrace (most recent call first):
[13:14:31] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:31] [debug] Run time error 6: "Invalid instruction"
[13:14:31] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:31] [debug] Backtrace (most recent call first):
[13:14:31] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:31] [debug] Run time error 6: "Invalid instruction"
[13:14:31] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:31] [debug] Backtrace (most recent call first):
[13:14:31] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:31] [debug] Run time error 6: "Invalid instruction"
[13:14:31] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:31] [debug] Backtrace (most recent call first):
[13:14:31] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:31] [debug] Run time error 6: "Invalid instruction"
[13:14:31] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:31] [debug] Backtrace (most recent call first):
[13:14:31] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:31] [debug] Run time error 6: "Invalid instruction"
[13:14:31] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:31] [debug] Backtrace (most recent call first):
[13:14:31] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:31] [debug] Run time error 6: "Invalid instruction"
[13:14:31] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:31] [debug] Backtrace (most recent call first):
[13:14:31] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:31] [debug] Run time error 6: "Invalid instruction"
[13:14:31] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:31] [debug] Backtrace (most recent call first):
[13:14:31] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:31] [debug] Run time error 6: "Invalid instruction"
[13:14:31] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:31] [debug] Backtrace (most recent call first):
[13:14:31] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:31] [debug] Run time error 6: "Invalid instruction"
[13:14:31] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:31] [debug] Backtrace (most recent call first):
[13:14:31] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:31] [debug] Run time error 6: "Invalid instruction"
[13:14:31] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:31] [debug] Backtrace (most recent call first):
[13:14:31] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:32] [debug] Run time error 6: "Invalid instruction"
[13:14:32] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:32] [debug] Backtrace (most recent call first):
[13:14:32] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:32] [debug] Run time error 6: "Invalid instruction"
[13:14:32] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:32] [debug] Backtrace (most recent call first):
[13:14:32] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:32] [debug] Run time error 6: "Invalid instruction"
[13:14:32] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:32] [debug] Backtrace (most recent call first):
[13:14:32] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:32] [debug] Run time error 6: "Invalid instruction"
[13:14:32] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:32] [debug] Backtrace (most recent call first):
[13:14:32] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:32] [debug] Run time error 6: "Invalid instruction"
[13:14:32] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:32] [debug] Backtrace (most recent call first):
[13:14:32] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:32] [debug] Run time error 6: "Invalid instruction"
[13:14:32] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:32] [debug] Backtrace (most recent call first):
[13:14:32] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:32] [debug] Run time error 6: "Invalid instruction"
[13:14:32] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:32] [debug] Backtrace (most recent call first):
[13:14:32] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:32] [debug] Run time error 6: "Invalid instruction"
[13:14:32] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:32] [debug] Backtrace (most recent call first):
[13:14:32] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:32] [debug] Run time error 6: "Invalid instruction"
[13:14:32] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:32] [debug] Backtrace (most recent call first):
[13:14:32] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:32] [debug] Run time error 6: "Invalid instruction"
[13:14:32] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:32] [debug] Backtrace (most recent call first):
[13:14:32] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:32] [debug] Run time error 6: "Invalid instruction"
[13:14:32] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:32] [debug] Backtrace (most recent call first):
[13:14:32] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:32] [debug] Run time error 6: "Invalid instruction"
[13:14:32] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:32] [debug] Backtrace (most recent call first):
[13:14:32] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:33] [debug] Run time error 6: "Invalid instruction"
[13:14:33] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:33] [debug] Backtrace (most recent call first):
[13:14:33] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:33] [debug] Run time error 6: "Invalid instruction"
[13:14:33] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:33] [debug] Backtrace (most recent call first):
[13:14:33] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:33] [debug] Run time error 6: "Invalid instruction"
[13:14:33] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:33] [debug] Backtrace (most recent call first):
[13:14:33] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:33] [debug] Run time error 6: "Invalid instruction"
[13:14:33] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:33] [debug] Backtrace (most recent call first):
[13:14:33] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:33] [debug] Run time error 6: "Invalid instruction"
[13:14:33] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:33] [debug] Backtrace (most recent call first):
[13:14:33] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:33] [debug] Run time error 6: "Invalid instruction"
[13:14:33] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:33] [debug] Backtrace (most recent call first):
[13:14:33] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:33] [debug] Run time error 6: "Invalid instruction"
[13:14:33] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:33] [debug] Backtrace (most recent call first):
[13:14:33] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:33] [debug] Run time error 6: "Invalid instruction"
[13:14:33] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:33] [debug] Backtrace (most recent call first):
[13:14:33] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:33] [debug] Run time error 6: "Invalid instruction"
[13:14:33] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:33] [debug] Backtrace (most recent call first):
[13:14:33] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:34] [debug] Run time error 6: "Invalid instruction"
[13:14:34] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:34] [debug] Backtrace (most recent call first):
[13:14:34] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:34] [debug] Run time error 6: "Invalid instruction"
[13:14:34] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:34] [debug] Backtrace (most recent call first):
[13:14:34] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:34] [debug] Run time error 6: "Invalid instruction"
[13:14:34] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:34] [debug] Backtrace (most recent call first):
[13:14:34] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:34] [debug] Run time error 6: "Invalid instruction"
[13:14:34] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:34] [debug] Backtrace (most recent call first):
[13:14:34] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:34] [debug] Run time error 6: "Invalid instruction"
[13:14:34] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:34] [debug] Backtrace (most recent call first):
[13:14:34] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:35] [debug] Run time error 6: "Invalid instruction"
[13:14:35] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:35] [debug] Backtrace (most recent call first):
[13:14:35] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:35] [debug] Run time error 6: "Invalid instruction"
[13:14:35] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:35] [debug] Backtrace (most recent call first):
[13:14:35] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:35] [debug] Run time error 6: "Invalid instruction"
[13:14:35] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:35] [debug] Backtrace (most recent call first):
[13:14:35] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:35] [debug] Run time error 6: "Invalid instruction"
[13:14:35] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:35] [debug] Backtrace (most recent call first):
[13:14:35] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:35] [debug] Run time error 6: "Invalid instruction"
[13:14:35] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:35] [debug] Backtrace (most recent call first):
[13:14:35] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
[13:14:35] [debug] Run time error 6: "Invalid instruction"
[13:14:35] [debug]   Unknown opcode 0x7800 at address 0xFFFFFFFF
[13:14:35] [debug] Backtrace (most recent call first):
[13:14:35] [debug] #0  ???????? in FDLG_OnDialogResponse () at GAMEMODE.pwn:683
Can you help me with that ?
Reply

Looks much like a buffer overrun - something overwrites the return address so it becomes -1 (which is 0xFFFFFFFF in hex). Do you write -1 to some array in your OnDialogResponse (not in FDLG's one) or call a function that does that? It's hard to help without seeing your code.
Reply

No, I didn't... Maybe is -1 because I don't use OnDialogResponse, because I see this with another Callback( OnEnterExitModShop ), the same things.. And I don't have this Callback...
Reply

work's only if the server crash?
Reply

Quote:
Originally Posted by ombre
View Post
work's only if the server crash?
bump
Reply

Help Me! When I start server I have this:
[00:01:14] Loading plugin: crashdetect.so
[00:01:14] Failed (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by plugins/crashdetect.so))
Reply

this plugin for a server with +100 players is steady ? It can to be used some days? The cpu/ram are more high?
Reply

Hello,
sometimes the server crashes with this error:

[18:22:27] [debug] Server crashed while executing mode.amx
[18:22:27] [debug] Server crashed while executing mode.amx
[18:22:27] [debug] Backtrace:
[18:22:27] [debug] Backtrace:
[18:22:27] [debug] #0 native PlayerPlaySound () from samp-server.exe
[18:22:27] [debug] #0 native PlayerPlaySound () from samp-server.exe
[18:22:27] [debug] #1 000a548c in ?? () from mode.amx
[18:22:27] [debug] #1 000a548c in ?? () from mode.amx
[18:22:27] [debug] #2 0003bd1c in public OnPlayerCommandText () from mode.amx
[18:22:27] [debug] #2 0003bd1c in public OnPlayerCommandText () from mode.amx

last command from player was /pm

in crashinfo.txt is

SA-MP Server: 0.3d-R2-800p



Exception At Address: 0x0045CA5F



Registers:

EAX: 0x00000000 EBX: 0xF0D9C209 ECX: 0x00000001 EDX: 0x00000040

ESI: 0x0367B690 EDI: 0x0214ECF8 EBP: 0x011BBDD0 ESP: 0x0214EC90

EFLAGS: 0x00010203
Reply


Forum Jump:


Users browsing this thread: 8 Guest(s)