glKarin / com.n0n3m4.diii4a

idTech4A++, idTech engine game For Android, DOOM III/Quake 4/Prey(2006)/DOOM 3 BFG/The Dark Mod/RTCW/Quake 1 2 3/GZDOOM
GNU General Public License v3.0
245 stars 16 forks source link

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

Open ArtemS2 opened 5 months ago

ArtemS2 commented 5 months ago

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 commented 5 months ago

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

glKarin commented 5 months ago

remove _DEBUG macro when build in debug

ArtemS2 commented 5 months ago

@glKarin Where can I remove it?

glKarin commented 5 months ago

CMakeList.txt

在 2024-02-21 17:13:17,ArtemS2 @.***> 写道:

@glKarin Where can I remove it?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

ArtemS2 commented 5 months ago

start6.log start5.log

ArtemS2 commented 5 months ago

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

ArtemS2 commented 3 months ago

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