Skip to content

Instantly share code, notes, and snippets.

@drunderscore
Last active February 15, 2022 23:51
Show Gist options
  • Save drunderscore/582e4013bffcb3763c5a9b3fb90ef314 to your computer and use it in GitHub Desktop.
Save drunderscore/582e4013bffcb3763c5a9b3fb90ef314 to your computer and use it in GitHub Desktop.
SDL: Brought up SDL
SDL: Registering window with id 1745173632
corrupted size vs. prev_size
Program received signal SIGABRT, Aborted.
0x00007ffff74ced22 in raise () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007ffff74ced22 in raise () from /usr/lib/libc.so.6
#1 0x00007ffff74b8862 in abort () from /usr/lib/libc.so.6
#2 0x00007ffff7510d28 in __libc_message () from /usr/lib/libc.so.6
#3 0x00007ffff751892a in malloc_printerr () from /usr/lib/libc.so.6
#4 0x00007ffff7519826 in unlink_chunk.constprop () from /usr/lib/libc.so.6
#5 0x00007ffff751a07b in _int_free () from /usr/lib/libc.so.6
#6 0x00007ffff751d9e8 in free () from /usr/lib/libc.so.6
#7 0x00007ffff48c8f4c in ?? () from /usr/lib/libnvidia-glcore.so.495.46
#8 0x00007ffff45a8bd8 in ?? () from /usr/lib/libnvidia-glcore.so.495.46
#9 0x00007ffff49fca9c in ?? () from /usr/lib/libnvidia-glcore.so.495.46
#10 0x00007ffff469ca80 in ?? () from /usr/lib/libnvidia-glcore.so.495.46
#11 0x00007ffff49fe52c in ?? () from /usr/lib/libnvidia-glcore.so.495.46
#12 0x00007ffff4664d6b in ?? () from /usr/lib/libnvidia-glcore.so.495.46
#13 0x00007ffff7d15ee3 in ?? () from /usr/lib/libSDL2-2.0.so.0
#14 0x00007ffff7d13a84 in ?? () from /usr/lib/libSDL2-2.0.so.0
#15 0x00007ffff7d7b77d in ?? () from /usr/lib/libSDL2-2.0.so.0
#16 0x00007ffff7d7cb38 in ?? () from /usr/lib/libSDL2-2.0.so.0
#17 0x00007ffff7ef2499 in GUI::SDLServer::get_window_rect (this=<optimized out>, window_id=<optimized out>)
at /home/james/serenity/Meta/Lagom/Libraries/LibGUI/SDLServer.cpp:175
#18 0x00007ffff7ef3d13 in GUI::WindowServerConnection::get_window_rect (this=<optimized out>, window_id=<optimized out>)
at /home/james/serenity/Meta/Lagom/Libraries/LibGUI/WindowServerConnection.cpp:177
#19 0x00007ffff7f66fc4 in GUI::Window::rect (this=0x55555557c840) at /home/james/serenity/Userland/Libraries/LibGUI/Window.cpp:256
#20 0x00007ffff7ef269a in operator() (__closure=<optimized out>) at /home/james/serenity/Meta/Lagom/Libraries/LibGUI/SDLServer.cpp:87
#21 AK::Function<void()>::CallableWrapper<GUI::SDLServer::SDLServer()::<lambda()> >::call(void) (this=<optimized out>)
at /home/james/serenity/Meta/Lagom/../../AK/Function.h:151
#22 0x00007ffff7ab2af2 in AK::Function<void ()>::operator()() const (this=<optimized out>)
at /home/james/serenity/Meta/Lagom/../../AK/StdLibExtras.h:48
#23 Core::Timer::timer_event (this=0x5555557016b0) at /home/james/serenity/Userland/Libraries/LibCore/Timer.cpp:81
#24 0x00007ffff7a9f06a in Core::Object::dispatch_event (this=this@entry=0x5555557016b0, e=..., stay_within=stay_within@entry=0x0)
at /home/james/serenity/Userland/Libraries/LibCore/Object.cpp:219
#25 0x00007ffff7a8f094 in Core::EventLoop::pump (this=0x555555574190, mode=<optimized out>)
at /home/james/serenity/Userland/Libraries/LibCore/EventLoop.cpp:471
#26 0x00007ffff7a8fa3a in Core::EventLoop::exec (this=0x555555574190)
at /home/james/serenity/Userland/Libraries/LibCore/EventLoop.cpp:428
--Type <RET> for more, q to quit, c to continue without paging--c
#27 0x00007ffff7f02131 in GUI::Application::exec (this=this@entry=0x55555557c470) at /home/james/serenity/Userland/Libraries/LibGUI/Application.cpp:119
#28 0x0000555555556ce3 in serenity_main (arguments=...) at /home/james/serenity/Meta/Lagom/Demos/DemoGUI.cpp:59
#29 0x00007ffff7fc1191 in main (argc=<optimized out>, argv=0x7fffffffdad8) at /home/james/serenity/Userland/Libraries/LibMain/Main.cpp:23
(gdb) c
Continuing.
SDL: Brought up SDL
SDL: Registering window with id 1684482143
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7ef27bd in operator() (__closure=<optimized out>) at /home/james/serenity/Meta/Lagom/Libraries/LibGUI/SDLServer.cpp:108
108 *p_screen = SDL_MapRGBA(screen_surface->format, pixel.red(), pixel.green(), pixel.blue(), pixel.alpha());
(gdb) bt
#0 0x00007ffff7ef27bd in operator() (__closure=<optimized out>) at /home/james/serenity/Meta/Lagom/Libraries/LibGUI/SDLServer.cpp:108
#1 AK::Function<void()>::CallableWrapper<GUI::SDLServer::SDLServer()::<lambda()> >::call(void) (this=<optimized out>)
at /home/james/serenity/Meta/Lagom/../../AK/Function.h:151
#2 0x00007ffff7ab2af2 in AK::Function<void ()>::operator()() const (this=<optimized out>) at /home/james/serenity/Meta/Lagom/../../AK/StdLibExtras.h:48
#3 Core::Timer::timer_event (this=0x5555557016b0) at /home/james/serenity/Userland/Libraries/LibCore/Timer.cpp:81
#4 0x00007ffff7a9f06a in Core::Object::dispatch_event (this=this@entry=0x5555557016b0, e=..., stay_within=stay_within@entry=0x0)
at /home/james/serenity/Userland/Libraries/LibCore/Object.cpp:219
#5 0x00007ffff7a8f094 in Core::EventLoop::pump (this=0x555555574190, mode=<optimized out>) at /home/james/serenity/Userland/Libraries/LibCore/EventLoop.cpp:471
#6 0x00007ffff7a8fa3a in Core::EventLoop::exec (this=0x555555574190) at /home/james/serenity/Userland/Libraries/LibCore/EventLoop.cpp:428
#7 0x00007ffff7f02131 in GUI::Application::exec (this=this@entry=0x55555557c470) at /home/james/serenity/Userland/Libraries/LibGUI/Application.cpp:119
#8 0x0000555555556ce3 in serenity_main (arguments=...) at /home/james/serenity/Meta/Lagom/Demos/DemoGUI.cpp:59
#9 0x00007ffff7fc1191 in main (argc=<optimized out>, argv=0x7fffffffdad8) at /home/james/serenity/Userland/Libraries/LibMain/Main.cpp:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment