OnPlayerClickMap crashed the server
#1

It is as simple as the title says, when somebody on my server right clicks on the map, the server crashes. I am not even using OnPlayerClickMap
Reply
#2

You should provide more information such as the server crash address.
Reply
#3

I got 2 different ones here. I noticed they weren't identical, but I think they are both related to the problem

Код:
SA-MP Server: 0.3d-R2



Exception At Address: 0x20646162



Registers:

EAX: 0x20646162	EBX: 0x00000004	ECX: 0x00C76440	EDX: 0x00C6F474

ESI: 0x00C76440	EDI: 0x01B00020	EBP: 0xB1509A59	ESP: 0x0013F650

EFLAGS: 0x00010212



Stack:

+0000: 0x00C67B37   0x00000004   0xC5109CA6   0x43384C6B

+0010: 0x41B00000   0x00C7AE64   0x00A76628   0x00000001

+0020: 0x43384C6B   0xC5109CA6   0x00C69DC2   0x41B00000

+0030: 0x00FDFD00   0x784859D5   0x7C90D6FA   0x021B3C00

+0040: 0xFFFFFFFF   0x0013F6B8   0x0013F6BC   0x00000000

+0050: 0x0000000F   0x0013F850   0x00C6CC29   0xFFFFFFFF

+0060: 0x00C69732   0x00FDFD00   0x0013F704   0x00A76628

+0070: 0x00000004   0x00FDFD00   0xB1509A59   0x00000060

+0080: 0x0046D891   0x00FDFD00   0x0013F704   0xFFFFFFF6

+0090: 0x00FDFD00   0x00000004   0x00FDFD00   0xC5109CA6

+00A0: 0x00FDFD00   0x43384C6B   0x00FDFD00   0x41B00000

+00B0: 0x01420048   0x00000000   0xFFFFFFF6   0x004883D5

+00C0: 0x00000004   0xC5109CA6   0x43384C6B   0x41B00000

+00D0: 0x0013F864   0x00A5B450   0x0013FC8C   0xB1509A01

+00E0: 0xC5109CA6   0x43384C6B   0x41B00000   0x00000068

+00F0: 0x00000068   0x00000060   0x0013F864   0x0013F700

+0100: 0x00229D01   0x00000040   0x00000001   0x00000003

+0110: 0x00000002   0xD826DF4D   0x000070F2   0x00000000

+0120: 0x00000000   0x00000000   0x00A5B450   0x00000002

+0130: 0x0045AB55   0x0013F7D0   0x00000001   0x00000003

Код:
SA-MP Server: 0.3d-R2



Exception At Address: 0x20646162



Registers:

EAX: 0x20646162	EBX: 0x00000003	ECX: 0x00C76440	EDX: 0x00C6F474

ESI: 0x00C76440	EDI: 0x01B00020	EBP: 0xB1509A59	ESP: 0x0013F650

EFLAGS: 0x00010212



Stack:

+0000: 0x00C67B37   0x00000003   0xC5110EB1   0x42D2412E

+0010: 0x41B00000   0x00C7AE64   0x00A76628   0x00000001

+0020: 0x42D2412E   0xC5110EB1   0x00C69DC2   0x41B00000

+0030: 0x00FDFD00   0x784859D5   0x7C90D6FA   0x021B9F00

+0040: 0xFFFFFFFF   0x0013F6B8   0x0013F6BC   0x00000000

+0050: 0x0000000F   0x0013F850   0x00C6CC29   0xFFFFFFFF

+0060: 0x00C69732   0x00FDFD00   0x0013F704   0x00A76628

+0070: 0x00000003   0x00FDFD00   0xB1509A59   0x00000060

+0080: 0x0046D891   0x00FDFD00   0x0013F704   0xFFFFFFF6

+0090: 0x00FDFD00   0x00000003   0x00FDFD00   0xC5110EB1

+00A0: 0x00FDFD00   0x42D2412E   0x00FDFD00   0x41B00000

+00B0: 0x01420048   0x00000000   0xFFFFFFF6   0x004883D5

+00C0: 0x00000003   0xC5110EB1   0x42D2412E   0x41B00000

+00D0: 0x0013F864   0x00A5B450   0x0013FC8C   0xB1509A01

+00E0: 0xC5110EB1   0x42D2412E   0x41B00000   0x00000068

+00F0: 0x00000068   0x00000060   0x0013F864   0x0013F700

+0100: 0x00229D01   0x00000000   0x0013F75D   0x00000005

+0110: 0x00000002   0x01558230   0x00000000   0x00001D00

+0120: 0x00000060   0x17000000   0x00A50000   0x00000002

+0130: 0x00007000   0x0013F7C0   0x7C90E920   0x00000000
Reply
#4

And maybe the code located inside the callback?
Reply
#5

Quote:
Originally Posted by Flyfishes
Посмотреть сообщение
And maybe the code located inside the callback?
There is none. The callback is not used.
Reply
#6

When this happens for me, all i see in my server log is:
Код:
The server has crashed due to an unexpected error.
And there is nothing written to crashinfo.txt

No matter if i have the callback in the gamemode or not, also: doing this in the a_samp.inc has no effect:
Код:
//forward OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ);
I'm using the previous version, 0.3d R1.
Reply
#7

You should list plugins that you are using.

EDIT: Someone on IRC said that if they remove the streamer plugin it doesn't crash anymore.
Reply
#8

Quote:

Whirlpool
mapandreas
sscanf
irc
gvar
streamer
mysql
nativechecker
crashdetect

That's all i use
Reply
#9

I can confirm it was streamer plugin v2.6 that caused the problem. Downgrading to the latest stable version solves the problem, even though that causes some other small issues, but at least the server doesn't crash anymore.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)