I am developing an application in SDL2. It works OK most of the time. But once in a while, it will crash while just going to refresh the screen with new content with SDL_RenderPresent(). The backtrace from gdb shows:
#0 0x00007ffff73a1c7b in raise () from /lib64/libc.so.6 #1 0x00007ffff7382548 in abort () from /lib64/libc.so.6 #2 0x00007ffff35a682b in ?? () from /usr/lib64/xorg/modules/dri/iris_dri.so #3 0x00007ffff40a5886 in ?? () from /usr/lib64/xorg/modules/dri/iris_dri.so #4 0x00007ffff35c29e9 in ?? () from /usr/lib64/xorg/modules/dri/iris_dri.so #5 0x00007ffff35b6d2b in ?? () from /usr/lib64/xorg/modules/dri/iris_dri.so #6 0x00007ffff4ef99e0 in glPrimitiveBoundingBox () from /usr/lib64/libGLX_mesa.so.0 #7 0x00007ffff4eecad1 in ?? () from /usr/lib64/libGLX_mesa.so.0 #8 0x00007ffff7ef6283 in ?? () from /usr/lib64/libSDL2-2.0.so.0 #9 0x0000000000415f42 in refresh_display (ctx=0x7fffffffd370) at gui/main.c:1077 #10 0x0000000000413c79 in main_loop_handler (ctx=0x7fffffffd370) at gui/main.c:362 #11 0x0000000000413b22 in main (argc=1, argv=0x7fffffffdd58) at gui/main.c:323
I searched around the web with SDL2 crashing during
There is just a little problem, there is no more
No comments:
Post a Comment