(gdb) bt #0 0x00007ffff0c81e7b in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 #1 0x00007ffff0c83231 in __GI_abort () at abort.c:79 #2 0x00007ffff0cc47b7 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff0dcd0f3 "%s\n") at ../sysdeps/posix/libc_fatal.c:181 #3 0x00007ffff0ccad5a in malloc_printerr (str=str@entry=0x7ffff0dcee00 "double free or corruption (!prev)") at malloc.c:5350 #4 0x00007ffff0ccc81c in _int_free (av=0x7ffff1001c40 <main_arena>, p=0x555558333a70, have_lock=<optimized out>) at malloc.c:4281 #5 0x00007ffff43169ff in () at /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 #6 0x00007ffff4349e61 in () at /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 #7 0x000055555636d3ec in surface::free_surface() () #8 0x00005555558b34d5 in gui2::image::calculate_best_size() const () #9 0x0000555555b32716 in gui2::widget::get_best_size() const () #10 0x0000555555af4b14 in gui2::grid::child::get_best_size() const () #11 0x0000555555af6bff in gui2::grid::calculate_best_size() const () #12 0x0000555555b32716 in gui2::widget::get_best_size() const () #13 0x0000555555a7eb2d in gui2::container_base::calculate_best_size() const () #14 0x0000555555b32716 in gui2::widget::get_best_size() const () #15 0x0000555555931320 in gui2::window_implementation::layout(gui2::window&, unsigned int, unsigned int) () #16 0x00005555559328d4 in gui2::window::layout() () #17 0x00005555559339eb in gui2::window::draw() () #18 0x0000555555a1ba73 in bool gui2::event::implementation::fire_event<std::function<void (gui2::widget&, gui2::event::ui_event, bool&, bool&)>>(gui2::event::ui_event, std::vector<std::pair<gui2::widget*, gui2::event::ui_event>, std::allocator<std::pair<gui2::widget*, gui2::event::ui_event> > >&, gui2::widget*, gui2::widget*) () #19 0x0000555555a18e88 in gui2::event::dispatcher::fire(gui2::event::ui_event, gui2::widget&) () #20 0x0000555555a28db7 in gui2::event::sdl_event_handler::draw_everything() () #21 0x0000555555a2b041 in gui2::event::sdl_event_handler::handle_event(SDL_Event const&) () #22 0x00005555562630a7 in events::pump() () #23 0x00005555559342e1 in gui2::window::show(bool, unsigned int) () #24 0x0000555555a50f1a in gui2::dialogs::modal_dialog::show(unsigned int) () #25 0x0000555555a445c8 in gui2::dialogs::loading_screen::display(std::function<void ()>) () #26 0x0000555555a00022 in game_launcher::launch_game(game_launcher::RELOAD_GAME_DATA) () #27 0x000055555584c247 in main () (
Comments