[Fixed] "Happy Time Circus ][" aka circus2.wad crashes GZDoom

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

"Happy Time Circus ][" aka circus2.wad crashes GZDoom

Postby JPL » Fri Aug 28, 2020 11:22 am

https://www.doomworld.com/idgames/level ... -c/circus2

Crash log I get when running with a clean config:

Code: Select allExpand view
*** Fatal Error ***
Address not mapped to object (signal 11)
Address: 0x28

System: Linux 5.4.58-1-MANJARO #1 SMP PREEMPT Tue Aug 11 15:46:30 UTC 2020 x86_64 GNU/Linux

GZDoom version g4.5pre-99-g54a630c3c (54a630c3cfcf12cf2e31785f2c89b84a22c2144d)
Command line: /home/jpl/game/gzdoom/release/gzdoom -config blah.cfg -file circus2.wad     
Wad 0: gzdoom.pk3
Wad 1: game_support.pk3
Wad 2: doom2.wad
Wad 3: circus2.wad

Not in a level.

Executing: gdb --quiet --batch --command=gdb-respfile-nHzaH5


This happens on start, even before trying to load a level. I briefly looked through the WAD in SLADE and nothing jumped out to me as broken.
User avatar
JPL
 
 
 
Joined: 09 Apr 2012

Re: "Happy Time Circus ][" aka circus2.wad crashes GZDoom

Postby JPL » Fri Aug 28, 2020 11:35 am

Forgot I didn't have gdb installed, here's a more complete crash dump:

Code: Select allExpand view
[spoiler]
*** Fatal Error ***
Address not mapped to object (signal 11)
Address: 0x28

System: Linux balaron 5.4.60-2-MANJARO #1 SMP PREEMPT Sat Aug 22 14:35:41 UTC 2020 x86_64 GNU/Linux

GZDoom version g4.5pre-109-geaba63e13 (eaba63e13b268c751d11b85d5ec0c94606e63396)
Command line: /home/jpl/game/gzdoom/release/gzdoom -config blah.cfg -file circus2.wad     
Wad 0: gzdoom.pk3
Wad 1: game_support.pk3
Wad 2: doom2.wad
Wad 3: circus2.wad

Not in a level.

Executing: gdb --quiet --batch --command=gdb-respfile-uaV0W6
[New LWP 4942]
[New LWP 4943]
[New LWP 4944]
[New LWP 4955]
[New LWP 4956]
[New LWP 4957]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x00007fcb5fe65eef in wait4 () from /usr/lib/libc.so.6

