Missing FLineTraceData when using LineTraces crashes GZDoom

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Kizoky
Posts: 291
Joined: Mon Nov 14, 2011 9:59 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: Around weirdos, I'm the biggest weirdo among them
Contact:

Missing FLineTraceData when using LineTraces crashes GZDoom

Post by Kizoky »

When using Linetraces and if you forgot to set up an FLineTraceData variable GZDoom instantly crashes when the game is loaded at startup (can't even see the main menu at all)

Code attached below ALWAYS crashes GZDoom unless you don't comment out the variable
Attachments
zscript.txt
(318 Bytes) Downloaded 38 times
User avatar
MartinHowe
Posts: 2061
Joined: Mon Aug 11, 2003 1:50 pm
Preferred Pronouns: He/Him
Location: East Suffolk (UK)

Re: Missing FLineTraceData when using LineTraces crashes GZD

Post by MartinHowe »

I tried this

It detects the script error (Unknown identifier 'LineData') but instead of rejecting the script, crashes:

Code: Select all

martin@freddie:~/Downloads$ /usr/bin/gzdoom -iwad doom -file crashscript 
GZDoom g4.5.0 - 2020-10-31 10:07:33 +0100 - SDL version
Compiled on Jan 24 2021

Log started: 2021-03-14 09:01:35
M_LoadDefaults: Load system defaults.
W_Init: Init WADfiles.
 adding /usr/games/gzdoom/gzdoom.pk3, 630 lumps
 adding /usr/games/gzdoom/game_support.pk3, 2512 lumps
 adding /usr/share/doom/doom.wad, 2306 lumps
 adding crashscript, 1 lumps
I_Init: Setting up machine state.
CPU Vendor ID: GenuineIntel
  Name: Intel(R) Xeon(R) CPU E5345 @ 2.33GHz
  Family 6, Model 15, Stepping 11
  Features: SSE2 SSE3 SSSE3 HyperThreading
V_Init: allocate screen.
S_Init: Setting up sound.
I_InitSound: Initializing OpenAL
  Opened device EMU20k1 [Sound Blaster X-Fi Series] Analogue Stereo
  EFX enabled
ST_Init: Init startup screen.
Checking cmd-line parameters...
S_InitData: Load sound definitions.
G_ParseMapInfo: Load map definitions.
Texman.Init: Init texture manager.
ParseTeamInfo: Load team definitions.
LoadActors: Load actor definitions.
Script error, "crashscript/:zscript.txt" line 8:
Unknown identifier 'LineData'


*** Fatal Error ***
Address not mapped to object (signal 11)
Address: 0x10

Generating gzdoom-crash.log and killing process 7761, please wait... 27	../sysdeps/unix/sysv/linux/wait4.c: No such file or directory.
/usr/bin/gzdoom: line 26:  7761 Killed                  "/usr/games/${product}/${product}" +logfile "${product}.log" "$@"
martin@freddie:~/Downloads$ 
Crashdump (on my system):

Code: Select all

*** Fatal Error ***
Address not mapped to object (signal 11)
Address: 0x10

System: Linux freddie 5.4.0-66-generic #74-Ubuntu SMP Wed Jan 27 22:54:38 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

GZDoom version g4.5.0 (3037c08840f209f9f6b6d7e6c2c69632472a5d54)
Command line: /usr/games/gzdoom/gzdoom -iwad doom -file crashscript
Wad 0: gzdoom.pk3
Wad 1: game_support.pk3
Wad 2: doom.wad
Wad 3: crashscript/

Not in a level.

Executing: gdb --quiet --batch --command=gdb-respfile-w8MoPA
[New LWP 7762]
[New LWP 7765]
[New LWP 7766]
[New LWP 7767]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f31ea261dff in __GI___wait4 (pid=7768, stat_loc=0x555d1778f3ac, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:27

* Loaded Libraries
From                To                  Syms Read   Shared Object Library
0x00007f31eabaf640  0x00007f31eac831f2  Yes (*)     /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0
0x00007f31eab73280  0x00007f31eab83e2b  Yes (*)     /lib/x86_64-linux-gnu/libz.so.1
0x00007f31eaaf0540  0x00007f31eab33469  Yes (*)     /usr/lib/x86_64-linux-gnu/libjpeg.so.8
0x00007f31eaadb240  0x00007f31eaae7ec6  Yes (*)     /lib/x86_64-linux-gnu/libbz2.so.1.0
0x00007f31eaad4220  0x00007f31eaad5179  Yes         /lib/x86_64-linux-gnu/libdl.so.2
0x00007f31ea78ebf0  0x00007f31ea90bc4d  Yes         /usr/local/lib/libzmusic.so.1
0x00007f31ea5db1a0  0x00007f31ea6c2e32  Yes (*)     /usr/lib/x86_64-linux-gnu/libstdc++.so.6
0x00007f31ea3fd3c0  0x00007f31ea4a3f18  Yes         /lib/x86_64-linux-gnu/libm.so.6
0x00007f31ea3b56d0  0x00007f31ea3df5d2  Yes (*)     /usr/lib/x86_64-linux-gnu/libgomp.so.1
0x00007f31ea3945e0  0x00007f31ea3a5045  Yes (*)     /lib/x86_64-linux-gnu/libgcc_s.so.1
0x00007f31ea375ae0  0x00007f31ea3854d5  Yes         /lib/x86_64-linux-gnu/libpthread.so.0
0x00007f31ea1a1630  0x00007f31ea31620d  Yes         /lib/x86_64-linux-gnu/libc.so.6
0x00007f31ea0aa380  0x00007f31ea137136  Yes (*)     /usr/lib/x86_64-linux-gnu/libasound.so.2
0x00007f31ea037f60  0x00007f31ea065ab1  Yes (*)     /usr/lib/x86_64-linux-gnu/libpulse.so.0
0x00007f31e9f060c0  0x00007f31e9f8f5b6  Yes (*)     /usr/lib/x86_64-linux-gnu/libX11.so.6
0x00007f31e9edc5e0  0x00007f31e9ee684e  Yes (*)     /usr/lib/x86_64-linux-gnu/libXext.so.6
0x00007f31e9ece660  0x00007f31e9ed3288  Yes (*)     /usr/lib/x86_64-linux-gnu/libXcursor.so.1
0x00007f31e9ec70f0  0x00007f31e9ec7a31  Yes (*)     /usr/lib/x86_64-linux-gnu/libXinerama.so.1
0x00007f31e9eb4460  0x00007f31e9ebed1b  Yes (*)     /usr/lib/x86_64-linux-gnu/libXi.so.6
0x00007f31e9ea7360  0x00007f31e9ead6b9  Yes (*)     /usr/lib/x86_64-linux-gnu/libXrandr.so.2
0x00007f31e9ea1140  0x00007f31e9ea1d5d  Yes (*)     /usr/lib/x86_64-linux-gnu/libXss.so.1
0x00007f31e9e9a240  0x00007f31e9e9c9f9  Yes (*)     /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1
0x00007f31e9e95080  0x00007f31e9e95219  Yes (*)     /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1
0x00007f31e9e885c0  0x00007f31e9e8d345  Yes (*)     /usr/lib/x86_64-linux-gnu/libwayland-client.so.0
0x00007f31e9e78460  0x00007f31e9e79ff7  Yes (*)     /usr/lib/x86_64-linux-gnu/libwayland-cursor.so.0
0x00007f31e9e38560  0x00007f31e9e53703  Yes (*)     /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0
0x00007f31ead0b100  0x00007f31ead2d674  Yes         /lib64/ld-linux-x86-64.so.2
0x00007f31e9e0a440  0x00007f31e9e16f34  Yes         /lib/x86_64-linux-gnu/libmvec.so.1
0x00007f31e9d993e0  0x00007f31e9dde002  Yes (*)     /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so
0x00007f31e9d40eb0  0x00007f31e9d6d915  Yes (*)     /lib/x86_64-linux-gnu/libdbus-1.so.3
0x00007f31e9d14620  0x00007f31e9d27699  Yes (*)     /usr/lib/x86_64-linux-gnu/libxcb.so.1
0x00007f31e9b00a60  0x00007f31e9b06ab5  Yes (*)     /usr/lib/x86_64-linux-gnu/libXrender.so.1
0x00007f31e9af9300  0x00007f31e9afb6ea  Yes (*)     /usr/lib/x86_64-linux-gnu/libXfixes.so.3
0x00007f31e9aed230  0x00007f31e9af2a46  Yes (*)     /usr/lib/x86_64-linux-gnu/libffi.so.7
0x00007f31e9a4dba0  0x00007f31e9ac0720  Yes (*)     /lib/x86_64-linux-gnu/libsystemd.so.0
0x00007f31e9a31b20  0x00007f31e9a3588c  Yes (*)     /usr/lib/x86_64-linux-gnu/libwrap.so.0
0x00007f31e99b8fa0  0x00007f31e9a0aed5  Yes (*)     /usr/lib/x86_64-linux-gnu/libsndfile.so.1
0x00007f31e97ac1d0  0x00007f31e97ae848  Yes (*)     /usr/lib/x86_64-linux-gnu/libasyncns.so.0
0x00007f31e97998c0  0x00007f31e97a1380  Yes (*)     /usr/lib/x86_64-linux-gnu/libapparmor.so.1
0x00007f31e978e720  0x00007f31e9791d70  Yes         /lib/x86_64-linux-gnu/librt.so.1
0x00007f31e9786360  0x00007f31e9787052  Yes (*)     /usr/lib/x86_64-linux-gnu/libXau.so.6
0x00007f31e977d1a0  0x00007f31e977ea03  Yes (*)     /usr/lib/x86_64-linux-gnu/libXdmcp.so.6
0x00007f31e97553c0  0x00007f31e976c3a6  Yes (*)     /lib/x86_64-linux-gnu/liblzma.so.5
0x00007f31e9733120  0x00007f31e974c88b  Yes (*)     /usr/lib/x86_64-linux-gnu/liblz4.so.1
0x00007f31e961f580  0x00007f31e96ec9dc  Yes (*)     /usr/lib/x86_64-linux-gnu/libgcrypt.so.20
0x00007f31e95fbd20  0x00007f31e960a711  Yes         /lib/x86_64-linux-gnu/libnsl.so.1
0x00007f31e95c0800  0x00007f31e95e8c33  Yes (*)     /usr/lib/x86_64-linux-gnu/libFLAC.so.8
0x00007f31e95ab480  0x00007f31e95af539  Yes (*)     /usr/lib/x86_64-linux-gnu/libogg.so.0
0x00007f31e957e480  0x00007f31e9594c4d  Yes (*)     /usr/lib/x86_64-linux-gnu/libvorbis.so.0
0x00007f31e94e40c0  0x00007f31e94e677e  Yes (*)     /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2
0x00007f31e94b8720  0x00007f31e94c711c  Yes         /lib/x86_64-linux-gnu/libresolv.so.2
0x00007f31e949ee40  0x00007f31e94ace69  Yes (*)     /usr/lib/x86_64-linux-gnu/libbsd.so.0
0x00007f31e9479c60  0x00007f31e948ba92  Yes (*)     /lib/x86_64-linux-gnu/libgpg-error.so.0
0x00007f31e8c45fe0  0x00007f31e8c604f0  Yes (*)     /lib/x86_64-linux-gnu/libudev.so.1
0x00007f31e8b04870  0x00007f31e8b51151  Yes (*)     /usr/lib/x86_64-linux-gnu/libopenal.so.1
0x00007f31e8c32590  0x00007f31e8c38e67  Yes (*)     /usr/lib/x86_64-linux-gnu/libsndio.so.7.0
0x00007f31e8ab9600  0x00007f31e8adf16b  Yes (*)     /usr/lib/x86_64-linux-gnu/libjack.so.0
(*): Shared library is missing debugging information.

* Threads
  Id   Target Id                                      Frame 
* 1    Thread 0x7f31e946e8c0 (LWP 7761) "gzdoom"      0x00007f31ea261dff in __GI___wait4 (pid=7768, stat_loc=0x555d1778f3ac, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:27
  2    Thread 0x7f31e946d700 (LWP 7762) "gzdoom"      futex_wait_cancelable (private=<optimised out>, expected=0, futex_word=0x555d178cc3a0 <renderPool+256>) at ../sysdeps/nptl/futex-internal.h:183
  3    Thread 0x7f31e8a2b700 (LWP 7765) "threaded-ml" 0x00007f31ea291aff in __GI___poll (fds=0x7f31e4009c50, nfds=3, timeout=400) at ../sysdeps/unix/sysv/linux/poll.c:29
  4    Thread 0x7f31e822a700 (LWP 7766) "gzdoom"      futex_wait_cancelable (private=<optimised out>, expected=0, futex_word=0x7f31e4008758) at ../sysdeps/nptl/futex-internal.h:183
  5    Thread 0x7f31d37d8700 (LWP 7767) "gzdoom"      futex_abstimed_wait_cancelable (private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x555d18b53280) at ../sysdeps/nptl/futex-internal.h:320

* FPU Status
  R7: Empty   0x00000000000000000000
  R6: Empty   0x00000000000000000000
  R5: Empty   0x00000000000000000000
  R4: Empty   0x00000000000000000000
  R3: Empty   0x00000000000000000000
  R2: Empty   0x00000000000000000000
  R1: Empty   0x00000000000000000000
=>R0: Empty   0x00000000000000000000

Status Word:         0x0000                                            
                       TOP: 0
Control Word:        0x037f   IM DM ZM OM UM PM
                       PC: Extended Precision (64-bits)
                       RC: Round to nearest
Tag Word:            0xffff
Instruction Pointer: 0x00:0x00000000
Operand Pointer:     0x00:0x00000000
Opcode:              0x0000

* Registers
rax            0xfffffffffffffe00  -512
rbx            0x1e58              7768
rcx            0x7f31ea261dff      139852358491647
rdx            0x0                 0
rsi            0x555d1778f3ac      93858314122156
rdi            0x1e58              7768
rbp            0xb                 0xb
rsp            0x555d1778f370      0x555d1778f370
r8             0x0                 0
r9             0x0                 0
r10            0x0                 0
r11            0x293               659
r12            0x555d1778f3ac      93858314122156
r13            0x555d1778c720      93858314110752
r14            0xf                 15
r15            0x1090              4240
rip            0x7f31ea261dff      0x7f31ea261dff <__GI___wait4+95>
eflags         0x293               [ CF AF SF IF ]
cs             0x33                51
ss             0x2b                43
ds             0x0                 0
es             0x0                 0
fs             0x0                 0
gs             0x0                 0

* Backtrace

Thread 5 (Thread 0x7f31d37d8700 (LWP 7767)):
#0  futex_abstimed_wait_cancelable (private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x555d18b53280) at ../sysdeps/nptl/futex-internal.h:320
        __ret = -512
        op = 393
        __ret = <optimised out>
        oldtype = 0
        err = <optimised out>
        oldtype = <optimised out>
        err = <optimised out>
        __ret = <optimised out>
        clockbit = <optimised out>
        op = <optimised out>
        __ret = <optimised out>
        resultvar = <optimised out>
        __arg6 = <optimised out>
        __arg5 = <optimised out>
        __arg4 = <optimised out>
        __arg3 = <optimised out>
        __arg2 = <optimised out>
        __arg1 = <optimised out>
        _a6 = <optimised out>
        _a5 = <optimised out>
        _a4 = <optimised out>
        _a3 = <optimised out>
        _a2 = <optimised out>
        _a1 = <optimised out>
#1  do_futex_wait (sem=sem@entry=0x555d18b53280, abstime=0x0, clockid=0) at sem_waitcommon.c:112
        err = <optimised out>
#2  0x00007f31ea3814e8 in __new_sem_wait_slow (sem=0x555d18b53280, abstime=0x0, clockid=0) at sem_waitcommon.c:184
        _buffer = {__routine = 0x7f31ea3813a0 <__sem_wait_cleanup>, __arg = 0x555d18b53280, __canceltype = 0, __prev = 0x0}
        err = <optimised out>
        d = 0
#3  0x00007f31e8b50fe9 in ?? () from /usr/lib/x86_64-linux-gnu/libopenal.so.1
No symbol table info available.
#4  0x00007f31e8b162dd in ?? () from /usr/lib/x86_64-linux-gnu/libopenal.so.1
No symbol table info available.
#5  0x00007f31e8b50b57 in ?? () from /usr/lib/x86_64-linux-gnu/libopenal.so.1
No symbol table info available.
#6  0x00007f31ea377609 in start_thread (arg=<optimised out>) at pthread_create.c:477
        ret = <optimised out>
        pd = <optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139851978344192, 7452498026578669239, 140721496403710, 140721496403711, 140721496403856, 139851978341952, -7417655624147308873, -7417636296519618889}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
#7  0x00007f31ea29e293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 4 (Thread 0x7f31e822a700 (LWP 7766)):
#0  futex_wait_cancelable (private=<optimised out>, expected=0, futex_word=0x7f31e4008758) at ../sysdeps/nptl/futex-internal.h:183
        __ret = -512
        oldtype = 0
        err = <optimised out>
        oldtype = <optimised out>
        err = <optimised out>
        __ret = <optimised out>
        resultvar = <optimised out>
        __arg4 = <optimised out>
        __arg3 = <optimised out>
        __arg2 = <optimised out>
        __arg1 = <optimised out>
        _a4 = <optimised out>
        _a3 = <optimised out>
        _a2 = <optimised out>
        _a1 = <optimised out>
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x7f31e4007ed0, cond=0x7f31e4008730) at pthread_cond_wait.c:508
        spin = 0
        buffer = {__routine = 0x7f31ea37e050 <__condvar_cleanup_waiting>, __arg = 0x7f31e8229ca0, __canceltype = 8192, __prev = 0x0}
        cbuffer = {wseq = 84, cond = 0x7f31e4008730, mutex = 0x7f31e4007ed0, private = 0}
        err = <optimised out>
        g = 0
        flags = <optimised out>
        g1_start = <optimised out>
        signals = <optimised out>
        result = 0
        wseq = 84
        seq = 42
        private = <optimised out>
        maxspin = <optimised out>
        err = <optimised out>
        result = <optimised out>
        wseq = <optimised out>
        g = <optimised out>
        seq = <optimised out>
        flags = <optimised out>
        private = <optimised out>
        signals = <optimised out>
        g1_start = <optimised out>
        spin = <optimised out>
        buffer = <optimised out>
        cbuffer = <optimised out>
        s = <optimised out>
#2  __pthread_cond_wait (cond=0x7f31e4008730, mutex=0x7f31e4007ed0) at pthread_cond_wait.c:638
No locals.
#3  0x00007f31ea05f87c in pa_threaded_mainloop_wait () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#4  0x00007f31e8b4a496 in ?? () from /usr/lib/x86_64-linux-gnu/libopenal.so.1
No symbol table info available.
#5  0x00007f31e8b50b57 in ?? () from /usr/lib/x86_64-linux-gnu/libopenal.so.1
No symbol table info available.
#6  0x00007f31ea377609 in start_thread (arg=<optimised out>) at pthread_create.c:477
        ret = <optimised out>
        pd = <optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139852324710144, 7452498026578669239, 140721496403518, 140721496403519, 140721496403664, 139852324707904, -7417631732317983049, -7417636296519618889}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
