[2.2.12 pre3] Game crashes during startup on linux
Crash log:
An error occurred within SRB2! Send this stack trace to someone who can help!
Time of crash: Sun, 20 Aug 2023 14:46:23 -0400
Cause: Aborted
Backtrace:
srb2(+0x841c3)[0x560a34e841c3]
srb2(+0x842f8)[0x560a34e842f8]
/lib64/libc.so.6(+0x3e330)[0x7f80b986c330]
/lib64/libc.so.6(+0x8fabc)[0x7f80b98bdabc]
/lib64/libc.so.6(gsignal+0x18)[0x7f80b986c266]
/lib64/libc.so.6(abort+0xd9)[0x7f80b9854897]
/lib64/libc.so.6(+0x27611)[0x7f80b9855611]
/lib64/libc.so.6(+0x12684b)[0x7f80b995484b]
/lib64/libc.so.6(+0x124cb6)[0x7f80b9952cb6]
/lib64/libc.so.6(__strcat_chk+0x2c)[0x7f80b99523ea]
srb2(R_AddSkins+0x7f2)[0x560a35039c22]
srb2(R_InitSprites+0x18c)[0x560a3503ebec]
srb2(R_InitData+0x7e)[0x560a3501b7ee]
srb2(R_Init+0x9)[0x560a3502d4f9]
srb2(D_SRB2Main+0x847)[0x560a34eba157]
srb2(main+0x55)[0x560a34e83635]
/lib64/libc.so.6(+0x27bf0)[0x7f80b9855bf0]
/lib64/libc.so.6(__libc_start_main+0x8b)[0x7f80b9855cb9]
srb2(_start+0x2a)[0x560a34e8388a]
Some compiler warnings reported:
dl/i_system.c: In function 'write_backtrace':
sdl/i_system.c:262:46: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
262 | #define CRASHLOG_WRITE(string) if (fd != -1) write(fd, string, strlen(string))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sdl/i_system.c:292:9: note: in expansion of macro 'CRASHLOG_WRITE'
292 | CRASHLOG_WRITE("------------------------\n"); // Nice looking seperator
| ^~~~~~~~~~~~~~
sdl/i_system.c:265:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
265 | write(fd, string, strlen(string));\
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sdl/i_system.c:294:9: note: in expansion of macro 'CRASHLOG_STDERR_WRITE'
294 | CRASHLOG_STDERR_WRITE("\n"); // Newline to look nice for both outputs.
| ^~~~~~~~~~~~~~~~~~~~~
sdl/i_system.c:265:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
265 | write(fd, string, strlen(string));\
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sdl/i_system.c:295:9: note: in expansion of macro 'CRASHLOG_STDERR_WRITE'
295 | CRASHLOG_STDERR_WRITE(error); // "Oops, SRB2 crashed" message
| ^~~~~~~~~~~~~~~~~~~~~
sdl/i_system.c:262:46: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
262 | #define CRASHLOG_WRITE(string) if (fd != -1) write(fd, string, strlen(string))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sdl/i_system.c:299:9: note: in expansion of macro 'CRASHLOG_WRITE'
299 | CRASHLOG_WRITE("Time of crash: ");
| ^~~~~~~~~~~~~~
sdl/i_system.c:262:46: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
262 | #define CRASHLOG_WRITE(string) if (fd != -1) write(fd, string, strlen(string))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sdl/i_system.c:300:9: note: in expansion of macro 'CRASHLOG_WRITE'
300 | CRASHLOG_WRITE(timestr);
| ^~~~~~~~~~~~~~
sdl/i_system.c:262:46: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
262 | #define CRASHLOG_WRITE(string) if (fd != -1) write(fd, string, strlen(string))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sdl/i_system.c:301:9: note: in expansion of macro 'CRASHLOG_WRITE'
301 | CRASHLOG_WRITE("\n");
| ^~~~~~~~~~~~~~
sdl/i_system.c:262:46: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
262 | #define CRASHLOG_WRITE(string) if (fd != -1) write(fd, string, strlen(string))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sdl/i_system.c:305:9: note: in expansion of macro 'CRASHLOG_WRITE'
305 | CRASHLOG_WRITE("Cause: ");
| ^~~~~~~~~~~~~~
sdl/i_system.c:262:46: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
262 | #define CRASHLOG_WRITE(string) if (fd != -1) write(fd, string, strlen(string))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sdl/i_system.c:306:9: note: in expansion of macro 'CRASHLOG_WRITE'
306 | CRASHLOG_WRITE(strsignal(signal));
| ^~~~~~~~~~~~~~
sdl/i_system.c:262:46: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
262 | #define CRASHLOG_WRITE(string) if (fd != -1) write(fd, string, strlen(string))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sdl/i_system.c:307:9: note: in expansion of macro 'CRASHLOG_WRITE'
307 | CRASHLOG_WRITE("\n"); // Newline for the signal name
| ^~~~~~~~~~~~~~
sdl/i_system.c:265:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
265 | write(fd, string, strlen(string));\
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sdl/i_system.c:309:9: note: in expansion of macro 'CRASHLOG_STDERR_WRITE'
309 | CRASHLOG_STDERR_WRITE("\nBacktrace:\n");
| ^~~~~~~~~~~~~~~~~~~~~
sdl/i_system.c:262:46: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
262 | #define CRASHLOG_WRITE(string) if (fd != -1) write(fd, string, strlen(string))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sdl/i_system.c:316:9: note: in expansion of macro 'CRASHLOG_WRITE'
316 | CRASHLOG_WRITE("\n"); // Write another newline to the log so it looks nice :)
| ^~~~~~~~~~~~~~