* Loaded Libraries
From                To                  Syms Read   Shared Object Library
0x00007fcb606ed040  0x00007fcb607dff42  Yes (*)     /usr/lib/libSDL2-2.0.so.0
0x00007fcb606c6750  0x00007fcb606c98d0  Yes (*)     /usr/lib/librt.so.1
0x00007fcb606ac020  0x00007fcb606b9270  Yes (*)     /usr/lib/libz.so.1
0x00007fcb60617020  0x00007fcb6066bea6  Yes (*)     /usr/lib/libjpeg.so.8
0x00007fcb60602020  0x00007fcb6060eb72  Yes (*)     /usr/lib/libbz2.so.1.0
0x00007fcb605fb210  0x00007fcb605fc179  Yes (*)     /usr/lib/libdl.so.2
0x00007fcb60359480  0x00007fcb604a10fd  Yes         /home/jpl/game/ZMusic/build_install/lib/libzmusic.so.1
0x00007fcb601bd040  0x00007fcb602a8b52  Yes         /usr/lib/libstdc++.so.6
0x00007fcb5fff03b0  0x00007fcb6008b658  Yes (*)     /usr/lib/libm.so.6
0x00007fcb5ffa9420  0x00007fcb5ffd2752  Yes         /usr/lib/libgomp.so.1
0x00007fcb5ff89020  0x00007fcb5ff99ca5  Yes         /usr/lib/libgcc_s.so.1
0x00007fcb5ff6ba70  0x00007fcb5ff7a025  Yes (*)     /usr/lib/libpthread.so.0
0x00007fcb5fdbf650  0x00007fcb5ff0a6bd  Yes (*)     /usr/lib/libc.so.6
0x00007fcb6088e090  0x00007fcb608ae746  Yes (*)     /lib64/ld-linux-x86-64.so.2
0x00007fcb5fce8020  0x00007fcb5fd63ab6  Yes (*)     /usr/lib/libasound.so.2
0x00007fcb5fc912b0  0x00007fcb5fc9de54  Yes (*)     /usr/lib/libmvec.so.1
0x00007fcb5f467040  0x00007fcb5f47dfe0  Yes (*)     /usr/lib/libudev.so.1
0x00007fcb5ed40020  0x00007fcb5f0bf049  Yes (*)     /usr/lib/libgtk-3.so.0
0x00007fcb5ebea020  0x00007fcb5ec66193  Yes (*)     /usr/lib/libgdk-3.so.0
0x00007fcb5ebbc020  0x00007fcb5ebbcfac  Yes (*)     /usr/lib/libgmodule-2.0.so.0
0x00007fcb5eaae040  0x00007fcb5eb32b92  Yes (*)     /usr/lib/libglib-2.0.so.0
0x00007fcb5ea48020  0x00007fcb5ea75bbc  Yes (*)     /usr/lib/libgobject-2.0.so.0
0x00007fcb5e8b8020  0x00007fcb5e9b1a94  Yes (*)     /usr/lib/libgio-2.0.so.0
0x00007fcb5e876020  0x00007fcb5e87c2a3  Yes (*)     /usr/lib/libpangocairo-1.0.so.0
0x00007fcb5e82e020  0x00007fcb5e854365  Yes (*)     /usr/lib/libpango-1.0.so.0
0x00007fcb5e75a040  0x00007fcb5e7ea412  Yes (*)     /usr/lib/libharfbuzz.so.0
0x00007fcb5e636020  0x00007fcb5e70b2ff  Yes (*)     /usr/lib/libcairo.so.2
0x00007fcb5e613020  0x00007fcb5e61c93a  Yes (*)     /usr/lib/libpangoft2-1.0.so.0
0x00007fcb5e5c9020  0x00007fcb5e5ef13e  Yes (*)     /usr/lib/libfontconfig.so.1
0x00007fcb5e4fb020  0x00007fcb5e57f26f  Yes (*)     /usr/lib/libfreetype.so.6
0x00007fcb5e4d0020  0x00007fcb5e4d4108  Yes (*)     /usr/lib/libfribidi.so.0
0x00007fcb5e4c6020  0x00007fcb5e4c7241  Yes (*)     /usr/lib/libcairo-gobject.so.2
0x00007fcb5e4a3020  0x00007fcb5e4b6855  Yes (*)     /usr/lib/libgdk_pixbuf-2.0.so.0
0x00007fcb5e47f020  0x00007fcb5e48ce54  Yes (*)     /usr/lib/libatk-1.0.so.0
0x00007fcb5e3a1020  0x00007fcb5e407a17  Yes (*)     /usr/lib/libepoxy.so.0
0x00007fcb5e333020  0x00007fcb5e33d989  Yes (*)     /usr/lib/libXi.so.6
0x00007fcb5e20b020  0x00007fcb5e2947bf  Yes (*)     /usr/lib/libX11.so.6
0x00007fcb5e1c6040  0x00007fcb5e1db892  Yes (*)     /usr/lib/libatk-bridge-2.0.so.0
0x00007fcb5e1b3020  0x00007fcb5e1b5446  Yes (*)     /usr/lib/libXfixes.so.3
0x00007fcb5e175020  0x00007fcb5e18ff14  Yes (*)     /usr/lib/libxkbcommon.so.0
0x00007fcb5e165020  0x00007fcb5e169e10  Yes (*)     /usr/lib/libwayland-client.so.0
0x00007fcb5e157020  0x00007fcb5e158c29  Yes (*)     /usr/lib/libwayland-cursor.so.0
0x00007fcb5e152020  0x00007fcb5e1521b5  Yes (*)     /usr/lib/libwayland-egl.so.1
0x00007fcb5e140020  0x00007fcb5e14a33e  Yes (*)     /usr/lib/libXext.so.6
0x00007fcb5e133020  0x00007fcb5e137c3e  Yes (*)     /usr/lib/libXcursor.so.1
0x00007fcb5e12c020  0x00007fcb5e12c9ab  Yes (*)     /usr/lib/libXdamage.so.1
0x00007fcb5e127020  0x00007fcb5e127a55  Yes (*)     /usr/lib/libXcomposite.so.1
0x00007fcb5e11b020  0x00007fcb5e121696  Yes (*)     /usr/lib/libXrandr.so.2
0x00007fcb5e115020  0x00007fcb5e1159a3  Yes (*)     /usr/lib/libXinerama.so.1
0x00007fcb5e0a4020  0x00007fcb5e0f3b6d  Yes (*)     /usr/lib/libpcre.so.1
0x00007fcb5e098040  0x00007fcb5e09d39e  Yes (*)     /usr/lib/libffi.so.7
0x00007fcb5e044040  0x00007fcb5e07fc42  Yes (*)     /usr/lib/libmount.so.1
0x00007fcb5e022710  0x00007fcb5e02f6fc  Yes (*)     /usr/lib/libresolv.so.2
0x00007fcb5e015020  0x00007fcb5e018a24  Yes (*)     /usr/lib/libthai.so.0
0x00007fcb5dff1020  0x00007fcb5e00a462  Yes (*)     /usr/lib/libgraphite2.so.3
0x00007fcb5df51020  0x00007fcb5dfd2934  Yes (*)     /usr/lib/libpixman-1.so.0
0x00007fcb5df15020  0x00007fcb5df388da  Yes (*)     /usr/lib/libpng16.so.16
0x00007fcb5df0b020  0x00007fcb5df0bb44  Yes (*)     /usr/lib/libxcb-shm.so.0
0x00007fcb5deec020  0x00007fcb5defeb86  Yes (*)     /usr/lib/libxcb.so.1
0x00007fcb5ded6020  0x00007fcb5dedab7f  Yes (*)     /usr/lib/libxcb-render.so.0
0x00007fcb5dec5020  0x00007fcb5decb3a3  Yes (*)     /usr/lib/libXrender.so.1
0x00007fcb5de97020  0x00007fcb5deb4f1a  Yes (*)     /usr/lib/libexpat.so.1
0x00007fcb5de4c020  0x00007fcb5de7a203  Yes (*)     /usr/lib/libdbus-1.so.3
0x00007fcb5de17020  0x00007fcb5de2b43d  Yes (*)     /usr/lib/libatspi.so.0
0x00007fcb5ddbe040  0x00007fcb5ddf0942  Yes (*)     /usr/lib/libblkid.so.1
0x00007fcb5ddad020  0x00007fcb5ddb05a1  Yes (*)     /usr/lib/libdatrie.so.1
0x00007fcb5dda7040  0x00007fcb5dda7d52  Yes (*)     /usr/lib/libXau.so.6
0x00007fcb5dda0020  0x00007fcb5dda1882  Yes (*)     /usr/lib/libXdmcp.so.6
0x00007fcb5dcfd040  0x00007fcb5dd72750  Yes (*)     /usr/lib/libsystemd.so.0
0x00007fcb5dcc6020  0x00007fcb5dcdce73  Yes (*)     /usr/lib/liblzma.so.5
0x00007fcb5dbf6020  0x00007fcb5dcae786  Yes (*)     /usr/lib/libzstd.so.1
0x00007fcb5dbd2020  0x00007fcb5dbeb6a7  Yes (*)     /usr/lib/liblz4.so.1
0x00007fcb5daba040  0x00007fcb5db8aeb8  Yes (*)     /usr/lib/libgcrypt.so.20
0x00007fcb5da8c040  0x00007fcb5daa08a2  Yes (*)     /usr/lib/libgpg-error.so.0
0x00007fcb60863020  0x00007fcb6087cd8b  Yes (*)     /usr/lib/gio/modules/libgvfsdbus.so
0x00007fcb5d771020  0x00007fcb5d78a3fa  Yes (*)     /usr/lib/gvfs/libgvfscommon.so
0x00007fcb60853020  0x00007fcb60855201  Yes (*)     /usr/lib/gtk-3.0/modules/libcanberra-gtk-module.so
0x00007fcb5c757020  0x00007fcb5c7586e7  Yes (*)     /usr/lib/libcanberra-gtk3.so.0
0x00007fcb5c6ca020  0x00007fcb5c6d39ea  Yes (*)     /usr/lib/libcanberra.so.0
0x00007fcb5c6be020  0x00007fcb5c6c24ec  Yes (*)     /usr/lib/libvorbisfile.so.3
0x00007fcb5c6a7020  0x00007fcb5c6b3bbf  Yes (*)     /usr/lib/libtdb.so.1
0x00007fcb5c699020  0x00007fcb5c69d2f0  Yes (*)     /usr/lib/libltdl.so.7
0x00007fcb5c66d020  0x00007fcb5c68251b  Yes (*)     /usr/lib/libvorbis.so.0
0x00007fcb5c660020  0x00007fcb5c6623de  Yes (*)     /usr/lib/libogg.so.0
0x00007fcb5c112020  0x00007fcb5c184f4e  Yes (*)     /usr/lib/libopenal.so.1
0x00007fcb5c307020  0x00007fcb5c311877  Yes (*)     /usr/lib/libjack.so.0
0x00007fcb57e6b020  0x00007fcb57fae1b1  Yes (*)     /usr/lib/libdb-5.3.so
0x00007fcb5c0ba020  0x00007fcb5c0e81b0  Yes (*)     /usr/lib/libpulse.so.0
0x00007fcb5c03d040  0x00007fcb5c082402  Yes (*)     /usr/lib/pulseaudio/libpulsecommon-13.0.so
0x00007fcb575cb020  0x00007fcb5761c358  Yes (*)     /usr/lib/libsndfile.so.1
0x00007fcb5c2fb020  0x00007fcb5c2fd67a  Yes (*)     /usr/lib/libasyncns.so.0
0x00007fcb5758e020  0x00007fcb575b679b  Yes (*)     /usr/lib/libFLAC.so.8
0x00007fcb574ee020  0x00007fcb574f0677  Yes (*)     /usr/lib/libvorbisenc.so.2
(*): Shared library is missing debugging information.

