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

Quake 4 crashes at random times (Ubuntu x86-64) #144

Open
ArtemS2 opened this issue Feb 21, 2024 · 7 comments
Open

Quake 4 crashes at random times (Ubuntu x86-64) #144

ArtemS2 opened this issue Feb 21, 2024 · 7 comments

Comments

@ArtemS2
Copy link
Contributor

ArtemS2 commented Feb 21, 2024

start2.log
I tried to build a debug version, but the crash became stable at the start of the first level. (start2.log)
if you collect the release version, then this is the gdb log:
start1.log
(start1.log)

@ArtemS2
Copy link
Contributor Author

ArtemS2 commented Feb 21, 2024

I tried to extract more information from (Debug version): gdb --batch -ex run -ex="bt full" -ex="c" ./Quake4 &> start4.log
start4.log

@glKarin
Copy link
Owner

glKarin commented Feb 21, 2024

remove _DEBUG macro when build in debug

@ArtemS2
Copy link
Contributor Author

ArtemS2 commented Feb 21, 2024

@glKarin Where can I remove it?

@glKarin
Copy link
Owner

glKarin commented Feb 21, 2024 via email

@ArtemS2
Copy link
Contributor Author

ArtemS2 commented Feb 21, 2024

start6.log
start5.log

@ArtemS2
Copy link
Contributor Author

ArtemS2 commented Feb 21, 2024

I hope I understood everything correctly.
set(CMAKE_C_FLAGS_DEBUG "-g -ggdb -O0 -fPIC")
I removed "-D_DEBUG"

@ArtemS2 ArtemS2 changed the title Qauke 4 crashes at random times (Ubuntu x86-64) Quake 4 crashes at random times (Ubuntu x86-64) Feb 22, 2024
@ArtemS2
Copy link
Contributor Author

ArtemS2 commented Apr 19, 2024

I tried to collect new sources. The lighting began to work much better. But the game still has crashes.
start6.log

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

No branches or pull requests

2 participants