#7  0x00007f31ea29e293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 3 (Thread 0x7f31e8a2b700 (LWP 7765)):
#0  0x00007f31ea291aff in __GI___poll (fds=0x7f31e4009c50, nfds=3, timeout=400) at ../sysdeps/unix/sysv/linux/poll.c:29
        resultvar = 18446744073709551100
        sc_cancel_oldtype = 0
        sc_ret = <optimised out>
#1  0x00007f31ea05f1d6 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#2  0x00007f31ea050841 in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#3  0x00007f31ea050ec3 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#4  0x00007f31ea050f70 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#5  0x00007f31ea05f11d in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#6  0x00007f31e9dd972c in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so
No symbol table info available.
#7  0x00007f31ea377609 in start_thread (arg=<optimised out>) at pthread_create.c:477
        ret = <optimised out>
        pd = <optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139852333102848, 7452498026578669239, 140721496403566, 140721496403567, 140721496403568, 139852333100608, -7417632833440223561, -7417636296519618889}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
#8  0x00007f31ea29e293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 2 (Thread 0x7f31e946d700 (LWP 7762)):
#0  futex_wait_cancelable (private=<optimised out>, expected=0, futex_word=0x555d178cc3a0 <renderPool+256>) at ../sysdeps/nptl/futex-internal.h:183
        __ret = -512
        oldtype = 0
        err = <optimised out>
        oldtype = <optimised out>
        err = <optimised out>
        __ret = <optimised out>
        resultvar = <optimised out>
        __arg4 = <optimised out>
        __arg3 = <optimised out>
        __arg2 = <optimised out>
        __arg1 = <optimised out>
        _a4 = <optimised out>
        _a3 = <optimised out>
        _a2 = <optimised out>
        _a1 = <optimised out>
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555d178cc350 <renderPool+176>, cond=0x555d178cc378 <renderPool+216>) at pthread_cond_wait.c:508
        spin = 0
        buffer = {__routine = 0x7f31ea37e050 <__condvar_cleanup_waiting>, __arg = 0x7f31e946cc70, __canceltype = 1532713819, __prev = 0x0}
        cbuffer = {wseq = 0, cond = 0x555d178cc378 <renderPool+216>, mutex = 0x555d178cc350 <renderPool+176>, private = 0}
        err = <optimised out>
        g = 0
        flags = <optimised out>
        g1_start = <optimised out>
        signals = <optimised out>
        result = 0
        wseq = 0
        seq = 0
        private = <optimised out>
        maxspin = <optimised out>
        err = <optimised out>
        result = <optimised out>
        wseq = <optimised out>
        g = <optimised out>
        seq = <optimised out>
        flags = <optimised out>
        private = <optimised out>
        signals = <optimised out>
        g1_start = <optimised out>
        spin = <optimised out>
        buffer = <optimised out>
        cbuffer = <optimised out>
        s = <optimised out>