* Threads
  Id   Target Id                                 Frame
* 1    Thread 0x7fcb5fc8a840 (LWP 4941) "gzdoom" 0x00007fcb5fe65eef in wait4 () from /usr/lib/libc.so.6
  2    Thread 0x7fcb5fc89640 (LWP 4942) "gzdoom" 0x00007fcb5ff736a2 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
  3    Thread 0x7fcb5d75d640 (LWP 4943) "gmain"  0x00007fcb5fe8e46f in poll () from /usr/lib/libc.so.6
  4    Thread 0x7fcb5cf5c640 (LWP 4944) "gdbus"  0x00007fcb5fe8e46f in poll () from /usr/lib/libc.so.6
  5    Thread 0x7fcb57e40640 (LWP 4955) "gzdoom" 0x00007fcb5fe8e46f in poll () from /usr/lib/libc.so.6
  6    Thread 0x7fcb574d9640 (LWP 4956) "gzdoom" 0x00007fcb5fe8e46f in poll () from /usr/lib/libc.so.6
  7    Thread 0x7fcb56cd8640 (LWP 4957) "gzdoom" 0x00007fcb5ff76014 in do_futex_wait.constprop () from /usr/lib/libpthread.so.0

* 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            0x0                 0
rcx            0x7fcb5fe65eef      140511464021743
rdx            0x0                 0
rsi            0x55841ae02dc8      94025874943432
rdi            0x135e              4958
rbp            0x55841ae02df0      0x55841ae02df0 <altstack+6576>
rsp            0x55841ae02d70      0x55841ae02d70 <altstack+6448>
r8             0x0                 0
r9             0x0                 0
r10            0x0                 0
r11            0x293               659
r12            0x558419f7fef0      94025859727088
r13            0x55841bab216c      94025888244076
r14            0x55841bab216c      94025888244076
r15            0x0                 0
rip            0x7fcb5fe65eef      0x7fcb5fe65eef <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 7 (Thread 0x7fcb56cd8640 (LWP 4957)):
#0  0x00007fcb5ff76014 in do_futex_wait.constprop () at /usr/lib/libpthread.so.0
#1  0x00007fcb5ff76118 in __new_sem_wait_slow.constprop.0 () at /usr/lib/libpthread.so.0
#2  0x00007fcb5c184e74 in  () at /usr/lib/libopenal.so.1
#3  0x00007fcb5c122e09 in  () at /usr/lib/libopenal.so.1
#4  0x00007fcb601f6c24 in std::execute_native_thread_routine(void*) (__p=0x55841c4e8180) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:80
#5  0x00007fcb5ff6d3e9 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fcb5fe99293 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7fcb574d9640 (LWP 4956)):
#0  0x00007fcb5fe8e46f in poll () at /usr/lib/libc.so.6
#1  0x00007fcb5c17bba7 in  () at /usr/lib/libopenal.so.1
#2  0x00007fcb5c0c8059 in pa_mainloop_poll () at /usr/lib/libpulse.so.0
#3  0x00007fcb5c0d2301 in pa_mainloop_iterate () at /usr/lib/libpulse.so.0
#4  0x00007fcb5c0d23b1 in pa_mainloop_run () at /usr/lib/libpulse.so.0
#5  0x00007fcb5c17c49e in  () at /usr/lib/libopenal.so.1
#6  0x00007fcb601f6c24 in std::execute_native_thread_routine(void*) (__p=0x7fcb4c00a370) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:80
#7  0x00007fcb5ff6d3e9 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fcb5fe99293 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fcb57e40640 (LWP 4955)):
#0  0x00007fcb5fe8e46f in poll () at /usr/lib/libc.so.6
#1  0x00007fcb5c17bba7 in  () at /usr/lib/libopenal.so.1
#2  0x00007fcb5c0c8059 in pa_mainloop_poll () at /usr/lib/libpulse.so.0
#3  0x00007fcb5c0d2301 in pa_mainloop_iterate () at /usr/lib/libpulse.so.0
#4  0x00007fcb5c0d23b1 in pa_mainloop_run () at /usr/lib/libpulse.so.0
#5  0x00007fcb5c17c49e in  () at /usr/lib/libopenal.so.1
#6  0x00007fcb601f6c24 in std::execute_native_thread_routine(void*) (__p=0x55841c639260) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:80
#7  0x00007fcb5ff6d3e9 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007fcb5fe99293 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fcb5cf5c640 (LWP 4944)):
#0  0x00007fcb5fe8e46f in poll () at /usr/lib/libc.so.6
#1  0x00007fcb5eb32168 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fcb5eae2c03 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3  0x00007fcb5e9821a8 in  () at /usr/lib/libgio-2.0.so.0
#4  0x00007fcb5eb0c511 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007fcb5ff6d3e9 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fcb5fe99293 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fcb5d75d640 (LWP 4943)):
#0  0x00007fcb5fe8e46f in poll () at /usr/lib/libc.so.6
#1  0x00007fcb5eb32168 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fcb5eae3221 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fcb5eae3272 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007fcb5eb0c511 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007fcb5ff6d3e9 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fcb5fe99293 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fcb5fc89640 (LWP 4942)):
#0  0x00007fcb5ff736a2 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fcb601f0c11 in __gthread_cond_wait (__mutex=<optimized out>, __cond=<optimized out>) at /build/gcc/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu/bits/gthr-default.h:865
        __e = <optimized out>
