altmp / altv-issues

Issues and roadmap for alt:V project
93 stars 17 forks source link

CEF/F8 Freeze #1120

Closed gt4ever1988 closed 2 years ago

gt4ever1988 commented 2 years ago

Client/server version rc/6.0-rc12

Current behavior After a while, the CEF freezes with its entire content. As soon as this occurs, F8 no longer works either (console does not open). This behavior occurs from time to time, more often when a player dies or is injured in the vicinity.

FabianTerhorst commented 2 years ago

Please provide code to reproduce.

gt4ever1988 commented 2 years ago

Unfortunately, this is coincidental, even if you only drive the vehicle. When driving a vehicle, I only update the street name and vehicle speed, which stops at once. I do this via an "emit" to an "alt.WebView" without destroying the WebView - it is only created once and fired permanently. After the vehicle speed or street name doesnt refresh also the F8 doesnt load.

C0kkie commented 2 years ago

I can confirm that, but its hard to reproduce it, i also just tabbed out and came back after few minutes and it freezed

C0kkie commented 2 years ago

@gt4ever1988 Should be fixed in rc/6.0-rc12, please report back if its fixed for you

gt4ever1988 commented 2 years ago

Still occurs with 6.0-rc14, but much less often

gt4ever1988 commented 2 years ago

After some tests, the bug occurs when the player takes damage in a vehicle / or is thrown from the vehicle (but does not die in the process). In the current test, however, this only occurs 1/20 attempts!

// EDIT: i test it again (20 Minutes), the error never occurs at this time ... // EDIT2: i post a clip in e few minute

gt4ever1988 commented 2 years ago

If a player is killed several times and he is automatically resuscitated (purely for the test) he will not be resuscitated after a while - from this moment the CEF no longer works // in this case F8 continued to work

https://www.youtube.com/watch?v=VarPrZjDc_o

FabianTerhorst commented 2 years ago

Sound very much depending on your Code.

UnskilledFreak commented 2 years ago

I found something related to the CEF freezes and answered on a similar topic in #1096 i guess this fits here to, so here is the direct link: https://github.com/altmp/altv-issues/issues/1096#issuecomment-922087251

n0minal commented 2 years ago

seems to be fixed in latest rc branch for me.

C0kkie commented 2 years ago

Nice thanks for your feedback