SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 16/12/2018, 09:52 PM   #1
niCe
Gangsta
 
niCe's Avatar
 
Join Date: Mar 2008
Location: CZ
Posts: 662
Reputation: 353
Default Players crashing on 0.3.7

Hello everyone!

I'd like to ask for your help. Since yesterday, players on our servers keep crashing a lot more often than usualy (around 6000 crashes per day on each server). It occurs on all versions of 0.3.7 client, even the R3.

What we tried:
- Running server without plugins (didn't help)
- Returning gamemode version before these crashes appeared (didn't help)

We've collected some crash codes from players:

Code:
Exception At Address: 0x004aa4cb Base: 0x05160000
Exception At Address: 0x004aa4cb Base: 0x02BA0000
Exception At Address: 0x004aa4cb Base: 0x03fd0000
Exception At Address: 0x004aa4cb Base: 0x02B50000
Exception At Address: 0x004aa4cb Base: 0x042B0000
Exception At Address: 0x004aa4cb Base: 0x042b0000
Exception At Address: 0x004aa4cb Base: 0x039e0000
Exception At Address: 0x004aa4cb Base: 0x04f80000
Exception At Address: 0x004aa4cb Base: 0x03e30000
Exception At Address: 0x004aa4cb Base: 0x039a0000
Exception At Address: 0x004aa4cb Base: 0x03d70000
Exception At Address: 0x004AA4CB Base: 0x05BE0000
Exception At Address: 0x004AA4CB Base: 0x04460000
Exception At Address: 0x004AA4CB Base: 0x03CC0000
Exception At Address: 0x004AA4CB Base: 0x03920000
Exception At Address: 0x004AA4CB Base: 0x03690000
Exception At Address: 0x004AA4CB Base: 0x03060000
Exception At Address: 0x004AA4CB Base: 0x03850000
Exception At Address: 0x004AA4CB Base: 0x03820000
Exception At Address: 0x004AA4CB Base: 0x038C0000

Examples of complete crash logs:
https://pastebin.com/u2beTr55
https://pastebin.com/ZbchAmaP
https://pastebin.com/TY3RiNrX
Code:
Exception At Address: 0x0049cd77 Base: 0x02280000
Exception At Address: 0x0049cd77 Base: 0x044a0000
Exception At Address: 0x0049cd77 Base: 0x039a0000
Exception At Address: 0x0049cd77 Base: 0x03400000
Exception At Address: 0x0049cd77 Base: 0x04580000
Exception At Address: 0x0049CD77 Base: 0x04460000
Exception At Address: 0x0049CD77 Base: 0x03D90000
Exception At Address: 0x0049CD77 Base: 0x03240000
Exception At Address: 0x0049CD77 Base: 0x03870000

Example of one complete crash log: https://pastebin.com/564c2mTt
These were the most common crash codes. I was able to find out, this could be somehow related to objects and bad particle effects, but couldn't find any more information.

The 0x0049cd77 could be caused by AttachObjectToVehicle or AddVehicleComponent, but there were no changes in gamemode recently, that would include these functions.

I noticed that some crash logs show "LastRendObj: 2660", in gamemode this object is only being created with CreatePlayerObject, then AttachPlayerObjectToVehicle and SetPlayerObjectMaterialText. This part of gamemode worked fine several months though.

The crashes become very frequent when there is higher amount of players on the servers. If you have any suggestion, I would be very grateful for any help! Thanks!
__________________
[ENG] s2.gta-multiplayer.cz:7777 WTLS 2 (Singleplayer Features)
[ENG] s3.gta-multiplayer.cz:7777 WTLS 3 (Singleplayer Features)

- Many features from singleplayer
- Pool, basketball and Poker Texas Holdem minigames, singleplayer race and other challenges
- Video game QUB3D from GTA 4
- Roulettes, blackjack, slot machines, video poker and horse-betting
- Stock market BAWSAQ from GTA 5
- Phone with a lot of features from GTA Online
- Missions from Big Smoke, Sweet, Zero, Cesar or Woozie!
- Gang wars over 100 gang hoods
- More than 30 jobs (police, paramedic, firefighter, burglar, pimp, valet pizza-boy and more)
- Gyms, strip clubs, clothes shops, hidden packages, oysters, spray tags, horseshoes and more
VIDEO
niCe is offline   Reply With Quote
Old 16/12/2018, 10:42 PM   #2
Kalcor
SA-MP Developer
 
Join Date: Apr 2005
Posts: 995
Reputation: 2730
Default Re: Players crashing on 0.3.7

0x004AA4CB is called from CVehicle::AddExhaustParticles. My best guess is either too many vehicles is a small area with their engines on, or it's caused by vehicle mods/particle mods.

0x0049cd77 is some old gangtags problem.
Kalcor is offline   Reply With Quote
Old 16/12/2018, 11:04 PM   #3
Droxx
Big Clucker
 
Droxx's Avatar
 
Join Date: Dec 2015
Posts: 98
Reputation: 20
Default Re: Players crashing on 0.3.7

I had EasyAttach Filterscript and was causing the same problem, all the players crash but the server is running..

I disabled that filterscript and the server is running well now..
__________________
Droxx is offline   Reply With Quote
Old 16/12/2018, 11:35 PM   #4
niCe
Gangsta
 
niCe's Avatar
 
Join Date: Mar 2008
Location: CZ
Posts: 662
Reputation: 353
Default Re: Players crashing on 0.3.7

Quote:
Originally Posted by Kalcor View Post
0x004AA4CB is called from CVehicle::AddExhaustParticles. My best guess is either too many vehicles is a small area with their engines on, or it's caused by vehicle mods/particle mods.

0x0049cd77 is some old gangtags problem.
Thanks for your reply, I appreciate it.

Could be 0x004AA4CB also caused by too many sparkles from damaged vehicles in a small area? Or is this only exhaust particles?

Regarding gang tags, we have removed default gang tags by RemoveBuildingForPlayer and gamemode randomly recreates them with CreatePlayerObject (using custom SA-MP models 18659-18667) on the exactly same position. Is that causing the issue?

What's really strange though, these massive crashes occured suddenly on our three servers. If it's scripting issue though, returning the older gamemode version didn't help.
__________________
[ENG] s2.gta-multiplayer.cz:7777 WTLS 2 (Singleplayer Features)
[ENG] s3.gta-multiplayer.cz:7777 WTLS 3 (Singleplayer Features)

- Many features from singleplayer
- Pool, basketball and Poker Texas Holdem minigames, singleplayer race and other challenges
- Video game QUB3D from GTA 4
- Roulettes, blackjack, slot machines, video poker and horse-betting
- Stock market BAWSAQ from GTA 5
- Phone with a lot of features from GTA Online
- Missions from Big Smoke, Sweet, Zero, Cesar or Woozie!
- Gang wars over 100 gang hoods
- More than 30 jobs (police, paramedic, firefighter, burglar, pimp, valet pizza-boy and more)
- Gyms, strip clubs, clothes shops, hidden packages, oysters, spray tags, horseshoes and more
VIDEO
niCe is offline   Reply With Quote
Old 17/12/2018, 01:41 AM   #5
IllidanS4
Huge Clucker
 
IllidanS4's Avatar
 
Join Date: Feb 2013
Posts: 321
Reputation: 208
Default Re: Players crashing on 0.3.7

I know attaching car mod parts (1000 to 1193) to vehicles or streaming them in, when a mod shop is nearby, can cause these crashes, but based on a quick test, this causes an exception at 0x0044A503, so this issue might be unrelated.
__________________
PawnPlus
YSF
Yet Another Lua Plugin
Long Function Names
 i_quat.inc 


kingsofsa.cz:8888 running Cinematic Mode
IllidanS4 is offline   Reply With Quote
Old 17/12/2018, 01:55 AM   #6
niCe
Gangsta
 
niCe's Avatar
 
Join Date: Mar 2008
Location: CZ
Posts: 662
Reputation: 353
Default Re: Players crashing on 0.3.7

Quote:
Originally Posted by IllidanS4 View Post
I know attaching car mod parts (1000 to 1193) to vehicles or streaming them in, when a mod shop is nearby, can cause these crashes, but based on a quick test, this causes an exception at 0x0044A503, so this issue might be unrelated.
No no, these are not being attached to vehicles in my gamemode, not even created as objects.
__________________
[ENG] s2.gta-multiplayer.cz:7777 WTLS 2 (Singleplayer Features)
[ENG] s3.gta-multiplayer.cz:7777 WTLS 3 (Singleplayer Features)

- Many features from singleplayer
- Pool, basketball and Poker Texas Holdem minigames, singleplayer race and other challenges
- Video game QUB3D from GTA 4
- Roulettes, blackjack, slot machines, video poker and horse-betting
- Stock market BAWSAQ from GTA 5
- Phone with a lot of features from GTA Online
- Missions from Big Smoke, Sweet, Zero, Cesar or Woozie!
- Gang wars over 100 gang hoods
- More than 30 jobs (police, paramedic, firefighter, burglar, pimp, valet pizza-boy and more)
- Gyms, strip clubs, clothes shops, hidden packages, oysters, spray tags, horseshoes and more
VIDEO
niCe is offline   Reply With Quote
Old 17/12/2018, 05:17 AM   #7
Killa[DGZ]
Huge Clucker
 
Killa[DGZ]'s Avatar
 
Join Date: Feb 2010
Location: Australia
Posts: 391
Reputation: 85
Default Re: Players crashing on 0.3.7

It could be someone using cleo to spam or create particles, possibly even ones that don't exist, such as an objectID or vehmodID as a particle ID or something shitty like that.

What about opening a private server with all your regular plugins/scripts an such, then giving it to those you trust?, I know it's a bit of mucking around and stuff.. but then you'll know it's not your server, which I highly doubt that it is.
__________________
Killa[DGZ] is offline   Reply With Quote
Old 17/12/2018, 05:23 AM   #8
niCe
Gangsta
 
niCe's Avatar
 
Join Date: Mar 2008
Location: CZ
Posts: 662
Reputation: 353
Default Re: Players crashing on 0.3.7

It's not possible to create and sync particles (afaik). The only thing I can think of is what Kalcor suggested with engines - that some cheater might be turning engines on in all nearby vehicles and that could crash the game for other players. But this issue occurs on all our 3 servers simultaneously, so it's unlikely that case.
__________________
[ENG] s2.gta-multiplayer.cz:7777 WTLS 2 (Singleplayer Features)
[ENG] s3.gta-multiplayer.cz:7777 WTLS 3 (Singleplayer Features)

- Many features from singleplayer
- Pool, basketball and Poker Texas Holdem minigames, singleplayer race and other challenges
- Video game QUB3D from GTA 4
- Roulettes, blackjack, slot machines, video poker and horse-betting
- Stock market BAWSAQ from GTA 5
- Phone with a lot of features from GTA Online
- Missions from Big Smoke, Sweet, Zero, Cesar or Woozie!
- Gang wars over 100 gang hoods
- More than 30 jobs (police, paramedic, firefighter, burglar, pimp, valet pizza-boy and more)
- Gyms, strip clubs, clothes shops, hidden packages, oysters, spray tags, horseshoes and more
VIDEO
niCe is offline   Reply With Quote
Old 17/12/2018, 11:01 PM   #9
Kalcor
SA-MP Developer
 
Join Date: Apr 2005
Posts: 995
Reputation: 2730
Default Re: Players crashing on 0.3.7

What I've seen before with the gangtags crash is an admin has the ability to create any object they want. They create one of the game's gangtags and that crashes all the players.

When a player leaves the server due to a suspected crash (connection loss) maybe you could log their last known position and that would help track down the cause. You'll need to examine the area where they crashed and look for clues.
Kalcor is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Crashing lot of players Dusan01 Scripting Help 6 14/02/2016 01:56 AM
Crashing players. Vanchesta Server Support 0 23/05/2014 03:53 PM
Players crashing xdarren Client Support 1 19/10/2013 07:12 PM
Players crashing. Roel Server Support 0 21/02/2013 05:44 PM
Players Crashing CONTROLA Scripting Help 3 27/08/2012 03:48 PM


All times are GMT. The time now is 05:03 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.