#2  std::condition_variable::wait(std::unique_lock<std::mutex>&) (this=<optimized out>, __lock=...) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/condition_variable.cc:53
        __e = <optimized out>
#3  0x000055841a1db265 in std::condition_variable::wait<ctpl::thread_pool::set_thread(int)::{lambda()#1}::operator()() const::{lambda()#1}>(std::unique_lock<std::mutex>&, ctpl::thread_pool::set_thread(int)::{lambda()#1}::operator()() const::{lambda()#1}) (this=0x55841af3fe78 <renderPool+216>, __lock=..., __p=...) at /usr/include/c++/10.2.0/condition_variable:111
#4  0x000055841a1d99db in ctpl::thread_pool::set_thread(int)::{lambda()#1}::operator()() const (__closure=0x55841ba63678) at /home/jpl/game/gzdoom/src/common/thirdparty/ctpl.h:227
        lock = {_M_device = 0x55841af3fe50 <renderPool+176>, _M_owns = true}
        _flag = @0x55841ba63640: {_M_base = {static _S_alignment = 1, _M_i = false}}
        _f = 0x0
        isPop = false
        flag = std::shared_ptr<std::atomic<bool>> (use count 2, weak count 0) = {get() = 0x55841ba63640}
        i = 0
        this = 0x55841af3fda0 <renderPool>
        flag = std::shared_ptr<std::atomic<bool>> (expired, weak count 1073741824) = {get() = 0x55841af3fe50 <renderPool+176>}
        f = {__this = 0x55841af3fda0 <renderPool>, __i = 1606978608, __flag = std::shared_ptr<std::atomic<bool>> (use count 33, weak count -1) = {get() = 0x7fcb5fc88c2f}}
#5  0x000055841a1e1890 in std::__invoke_impl<void, ctpl::thread_pool::set_thread(int)::{lambda()#1}>(std::__invoke_other, ctpl::thread_pool::set_thread(int)::{lambda()#1}&&) (__f=...) at /usr/include/c++/10.2.0/bits/invoke.h:60
#6  0x000055841a1e1818 in std::__invoke<ctpl::thread_pool::set_thread(int)::{lambda()#1}>(std::__invoke_result&&, (ctpl::thread_pool::set_thread(int)::{lambda()#1}&&)...) (__fn=...) at /usr/include/c++/10.2.0/bits/invoke.h:95
#7  0x000055841a1e16fa in std::thread::_Invoker<std::tuple<ctpl::thread_pool::set_thread(int)::{lambda()#1}> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x55841ba63678) at /usr/include/c++/10.2.0/thread:264
#8  0x000055841a1e1674 in std::thread::_Invoker<std::tuple<ctpl::thread_pool::set_thread(int)::{lambda()#1}> >::operator()() (this=0x55841ba63678) at /usr/include/c++/10.2.0/thread:271
#9  0x000055841a1e15ca in std::thread::_State_impl<std::thread::_Invoker<std::tuple<ctpl::thread_pool::set_thread(int)::{lambda()#1}> > >::_M_run() (this=0x55841ba63670) at /usr/include/c++/10.2.0/thread:215
#10 0x00007fcb601f6c24 in std::execute_native_thread_routine(void*) (__p=0x55841ba63670) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:80
#11 0x00007fcb5ff6d3e9 in start_thread () at /usr/lib/libpthread.so.0
#12 0x00007fcb5fe99293 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fcb5fc8a840 (LWP 4941)):
#0  0x00007fcb5fe65eef in wait4 () at /usr/lib/libc.so.6
#1  0x0000558419f812bd in crash_catcher (signum=11, siginfo=0x55841ae02f30 <altstack+6896>, context=0x55841ae02e00 <altstack+6592>) at /home/jpl/game/gzdoom/src/common/platform/posix/sdl/crashcatcher.c:248
        status = 0
        dbg_pid = 4958
        fd = {24, 25}
