Segmentation fault on Dialog button
#1

Whenever I press the "login" button on the login dialog, the server crashes. Even if I don't type anything in, it always crashes. I receive an output to the terminal window which says "Segmentation fault", and I'm getting
Код:
[debug] Server crashed while executing smrp.amx
in the server_log.txt.

This is only happening on linux (ubuntu), it works fine on windows.

Code executed when login is pressed:
PHP код:
    new string[128];
    
format(stringsizeof(string), "SELECT `Username`, `Pass` FROM `accounts` WHERE `Username` = '%s'"GetPlayerNameExt(playerid));
    
mysql_function_query(SQLOGINstringtrue"OnQueryFinish""iii"LOGIN_THREADplayeridg_arrQueryHandle{playerid});
    return 
1
EDIT: I believe that it has something to do about the MySQL plugin. I'm using BlueG's R34. I've tried several versions, and nothing is changing.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)