[Fixed] [Linux] Some PNG textures cause segfaults

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

[Linux] Some PNG textures cause segfaults

Postby Flynn Finningthare » Thu Apr 14, 2016 11:57 am

The Linux version of GZDoom, for some reason, segfaults when trying to load certain PNG textures.

To see this in action, try playing Doom 2 Map09 with Hunter's Moon 2.7 in the Linux version of GZDoom. It crashes on me when the Cacodemon's fireball impacts. The offending PNG is NPEXA0.png.

This is also apparently the reason why WolfenDoom: BoA map C2M0_A and C2M0_B cause the Linux version of GZDoom to segfault if you try to warp to those maps.

I'm guessing the issue is in the function/method FPNGTexture::CopyTrueColorPixels(FBitmap*, int, int, int, FCopyInfo*) ()

Here's a sample gzdoom-crash.log:
===============================================================================================================
*** Fatal Error ***
Segmentation fault (signal 11)
Address: (nil)

System: Linux XXXXXX 4.2.0-35-generic #40-Ubuntu SMP Tue Mar 15 22:15:45 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

GZDoom version g2.2pre-1205-g84c8f38 (84c8f38038c625026b46608b62be76ef40a60ad8)
Compiler version: 5.2.1 20151010

Command line: /home/XXXXXX/Games/doom/gzdoom-master-20160409/gzdoom -iwad /home/XXXXXX/Games/doom/IWADS/DOOM2.WAD +sv_cheats 1 -file /home/XXXXXX/Games/doom/gzdoom/Doom2Mods/WolfenDoom-20160411.zip

Wad 0: gzdoom.pk3
Wad 1: DOOM2.WAD
Wad 2: lights.pk3
Wad 3: brightmaps.pk3
Wad 4: Doom2PK3.pk3
Wad 5: pk_doom_sfx_20120224.wad
Wad 6: WolfenDoom-20160411.zip

Current map: c2m0_a

viewx = 1728.000000
viewy = 1392.000000
viewz = 56.000000
viewangle = -45.000000

