Skip to content
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

Server hang #1929

Closed
Gltch3d opened this issue Apr 5, 2023 · 5 comments
Closed

Server hang #1929

Gltch3d opened this issue Apr 5, 2023 · 5 comments
Labels
stale Issue or PR has remained open with no activity and has become stale.

Comments

@Gltch3d
Copy link

Gltch3d commented Apr 5, 2023

My server has been experiencing random crashes so I decided to run procdump on the process and wait until a crash is triggered. I ran the dump file produced from procdump and got the following

Unhandled exception at 0x00007FF9A7FE8B0F (citizen-server-state-fivesv.dll) in FXServer.exe_230405_093105.dmp: 0xC0000005: Access violation reading location 0x00000000000083F4.

After the debug was complete it points to;

citizen-server-state-fivesv.dll!fx::ServerGameState::Tick::__l2::(const fx::shared_referencefx::Client,&fx::clientPool & clientRef) Line 1441 C++

Running FXServer 6374 on Windows Server 2022

@Gltch3d
Copy link
Author

Gltch3d commented Apr 5, 2023

@blattersturm
Copy link
Contributor

Instead of trying to analyze the crash yourself, can you upload the crash dump?

@Gltch3d
Copy link
Author

Gltch3d commented Apr 6, 2023

Sure.
https://dropmefiles.com/dBnkp

@Gltch3d
Copy link
Author

Gltch3d commented Apr 6, 2023

I'm not sure if its anything related but I was reading the entity state bags for each entity in a for loop statement iterating over the vehicle game pool server side. After having remove that section of code the issue seems to have stopped. I'm not sure if its anything related to maybe the entity being removed from the pool as its reading its state bags causing it to hang or not. Again this was being performed server side.

@gottfriedleibniz
Copy link
Contributor

Closing this issue. If you do have any more recent dumps, please provide.

Note, these random corruptions of fx::shared_reference are duly noted.

@gottfriedleibniz gottfriedleibniz closed this as not planned Won't fix, can't repro, duplicate, stale Feb 1, 2024
@gottfriedleibniz gottfriedleibniz added the stale Issue or PR has remained open with no activity and has become stale. label Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

3 participants