Crashing on connect/(re-)spawn
#1

SA-MP 0.3e
Exception At Address: 0x007324B6

Registers:
EAX: 0xC1000000 EBX: 0x0000002F ECX: 0x07D44B38 EDX: 0x0000000A
ESI: 0x00000007 EDI: 0x0BFEF290 EBP: 0x1247112C ESP: 0x0023FCE0
EFLAGS: 0x00210293

Stack:
+0000: 0x023E5C48 0x023E5C48 0x0000000A 0x00000000
+0010: 0xFFFFFFFF 0x00FFFFFF 0x00000408 0x00C4D958
+0020: 0x00000018 0x0FC2D878 0x00000004 0x00000001
+0030: 0x00000000 0xBCF5C28F 0x00C9BC50 0x00000000
+0040: 0x00264EBC 0x007EF657 0x02C6119C 0x00264EBC
+0050: 0x00000000 0x00C22856 0x00000000 0x006F0084
+0060: 0x006F009E 0x00000000 0x00000000 0x0000001A
+0070: 0x00000003 0x0023FD84 0x4FE578EF 0x0000008C
+0080: 0xBE579D40 0x0000001A 0x00000003 0x0023FD9C
+0090: 0x0000000B 0x00000000 0x412CA18B 0x0000001A
+00A0: 0x00000001 0x7E42DEB2 0x00732639 0x1247112C
+00B0: 0x0000000A 0x076A16B8 0x00732BDC 0x023E5C48
+00C0: 0x1247112C 0x0000000A 0x7E42DEB2 0x0000001A
+00D0: 0x02C8FAEC 0x00733F2A 0x076A1600 0x446C8B5D
+00E0: 0x00000001 0x0053E01E 0x00000000 0x0053EAA6
+00F0: 0x02C57764 0x0053EAC4 0x44520000 0x44034000
+0100: 0x0053ECC2 0x00000001 0x00619B71 0x0000001A
+0110: 0x00000001 0x00000001 0x0000000A 0x00748DA0
+0120: 0x0000001A 0x00000001 0x7C80B741 0x00000000
+0130: 0x0023FFC0 0x7FFDF000 0x01260000 0x4E16290D
+0140: 0x002627F0 0x00000008 0x00000100 0x00000008
+0150: 0x00000102 0x44520000 0x44034000 0x00000000
+0160: 0x00000000 0x00000690 0x0000041A 0x00000000
+0170: 0x00000001 0x00050202 0x00000200 0x00000000
+0180: 0x020D0348 0x0014FF5D 0x00000348 0x0000020D
+0190: 0x0000002C 0x00000000 0x7FFDF000 0x0023FFB0
+01A0: 0x00825EA4 0x00887E20 0xFFFFFFFF 0x0023FE70
+01B0: 0x00835342 0x00000065 0x0023FFC0 0x008246F1
+01C0: 0x00400000 0x00000000 0x015823DD 0x0000000A
+01D0: 0x00000094 0x00000005 0x00000001 0x00000A28
+01E0: 0x00000002 0x76726553 0x20656369 0x6B636150
+01F0: 0x80003320 0x88DA4000 0x000000FF 0x000000FF
+0200: 0xA6A85BD0 0x090000A0 0x8AB61F28 0x0000001F
+0210: 0x89080588 0xFFDFF540 0x80545C13 0xFFFFFFFF
+0220: 0x00000246 0x80545A2B 0xA6A85C28 0x89080588
+0230: 0xFFDFF120 0x89080724 0x80503886 0x890805F8
+0240: 0x89080588 0x804FB094 0x890806F4 0x89080588
+0250: 0x890805BC 0x00000001 0x806442DE 0x88D3D020
+0260: 0x00824588 0x00000000 0x0013F5BC 0x7FFDF000
+0270: 0xC0000005 0x00000005 0x015823DD 0x00000044

SCM Op: 0x173, lDbg: 0

Game Version: US 1.0

State Information: Ped Context: 0

Keeps happening most of the time when I either connect (and subsequently get automatically spawned), and when I die and re-spawn.

Currently doing an elimination process by removing parts of OnPlayerSpawn. After commenting out most of it the crashes fix so I guess I'll just un-comment one section at a time until the crashes return.

Seems to be caused by SetPlayerSkin under OnPlayerSpawn - but it's being set to a valid skin! Any help?
Reply
#2

Compile your code with the -d3 switch in pawn.cfg and run crashdetect plugin, it should tell you on which line exactly the server crashed.
Reply
#3

I already know that. It's SetPlayerSkin because it's fine when it's commented out.
Reply
#4

Did you try using crashdetect?

You might have a better idea of why it's happening if you do. Not many people can tell what's causing the crash from a crash dump.
Reply
#5

It's a client crash not server.
Reply
#6

Show us your code?
Reply
#7

I tried a few times to replicate this crash. I succeeded when i set the skin to an invalid id. Obviously you said you check that, so that is not the case.

Do any of your other players crash too? And have you tried re-installing the client?
Reply
#8

Off Topic: Does the Crashdetect plugin detects also client crash?
Reply
#9

Quote:
Originally Posted by sanrock
Посмотреть сообщение
Show us your code?
There is no code to show. It's SetPlayerSkin. The ID passed to it (280) is correct.

It's happening for me and my other PC, but I haven't confirmed it with anyone else, which I will do soon.

This is really frustrating.

EDIT: Okay I did some more tests, it's only crashing on the FIRST RE-spawn. It never happens when I first spawn on connect, or if it doesn't crash on my first re-spawn after that on any re-spawn.

When I die the first time, I get sent back to class selection and get immediately spawned (caused by y_classes?).
Reply
#10

This appears to have fixed itself, which is indeed strange. Hurray I guess?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)