-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adhesive.dll crashes #2477
Comments
Can you provide a crash dump so the team can diagnose the issue? |
Sure thing, here are some of many |
I have to add ontop of that, it's not for every player. It's random, for selected players. |
Crash is identical to #1919 (comment) but w/ 2944. Are you doing anything special at the coordinates: -934.000000, 6670.00000, -27.0000000? Crash logs are a bit interesting since they are showing multiple exceptions due to a lack of a GTA script handler. (Adhesive is likely showing up due to stack scanning as that script command is obfuscated). |
So will there be no way to understand where exactly it comes from and instead be a trial-and-error thing? Yeah, nice catch. I guess, something is happening there. A script spawns cases nearby, which you can pick up when nearby and give you an item when you open them. (at that coordinates). But crashes are not happening there. It's really just when either a blip is created or when you go 'off-duty'. Unfortunately I am not allowed to redistribute the code, so I can't share the exact code here. But it's called 'kuz_diving' from KQ and is not obfuscated. Why these coords, though? What is your assumption / what is your thought process? Could you please elaborate so I may either can provide more information around that or help And also, the same behaviour was on build 2802 (I've tested it with my comm) |
In the three provided dumps the game is crashing with calls to Much earlier in your logs (almost near script initialization), we see a similar error:
Which seems like you guys are doing something to cause the script thread state to be corrupt early on. |
Holy shit. Spot on. In the config there is: What do you mean by GTA script handler, by the way? Is that something, I can implement? What is its responsibility? How did you figure out the coordinates? I can't seem to find them in the crash dumps? Teach me please, so the next time I don't have to annoy you (guys). |
I wouldn't expect removing that script to help much, unfortunately. From your logs things already look like they are in a weird state much earlier:
The issue at play being |
Crash is still occuring! Here is a new log. Yes, I don't get why it throws an error. For once it'S RequestNamedPtfxAsset, although core is being loaded, it still fails the native execution. Hence the 'FÜR PENG', I've overriden the native to throw a print WHAT exactly is passed when the native fails. Can't figure out why. Same with RequestModel (0x963d27a58df860ac ) |
A script handler is essentially a game class that helps script threads manage script resources (e.g., models, blips, etc) and do networking - something required by each resource. For some unknown reason your dump is showing an attempt to run code in a cleaned up resource (e.g., stopped; in the link above they are using More information is required I think (e.g., Fulldump). Minidumps don't provide enough information and looking through the affected code-paths for race conditions and the sorts is a bit annoying. |
How do I acquire such a full dump? Is there any reference you can give me? Sorry for the belated answer, I wasn't home due to my job requiring so. And I'd kindly ask again, how did you manage to figure out the coordinates above? Edit: Only way to think of is now overriding the global so I can tell what parameter is passed. Not sure if that'd help out though. |
another crash dump |
.bump |
https://forum.cfx.re/t/enabling-and-uploading-full-client-dumps/1138940 |
What happened?
Hi.
I have written a duty-system, in which you can toggle being on or offduty.
The last 2 months, some players are getting crashes when going either on-duty or off-duty. I have tried debugging for the past decades, but now I am out of options.
This is the log, in the end:
this is the code:
As you can see, the prints go through, but at some point after that (~300ms later) the player crashes with the above message. I have no clue what adhesive has to do with that lol.
The same crash occurs when sending blips to players with a job. Can someone please point me out what this error message could mean? afaik adhesive.dll is something with the internal anti-cheat of fivem, so... idk.
Expected result
not crash when going off-duty.
Reproduction steps
on build 2802
Importancy
Crash
Area(s)
FiveM
Specific version(s)
2944
Additional information
I'm frustrated. My players are frustrated. I have no clue how to proceed.
The text was updated successfully, but these errors were encountered: