When window previews are enabled, hovering an app icon and middle-clicking it crashes
master 74fa09f5.
With window previews open, hover an app with 1 or more windows open, and (before or after the popup appears) middle-click it to close the windows. Docklike will crash. This crash is reproducible, but I didn't look into it yet (I'm occupied elsewhere).
(gdb) bt
#0 0x00007feb8cf40d22 in raise () at /usr/lib/libc.so.6
#1 0x00007feb8cf2a862 in abort () at /usr/lib/libc.so.6
#2 0x00007feb89907802 in __gnu_cxx::__verbose_terminate_handler() () at /build/gcc/src/gcc/libstdc++-v3/libsupc++/vterminate.cc:95
#3 0x00007feb89913c8a in __cxxabiv1::__terminate(void (*)()) (handler=<optimized out>) at /build/gcc/src/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:48
#4 0x00007feb89913cf7 in std::terminate() () at /build/gcc/src/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:58
#5 0x00007feb89913f8e in __cxxabiv1::__cxa_throw(void*, std::type_info*, void (*)(void*)) (obj=<optimized out>, tinfo=0x7feb89a77350 <typeinfo for std::bad_function_call>, dest=0x7feb8993ea20 <std::bad_function_call::~bad_function_call()>)
at /build/gcc/src/gcc/libstdc++-v3/libsupc++/eh_throw.cc:95
#6 0x00007feb8990a6d3 in std::__throw_bad_function_call() () at /build/gcc/src/gcc/libstdc++-v3/src/c++11/functional.cc:34
#7 0x00007feb8de8b564 in std::function<bool ()>::operator()() const (this=<optimized out>) at /usr/include/c++/11.1.0/bits/std_function.h:559
#8 operator() (me=<optimized out>, __closure=0x0) at Helpers.cpp:162
#9 _FUN(Help::Gtk::Timeout*) () at Helpers.cpp:162
#10 0x00007feb8d124a84 in () at /usr/lib/libglib-2.0.so.0
#11 0x00007feb8d1243e5 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#12 0x00007feb8d178799 in () at /usr/lib/libglib-2.0.so.0
#13 0x00007feb8d123a63 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#14 0x00007feb8d86eb4f in gtk_main () at ../gtk/gtk/gtkmain.c:1329
#15 0x000056186f660348 in main (argc=<optimized out>, argv=<optimized out>) at main.c:432
I also got a segfault when void Timeout::start()
calls Timeout::mFunction: std::function<bool()>
. I'm not sure what causes it, but I never got it before enabling window previews. Anyway here's the backtrace:
#0 0x000055dca7098360 in ()
#1 0x00007f03d11c7552 in std::function<bool ()>::operator()() const (this=0x55dca6f49840) at /usr/include/c++/11.1.0/bits/std_function.h:560
#2 operator() (me=0x55dca6f49838, __closure=0x0) at Helpers.cpp:162
#3 _FUN(Help::Gtk::Timeout*) () at Helpers.cpp:162
#4 0x00007f03d0460a84 in () at /usr/lib/libglib-2.0.so.0
#5 0x00007f03d04603e5 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#6 0x00007f03d04b4799 in () at /usr/lib/libglib-2.0.so.0
#7 0x00007f03d045fa63 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#8 0x00007f03d0baab4f in gtk_main () at ../gtk/gtk/gtkmain.c:1329
#9 0x000055dca3b8e348 in main (argc=<optimized out>, argv=<optimized out>) at main.c:432
I have a few other crashes, but I have no clue how to interpret them and I don't know if I have the same binary installed now, as when the coredump was logged by coredumpctl.