#2  0x00007fcb5ff780f0 in <signal handler called> () at /usr/lib/libpthread.so.0
#3  0x000055841a008d24 in PClassActor::ActorInfo() const (this=0x0) at /home/jpl/game/gzdoom/src/gamedata/info.h:306
#4  0x000055841a008d42 in PClassActor::GetStates() const (this=0x0) at /home/jpl/game/gzdoom/src/gamedata/info.h:321
#5  0x000055841a407dd2 in FState::StaticGetStateName(FState const*) (state=0x5584225d5d80) at /home/jpl/game/gzdoom/src/p_states.cpp:134
        so = 0x0
#6  0x000055841a5e0e5d in CheckStates(PClassActor*) (obj=0x5584230ecb30) at /home/jpl/game/gzdoom/src/scripting/thingdef.cpp:375
        state = 0x5584225d5d80
        i = 8
        actorstates = {NAME_Spawn, NAME_See, NAME_Melee, NAME_Missile, NAME_Pain, NAME_Death, NAME_Wound, NAME_Raise, NAME_Yes, NAME_No, NAME_Greetings, NAME_None}
        weaponstates = {NAME_Ready, NAME_Deselect, NAME_Select, NAME_Fire, NAME_AltFire, NAME_Hold, NAME_AltHold, NAME_Flash, NAME_AltFlash, NAME_None}
        pickupstates = {NAME_Pickup, NAME_Drop, NAME_Use, NAME_None}
        checked = {Nodes = 0x5584237e69c0, LastFree = 0x5584237e69d8, Size = 1, NumUsed = 0}
#7  0x000055841a5e1439 in LoadActors() () at /home/jpl/game/gzdoom/src/scripting/thingdef.cpp:495
        ti = 0x5584230ecb30
        defaults = 0x558422510c50
        i = 1721
        timer = {Sec = -293.33130178900001}
