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 crash on map change with lugormod #1112

Open
jakub742 opened this issue Dec 9, 2021 Discussed in #1111 · 4 comments
Open

Server crash on map change with lugormod #1112

jakub742 opened this issue Dec 9, 2021 Discussed in #1111 · 4 comments

Comments

@jakub742
Copy link

jakub742 commented Dec 9, 2021

Discussed in #1111

Originally posted by jakub742 December 7, 2021
Hello i tried to run Lugormod U# also tried Lugormod-X with openjk server that i compiled but when i use other mod than base in my case Lugormod the server is crashing when i try to change map.

openjkded.i386: /home/OpenJK/codemp/icarus/GameInterface.cpp:240: void ICARUS_FreeEnt(sharedEntity_t*): Assertion `iICARUS' failed.

Can someone help me fix that ? Im running server on Debian image in docker. Host OS CentOS 8. With only base it works fine.

Lugormod-X github

@ensiform
Copy link
Member

ensiform commented Dec 9, 2021

Sounds like lugormod is broken sending bad code. Assertion failed won't happen on release of the server

@jakub742
Copy link
Author

jakub742 commented Dec 9, 2021

Can i somehow fix that ? since the lugormod code is on github.

@Razish
Copy link
Member

Razish commented Jan 29, 2022

Hm, I wonder if this is due to LMD's "logical entity" support?
I searched through the code and can only imagine iICARUS is null if an entity is freed in LMD game code before ICARUS_Init is called from G_InitGame in g_main.c[pp] - I had a quick look at the source you linked and I don't think that's the case, but it still sounds like the issue is within LMD game module.

EDIT: Hm, just saw this only happens on map change - I will look into this more in a bit, may be due to shutdown order.

@jakub742
Copy link
Author

Thanks man for checking the issue. Feel free to close issue at any moment 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants