Skip to content

Crash 0x0022C03C #4204

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

Closed
1 task done
haron4igg opened this issue May 6, 2025 · 5 comments
Closed
1 task done

Crash 0x0022C03C #4204

haron4igg opened this issue May 6, 2025 · 5 comments
Labels
bug Something isn't working

Comments

@haron4igg
Copy link

haron4igg commented May 6, 2025

Describe the bug

One more crash,

client_1.6-release-23183.0.000_core_0022c03c_7363_CGNM_1B043B92_55F3_D4F_A6EA6_20250506_2003.rsa.dmp
client_1.6-release-23183.0.000_core_0022c03c_7363_CGNM_1B043B92_55F3_D82_A6EA6_20250506_1808.rsa.dmp

Version = 1.6-release-23183.0.000
Time = Tue May 6 20:03:31 2025
Module = C:\Games\NS-DayZ\Multi Theft Auto1.6\MTA\core.dll
Code = 0xE06D7363
Offset = 0x0022C03C

EAX=0177F6B0 EBX=19930520 ECX=00000003 EDX=00000000 ESI=000A41E8
EDI=5BA7C03C EBP=0177F70C ESP=0177F6B0 EIP=75ADD424 FLG=00000212
CS=30023 DS=F5D002B SS=002B ES=F280002B FS=F2800053 GS=177002B

Steps to reproduce

Happen after 15 minutes of gameplay, clear start, last thing i did - traveled across the map,
then made an animated action, and accoring to video playback - last moment was the animation end. and game crashed. But no idea if it was a real cause.
Can look for more insight if someone could give me hint to what this crash-dump relates.

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

Version

Version = 1.6-release-23183.0.000

Additional context

No response

Relevant log output

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.
@haron4igg haron4igg added the bug Something isn't working label May 6, 2025
@haron4igg haron4igg mentioned this issue May 6, 2025
1 task
@tederis
Copy link
Member

tederis commented May 7, 2025

According to the offset it's std::bad_alloc exception. Which usually means the lack of free memory.

@haron4igg
Copy link
Author

haron4igg commented May 7, 2025

According to showmemstat, usually there is 400-500 mb free for mta now when playing my server.
And no found memory leaks so far (checked performance browser memory, memstats, counting elements).

The problem is so random, it may happen after 5-15 minutes of gameplay, and may not happen even after reconnect with same mta session after a hours. Some people never suffer this kind of problem, while other have it every 30-40 minutes. Sounds like some memory corruption tbh.

If i’ll go trough crash repots of people who crashed recently, there would be huge variation of Code: 0x00000005 and this code from issue. Could this reports be helpful to identify the source of corruption?

Probably then its relates to old issue i created some time ago. #3840

Is there any other (more advanced) memory profiling technique, which we can use to find the cause?

@tederis
Copy link
Member

tederis commented May 7, 2025

500 MB of free memory is quite small for the stability. Especially because the amount of free memory is a fictional value to some extent.

@haron4igg
Copy link
Author

haron4igg commented May 7, 2025

500 MB of free memory is quite small for the stability. Especially because the amount of free memory is a fictional value to some extent.

Before i raised #3840 we had 300-200 free memory for years without any significant issues except crash after 2-3 reconnects. After that ticket i made many rounds for reducing memory consumption, reducing quality of resources but this didn’t helped at all.

I have some players who suffer often crashes who has disabled part of graphical modes which leaves them 700-800 free memory.

There is something corrupting memory since 22789.

I would really appreciate if somebody could help with profiling this, or at least give some advice or tooling for profiling memory usage in mta.

@haron4igg
Copy link
Author

haron4igg commented May 12, 2025

Closing as most likely related to #3840 (not reproducing in env without running CEF)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants