glKarin / com.n0n3m4.diii4a

DOOM III/Quake 4/Prey(2006) GLES on Android/Windows/Linux, DOOM 3 BFG/The Dark Mod/RTCW/Quake 1 2 3/GZDOOM/ETW/RealRTCW on Android
GNU General Public License v3.0
288 stars 20 forks source link

Crash rbdoom3bfg (Ubuntu arm64) #270

Open ArtemS2 opened 1 week ago

ArtemS2 commented 1 week ago

crash_render.log

glKarin commented 5 days ago

I don't know what reason, you should build with ReleaseWithDebInfo, and find line number cause SEG signal.

在 2024-11-09 16:55:35,"ArtemS2" @.***> 写道:

crash_render.log

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

ArtemS2 commented 2 days ago
[ 81%] Building CXX object CMakeFiles/RBDoom3BFG.dir/home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/f_finale.cpp.o In file included from /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/globaldata.h:43, from /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/f_finale.cpp:30: /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/d_main.h:69: warning: "R_OK" redefined 69 #define R_OK 0x01
In file included from /usr/include/aarch64-linux-gnu/bits/sigstksz.h:24, from /usr/include/signal.h:328, from /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/neo/./idlib/sys/sys_includes.h:115, from /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/neo/./idlib/precompiled.h:34, from /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/Precompiled.h:31, from /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/f_finale.cpp:29: /usr/include/unistd.h:281: note: this is the location of the previous definition 281 #define R_OK 4 / Test for read permission. /
/home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/d_main.h:70: warning: "X_OK" redefined 70 #define X_OK 0x02
/usr/include/unistd.h:283: note: this is the location of the previous definition 283 #define X_OK 1 / Test for execute permission. /
/home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/d_main.h:71: warning: "W_OK" redefined 71 #define W_OK 0x04
/usr/include/unistd.h:282: note: this is the location of the previous definition 282 #define W_OK 2 / Test for write permission. /

/home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/f_finale.cpp: In function ‘void F_BunnyScroll()’: /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/f_finale.cpp:769:23: error: ‘%i’ directive writing between 1 and 10 bytes into a region of size 7 [-Werror=format-overflow=] 769 | sprintf (name,"END%i",stage); | ^~ /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/f_finale.cpp:769:19: note: directive argument in the range [-429496729, 6] 769 | sprintf (name,"END%i",stage); | ^~~ /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/f_finale.cpp:769:13: note: ‘sprintf’ output between 5 and 14 bytes into a destination of size 10 769 | sprintf (name,"END%i",stage); | ~~^~~~~~ cc1plus: some warnings being treated as errors gmake[2]: [CMakeFiles/RBDoom3BFG.dir/build.make:5984: CMakeFiles/RBDoom3BFG.dir/home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/doomclassic/doom/f_finale.cpp.o] Ошибка 1 gmake[1]: [CMakeFiles/Makefile2:100: CMakeFiles/RBDoom3BFG.dir/all] Ошибка 2 gmake: *** [Makefile:91: all] Ошибка 2 Target directory: /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/neo ...... Done

ArtemS2 commented 2 days ago

I tried to build ReleaseWithDebInfo