handle_get_thumbnail on phosh start
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007fdb1dcfac53 in wl_list_insert (list=0x5633dd991728, elm=elm@entry=0x5633ddd97068) at ../src/wayland-util.c:49
49 ../src/wayland-util.c: No such file or directory.
[Current thread is 1 (Thread 0x7fdb1b8e14c0 (LWP 55690))]
(gdb) bt
#0 0x00007fdb1dcfac53 in wl_list_insert (list=0x5633dd991728, elm=elm@entry=0x5633ddd97068) at ../src/wayland-util.c:49
#1 0x00005633dc6772dc in wl_signal_add (signal=0x5633ddaec318, listener=0x5633ddd97068) at /usr/include/wayland-server-core.h:441
#2 handle_get_thumbnail (client=<optimized out>, phosh_private_resource=0x5633ddb9fe50, id=54, toplevel=0x5633ddb93010, max_width=1, max_height=1) at ../src/phosh.c:258
#3 0x00007fdb1d6d5ccd in () at /usr/lib/x86_64-linux-gnu/libffi.so.7
#4 0x00007fdb1d6d525a in () at /usr/lib/x86_64-linux-gnu/libffi.so.7
#5 0x00007fdb1dcfa380 in wl_closure_invoke (closure=0x5633dddde2e0, flags=2, target=<optimized out>, opcode=2, data=<optimized out>) at ../src/connection.c:1018
#6 0x00007fdb1dcf67f2 in wl_client_connection_data (fd=<optimized out>, mask=<optimized out>, data=0x5633dd75f6f0) at ../src/wayland-server.c:432
#7 0x00007fdb1dcf8402 in wl_event_loop_dispatch (loop=0x5633dd07bf00, timeout=timeout@entry=0) at ../src/event-loop.c:1027
#8 0x00005633dc66f067 in wayland_event_source_dispatch (base=<optimized out>, callback=<optimized out>, data=<optimized out>) at ../src/server.c:42
#9 0x00007fdb1df9360d in g_main_dispatch (context=0x5633dd75b490) at ../../../glib/gmain.c:3309
#10 g_main_context_dispatch (context=context@entry=0x5633dd75b490) at ../../../glib/gmain.c:3974
#11 0x00007fdb1df93890 in g_main_context_iterate (context=0x5633dd75b490, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4047
#12 0x00007fdb1df93b63 in g_main_loop_run (loop=0x5633dd75b5b0) at ../../../glib/gmain.c:4241
#13 0x00005633dc66ed6f in main (argc=<optimized out>, argv=<optimized out>) at ../src/main.c:123
when starting phosh (with the thumbnails mr as of 6629abf2f579e84ba523c8211afd58086e8be357 multiple times i every 2nd or 3rd time get phoc crashes like the above.