Unreasonable debug.log

howdy
running cataclysmdda-0.C-3361.zip in fullscreen and as soon as i load a game and then alt-tab to a different window the log file starts filling with like few megabytes of this mysterious message every second
doesn’t happen if it’s not fullscreen but who would want to live like that

20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL
20:39:24.36 SDL : src/cata_tiles.cpp:936: SDL_RenderCopyEx() failed: SetTexture(): INVALIDCALL

Try toggling software/hardware rendering in the options menu.
? 2 Tab Tab "Software Rendering"
The error seems to occur when SDL thinks it can provide hardware acceleration but it can’t.
My guess is some drivers lie to SDL about their capabilities, so once it tries to use them you get these errors.

it only happens when the game is minimized in background, otherwise the hardware rendering works fine. maybe when you alt-tab away and the graphics card switches back to power saving mode, it messes with whatever SDL has going on?
found a better bug report about this, seems DanmakuDan is still active on github

I think at least on Windows, SDL hardware acceleration uses DirectX9, which can lose the rendering context when switching away from a fullscreen app. The log file reached 4 GB when I tried recently. The software renderer/OpenGL doesn’t seem to have a problem with tabbing though.

yeah the error logging issue is much uglier than the whatever causes it, my debug.log and debug.log.prev were both ten gigabytes of this same error message repeated over and over, a thousand times per second before i set em read-only