View Issue Details

IDProjectCategoryView StatusLast Update
0000110Software Renderer[All Projects] Bugpublic2017-01-25 17:59
ReporterMarisaKirisame 
Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Platformx86_64OSArch LinuxOS VersionN/A
Summary0000110: Crash on launch on OpenGL 2.1 system
DescriptionRunning QZDoom crashes instantly on my laptop. I built with debugging to provide as much info as possible. I personally have no idea what the problem is, but here's the log anyway:

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

System: Linux Tomoko 4.4.43-1-lts #1 SMP Sun Jan 15 15:03:41 CET 2017 x86_64 GNU/Linux

QZDoom version q1.3pre-412-g6586877ac (6586877ac542c26ae0828258f11743eaa5415a7c)
Compiler version: 6.3.1 20170109

Command line: /usr/lib/qzdoom/qzdoom

Wad 0: qzdoom.pk3
Wad 1: doom2.wad

Not in a level.

Executing: gdb --quiet --batch --command=gdb-respfile-t0iUNI
[New LWP 27081]
[New LWP 27082]
[New LWP 27083]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x00007fc7cdb0eafb in waitpid () from /usr/lib/libpthread.so.0

* Loaded Libraries
From                To                  Syms Read   Shared Object Library
0x00007fc7cdd32de0  0x00007fc7cddeddf6  Yes (*)     /usr/lib/libSDL2-2.0.so.0
0x00007fc7cdb03a50  0x00007fc7cdb107f1  Yes (*)     /usr/lib/libpthread.so.0
0x00007fc7cd8f80d0  0x00007fc7cd8faecf  Yes (*)     /usr/lib/librt.so.1
0x00007fc7cd6e14f0  0x00007fc7cd6ee327  Yes (*)     /usr/lib/libz.so.1
0x00007fc7cd479020  0x00007fc7cd4b4570  Yes (*)     /usr/lib/libjpeg.so.8
0x00007fc7cd266700  0x00007fc7cd272340  Yes (*)     /usr/lib/libbz2.so.1.0
0x00007fc7cd01f0d0  0x00007fc7cd04e8a2  Yes (*)     /usr/lib/libgme.so.0
0x00007fc7cce14d80  0x00007fc7cce1593e  Yes (*)     /usr/lib/libdl.so.2
0x00007fc7ccba28b0  0x00007fc7ccbf2000  Yes (*)     /usr/lib/libsndfile.so.1
0x00007fc7cc942060  0x00007fc7cc97ccae  Yes (*)     /usr/lib/libmpg123.so.0
0x00007fc7cc640850  0x00007fc7cc6f0019  Yes         /usr/lib/libstdc++.so.6
0x00007fc7cc2b6670  0x00007fc7cc32294a  Yes (*)     /usr/lib/libm.so.6
0x00007fc7cc09ca90  0x00007fc7cc0ac8a5  Yes         /usr/lib/libgcc_s.so.1
0x00007fc7cbd1b8f0  0x00007fc7cbe44d53  Yes (*)     /usr/lib/libc.so.6
0x00007fc7ce035b70  0x00007fc7ce050bc0  Yes (*)     /lib64/ld-linux-x86-64.so.2
0x00007fc7cba8f430  0x00007fc7cbaf0ced  Yes (*)     /usr/lib/libFLAC.so.8
0x00007fc7cb880bd0  0x00007fc7cb8830b5  Yes (*)     /usr/lib/libogg.so.0
0x00007fc7cb6558e0  0x00007fc7cb66bd8d  Yes (*)     /usr/lib/libvorbis.so.0
0x00007fc7cb3b2b90  0x00007fc7cb3b51a7  Yes (*)     /usr/lib/libvorbisenc.so.2
0x00007fc7cb17f200  0x00007fc7cb194932  Yes (*)     /usr/lib/libudev.so.1
0x00007fc7caf732b0  0x00007fc7caf77745  Yes (*)     /usr/lib/libnss_compat.so.2
0x00007fc7cad5dfd0  0x00007fc7cad692d1  Yes (*)     /usr/lib/libnsl.so.1
0x00007fc7cab500e0  0x00007fc7cab563f7  Yes (*)     /usr/lib/libnss_nis.so.2
0x00007fc7ca93e1d0  0x00007fc7ca943e91  Yes (*)     /usr/lib/libnss_files.so.2
0x00007fc7ca0e3470  0x00007fc7ca40c659  Yes (*)     /usr/lib/libgtk-3.so.0
0x00007fc7c9da9ec0  0x00007fc7c9e0fe61  Yes (*)     /usr/lib/libgdk-3.so.0
0x00007fc7c9b81180  0x00007fc7c9b82085  Yes (*)     /usr/lib/libgmodule-2.0.so.0
0x00007fc7c9977960  0x00007fc7c997c716  Yes (*)     /usr/lib/libpangocairo-1.0.so.0
0x00007fc7c9651b90  0x00007fc7c96d88f4  Yes (*)     /usr/lib/libX11.so.6
0x00007fc7c9425380  0x00007fc7c942fbd7  Yes (*)     /usr/lib/libXi.so.6
0x00007fc7c921e630  0x00007fc7c9220966  Yes (*)     /usr/lib/libXfixes.so.3
0x00007fc7c9017530  0x00007fc7c90184c9  Yes (*)     /usr/lib/libcairo-gobject.so.2
0x00007fc7c8cfa1f0  0x00007fc7c8dcedf8  Yes (*)     /usr/lib/libcairo.so.2
0x00007fc7c8ac65b0  0x00007fc7c8adb7a9  Yes (*)     /usr/lib/libgdk_pixbuf-2.0.so.0
0x00007fc7c88a4630  0x00007fc7c88b0b93  Yes (*)     /usr/lib/libatk-1.0.so.0
0x00007fc7c8674700  0x00007fc7c8688ab9  Yes (*)     /usr/lib/libatk-bridge-2.0.so.0
0x00007fc7c83ce020  0x00007fc7c8410006  Yes (*)     /usr/lib/libepoxy.so.0
0x00007fc7c8168320  0x00007fc7c817088d  Yes (*)     /usr/lib/libpangoft2-1.0.so.0
0x00007fc7c7f22530  0x00007fc7c7f41886  Yes (*)     /usr/lib/libpango-1.0.so.0
0x00007fc7c7cd81a0  0x00007fc7c7cf7dda  Yes (*)     /usr/lib/libfontconfig.so.1
0x00007fc7c7973f00  0x00007fc7c7a4ea8e  Yes (*)     /usr/lib/libgio-2.0.so.0
0x00007fc7c76f5ed0  0x00007fc7c77268e6  Yes (*)     /usr/lib/libgobject-2.0.so.0
0x00007fc7c73f2cd0  0x00007fc7c746aac9  Yes (*)     /usr/lib/libglib-2.0.so.0
0x00007fc7c71d5ba0  0x00007fc7c71d6494  Yes (*)     /usr/lib/libXinerama.so.1
0x00007fc7c6fcbdd0  0x00007fc7c6fd1ec5  Yes (*)     /usr/lib/libXrandr.so.2
0x00007fc7c6dc1b70  0x00007fc7c6dc6677  Yes (*)     /usr/lib/libXcursor.so.1
0x00007fc7c6bbcd00  0x00007fc7c6bbd715  Yes (*)     /usr/lib/libXcomposite.so.1
0x00007fc7c69b9c90  0x00007fc7c69ba5bb  Yes (*)     /usr/lib/libXdamage.so.1
0x00007fc7c677d640  0x00007fc7c67984da  Yes (*)     /usr/lib/libxkbcommon.so.0
0x00007fc7c6572270  0x00007fc7c6573e01  Yes (*)     /usr/lib/libwayland-cursor.so.0
0x00007fc7c636f6e0  0x00007fc7c636f8d6  Yes (*)     /usr/lib/libwayland-egl.so.1
0x00007fc7c6165750  0x00007fc7c6169fef  Yes (*)     /usr/lib/libwayland-client.so.0
0x00007fc7c5f51970  0x00007fc7c5f5b74f  Yes (*)     /usr/lib/libXext.so.6
0x00007fc7c5c99630  0x00007fc7c5d11ac5  Yes (*)     /usr/lib/libfreetype.so.6
0x00007fc7c5a702d0  0x00007fc7c5a82185  Yes (*)     /usr/lib/libxcb.so.1
0x00007fc7c57c6900  0x00007fc7c584ad10  Yes (*)     /usr/lib/libpixman-1.so.0
0x00007fc7c558ffc0  0x00007fc7c55aab99  Yes (*)     /usr/lib/libEGL.so.1
0x00007fc7c5357e20  0x00007fc7c537ab9f  Yes (*)     /usr/lib/libpng16.so.16
0x00007fc7c514ee70  0x00007fc7c514f983  Yes (*)     /usr/lib/libxcb-shm.so.0
0x00007fc7c4f454d0  0x00007fc7c4f49df8  Yes (*)     /usr/lib/libxcb-render.so.0
0x00007fc7c4d36bf0  0x00007fc7c4d3cc45  Yes (*)     /usr/lib/libXrender.so.1
0x00007fc7c4adbd80  0x00007fc7c4b1a552  Yes (*)     /usr/lib/libGL.so.1
0x00007fc7c48a1fb0  0x00007fc7c48b36d8  Yes (*)     /usr/lib/libatspi.so.0
0x00007fc7c4650590  0x00007fc7c467af44  Yes (*)     /usr/lib/libdbus-1.so.3
0x00007fc7c43c3140  0x00007fc7c440bf09  Yes (*)     /usr/lib/libharfbuzz.so.0
0x00007fc7c41b3040  0x00007fc7c41b6a93  Yes (*)     /usr/lib/libthai.so.0
0x00007fc7c3f8aed0  0x00007fc7c3fa3559  Yes (*)     /usr/lib/libexpat.so.1
0x00007fc7c3d73970  0x00007fc7c3d7fa42  Yes (*)     /usr/lib/libresolv.so.2
0x00007fc7c3b2dcb0  0x00007fc7c3b5c6b9  Yes (*)     /usr/lib/libmount.so.1
0x00007fc7c391aac0  0x00007fc7c391f424  Yes (*)     /usr/lib/libffi.so.6
0x00007fc7c36a7700  0x00007fc7c36f9b71  Yes (*)     /usr/lib/libpcre.so.1
0x00007fc7c34a2f20  0x00007fc7c34a3b9c  Yes (*)     /usr/lib/libXau.so.6
0x00007fc7c329d520  0x00007fc7c329eeb8  Yes (*)     /usr/lib/libXdmcp.so.6
0x00007fc7c309a5b0  0x00007fc7c309a6cb  Yes (*)     /usr/lib/libX11-xcb.so.1
0x00007fc7c2e96a00  0x00007fc7c2e97b25  Yes (*)     /usr/lib/libxcb-dri2.so.0
0x00007fc7c2c8fe30  0x00007fc7c2c92365  Yes (*)     /usr/lib/libxcb-xfixes.so.0
0x00007fc7c2a8ad90  0x00007fc7c2a8b543  Yes (*)     /usr/lib/libxcb-dri3.so.0
0x00007fc7c2887e50  0x00007fc7c28886d6  Yes (*)     /usr/lib/libxcb-present.so.0
0x00007fc7c2682440  0x00007fc7c2684492  Yes (*)     /usr/lib/libxcb-sync.so.1
0x00007fc7c247d9d0  0x00007fc7c247dcbc  Yes (*)     /usr/lib/libxshmfence.so.1
0x00007fc7c2272b00  0x00007fc7c2277825  Yes (*)     /usr/lib/libgbm.so.1
0x00007fc7c2063c10  0x00007fc7c2069a1f  Yes (*)     /usr/lib/libwayland-server.so.0
0x00007fc7c1e50e90  0x00007fc7c1e586a0  Yes (*)     /usr/lib/libdrm.so.2
0x00007fc7c1c282e0  0x00007fc7c1c33330  Yes (*)     /usr/lib/libglapi.so.0
0x00007fc7c1a0d720  0x00007fc7c1a157c5  Yes (*)     /usr/lib/libxcb-glx.so.0
0x00007fc7c17fd080  0x00007fc7c17ff988  Yes (*)     /usr/lib/libXxf86vm.so.1
0x00007fc7c15ef1e0  0x00007fc7c15f3fdd  Yes (*)     /usr/lib/libsystemd.so.0
0x00007fc7c13bf880  0x00007fc7c13e0b98  Yes (*)     /usr/lib/libgraphite2.so.3
0x00007fc7c11b6420  0x00007fc7c11b98ad  Yes (*)     /usr/lib/libdatrie.so.1
0x00007fc7c0f78140  0x00007fc7c0fa1909  Yes (*)     /usr/lib/libblkid.so.1
0x00007fc7c0d6b5b0  0x00007fc7c0d6cc81  Yes (*)     /usr/lib/libuuid.so.1
0x00007fc7c07960b0  0x00007fc7c07981c0  Yes (*)     /usr/lib/gtk-3.0/modules/libcanberra-gtk-module.so

0x00007fc7c0590ca0  0x00007fc7c059225e  Yes (*)     /usr/lib/libcanberra-gtk3.so.0
0x00007fc7c03804c0  0x00007fc7c0389a9a  Yes (*)     /usr/lib/libcanberra.so.0
0x00007fc7c01760d0  0x00007fc7c017a49c  Yes (*)     /usr/lib/libvorbisfile.so.3
0x00007fc7bff615a0  0x00007fc7bff6cef8  Yes (*)     /usr/lib/libtdb.so.1
0x00007fc7bfd56520  0x00007fc7bfd5a8e2  Yes (*)     /usr/lib/libltdl.so.7
0x00007fc7bf861d60  0x00007fc7bf8bafbc  Yes (*)     /usr/lib/libopenal.so.1
0x00007fc7bf61b890  0x00007fc7bf63ede8  Yes (*)     /usr/lib/libjack.so.0
0x00007fc7bf34b4e0  0x00007fc7bf378189  Yes (*)     /usr/lib/libpulse.so.0
0x00007fc7bf0cff00  0x00007fc7bf1147b9  Yes (*)     /usr/lib/pulseaudio/libpulsecommon-10.0.so
0x00007fc7beeb4360  0x00007fc7beeb69b8  Yes (*)     /usr/lib/libasyncns.so.0
0x00007fc7be3d4710  0x00007fc7be46a3f5  Yes (*)     /usr/lib/libasound.so.2
0x00007fc7bc959520  0x00007fc7bcea1639  Yes (*)     /usr/lib/xorg/modules/dri/i965_dri.so
0x00007fc7bc604200  0x00007fc7bc6c4818  Yes (*)     /usr/lib/libgcrypt.so.20
0x00007fc7bc3d8110  0x00007fc7bc3ed972  Yes (*)     /usr/lib/libdrm_intel.so.1
0x00007fc7bc1cea70  0x00007fc7bc1d294f  Yes (*)     /usr/lib/libdrm_nouveau.so.2
0x00007fc7b7df5800  0x00007fc7b7dfd12a  Yes (*)     /usr/lib/libdrm_radeon.so.1
0x00007fc7b7be2b70  0x00007fc7b7bec2c9  Yes (*)     /usr/lib/libgpg-error.so.0
0x00007fc7b79d8430  0x00007fc7b79dc895  Yes (*)     /usr/lib/libpciaccess.so.0
0x00007fc7b77d17c0  0x00007fc7b77d43e7  Yes (*)     /usr/lib/libtxc_dxtn.so
(*): Shared library is missing debugging information.

* Threads
  Id   Target Id         Frame 
* 1    Thread 0x7fc7ce24db80 (LWP 27066) "qzdoom" 0x00007fc7cdb0eafb in waitpid () from /usr/lib/libpthread.so.0
  
2    Thread 0x7fc7be36e700 (LWP 27081) "qzdoom" 0x00007fc7cbddb48d in poll () from /usr/lib/libc.so.6
  
3    Thread 0x7fc7beeb2700 (LWP 27082) "SDLTimer" 0x00007fc7cdb0d4f7 in do_futex_wait.constprop 
() from /usr/lib/libpthread.so.0
  4    Thread 0x7fc7bda54740 (LWP 27083) "qzdoom" 0x00007fc7cd8fabe5 in ?? () from /usr/lib/librt.so.1


* 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            0x6afc	27388
rcx            0x7fc7cdb0eafb	140496126143227
rdx            0x0	0
rsi            0x10d474c	17647436
rdi            0x6afc	27388
rbp            0x10d474c	0x10d474c <altstack+7148>
rsp            0x10d4710	0x10d4710 <altstack+7088>
r8             0x0	0
r9             0x7fc7ce24db80	140496133741440
r10            0x0	0
r11            0x246	582
r12            0x0	0
r13            0xc00	3072
r14            0x31e87b0	52332464
r15            0x8	8
rip            0x7fc7cdb0eafb	0x7fc7cdb0eafb <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 4 (Thread 0x7fc7bda54740 (LWP 27083)):
#0  0x00007fc7cd8fabe5 in  () at /usr/lib/librt.so.1
#1  0x00007fc7cdb05454 in start_thread () at /usr/lib/libpthread.so.0
0000002  0x00007fc7cbde47df 
in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fc7beeb2700 (LWP 27082)):
#0  0x00007fc7cdb0d4f7 in do_futex_wait.constprop () at /usr/lib/libpthread.so.0
#1  0x00007fc7cdb0d5a4 in __new_sem_wait_slow.constprop.0 () at /usr/lib/libpthread.so.0
0000002  0x00007fc7cdde7bae 
in  () at /usr/lib/libSDL2-2.0.so.0
0000003  0x00007fc7cdde7d05 
in  () at /usr/lib/libSDL2-2.0.so.0
0000004  
0x00007fc7cdd9869c in  () at /usr/lib/libSDL2-2.0.so.0
0000005  
0x00007fc7cdd982dc in  () at /usr/lib/libSDL2-2.0.so.0
0000006  
0x00007fc7cdde78a9 in  () at /usr/lib/libSDL2-2.0.so.0
0000007  
0x00007fc7cdb05454 in start_thread () at /usr/lib/libpthread.so.0
0000008  0x00007fc7cbde47df 
in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fc7be36e700 (LWP 27081)):
#0  0x00007fc7cbddb48d in poll () at /usr/lib/libc.so.6
#1  0x00007fc7be3f965e in  () at /usr/lib/libasound.so.2
0000002  0x00007fc7be3f992b 
in snd_pcm_wait () at /usr/lib/libasound.so.2
0000003  0x00007fc7bf8afb41 
in  () at /usr/lib/libopenal.so.1
0000004  
0x00007fc7bf8ba6c7 in  () at /usr/lib/libopenal.so.1
0000005  
0x00007fc7cdb05454 in start_thread () at /usr/lib/libpthread.so.0
0000006  
0x00007fc7cbde47df in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fc7ce24db80 (LWP 27066)):
#0  0x00007fc7cdb0eafb in waitpid () at /usr/lib/libpthread.so.0
#1  0x0000000000532abd in crash_catcher (signum=11, siginfo=<optimized out>, context=<optimized 
out>) at /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/posix/sdl/crashcatcher.c:252
        status = 0
        dbg_pid = 27388
        fd = {17, 18}
0000002  0x00007fc7cdb0f080 
in <signal handler called> () at /usr/lib/libpthread.so.0
0000003  0x000000000070812a 
in OpenGLSWFrameBuffer::BindFBBuffer() (this=0x4a8a530) at /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/gl/system/gl_swframebuffer.cpp:1297
        
usage = 35048
        pixelsize = 1
        size = 307200
0000004  
0x0000000000708247 in OpenGLSWFrameBuffer::Lock(bool) (this=0x4a8a530, buffered=<optimized out>) 
at /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/gl/system/gl_swframebuffer.cpp:1101
        __PRETTY_FUNCTION__ = "virtual bool OpenGLSWFrameBuffer::Lock(bool)"
0000005  
0x0000000000596444 in swrenderer::RenderScene::ScreenResized() (this=<optimized out>) at /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/swrenderer/scene/r_scene.cpp:254
        
trueratio = 1.33333337
0000006  
0x000000000057abf7 in FSoftwareRenderer::OnModeSet() (this=<optimized out>) at /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/swrenderer/r_swrenderer.cpp:242

0000007  
0x000000000090c4d4 in V_UpdateModeSize(int, int) (width=640, height=480) at /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/v_video.cpp:1495
        
cx1 = 2
        cx2 = 2
        __PRETTY_FUNCTION__ = "void V_UpdateModeSize(int, int)"
0000008  0x000000000090c642 
in V_DoModeSetup(int, int, int) (width=<optimized out>, width@entry=640, height=<optimized out>, 
height@entry=480, bits=bits@entry=24) at /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/v_video.cpp:1443
        
buff = <optimized out>
0000009  0x000000000053d970 
in SDLGLVideo::SetResolution(int, int, int) (this=<optimized out>, width=640, height=480, bits=24) 
at /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/posix/sdl/sdlglvideo.cpp:272
0000010 
0x000000000090bf7b in V_Init2() () at /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/v_video.cpp:1713
        
__PRETTY_FUNCTION__ = "void V_Init2()"
        width = 640
        height = 480
        gamma = 1
0000011 
0x0000000000752eaf in D_DoomMain() () at /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/d_main.cpp:2602
        
iwad = {Chars = 0x10d0aac <FString::NullString+12> "", static NullString = {Len = 0, 
AllocLen = 2, RefCount = 10007, Nothing = "\000"}}
        iwad_info = <optimized out>
        exec = <optimized out>
        probe = <optimized out>
        p = <optimized out>
        v = <optimized out>
        wad = <optimized out>
        execFiles = <optimized out>
        pwads = {Array = 0x0, Count = 0, Most = 0}
        args = 0x0
        iwad_man = 0x0
        batchout = <optimized out>
        logfile = {Chars = 0x10d0aac <FString::NullString+12> "", static NullString = 
{Len = 0, AllocLen = 2, RefCount = 10007, Nothing = "\000"}}
        basewad = {Chars = 0x31e878c "/usr/lib/qzdoom/qzdoom.pk3", static NullString = {Len 
= 0, AllocLen = 2, RefCount = 10007, Nothing = "\000"}}
0000012 
0x000000000053b0fe in main(int, char**) (argc=1, argv=0x7ffdd8a0e948) at /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/posix/sdl/i_main.cpp:259
        
program = "/usr/lib/qzdoom/\000zdoom\000\000\003\000\000\000\307\177\000\000\000\260\"\000\000\000\000\000\000\320\"\000\000\000\000\000\020\303\"\000\000\000\000\000\030\303\"\000\000\000\000\000\000\260\002\000\000\000\000\000\353\272\003\316\307\177\000\000\000P 
\000\000\000\000\000\000٠\330\375\177\000\000H۠\330\375\177\000\000\210۠\330\375\177\000\000\000P\000\000\000\000\000\000\004", 
'\000' <repeats 15 times>, "\260\233%\316\307\177\000\000\t٠\330\375\177\000\000\000٠\330\375\177\000\000\240ڠ\330\375\177\000\000F\300\003\316\307\177\000\000\000\000\000\000\000\000\000\000X\002\004\316\307\177\000\000\330)%\316\307\177\000\000\033\000\000\000\000\000\000\000"...

TagsNo tags attached.

Relationships

Activities

MarisaKirisame

MarisaKirisame

2017-01-23 16:59

reporter   ~0000219

The game is launched in a clean setup (qzdoom.ini deleted), by the way.
dpJudas

dpJudas

2017-01-23 17:33

developer   ~0000220

in OpenGLSWFrameBuffer::BindFBBuffer() at qzdoom/src/gl/system/gl_swframebuffer.cpp:1297
	int usage = UseMappedMemBuffer ? GL_DYNAMIC_DRAW : GL_STREAM_DRAW;

    int pixelsize = IsBgra() ? 4 : 1;
    int size = Width * Height * pixelsize;

>	if (FBTexture->Buffers[0] == 0)
    {
        glGenBuffers(2, (GLuint*)FBTexture->Buffers);
        glBindBuffer(GL_PIXEL_UNPACK_BUFFER, FBTexture->Buffers[1]);
Accessing null+4. Buffers[0] is 4 bytes into HWTexture. FBTexture is probably null.

Callstack:
  1. in OpenGLSWFrameBuffer::BindFBBuffer() at gl_swframebuffer.cpp:1297
  2. in OpenGLSWFrameBuffer::Lock(bool) at gl_swframebuffer.cpp:1101
  3. in swrenderer::RenderScene::ScreenResized() at r_scene.cpp:254
  4. in FSoftwareRenderer::OnModeSet() at r_swrenderer.cpp:242
  5. in V_UpdateModeSize(int, int) (width=640, height=480) at v_video.cpp:1495
  6. in V_DoModeSetup(int, int, int) at v_video.cpp:1443
  7. in SDLGLVideo::SetResolution in sdlglvideo.cpp:272
  8. in V_Init2() at v_video.cpp:1713
  9. in D_DoomMain() at d_main.cpp:2602
  10. in main(int, char**) at i_main.cpp:259
dpJudas

dpJudas

2017-01-23 21:46

developer   ~0000221

I checked in some code that hopefully should fix this.
MarisaKirisame

MarisaKirisame

2017-01-24 01:40

reporter   ~0000222

Last edited: 2017-01-24 01:40

View 2 revisions

Build failed.


In file included from /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/posix/sdl/hardware.cpp:46:0:

/home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/posix/sdl/sdlvideo.h:33:14: error: ‘SDL_Window* 
SDLFB::GetSDLWindow()’ marked ‘override’, but does not override
  SDL_Window *GetSDLWindow() override { return Screen; }
              ^~~~~~~~~~~~


MarisaKirisame

MarisaKirisame

2017-01-24 15:06

reporter   ~0000227

Some more build errors after your fix.

/home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/posix/sdl/sdlvideo.cpp: In constructor ‘SDLFB::SDLFB(int, 
int, bool, bool, SDL_Window*)’:
/home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/posix/sdl/sdlvideo.cpp:113:4: error: type ‘DFrameBuffer’ 
is not a direct base of ‘SDLFB’
  : DFrameBuffer (width, height, bgra)
    ^~~~~~~~~~~~
make[2]: *** [src/CMakeFiles/zdoom.dir/build.make:372: src/CMakeFiles/zdoom.dir/posix/sdl/sdlvideo.cpp.o] 
Error 1
make[2]: *** Waiting for unfinished jobs....
/home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/posix/sdl/sdlglvideo.cpp: In member function ‘virtual 
DFrameBuffer* SDLGLVideo::CreateFrameBuffer(int, int, bool, bool, DFrameBuffer*)’:
/home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/posix/sdl/sdlglvideo.cpp:177:11: error: ‘int DCanvas::Width’ 
is protected within this context
   if (fb->Width == width &&
           ^~~~~
In file included from /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/posix/sdl/sdlglvideo.cpp:9:0:

/home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/v_video.h:272:6: note: declared protected here
  
int Width;
      ^~~~~
/home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/posix/sdl/sdlglvideo.cpp:178:8: error: ‘int DCanvas::Height’ 
is protected within this context
    fb->Height == height)
        ^~~~~~
In file included from /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/posix/sdl/sdlglvideo.cpp:9:0:

/home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/v_video.h:273:6: note: declared protected here
  
int Height;
      ^~~~~~
/home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/posix/sdl/sdlglvideo.cpp: In constructor ‘SDLGLFB::SDLGLFB(void*, 
int, int, int, int, bool, bool)’:
/home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/posix/sdl/sdlglvideo.cpp:329:4: error: type ‘DFrameBuffer’ 
is not a direct base of ‘SDLGLFB’
  : DFrameBuffer (width, height, bgra)
    ^~~~~~~~~~~~

They just keep comin'
dpJudas

dpJudas

2017-01-25 00:29

developer   ~0000229

Should be building now.
MarisaKirisame

MarisaKirisame

2017-01-25 05:19

reporter   ~0000232

Builds, and runs.

Issue History

Date Modified Username Field Change
2017-01-23 16:56 MarisaKirisame New Issue
2017-01-23 16:59 MarisaKirisame Note Added: 0000219
2017-01-23 17:33 dpJudas Note Added: 0000220
2017-01-23 21:46 dpJudas Note Added: 0000221
2017-01-24 01:40 MarisaKirisame Note Added: 0000222
2017-01-24 01:40 MarisaKirisame Note Edited: 0000222 View Revisions
2017-01-24 15:06 MarisaKirisame Note Added: 0000227
2017-01-25 00:29 dpJudas Note Added: 0000229
2017-01-25 05:19 MarisaKirisame Note Added: 0000232
2017-01-25 17:59 dpJudas Status new => resolved
2017-01-25 17:59 dpJudas Resolution open => fixed