Skip to content

Instantly share code, notes, and snippets.

@jyrkive
Created September 23, 2017 12:46
Show Gist options
  • Save jyrkive/8550187eb37de756cdc6b8e2fd999f50 to your computer and use it in GitHub Desktop.
Save jyrkive/8550187eb37de756cdc6b8e2fd999f50 to your computer and use it in GitHub Desktop.
Wesnoth crash with SDL 2.0.6
Thread 1 "wesnoth-debug" received signal SIGSEGV, Segmentation fault.
SDL_ConvertSurface_REAL (surface=surface@entry=0x555557480d70, format=format@entry=0x5555574813b0,
flags=flags@entry=0) at /home/jyrki/wesnoth/SDL2-2.0.6/src/video/SDL_surface.c:937
937 copy_color.r = surface->map->info.r;
(gdb) bt
#0 SDL_ConvertSurface_REAL (surface=surface@entry=0x555557480d70,
format=format@entry=0x5555574813b0, flags=flags@entry=0)
at /home/jyrki/wesnoth/SDL2-2.0.6/src/video/SDL_surface.c:937
#1 0x00007ffff7b689e7 in SDL_ConvertSurfaceFormat_REAL (surface=surface@entry=0x555557480d70,
pixel_format=pixel_format@entry=372645892, flags=flags@entry=0)
at /home/jyrki/wesnoth/SDL2-2.0.6/src/video/SDL_surface.c:1051
#2 0x00007ffff7b6bba9 in SDL_SetWindowIcon_REAL (window=0x555557371ee0, icon=0x555557480d70)
at /home/jyrki/wesnoth/SDL2-2.0.6/src/video/SDL_video.c:1704
#3 0x0000555556618f7d in sdl::window::set_icon (this=0x55555736a780, icon=...)
at src/sdl/window.cpp:142
#4 0x00005555565d4a87 in CVideo::set_window_icon (this=0x555557210770, icon=...)
at src/video.cpp:342
#5 0x00005555558c7630 in game_launcher::init_video (this=0x5555572173a0)
at src/game_launcher.cpp:358
#6 0x0000555555847292 in do_gameloop (args=...) at src/wesnoth.cpp:613
#7 0x000055555584882f in main (argc=1, argv=0x7fffffffdf88) at src/wesnoth.cpp:1065
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment