Open PreciousFood opened 1 month ago
gdb stacktrace :
Thread 1 "python" received signal SIGSEGV, Segmentation fault.
Downloading source file /usr/src/libsdl2-2.30.0+dfsg-1build3/src/video/SDL_blit_copy.c
SDL_memcpySSE (len=<optimized out>, src=0x1112560 "",
dst=0x7ffdf94508a0 <error: Cannot access memory at address 0x7ffdf94508a0>)
at /usr/src/libsdl2-2.30.0+dfsg-1build3/src/video/SDL_blit_copy.c:41
41 _mm_stream_ps((float *)(dst + 16), values[1]);
Specific line in surface.c
:
3895| result = SDL_BlitSurface(src, srcrect, dst, dstrect);
Environment:
Current behavior:
A fatal python error occurs when blitting a surface onto a large coordinate on a large surface.
The provided code is a stripped down version of the project I was working on. When I was testing it I decided to see what would happen when the surface got large. My computer bluescreened with a VIDEO TDR FAILURE. This only happened the first time. I have only gotten the fatal python error since then.
It is possible that this is connected to #2288 although that claims to be fixed in SDL 2.30.x Also might be connected to #2961 as both have to do with drawing on large surfaces
Expected behavior:
No error/crash or at the verry least an error explaining that the operation is not possible due to whatever applicable limitations
Steps to reproduce:
Run the following...
Result...