#8  0x000055841a46c951 in PClassActor::StaticInit() () at /home/jpl/game/gzdoom/src/gamedata/info.cpp:394
#9  0x000055841a2e1f88 in D_DoomMain_Internal() () at /home/jpl/game/gzdoom/src/d_main.cpp:3364
        lfi = {gameTypeFilter = {Array = 0x55841bb1a890, Count = 3, Most = 16}, dotFilter = {Chars = 0x55841be51acc "doom.id.doom2.commercial.", static NullString = {Len = 0, AllocLen = 2, RefCount = 144331, Nothing = "\000"}}, reservedFolders = {Array = 0x55841be34000, Count = 13, Most = 16}, requiredPrefixes = {Array = 0x55841be40ca0, Count = 12, Most = 16}, postprocessFunc = {<std::_Maybe_unary_or_binary_function<void>> = {<No data fields>}, <std::_Function_base> = {static _M_max_size = 16, static _M_max_align = 8, _M_functor = {_M_unused = {_M_object = 0x7fff48e9ec58, _M_const_object = 0x7fff48e9ec58, _M_function_pointer = 0x7fff48e9ec58, _M_member_pointer = (void (std::_Undefined_class::*)(std::_Undefined_class * const)) 0x7fff48e9ec58, this adjustment 94025874909776}, _M_pod_data = "X\354\351H\377\177\000\000P\252\337\032\204U\000"}, _M_manager = 0x55841a2e35fc <std::_Function_handler<void(), D_DoomMain_Internal()::<lambda()> >::_M_manager(std::_Any_data &, const std::_Any_data &, std::_Manager_operation)>}, _M_invoker = 0x55841a2e35d9 <std::_Function_handler<void(), D_DoomMain_Internal()::<lambda()> >::_M_invoke(const std::_Any_data &)>}}
        blanket = {{match = 6, name = 0x55841aabe552 "game-Raven"}, {match = 25, name = 0x55841aabe55d "game-DoomStrifeChex"}, {match = 17, name = 0x55841aabe571 "game-DoomChex"}, {match = 0, name = 0x0}}
        iwad = {Chars = 0x55841adfaa5c <FString::NullString+12> "", static NullString = {Len = 0, AllocLen = 2, RefCount = 144331, Nothing = "\000"}}
        iwad_info = 0x55841bb5eb40
        exec = 0x0
        execFiles = 0x55841bb4c5d0
        p = 0
        v = 0x0
        wad = 0x55841b794820 <BaseFileSearch(char const*, char const*, bool, FConfigFile*)::wad> "/home/jpl/game/doom/iwad/zvox.wad"
        pwads = {Array = 0x0, Count = 0, Most = 0}
        args = 0x0
        argcount = 0
        iwad_man = 0x55841bad9430
        stblcb = {ValidFilter = 0x55841a2e0003 <StrTable_ValidFilter(char const*)>, GetPlayerGender = 0x55841a2dffd4 <StrTable_GetGender()>}
        syscb = {WantGuiCapture = 0x55841a2e0076 <System_WantGuiCapture()>, WantLeftButton = 0x55841a2e011d <System_WantLeftButton()>, NetGame = 0x55841a2e0145 <System_NetGame()>, WantNativeMouse = 0x55841a2e0152 <System_WantNativeMouse()>, CaptureModeInGame = 0x55841a2e016e <System_CaptureModeInGame()>, CrashInfo = 0x55841a2e0621 <System_CrashInfo(char*, unsigned long, char const*)>, PlayStartupSound = 0x55841a2e01e6 <System_PlayStartupSound(char const*)>, IsSpecialUI = 0x55841a2e025a <System_IsSpecialUI()>, DisableTextureFilter = 0x55841a2e0320 <System_DisableTextureFilter()>, OnScreenSizeChanged = 0x55841a2e032e <System_OnScreenSizeChanged()>, GetSceneRect = 0x55841a2e03b4 <System_GetSceneRect()>, GetLocationDescription = 0x55841a2e04fc <System_GetLocationDescription()>, MenuDim = 0x55841a544dec <System_M_Dim()>}
        batchout = 0x0
        logfile = {Chars = 0x55841adfaa5c <FString::NullString+12> "", static NullString = {Len = 0, AllocLen = 2, RefCount = 144331, Nothing = "\000"}}
        basewad = {Chars = 0x55841bae5b1c "/home/jpl/x/gzdoom/release/gzdoom.pk3", static NullString = {Len = 0, AllocLen = 2, RefCount = 144331, Nothing = "\000"}}
        optionalwad = {Chars = 0x55841bab216c "/home/jpl/x/gzdoom/release/game_support.pk3", static NullString = {Len = 0, AllocLen = 2, RefCount = 144331, Nothing = "\000"}}
        cb = {UserInfoChanged = 0x55841a2f13d6 <D_UserInfoChanged(FBaseCVar*)>, SendServerInfoChange = 0x55841a2f183b <D_SendServerInfoChange(FBaseCVar*, UCVarValue, ECVarType)>, SendServerFlagChange = 0x55841a2f1995 <D_SendServerFlagChange(FBaseCVar*, int, bool, bool)>, GetUserCVar = 0x55841a2fa600 <G_GetUserCVar(int, char const*)>, MustLatch = 0x55841a2e0f1a <_FUN()>}
#10 0x000055841a2e2a2b in GameMain() () at /home/jpl/game/gzdoom/src/d_main.cpp:3612
        ret = 0