#2  __pthread_cond_wait (cond=0x555d178cc378 <renderPool+216>, mutex=0x555d178cc350 <renderPool+176>) at pthread_cond_wait.c:638
No locals.
#3  0x00007f31ea60de50 in std::condition_variable::wait(std::unique_lock<std::mutex>&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#4  0x0000555d16edb3ab in ctpl::thread_pool::set_thread(int)::{lambda()#1}::operator()() const ()
No symbol table info available.
#5  0x00007f31ea613d84 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#6  0x00007f31ea377609 in start_thread (arg=<optimised out>) at pthread_create.c:477
        ret = <optimised out>
        pd = <optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139852343858944, 7452498026578669239, 140721496408798, 140721496408799, 140721496408800, 139852343856704, -7417633139456643401, -7417636296519618889}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
#7  0x00007f31ea29e293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 1 (Thread 0x7f31e946e8c0 (LWP 7761)):
#0  0x00007f31ea261dff in __GI___wait4 (pid=7768, stat_loc=0x555d1778f3ac, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:27
        resultvar = 18446744073709551104
        sc_cancel_oldtype = 0
        sc_ret = <optimised out>
#1  0x0000555d16d45ebc in ?? ()
No symbol table info available.
#2  <signal handler called>
No locals.
#3  0x0000555d173ce909 in FxVMFunctionCall::Resolve(FCompileContext&) ()
No symbol table info available.
#4  0x0000555d173d1769 in FxFunctionCall::Resolve(FCompileContext&) ()
No symbol table info available.
#5  0x0000555d173a709b in FxSequence::Resolve(FCompileContext&) ()
No symbol table info available.
#6  0x0000555d173a712e in FxCompoundStatement::Resolve(FCompileContext&) ()
No symbol table info available.
#7  0x0000555d1739a999 in FFunctionBuildList::Build() ()
No symbol table info available.
#8  0x0000555d171aed25 in LoadActors() ()
No symbol table info available.
#9  0x0000555d170a2944 in PClassActor::StaticInit() ()
No symbol table info available.
#10 0x0000555d16f78ef4 in ?? ()
No symbol table info available.
#11 0x0000555d16f7a7bd in GameMain() ()
No symbol table info available.
#12 0x0000555d16d26165 in main ()
No symbol table info available.
[Inferior 1 (process 7761) detached]
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49225
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Missing FLineTraceData when using LineTraces crashes GZD

Post by Graf Zahl »

I get no crash for this. No idea if it's fixed already or a Linux thing.
User avatar
Marisa the Magician
Banned User
Posts: 3886
Joined: Fri Feb 08, 2008 9:15 am
Preferred Pronouns: She/Her
Operating System Version (Optional): (btw I use) Arch
Graphics Processor: nVidia with Vulkan support
Location: Vigo, Galicia
Contact:

Re: Missing FLineTraceData when using LineTraces crashes GZD

Post by Marisa the Magician »

In my case over here it does detect the error, but closes gracefully. I'll assume it's fixed.
_mental_
 
 
Posts: 3820
Joined: Sun Aug 07, 2011 4:32 am

Re: Missing FLineTraceData when using LineTraces crashes GZD

Post by _mental_ »

It was fixed with this change.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49225
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Missing FLineTraceData when using LineTraces crashes GZD

Post by Graf Zahl »

So, this means I ran into the same problem on completely different code in Raze...
Post Reply

Return to “Closed Bugs [GZDoom]”