Executing: gdb --quiet --batch --command=gdb-respfile-vxMWxe
[New LWP 1380]
[New LWP 1172]
[New LWP 1170]
[New LWP 1169]
[New LWP 1168]
[New LWP 1166]
[New LWP 1165]
[New LWP 1164]
[New LWP 1163]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fcf8e3c58ab in __waitpid (pid=6622, stat_loc=0xdefb6c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40

* Loaded Libraries
From To Syms Read Shared Object Library
0x00007fcf8eea5270 0x00007fcf8f0fe3ce Yes (*) /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
0x00007fcf8ebf2f80 0x00007fcf8ec23996 Yes (*) /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
0x00007fcf8e8f3800 0x00007fcf8e96a5a9 Yes (*) /lib/x86_64-linux-gnu/libglib-2.0.so.0
0x00007fcf8e5eb280 0x00007fcf8e69ad90 Yes (*) /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0
0x00007fcf8e3baa90 0x00007fcf8e3c7c41 Yes /lib/x86_64-linux-gnu/libpthread.so.0
0x00007fcf8e0d5aa0 0x00007fcf8e1428a1 Yes (*) /usr/lib/nvidia-352/libGL.so.1
0x00007fcf8ddaa280 0x00007fcf8de80828 Yes (*) /usr/local/lib/libfmodex64-4.26.36.so
0x00007fcf8db45190 0x00007fcf8db48167 Yes /lib/x86_64-linux-gnu/librt.so.1
0x00007fcf8d92adf0 0x00007fcf8d93b870 Yes (*) /lib/x86_64-linux-gnu/libz.so.1
0x00007fcf8d6d7d90 0x00007fcf8d70e520 Yes (*) /usr/lib/x86_64-linux-gnu/libjpeg.so.8
0x00007fcf8d4c53c0 0x00007fcf8d4d1092 Yes (*) /lib/x86_64-linux-gnu/libbz2.so.1.0
0x00007fcf8d2610b0 0x00007fcf8d2a339c Yes (*) /usr/lib/x86_64-linux-gnu/libsndfile.so.1
0x00007fcf8d057e60 0x00007fcf8d058a5e Yes /lib/x86_64-linux-gnu/libdl.so.2
0x00007fcf8cd5f020 0x00007fcf8ce0b279 Yes (*) /usr/lib/x86_64-linux-gnu/libstdc++.so.6
0x00007fcf8c9d25a0 0x00007fcf8ca43c61 Yes /lib/x86_64-linux-gnu/libm.so.6
0x00007fcf8c7b8af0 0x00007fcf8c7c8845 Yes (*) /lib/x86_64-linux-gnu/libgcc_s.so.1
0x00007fcf8c40b4f0 0x00007fcf8c55e304 Yes /lib/x86_64-linux-gnu/libc.so.6
0x00007fcf8c1549d0 0x00007fcf8c1ab59b Yes (*) /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
0x00007fcf8bf341b0 0x00007fcf8bf350b5 Yes (*) /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0
0x00007fcf8bd2a920 0x00007fcf8bd2f616 Yes (*) /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0
0x00007fcf8ba04870 0x00007fcf8ba8c2e4 Yes (*) /usr/lib/x86_64-linux-gnu/libX11.so.6
0x00007fcf8b7e7530 0x00007fcf8b7e9756 Yes (*) /usr/lib/x86_64-linux-gnu/libXfixes.so.3
0x00007fcf8b5cb800 0x00007fcf8b5d7c43 Yes (*) /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0
0x00007fcf8b2bfca0 0x00007fcf8b380fc7 Yes (*) /usr/lib/x86_64-linux-gnu/libcairo.so.2
0x00007fcf8b092190 0x00007fcf8b0a4969 Yes (*) /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0
0x00007fcf8ad3ff30 0x00007fcf8ae0f87b Yes (*) /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
0x00007fcf8aafc3d0 0x00007fcf8ab048db Yes (*) /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0
0x00007fcf8a8b4e80 0x00007fcf8a8d4e76 Yes (*) /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0
0x00007fcf8a66fca0 0x00007fcf8a68dc5d Yes (*) /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
0x00007fcf8a4627e0 0x00007fcf8a466fec Yes (*) /usr/lib/x86_64-linux-gnu/libffi.so.6
0x00007fcf8a1f4600 0x00007fcf8a243116 Yes (*) /lib/x86_64-linux-gnu/libpcre.so.3
0x00007fcf89f28190 0x00007fcf89fb0052 Yes (*) /usr/lib/x86_64-linux-gnu/libasound.so.2
0x00007fcf89cfa660 0x00007fcf89cfb8e8 Yes (*) /usr/lib/x86_64-linux-gnu/libpulse-simple.so.0
0x00007fcf89ab5a60 0x00007fcf89ae2649 Yes (*) /usr/lib/x86_64-linux-gnu/libpulse.so.0
0x00007fcf8989b590 0x00007fcf898a539f Yes (*) /usr/lib/x86_64-linux-gnu/libXext.so.6
0x00007fcf89690420 0x00007fcf89694e20 Yes (*) /usr/lib/x86_64-linux-gnu/libXcursor.so.1
0x00007fcf8948baf0 0x00007fcf8948c3ec Yes (*) /usr/lib/x86_64-linux-gnu/libXinerama.so.1
0x00007fcf8927d1e0 0x00007fcf89287112 Yes (*) /usr/lib/x86_64-linux-gnu/libXi.so.6
0x00007fcf89071c70 0x00007fcf89077a82 Yes (*) /usr/lib/x86_64-linux-gnu/libXrandr.so.2
0x00007fcf88e6ccd0 0x00007fcf88e6da8c Yes (*) /usr/lib/x86_64-linux-gnu/libXss.so.1
0x00007fcf88c66fc0 0x00007fcf88c698c8 Yes (*) /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1
0x00007fcf88a646e0 0x00007fcf88a648b6 Yes (*) /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1
0x00007fcf8885ac00 0x00007fcf8885f18f Yes (*) /usr/lib/x86_64-linux-gnu/libwayland-client.so.0
0x00007fcf8864f240 0x00007fcf88650dd9 Yes (*) /usr/lib/x86_64-linux-gnu/libwayland-cursor.so.0
0x00007fcf88412e70 0x00007fcf8842d895 Yes (*) /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0
0x00007fcf8f487aa0 0x00007fcf8f4a35e0 Yes /lib64/ld-linux-x86-64.so.2
0x00007fcf8820c9a0 0x00007fcf8820e4e3 Yes (*) /usr/lib/nvidia-352/tls/libnvidia-tls.so.352.63
0x00007fcf86308cb0 0x00007fcf87175bc7 Yes (*) /usr/lib/nvidia-352/libnvidia-glcore.so.352.63
0x00007fcf8550c420 0x00007fcf8556dcfd Yes (*) /usr/lib/x86_64-linux-gnu/libFLAC.so.8
0x00007fcf85264aa0 0x00007fcf852670e7 Yes (*) /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2
0x00007fcf85048ad0 0x00007fcf8504e9e5 Yes (*) /usr/lib/x86_64-linux-gnu/libXrender.so.1
0x00007fcf84e44c40 0x00007fcf84e45618 Yes (*) /usr/lib/x86_64-linux-gnu/libXcomposite.so.1
0x00007fcf84c41b90 0x00007fcf84c4249b Yes (*) /usr/lib/x86_64-linux-gnu/libXdamage.so.1
0x00007fcf849a6b90 0x00007fcf84a15bd2 Yes (*) /usr/lib/x86_64-linux-gnu/libfreetype.so.6
0x00007fcf84783620 0x00007fcf84791e35 Yes (*) /usr/lib/x86_64-linux-gnu/libxcb.so.1
0x00007fcf844d69e0 0x00007fcf84560ba0 Yes (*) /usr/lib/x86_64-linux-gnu/libpixman-1.so.0
0x00007fcf842aab00 0x00007fcf842c40f3 Yes (*) /lib/x86_64-linux-gnu/libpng12.so.0
0x00007fcf840a3df0 0x00007fcf840a4903 Yes (*) /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0
0x00007fcf83e9c4a0 0x00007fcf83e9f91a Yes (*) /usr/lib/x86_64-linux-gnu/libxcb-render.so.0
0x00007fcf83c7abc0 0x00007fcf83c8d7bb Yes (*) /lib/x86_64-linux-gnu/libselinux.so.1
0x00007fcf83a5d9d0 0x00007fcf83a6cf51 Yes /lib/x86_64-linux-gnu/libresolv.so.2
0x00007fcf838026a0 0x00007fcf8383d639 Yes (*) /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0
0x00007fcf835f4bd0 0x00007fcf835f812c Yes (*) /usr/lib/x86_64-linux-gnu/libthai.so.0
0x00007fcf833cdb90 0x00007fcf833e5e39 Yes (*) /lib/x86_64-linux-gnu/libexpat.so.1
0x00007fcf83162d30 0x00007fcf831a3cf9 Yes (*) /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-6.0.so
0x00007fcf82f48800 0x00007fcf82f4d612 Yes (*) /lib/x86_64-linux-gnu/libjson-c.so.2
0x00007fcf82d04810 0x00007fcf82d2f594 Yes (*) /lib/x86_64-linux-gnu/libdbus-1.so.3
0x00007fcf82af2a70 0x00007fcf82af6c05 Yes (*) /usr/lib/x86_64-linux-gnu/libogg.so.0
0x00007fcf828c7dd0 0x00007fcf828de45d Yes (*) /usr/lib/x86_64-linux-gnu/libvorbis.so.0
0x00007fcf826c1e50 0x00007fcf826c2acc Yes (*) /usr/lib/x86_64-linux-gnu/libXau.so.6
0x00007fcf824bc210 0x00007fcf824bdbf6 Yes (*) /usr/lib/x86_64-linux-gnu/libXdmcp.so.6
0x00007fcf822984f0 0x00007fcf822b3775 Yes (*) /usr/lib/x86_64-linux-gnu/libgraphite2.so.3
0x00007fcf82090170 0x00007fcf82093455 Yes (*) /usr/lib/x86_64-linux-gnu/libdatrie.so.1
0x00007fcf8f5da300 0x00007fcf8f62c01a Yes (*) /lib/x86_64-linux-gnu/libsystemd.so.0
0x00007fcf81e87d70 0x00007fcf81e8b798 Yes (*) /lib/x86_64-linux-gnu/libwrap.so.0
0x00007fcf81c80300 0x00007fcf81c82988 Yes (*) /usr/lib/x86_64-linux-gnu/libasyncns.so.0
0x00007fcf81a5f0d0 0x00007fcf81a7324d Yes (*) /lib/x86_64-linux-gnu/liblzma.so.5
0x00007fcf81783e00 0x00007fcf81825448 Yes (*) /lib/x86_64-linux-gnu/libgcrypt.so.20
0x00007fcf815650f0 0x00007fcf81571ee1 Yes /lib/x86_64-linux-gnu/libnsl.so.1
0x00007fcf813506d0 0x00007fcf81359299 Yes (*) /lib/x86_64-linux-gnu/libgpg-error.so.0
0x00007fcf80a5dc50 0x00007fcf80a67ac7 Yes (*) /usr/lib/x86_64-linux-gnu/gtk-2.0/modules/liboverlay-scrollbar.so
0x00007fcf808186f0 0x00007fcf80841907 Yes (*) /usr/lib/x86_64-linux-gnu/gtk-2.0/modules/libgail.so
0x00007fcf80603940 0x00007fcf80606fc1 Yes (*) /usr/lib/x86_64-linux-gnu/libgailutil.so.18
0x00007fcf803ff840 0x00007fcf803ff9a5 Yes (*) /usr/lib/x86_64-linux-gnu/gtk-2.0/modules/libatk-bridge.so
0x00007fcf801da490 0x00007fcf801ee4a9 Yes (*) /usr/lib/x86_64-linux-gnu/libatk-bridge-2.0.so.0
0x00007fcf7ffad5a0 0x00007fcf7ffbedd8 Yes (*) /usr/lib/x86_64-linux-gnu/libatspi.so.0
0x00007fcf7fd9b230 0x00007fcf7fd9ca24 Yes (*) /usr/lib/x86_64-linux-gnu/gtk-2.0/modules/libunity-gtk-module.so
0x00007fcf7fb8b210 0x00007fcf7fb933ac Yes (*) /usr/lib/x86_64-linux-gnu/libunity-gtk2-parser.so.0
0x00007fcf7f95b710 0x00007fcf7f9801f4 Yes (*) /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libmurrine.so
0x00007fcf7f752130 0x00007fcf7f754170 Yes (*) /usr/lib/x86_64-linux-gnu/gtk-2.0/modules/libcanberra-gtk-module.so
0x00007fcf7f54cc60 0x00007fcf7f54e20e Yes (*) /usr/lib/x86_64-linux-gnu/libcanberra-gtk.so.0
0x00007fcf7f33bbe0 0x00007fcf7f34520a Yes (*) /usr/lib/x86_64-linux-gnu/libcanberra.so.0
0x00007fcf7f131da0 0x00007fcf7f13616c Yes (*) /usr/lib/x86_64-linux-gnu/libvorbisfile.so.3
0x00007fcf7ef1da40 0x00007fcf7ef28b53 Yes (*) /usr/lib/x86_64-linux-gnu/libtdb.so.1
0x00007fcf7ed12f60 0x00007fcf7ed17452 Yes (*) /usr/lib/x86_64-linux-gnu/libltdl.so.7
0x00007fcf7eb07be0 0x00007fcf7eb0c8ce Yes (*) /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
0x00007fcf8f506750 0x00007fcf8f517190 Yes (*) /lib/x86_64-linux-gnu/libudev.so.1
0x00007fcf7d0f9340 0x00007fcf7d0fef36 Yes /lib/x86_64-linux-gnu/libnss_compat.so.2
0x00007fcf7ceee130 0x00007fcf7cef4923 Yes /lib/x86_64-linux-gnu/libnss_nis.so.2
0x00007fcf7cce1230 0x00007fcf7cce8393 Yes /lib/x86_64-linux-gnu/libnss_files.so.2
0x00007fcf7cadca10 0x00007fcf7cadd388 Yes (*) /home/XXXXXX/Games/doom/gzdoom-master-20160409/liboutput_sdl.so
0x00007fcf7c8d73f0 0x00007fcf7c8d96e8 Yes (*) /usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so
0x00007fcf69d95ee0 0x00007fcf69dd7825 Yes (*) /usr/lib/x86_64-linux-gnu/libopenal.so
(*): Shared library is missing debugging information.

* Threads
Id Target Id Frame
10 Thread 0x7fcf7eb03700 (LWP 1163) "dconf worker" 0x00007fcf8c4e788d in poll () at ../sysdeps/unix/syscall-template.S:81
9 Thread 0x7fcf7e302700 (LWP 1164) "gmain" 0x00007fcf8c4e788d in poll () at ../sysdeps/unix/syscall-template.S:81
8 Thread 0x7fcf7db01700 (LWP 1165) "gdbus" 0x00007fcf8c4e788d in poll () at ../sysdeps/unix/syscall-template.S:81
7 Thread 0x7fcf7c8d4700 (LWP 1166) "threaded-ml" 0x00007fcf8c4e788d in poll () at ../sysdeps/unix/syscall-template.S:81
6 Thread 0x7fcf6bffe700 (LWP 1168) "gzdoom" 0x00007fcf8c4e788d in poll () at ../sysdeps/unix/syscall-template.S:81
5 Thread 0x7fcf6b7fd700 (LWP 1169) "gzdoom" 0x00007fcf8c4b6bed in nanosleep () at ../sysdeps/unix/syscall-template.S:81
4 Thread 0x7fcf6affc700 (LWP 1170) "SDLTimer" 0x00007fcf8e3c40c9 in futex_abstimed_wait (cancel=true, private=<optimized out>, abstime=0x0, expected=0, futex=0x1ef08d0) at sem_waitcommon.c:42
3 Thread 0x7fcf8f69fa40 (LWP 1172) "gzdoom" 0x00007fcf8db47dd7 in timer_helper_thread (arg=<optimized out>) at ../sysdeps/unix/sysv/linux/timer_routines.c:91
2 Thread 0x7fcf69d8a700 (LWP 1380) "gzdoom" 0x00007fcf8e3c40c9 in futex_abstimed_wait (cancel=true, private=<optimized out>, abstime=0x0, expected=0, futex=0x2d47e70) at sem_waitcommon.c:42
* 1 Thread 0x7fcf8f5c4a40 (LWP 1162) "gzdoom" 0x00007fcf8e3c58ab in __waitpid (pid=6622, stat_loc=0xdefb6c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40

* 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 0x19de 6622
rcx 0x7fcf8e3c58ab 140529421277355
rdx 0x0 0
rsi 0xdefb6c 14613356
rdi 0x19de 6622
rbp 0xdefb6c 0xdefb6c
rsp 0xdefb30 0xdefb30
r8 0x0 0
r9 0x7fcf8f5c4a40 140529440148032
r10 0x0 0
r11 0x246 582
r12 0x0 0
r13 0xded040 14602304
r14 0x1090 4240
r15 0x22 34
rip 0x7fcf8e3c58ab 0x7fcf8e3c58ab <__waitpid+107>
eflags 0x246 [ PF ZF IF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0

* Backtrace

Thread 10 (Thread 0x7fcf7eb03700 (LWP 1163)):
#0 0x00007fcf8c4e788d in poll () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1 0x00007fcf8e9231ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x00007fcf8e9232fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007fcf7eb0b28d in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
No symbol table info available.
#4 0x00007fcf8e949965 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5 0x00007fcf8e3bc6aa in start_thread (arg=0x7fcf7eb03700) at pthread_create.c:333
__res = <optimized out>
pd = 0x7fcf7eb03700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140529160435456, 1752469239810591301, 0, 140732915707551, 140529160436160, 140529427061008, -1743746150936769979, -1743709947391145403}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#6 0x00007fcf8c4f2e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.

Thread 9 (Thread 0x7fcf7e302700 (LWP 1164)):
#0 0x00007fcf8c4e788d in poll () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1 0x00007fcf8e9231ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x00007fcf8e9232fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007fcf8e923339 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4 0x00007fcf8e949965 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5 0x00007fcf8e3bc6aa in start_thread (arg=0x7fcf7e302700) at pthread_create.c:333
__res = <optimized out>
pd = 0x7fcf7e302700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140529152042752, 1752469239810591301, 0, 140529160431135, 140529152043456, 140529427061008, -1743745051962013115, -1743709947391145403}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#6 0x00007fcf8c4f2e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.

Thread 8 (Thread 0x7fcf7db01700 (LWP 1165)):
#0 0x00007fcf8c4e788d in poll () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1 0x00007fcf8e9231ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x00007fcf8e923572 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007fcf8adeb4a6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
No symbol table info available.
#4 0x00007fcf8e949965 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5 0x00007fcf8e3bc6aa in start_thread (arg=0x7fcf7db01700) at pthread_create.c:333
__res = <optimized out>
pd = 0x7fcf7db01700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140529143650048, 1752469239810591301, 0, 140529160431487, 140529143650752, 140529427061008, -1743739554940745147, -1743709947391145403}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#6 0x00007fcf8c4f2e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.

Thread 7 (Thread 0x7fcf7c8d4700 (LWP 1166)):
#0 0x00007fcf8c4e788d in poll () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1 0x00007fcf89adc4e1 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#2 0x00007fcf89acdbe1 in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#3 0x00007fcf89ace27e in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#4 0x00007fcf89ace330 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#5 0x00007fcf89adc476 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#6 0x00007fcf8319f4d8 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-6.0.so
No symbol table info available.
#7 0x00007fcf8e3bc6aa in start_thread (arg=0x7fcf7c8d4700) at pthread_create.c:333
__res = <optimized out>
pd = 0x7fcf7c8d4700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140529124591360, 1752469239810591301, 0, 140732915699647, 140529124592064, 140529234474112, -1743741434525808059, -1743709947391145403}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#8 0x00007fcf8c4f2e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.

Thread 6 (Thread 0x7fcf6bffe700 (LWP 1168)):
#0 0x00007fcf8c4e788d in poll () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1 0x00007fcf89f4bbc6 in ?? () from /usr/lib/x86_64-linux-gnu/libasound.so.2
No symbol table info available.
#2 0x00007fcf89f5035e in ?? () from /usr/lib/x86_64-linux-gnu/libasound.so.2
No symbol table info available.
#3 0x00007fcf89f8f715 in ?? () from /usr/lib/x86_64-linux-gnu/libasound.so.2
No symbol table info available.
#4 0x00007fcf8ddff9f8 in FMOD::OutputALSA::updateMixer() () from /usr/local/lib/libfmodex64-4.26.36.so
No symbol table info available.
#5 0x00007fcf8ddfaa4d in FMOD::Thread::callback(void*) () from /usr/local/lib/libfmodex64-4.26.36.so
No symbol table info available.
#6 0x00007fcf8e3bc6aa in start_thread (arg=0x7fcf6bffe700) at pthread_create.c:333
__res = <optimized out>
pd = 0x7fcf6bffe700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140528846890752, 1752469239810591301, 0, 140732915707807, 140528846891456, 140529415203168, -1743787496976315835, -1743709947391145403}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#7 0x00007fcf8c4f2e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.

Thread 5 (Thread 0x7fcf6b7fd700 (LWP 1169)):
#0 0x00007fcf8c4b6bed in nanosleep () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1 0x00007fcf8c4e9e34 in usleep (useconds=<optimized out>) at ../sysdeps/unix/sysv/linux/usleep.c:32
ts = {tv_sec = 0, tv_nsec = 10000000}
#2 0x00007fcf8ddfc40f in FMOD_OS_Time_Sleep(unsigned int) () from /usr/local/lib/libfmodex64-4.26.36.so
No symbol table info available.
#3 0x00007fcf8ddfaa75 in FMOD::Thread::callback(void*) () from /usr/local/lib/libfmodex64-4.26.36.so
No symbol table info available.
#4 0x00007fcf8e3bc6aa in start_thread (arg=0x7fcf6b7fd700) at pthread_create.c:333
__res = <optimized out>
pd = 0x7fcf6b7fd700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140528838498048, 1752469239810591301, 0, 140732915708527, 140528838498752, 140529415203168, -1743786398001558971, -1743709947391145403}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#5 0x00007fcf8c4f2e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.

Thread 4 (Thread 0x7fcf6affc700 (LWP 1170)):
#0 0x00007fcf8e3c40c9 in futex_abstimed_wait (cancel=true, private=<optimized out>, abstime=0x0, expected=0, futex=0x1ef08d0) at sem_waitcommon.c:42
__ret = -512
err = <optimized out>
oldtype = 2
#1 do_futex_wait (sem=sem@entry=0x1ef08d0, abstime=0x0) at sem_waitcommon.c:208
No locals.
#2 0x00007fcf8e3c4164 in __new_sem_wait_slow (sem=0x1ef08d0, abstime=0x0) at sem_waitcommon.c:277
_buffer = {__routine = 0x7fcf8e3c4090 <__sem_wait_cleanup>, __arg = 0x1ef08d0, __canceltype = 1795148224, __prev = 0x0}
err = <optimized out>
d = 0
#3 0x00007fcf8e3c420a in __new_sem_wait (sem=<optimized out>) at sem_wait.c:28
No locals.
#4 0x00007fcf8e6956fe in ?? () from /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0
No symbol table info available.
#5 0x00007fcf8e695855 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0
No symbol table info available.
#6 0x00007fcf8e64a1e3 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0
No symbol table info available.
#7 0x00007fcf8e649d7c in ?? () from /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0
No symbol table info available.
#8 0x00007fcf8e695419 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0
No symbol table info available.
#9 0x00007fcf8e3bc6aa in start_thread (arg=0x7fcf6affc700) at pthread_create.c:333
__res = <optimized out>
pd = 0x7fcf6affc700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140528830105344, 1752469239810591301, 0, 140732915709199, 140528830106048, 140529424225296, -1743789697073313211, -1743709947391145403}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#10 0x00007fcf8c4f2e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.

Thread 3 (Thread 0x7fcf8f69fa40 (LWP 1172)):
#0 0x00007fcf8db47dd7 in timer_helper_thread (arg=<optimized out>) at ../sysdeps/unix/sysv/linux/timer_routines.c:91
resultvar = <optimized out>
si = {si_signo = 32, si_errno = 0, si_code = -2, _sifields = {_pad = {1, 0, 31831584, 0 <repeats 25 times>}, _kill = {si_pid = 1, si_uid = 0}, _timer = {si_tid = 1, si_overrun = 0, si_sigval = {sival_int = 31831584, sival_ptr = 0x1e5b620}}, _rt = {si_pid = 1, si_uid = 0, si_sigval = {sival_int = 31831584, sival_ptr = 0x1e5b620}}, _sigchld = {si_pid = 1, si_uid = 0, si_status = 31831584, si_utime = 0, si_stime = 0}, _sigfault = {si_addr = 0x1, si_addr_lsb = -18912}, _sigpoll = {si_band = 1, si_fd = 31831584}, _sigsys = {_call_addr = 0x1, _syscall = 31831584, _arch = 0}}}
oldtype = 0
result = <optimized out>
ss = {__val = {2147483648, 0 <repeats 15 times>}}
#1 0x00007fcf8e3bc6aa in start_thread (arg=0x7fcf8f69fa40) at pthread_create.c:333
__res = <optimized out>
pd = 0x7fcf8f69fa40
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140529441045056, 1752469239810591301, 0, 140732915708735, 140529441045760, 140529412373888, -1743707043221108155, -1743709947391145403}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#2 0x00007fcf8c4f2e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.

Thread 2 (Thread 0x7fcf69d8a700 (LWP 1380)):
#0 0x00007fcf8e3c40c9 in futex_abstimed_wait (cancel=true, private=<optimized out>, abstime=0x0, expected=0, futex=0x2d47e70) at sem_waitcommon.c:42
__ret = -512
err = <optimized out>
oldtype = 0
#1 do_futex_wait (sem=sem@entry=0x2d47e70, abstime=0x0) at sem_waitcommon.c:208
No locals.
#2 0x00007fcf8e3c4164 in __new_sem_wait_slow (sem=0x2d47e70, abstime=0x0) at sem_waitcommon.c:277
_buffer = {__routine = 0x7fcf8e3c4090 <__sem_wait_cleanup>, __arg = 0x2d47e70, __canceltype = 37, __prev = 0x0}
err = <optimized out>
d = 0
#3 0x00007fcf8e3c420a in __new_sem_wait (sem=<optimized out>) at sem_wait.c:28
No locals.
#4 0x00007fcf8ddfbff3 in FMOD_OS_Semaphore_Wait(FMOD_OS_SEMAPHORE*) () from /usr/local/lib/libfmodex64-4.26.36.so
No symbol table info available.
#5 0x00007fcf8ddfa9d7 in FMOD::Thread::callback(void*) () from /usr/local/lib/libfmodex64-4.26.36.so
No symbol table info available.
#6 0x00007fcf8e3bc6aa in start_thread (arg=0x7fcf69d8a700) at pthread_create.c:333
__res = <optimized out>
pd = 0x7fcf69d8a700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140528810764032, 1752469239810591301, 0, 140732915684975, 8388608, 43874160, -1743782783249708475, -1743709947391145403}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#7 0x00007fcf8c4f2e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.

Thread 1 (Thread 0x7fcf8f5c4a40 (LWP 1162)):
#0 0x00007fcf8e3c58ab in __waitpid (pid=6622, stat_loc=0xdefb6c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
resultvar = 18446744073709551104
oldtype = 0
result = <optimized out>
#1 0x00000000005241fe in ?? ()
No symbol table info available.
#2 <signal handler called>
No locals.
#3 0x000000000097c68f in FPNGTexture::CopyTrueColorPixels(FBitmap*, int, int, int, FCopyInfo*) ()
No symbol table info available.
#4 0x91c0ed69a1080bd5 in ?? ()
No symbol table info available.
#5 0xbe2cc915153a8e23 in ?? ()
No symbol table info available.
#6 0xcf814c63a274e865 in ?? ()
No symbol table info available.
#7 0x3eb3fdf4908a5013 in ?? ()
No symbol table info available.
#8 0x40609924610c13c9 in ?? ()
No symbol table info available.
#9 0x0f79bdee70161607 in ?? ()
No symbol table info available.
#10 0xe79c6d65d6e8ebbf in ?? ()
No symbol table info available.
#11 0x749a8518f1ceba41 in ?? ()
No symbol table info available.
#12 0x516a87edde7e7713 in ?? ()
No symbol table info available.
#13 0xba2f41c13f1a92ad in ?? ()
No symbol table info available.
#14 0xabc4c6ae3b9c9a3a in ?? ()
No symbol table info available.
#15 0xf1986be7e4059e95 in ?? ()
No symbol table info available.
#16 0x3f01c1ff6d66d2ce in ?? ()
No symbol table info available.
#17 0xa2436627aeb268d1 in ?? ()
No symbol table info available.
#18 0x78f96a99b7d7a9e0 in ?? ()
No symbol table info available.
#19 0xd0bcf64f428d15c8 in ?? ()
No symbol table info available.
#20 0xbc76a7eab17f64c7 in ?? ()
No symbol table info available.
#21 0x9bbef68dfd54bd91 in ?? ()
No symbol table info available.
#22 0x68016ddedfa4a562 in ?? ()
No symbol table info available.
#23 0x91c89f0b2594b857 in ?? ()
No symbol table info available.
#24 0x318886a2ddb76a4f in ?? ()
No symbol table info available.
#25 0xd166710e242eb2a7 in ?? ()
No symbol table info available.
#26 0x8acbc41550e762ca in ?? ()
No symbol table info available.
#27 0x8ea8a56b8b7d1316 in ?? ()
No symbol table info available.
#28 0xa054ab3969f561ae in ?? ()
No symbol table info available.
#29 0x2a62e4f29343792f in ?? ()
No symbol table info available.
#30 0xfc1f904de6ffade2 in ?? ()
No symbol table info available.
#31 0x100e8389cdb28856 in ?? ()
No symbol table info available.
#32 0xb3f2d0c6f2bb04d6 in ?? ()
No symbol table info available.
#33 0xb0c5d11331256725 in ?? ()
No symbol table info available.
#34 0xa87e26a6a36cb029 in ?? ()
No symbol table info available.
#35 0xcda0f835ab850d78 in ?? ()
No symbol table info available.
#36 0x5f3426aca6034efb in ?? ()
No symbol table info available.
#37 0xf28da74f71b4dcf4 in ?? ()
No symbol table info available.
#38 0xca91f7d7ad1f2693 in ?? ()
No symbol table info available.
#39 0xee7a138c85b1f71d in ?? ()
No symbol table info available.
#40 0x0d08f7df336d838b in ?? ()
No symbol table info available.
#41 0x2c55da3add80f1e9 in ?? ()
No symbol table info available.
#42 0x5c870c1701bfcbe3 in ?? ()
No symbol table info available.
#43 0xbef3602f56bebe37 in ?? ()
No symbol table info available.
#44 0xdde193d5c806e11d in ?? ()
No symbol table info available.
#45 0x5507c7cb32d5efc8 in ?? ()
No symbol table info available.
#46 0x7964d0b9be9cc9f7 in ?? ()
No symbol table info available.
#47 0x638d215657433005 in ?? ()
No symbol table info available.
#48 0xbe7e74980806cfdc in ?? ()
No symbol table info available.
#49 0xfe01099c048fb4ed in ?? ()
No symbol table info available.
#50 0xfde2c11ff929608f in ?? ()
No symbol table info available.
#51 0x9d887db35b6f1cf7 in ?? ()
No symbol table info available.
#52 0x2fd829b04b6276c3 in ?? ()
No symbol table info available.
#53 0xb63d6c74d87e3f7f in ?? ()
No symbol table info available.
#54 0xb64e435e3ba48d78 in ?? ()
No symbol table info available.
#55 0xec185afd0e8fe676 in ?? ()
No symbol table info available.
#56 0x74ef95349a2f5320 in ?? ()
No symbol table info available.
#57 0xbe71880fb2227369 in ?? ()
No symbol table info available.
#58 0x5d89f23c381b8c6a in ?? ()
No symbol table info available.
#59 0xf2ae6c88cdfdaa9b in ?? ()
No symbol table info available.
#60 0x385bfe11ff72e230 in ?? ()
No symbol table info available.
#61 0xef4ce01a949055dc in ?? ()
No symbol table info available.
#62 0x7109c4e15df7e80b in ?? ()
No symbol table info available.
#63 0x61e13bf407956f58 in ?? ()
No symbol table info available.
#64 0x3e00783eb036e84a in ?? ()
No symbol table info available.
#65 0x4838d35a533c16b7 in ?? ()
No symbol table info available.
#66 0xfb2f043011297e48 in ?? ()
No symbol table info available.
#67 0xc83ffee3a3f009d0 in ?? ()
No symbol table info available.
#68 0x6446e18282d25ae5 in ?? ()
No symbol table info available.
#69 0xade399dcf6b8f446 in ?? ()
No symbol table info available.
#70 0x1bb78066b5e65ccf in ?? ()
No symbol table info available.
#71 0xfa77a092a7261a07 in ?? ()
No symbol table info available.
#72 0xce054eae1ab0c4c0 in ?? ()
No symbol table info available.
#73 0xe1ab84e59cc61154 in ?? ()
No symbol table info available.
#74 0x7038582f2cbd69f5 in ?? ()
No symbol table info available.
#75 0x4fc4b447ceb29d7f in ?? ()
No symbol table info available.
#76 0xfdb67b8181eadf73 in ?? ()
No symbol table info available.
#77 0xf31e2a42bbc2e6f4 in ?? ()
No symbol table info available.
#78 0x192ef55c06862206 in ?? ()
No symbol table info available.
#79 0x6715e866db1e6ff2 in ?? ()
No symbol table info available.
#80 0x2d1f8382d7857be8 in ?? ()
No symbol table info available.
#81 0x4a35048addd2f08d in ?? ()
No symbol table info available.
#82 0xdae69d5f3cbca785 in ?? ()
No symbol table info available.
#83 0x39c54ee0ddd2fec6 in ?? ()
No symbol table info available.
#84 0x05b17e909bbab4d0 in ?? ()
No symbol table info available.
#85 0xe174c49df47f6310 in ?? ()
No symbol table info available.
#86 0x74c1ac715b5f9ace in ?? ()
No symbol table info available.
#87 0x25726ece8e88fb4c in ?? ()
No symbol table info available.
#88 0xfe7e0dce3a38a71f in ?? ()
No symbol table info available.
#89 0x73e1a0e85e25eaab in ?? ()
No symbol table info available.
#90 0x4e551ee606983467 in ?? ()
No symbol table info available.
#91 0xcdb0b88179b647b9 in ?? ()
No symbol table info available.
#92 0x790c648079737484 in ?? ()
No symbol table info available.
#93 0x2df34955895020f9 in ?? ()
No symbol table info available.
#94 0x0a8eae497103d4d9 in ?? ()
No symbol table info available.
#95 0xdb815c0731c18e81 in ?? ()
No symbol table info available.
#96 0x8fd27571df8483dd in ?? ()
No symbol table info available.
#97 0x69bdcc9dc6b614c0 in ?? ()
No symbol table info available.
#98 0x32c24f7521698aa3 in ?? ()
No symbol table info available.
#99 0x6bafe3a5736a4c6a in ?? ()
No symbol table info available.
#100 0x019f59e156fe0db1 in ?? ()
No symbol table info available.
#101 0xdff259332a04e932 in ?? ()
No symbol table info available.
#102 0x733938544f29916e in ?? ()
No symbol table info available.
#103 0x3512502db1d7ed68 in ?? ()
No symbol table info available.
#104 0xb316e15b91a54f11 in ?? ()
No symbol table info available.
#105 0xfe50bb0ba8423924 in ?? ()
No symbol table info available.
#106 0x20d66c4f19cb51e3 in ?? ()
No symbol table info available.
#107 0x240c3ac475ff9b00 in ?? ()
No symbol table info available.
#108 0x2601aa824fe00384 in ?? ()
No symbol table info available.
#109 0x8ff03674f92f7ae5 in ?? ()
No symbol table info available.
#110 0xdb5df3bbb95f9d43 in ?? ()
No symbol table info available.
#111 0x07e171597d840796 in ?? ()
No symbol table info available.
#112 0xdf770a04eee335fc in ?? ()
No symbol table info available.
#113 0xa8a267272644bc5f in ?? ()
No symbol table info available.
#114 0xea6b3fdc0aa519e7 in ?? ()
No symbol table info available.
#115 0x759a9de87650445b in ?? ()
No symbol table info available.
#116 0xa8956dcf80693484 in ?? ()
No symbol table info available.
#117 0x2547ba44df9ea169 in ?? ()
No symbol table info available.
#118 0x8b542208d7ff440d in ?? ()
No symbol table info available.
#119 0xd899404ae348600d in ?? ()
No symbol table info available.
#120 0x99e8019d11b00af5 in ?? ()
No symbol table info available.
#121 0x60d9c2aead71c329 in ?? ()
No symbol table info available.
#122 0xd5010202b4043dbf in ?? ()
No symbol table info available.
#123 0xff0bae079ad924a5 in ?? ()
No symbol table info available.
#124 0xc391b749403cf92d in ?? ()
No symbol table info available.
#125 0x9e4ea7161bc69a04 in ?? ()
No symbol table info available.
#126 0xcd1d4cdb81f06230 in ?? ()
No symbol table info available.
#127 0xbcccb1b690099548 in ?? ()
No symbol table info available.
#128 0xf382b7e2704e3bf0 in ?? ()
No symbol table info available.
#129 0x555db358c3de5118 in ?? ()
No symbol table info available.
#130 0x7ac30e8e62adf29e in ?? ()
No symbol table info available.
#131 0xbc8e1d2cf055b433 in ?? ()
No symbol table info available.
#132 0xa8dfc7cabaa5e765 in ?? ()
No symbol table info available.
#133 0x1bb512bbdb283d5a in ?? ()
No symbol table info available.
#134 0xdbeb0faa6dc3a12c in ?? ()
No symbol table info available.
#135 0xf8671fd352768fb2 in ?? ()
No symbol table info available.
#136 0x355b3e23b79272bf in ?? ()
No symbol table info available.
#137 0x528fa851658d0f3a in ?? ()
No symbol table info available.
#138 0x93a2a5a74ae5fba1 in ?? ()
No symbol table info available.
#139 0xe2e789342b19b826 in ?? ()
No symbol table info available.
#140 0xa14b09899aacfcbe in ?? ()
No symbol table info available.
#141 0x18972664a66316b2 in ?? ()
No symbol table info available.
#142 0xf448b810de6360f8 in ?? ()
No symbol table info available.
#143 0x18a6a615a791509d in ?? ()
No symbol table info available.
#144 0x4089a174ec1d5e91 in ?? ()
No symbol table info available.
#145 0xddfd2c53c5bd1103 in ?? ()
No symbol table info available.
#146 0x28a7a413d47a6909 in ?? ()
No symbol table info available.
#147 0x4ad36ea11b48c82a in ?? ()
No symbol table info available.
#148 0x7f26fac65893318c in ?? ()
No symbol table info available.
#149 0x986304eacc529f2e in ?? ()
No symbol table info available.
#150 0x1759caa370a04974 in ?? ()
No symbol table info available.
#151 0xf2e4bafdd3789877 in ?? ()
No symbol table info available.
#152 0x6cbe6feb8b4e29c3 in ?? ()
No symbol table info available.
#153 0x2980c4d227a8364a in ?? ()
No symbol table info available.
#154 0x5fd35513a77a9092 in ?? ()
No symbol table info available.
#155 0xb81cf0862fb12fc7 in ?? ()
No symbol table info available.
#156 0xed084326c25239e5 in ?? ()
No symbol table info available.
#157 0xdc8faae41fbec856 in ?? ()
No symbol table info available.
#158 0xc2892fd818d9b062 in ?? ()
No symbol table info available.
#159 0x0c079b9859d7a781 in ?? ()
No symbol table info available.
#160 0x9a85f5ef4ff7b77c in ?? ()
No symbol table info available.
#161 0x19687b0376f41edc in ?? ()
No symbol table info available.
#162 0xb270e52f29744170 in ?? ()
No symbol table info available.
#163 0x27e8bae516de6f9b in ?? ()
No symbol table info available.
#164 0x5d9312cfafdd86be in ?? ()
No symbol table info available.
#165 0xbc7463e668832b92 in ?? ()
No symbol table info available.
#166 0x9be223ce6ae881bd in ?? ()
No symbol table info available.
#167 0xcca77e5cb362d27f in ?? ()
No symbol table info available.
#168 0x865d676b7df6441b in ?? ()
No symbol table info available.
#169 0xf4fa1bd00b3ff8e6 in ?? ()
No symbol table info available.
#170 0xdf9f8f88cc60bac1 in ?? ()
No symbol table info available.
#171 0x1391102e446554f1 in ?? ()
No symbol table info available.
#172 0xd03ace3f32ad52d4 in ?? ()
No symbol table info available.
#173 0x9938c8002255d002 in ?? ()
No symbol table info available.
#174 0xb649c3246f79d0e2 in ?? ()
No symbol table info available.
#175 0x013e94e2f16a70ea in ?? ()
No symbol table info available.
#176 0x8079ff755daa3bec in ?? ()
No symbol table info available.
#177 0x9984e191f39331b0 in ?? ()
No symbol table info available.
#178 0x0e9733deeb2b7b67 in ?? ()
No symbol table info available.
#179 0x5a9f034cec816ecf in ?? ()
No symbol table info available.
#180 0x693723b375c0421e in ?? ()
No symbol table info available.
#181 0xb6926a3e4a74a02b in ?? ()
No symbol table info available.
#182 0x5ebb4ece986f1cea in ?? ()
No symbol table info available.
#183 0xaf5dfcb8dccdb56b in ?? ()
No symbol table info available.
#184 0x888feaa590b6da51 in ?? ()
No symbol table info available.
#185 0x49664339f5309519 in ?? ()
No symbol table info available.
#186 0x4f1ff3109b4b14f6 in ?? ()
No symbol table info available.
#187 0xa33df8c4762e8bde in ?? ()
No symbol table info available.
#188 0xdbd4cf7429f8f827 in ?? ()
No symbol table info available.
#189 0xc021e87c6296d755 in ?? ()
No symbol table info available.
#190 0x05370b0f93e7eb70 in ?? ()
No symbol table info available.
#191 0xdcc6561f55fa99f1 in ?? ()
No symbol table info available.
#192 0xcbf67dd37dee7ac9 in ?? ()
No symbol table info available.
#193 0x35eba60c5215fa8a in ?? ()
No symbol table info available.
#194 0xd9f15156fa719c57 in ?? ()
No symbol table info available.
#195 0x82096baec38081d0 in ?? ()
No symbol table info available.
#196 0xe090a4d1d2560d6a in ?? ()
No symbol table info available.
#197 0x3c803d9ca923fb4f in ?? ()
No symbol table info available.
#198 0x28726358fcdb798b in ?? ()
No symbol table info available.
#199 0x4520736dbfd4a610 in ?? ()
No symbol table info available.
#200 0xf2477208ff9d6239 in ?? ()
No symbol table info available.
#201 0xfa6ba98a1e82a720 in ?? ()
No symbol table info available.
#202 0x48a112b4f362bcc4 in ?? ()
No symbol table info available.
#203 0x265e9623d68b810e in ?? ()
No symbol table info available.
#204 0xe44a19a52b330299 in ?? ()
No symbol table info available.
#205 0x735bbe6e6489480d in ?? ()
No symbol table info available.
#206 0xf9df3de7af095ad9 in ?? ()
No symbol table info available.
#207 0x5472ca0430a8a966 in ?? ()
No symbol table info available.
#208 0xe5b379e91bf7c4b8 in ?? ()
No symbol table info available.
#209 0x99653de7ce66b2f2 in ?? ()
No symbol table info available.
#210 0xa885897b0ed0b5c6 in ?? ()
No symbol table info available.
#211 0x321022eb063c9427 in ?? ()
No symbol table info available.
#212 0xdc9d5a4591c3aab8 in ?? ()
No symbol table info available.
#213 0x37a7537e44019c05 in ?? ()
No symbol table info available.
#214 0x274a9c790e5d5734 in ?? ()
No symbol table info available.
#215 0xd634b53bbc76e036 in ?? ()
No symbol table info available.
#216 0x06a7e29a3efa81e2 in ?? ()
No symbol table info available.
#217 0x06b815d662e81a20 in ?? ()
No symbol table info available.
#218 0xf807b267543cf2f8 in ?? ()
No symbol table info available.
#219 0x7ba945feea0715a6 in ?? ()
No symbol table info available.
#220 0xd982fe522aedb38e in ?? ()
No symbol table info available.
#221 0xef7341103440ad4d in ?? ()
No symbol table info available.
#222 0xcc411d1fddfe667c in ?? ()
No symbol table info available.
#223 0x7aeb8f8c0779fe96 in ?? ()
No symbol table info available.
#224 0x456701856bf6d7e3 in ?? ()
No symbol table info available.
#225 0xb9284644a0bcf8a9 in ?? ()
No symbol table info available.
#226 0x2694f9ce5bc55d05 in ?? ()
No symbol table info available.
#227 0x2a033710e26219fa in ?? ()
No symbol table info available.
#228 0x8355af0021807e72 in ?? ()
No symbol table info available.
#229 0xa46d043e300fcce8 in ?? ()
No symbol table info available.
#230 0x2971d79694acc803 in ?? ()
No symbol table info available.
#231 0xc8255b07fa483c08 in ?? ()
No symbol table info available.
#232 0x574ba02df11dacc3 in ?? ()
No symbol table info available.
#233 0x8b652199f061e407 in ?? ()
No symbol table info available.
#234 0x53cae8b827572355 in ?? ()
No symbol table info available.
#235 0x91adf8fa32850f82 in ?? ()
No symbol table info available.
#236 0x7b2bbb2b06fc8a67 in ?? ()
No symbol table info available.
#237 0xc3f77d4b55006b58 in ?? ()
No symbol table info available.
#238 0xfa679053ad8bff25 in ?? ()
No symbol table info available.
#239 0x833c58eef9f379e2 in ?? ()
No symbol table info available.
#240 0x5de6f4078a7e2670 in ?? ()
No symbol table info available.
#241 0x5b0aefd71c4983f9 in ?? ()
No symbol table info available.
#242 0x8c27e29502a139fb in ?? ()
No symbol table info available.
#243 0x114378ce2d32955c in ?? ()
No symbol table info available.
#244 0x9dbd7d891777766c in ?? ()
No symbol table info available.
#245 0x0000ba222b76c28a in ?? ()
No symbol table info available.
#246 0x0000000046d4f73a in ?? ()
No symbol table info available.
#247 0x0000000000000000 in ?? ()
No symbol table info available.
Flynn Finningthare
 

Re: [Linux] Some PNG textures cause segfaults

Postby Edward-san » Thu Apr 14, 2016 3:31 pm

Can you make an example wad containing the mentioned PNG texture, such that zdoom crashes?
Edward-san
Mathematics is the language with which God has written the universe. (Galilei)
 
Joined: 17 Oct 2009

Re: [Linux] Some PNG textures cause segfaults

Postby Flynn Finningthare » Thu Apr 14, 2016 4:40 pm

OK, here you go. I included both a WAD and a PK3 version because GZDoom apparently doesn't crash if the offending PNG (actually NPEXB0.png instead of NPEXA0.png like I mentioned earlier) is in a WAD file.

http://www.ciinet.org/kevin/NPEXTEST.zip

Just summon the actor "CrashMe" to get the crash.
Flynn Finningthare
 

Re: [Linux] Some PNG textures cause segfaults

Postby Zanieon » Thu Apr 14, 2016 11:21 pm

This specific PNG have a tRNS chunk on it, maybe that is what is causing the crash, by the way i removed the chunk from that image and all others in the mod.
User avatar
Zanieon
A Tamer of The Dark
 
Joined: 13 Jan 2009
Location: Somewhere in the future
Discord: Zanieon#3177
Twitch ID: Zanieon
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD with Vulkan Support

Re: [Linux] Some PNG textures cause segfaults

Postby Graf Zahl » Fri Apr 15, 2016 2:22 am

Handling 24 bit PNGs with tRNS chunk is a recent addition.
But this works fine with both Win32 and Win64 builds so I am at a loss why GCC screws this up.
This needs some debugging. It looks like the crash isn't caused by a bad algorithm but by some secondary effect.

EDIT: No such luck. This will have to be investigated by someone who can reproduce the problem.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: [Linux] Some PNG textures cause segfaults

Postby VoidMage » Fri Apr 15, 2016 3:01 am

Without debug symbols, that traceback isn't all that useful, however even debug symbols don't help all that much here.

The crash happens upon call to 'bmp->CopyPixelDataRGB(x, y, Pixels, Width, Height, 3, pixwidth, rotate, CF_RGBT, inf, NonPaletteTrans[0], NonPaletteTrans[1], NonPaletteTrans[2]);', which seem a bit odd.
Looking at the code of FBitmap::CopyPixelDataRGB in bitmap.cpp, there seems to be nothing special about that path (if compared to one without tRNS )...
A missing function in copyfuncs table ? Still, why does it crash before jumping into that file ?
User avatar
VoidMage
 
Joined: 02 Dec 2010

Re: [Linux] Some PNG textures cause segfaults

Postby Graf Zahl » Fri Apr 15, 2016 3:13 am

It doesn't go to FBitmap::CopyPixelDataRGB. It will go to FGLBitmap::CopyPixelDataRGB. But that's mostly the same. This is a virtual function call, so if the call itself fails the only reason can be some problem with the virtual function table. No idea how that could happen, though.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: [Linux] Some PNG textures cause segfaults

Postby VoidMage » Fri Apr 15, 2016 3:54 am

Hmm, that's an interesting point.

Funny thing, with '+set vid_renderer 0' crash doesn't happen.
User avatar
VoidMage
 
Joined: 02 Dec 2010

Re: [Linux] Some PNG textures cause segfaults

Postby Graf Zahl » Fri Apr 15, 2016 4:17 am

The software renderer never calls CopyTrueColorPixels. That's only used by GZDoom and the hardware 2D code.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: [Linux] Some PNG textures cause segfaults

Postby Edward-san » Fri Apr 15, 2016 5:24 am

Attached a crash log with debug enabled. What's going on? I'll try with Valgrind or the address sanitizer.
You do not have the required permissions to view the files attached to this post.
Edward-san
Mathematics is the language with which God has written the universe. (Galilei)
 
Joined: 17 Oct 2009

Re: [Linux] Some PNG textures cause segfaults

Postby Edward-san » Fri Apr 15, 2016 6:15 am

Attached a backtrace at the moment the function FPNGTexture::CopyTrueColorPixels is entered after the summon command. At least this is showing correctly.
You do not have the required permissions to view the files attached to this post.
Edward-san
Mathematics is the language with which God has written the universe. (Galilei)
 
Joined: 17 Oct 2009

Re: [Linux] Some PNG textures cause segfaults

Postby VoidMage » Fri Apr 15, 2016 6:21 am

Well, no real progress, but I need to mention, that I've tried clang and it crashes just the same.

It also hates something about your coding style: with '-Wall', it floods with 'warning: '<foo>' overrides a member function but is not marked 'override'' in dobject.h and dobject.h.

AFAICT, there aren't any other warnings for pngtexture.cpp.
User avatar
VoidMage
 
Joined: 02 Dec 2010

Re: [Linux] Some PNG textures cause segfaults

Postby Graf Zahl » Fri Apr 15, 2016 6:32 am

Can't you try a debugger so see what's up there?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: [Linux] Some PNG textures cause segfaults

Postby _mental_ » Fri Apr 15, 2016 6:51 am

It looks like a stack overwrite happened at line 657. What is the value of len variable at line 653? I guess it's greater than 256.
_mental_
 
 
 
Joined: 07 Aug 2011

Re: [Linux] Some PNG textures cause segfaults

Postby Edward-san » Fri Apr 15, 2016 6:52 am

At a certain point, in the while loop at line 636 in pngtexture.cpp, 'len' has value '6', then becomes '28326' with the biglong conversion, 'id' is:

{'\a','\221','\0','\0'} (37127)

while 'lump' has:
'Length = 2853, StartPos = 351, FilePos = 424'.

Then, it goes to the 'default' switch, making the code execute 'lump->Seek (len, SEEK_CUR)', making 'lump' containing
'Length = 2853, StartPos = 351, FilePos = 28750'.

Does this help?

[edit] The grAb chunk is found but it's not handled in the switch. Is that okay?
Edward-san
Mathematics is the language with which God has written the universe. (Galilei)
 
Joined: 17 Oct 2009

Next

Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 0 guests