#11 0x0000558419f85ceb in main(int, char**) (argc=10, argv=0x7fff48e9ff68) at /home/jpl/game/gzdoom/src/common/platform/posix/sdl/i_main.cpp:148
        program = "/home/jpl/x/gzdoom/release/\000zdoom\000\063\373\000\000\000\000\370\211\304H\000\000\000\000\036\247\202\251\000\000\000\000\353\231\364:\000\000\000\000\250(#C\000\000\000\000\202\311\067\307\000\000\000\000_\022\316U\000\000\000\000\346\327\367\316\000\000\000\000ܔ|\020\000\000\000\000\362\v\321\302\000\000\000\000\345\223Ȥ\000\000\000\000\245<\332X\000\000\000\000\022D\217l\000\000\000\000\360\266\254\255\000\000\000\000,ry\215\000\000\000\000\266yE\362\000\000\000\000`0\303S\000\000\000\000Y&P\251\000\000\000\000\b\303>\327\000\000\000\000\264\265\026(\000\000\000\000\242Y\374\036\000\000\000\000\371\235q\200\000\000\000\000"...
        slash = 0x7fff48e9ee6a "/"
        result = 0
[Inferior 1 (process 4941) detached]
[/spoiler]
User avatar
JPL
 
 
 
Joined: 09 Apr 2012

Re: "Happy Time Circus ][" aka circus2.wad crashes GZDoom

Postby JPL » Fri Aug 28, 2020 11:53 am

Okay, just tried running with 4.4.2 release and 3.3.1 release, since those are what I had lying around. 4.4.2 crashed exactly as above, whereas 3.3.1 gave this error on start:

Code: Select allExpand view
Script error, "circus2.wad:DECORATE" line 377:
State GreenDropSpawn.8 links to a state with incompatible restrictions.

1 errors during actor postprocessing
User avatar
JPL
 
 
 
Joined: 09 Apr 2012

Re: "Happy Time Circus ][" aka circus2.wad crashes GZDoom

Postby Major Cooke » Fri Aug 28, 2020 12:02 pm

If this is what I think it is, then it's related to when I reported a similar issue long ago. It happens right as you get up to a specific point, isn't it? Somewhere near the beginning right? Either entering the countryside or one of the first clown houses?
User avatar
Major Cooke
QZDoom Maintenance Team
 
Joined: 28 Jan 2007

Re: "Happy Time Circus ][" aka circus2.wad crashes GZDoom

Postby JPL » Fri Aug 28, 2020 12:14 pm

Major Cooke wrote:If this is what I think it is, then it's related to when I reported a similar issue long ago. It happens right as you get up to a specific point, isn't it? Somewhere near the beginning right? Either entering the countryside or one of the first clown houses?


Nah,
This happens on start, even before trying to load a level.
User avatar
JPL
 
 
 
Joined: 09 Apr 2012

Re: "Happy Time Circus ][" aka circus2.wad crashes GZDoom

Postby JPL » Fri Aug 28, 2020 12:15 pm

JPL wrote:Okay, just tried running with 4.4.2 release and 3.3.1 release, since those are what I had lying around. 4.4.2 crashed exactly as above, whereas 3.3.1 gave this error on start:

Code: Select allExpand view
Script error, "circus2.wad:DECORATE" line 377:
State GreenDropSpawn.8 links to a state with incompatible restrictions.

1 errors during actor postprocessing


Changing line 378 from "Goto See + 10" to "Goto See" lets the WAD load properly and I can play the level with no issue, but that's changing its functionality in a small way. No idea what the real fix is. One thing that seems to be clear is that between 3.3.1 and 4.4.2 GZDoom's ability to handle the error in question got worse.
User avatar
JPL
 
 
 
Joined: 09 Apr 2012

Re: "Happy Time Circus ][" aka circus2.wad crashes GZDoom

Postby Major Cooke » Fri Aug 28, 2020 12:49 pm

I think it actually changed way back when anonymous functions were introduced.

Unfortunately, shtbag has left the community for good and there's no way to contact him as his email account was deleted. A shame. I really loved his work, which served as the cornerstone for AEoD's joke mode. :(

Which means there's no chance to get it updated to fix the crash. I suppose the one thing we could do is simply set the green rain spawner to not spawn, but the moment the checksum changes, it's back to square one.
User avatar
Major Cooke
QZDoom Maintenance Team
 
Joined: 28 Jan 2007

Re: "Happy Time Circus ][" aka circus2.wad crashes GZDoom

Postby _mental_ » Sat Aug 29, 2020 2:09 am

_mental_
 
 
 
Joined: 07 Aug 2011


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest