strcat crashes server?
#2

Code:

pawn Код:
printf("1");
    strcat(szReceiver, szReceiver_);
    printf("2");
If you have to know, I was editing some function to fit inline functions (I need to pass a string).

1 prints, 2 doesn't.

Error log, taken from server_log.txt, using crashdetect:

Quote:

1
[debug] Server crashed while executing *.amx
[debug] AMX backtrace:
[debug] #0 native strcat () [004063a0] from samp-server.exe
[debug] #1 000064dc in ?? () from *.amx
[debug] #2 0002eab0 in ?? () from *.amx
[debug] #3 00013620 in ?? () from *.amx
[debug] #4 0002b7f0 in public SQL_OnInlineCallback () from *.amx
[debug] System backtrace:
[debug] #0 6e4739e2 in ?? () from plugins\crashdetect.DLL
[debug] #1 6e475e26 in ?? () from plugins\crashdetect.DLL
[debug] #2 6e46bf3f in ?? () from plugins\crashdetect.DLL
[debug] #3 6e473a0e in ?? () from plugins\crashdetect.DLL
[debug] #4 73206928 in ?? () from plugins\sql.DLL
[debug] #5 73201c54 in ?? () from plugins\sql.DLL
[debug] #6 00469046 in ?? () from samp-server.exe
[debug] #7 00488afd in ?? () from samp-server.exe
[debug] #8 00495151 in ?? () from samp-server.exe
[debug] #9 00495161 in ?? () from samp-server.exe
[debug] #10 ffc30000 in ?? () from samp-server.exe
[debug] #11 e8042474 in ?? () from samp-server.exe
[debug] #12 ffffffbf in ?? () from samp-server.exe
[debug] #13 c01bd8f7 in ?? () from samp-server.exe
[debug] #14 4859d8f7 in ?? () from samp-server.exe
[debug] #15 247c83c3 in ?? () from samp-server.exe
[debug] #16 06740008 in ?? () from samp-server.exe
[debug] #17 412d01c6 in ?? () from samp-server.exe
[debug] #18 8b56d8f7 in ?? () from samp-server.exe
[debug] #19 f7d233f1 in ?? () from samp-server.exe
[debug] #20 83082474 in ?? () from samp-server.exe
[debug] #21 057609fa in ?? ()
[debug] #22 eb57c280 in ?? ()
[debug] #23 30c28003 in ?? () from samp-server.exe
[debug] #24 85411188 in ?? () from samp-server.exe
[debug] #25 c6e677c0 in ?? () from samp-server.exe
[debug] #26 8a490001 in ?? () from samp-server.exe
[debug] #27 88018a16 in ?? () from samp-server.exe
[debug] #28 06884911 in ?? () from samp-server.exe
[debug] #29 72f13b46 in ?? () from samp-server.exe
[debug] #30 55c35ef2 in ?? () from samp-server.exe
[debug] #31 7d83ec8b in ?? () from samp-server.exe
[debug] #32 458b0a10 in ?? () from samp-server.exe
[debug] #33 850a7508 in ?? () from samp-server.exe
[debug] #34 6a067dc0 in ?? () from samp-server.exe
[debug] #35 eb0a6a01 in ?? () from samp-server.exe
[debug] #36 ff006a05 in ?? () from samp-server.exe
[debug] #37 4d8b1075 in ?? () from samp-server.exe
[debug] #38 ff9fe80c in ?? () from samp-server.exe
[debug] #39 458bffff in ?? () from samp-server.exe
[debug] #40 5d59590c in ?? () from samp-server.exe
[debug] #41 244c8bc3 in ?? () from samp-server.exe
[debug] #42 24448b08 in ?? () from samp-server.exe
[debug] #43 ff006a04 in ?? () from samp-server.exe
[debug] #44 e8102474 in ?? () from samp-server.exe
[debug] #45 ffffff85 in ?? () from samp-server.exe
[debug] #46 1024448b in ?? () from samp-server.exe
[debug] #47 e8c35959 in ?? () from samp-server.exe

Reply


Messages In This Thread
strcat crashes server? - by Maxips2 - 06.08.2013, 21:12
Re: strcat crashes server? - by Maxips2 - 06.08.2013, 21:21
Re: strcat crashes server? - by Maxips2 - 06.08.2013, 22:03

Forum Jump:


Users browsing this thread: 2 Guest(s)