"Broken pipe" gdk warning when copying image in ristretto while clipman is running
Issue Description
I suppose this isn't specific to ristretto, as it just calls gtk_clipboard_set_image, but I haven't been able to reproduce the problem with a simple test case, perhaps because it exits too quickly, and I can't get the main loop to iterate as it should. In any case, this warning only appears with xfwl4 (not with labwc or wayfire), so I thought it was worth reporting.
Steps to Reproduce Issue
- Launch xfce4-panel with the clipman plugin
- Open an image in ristretto and copy it (Ctrl-C or Edit->Copy)
Expected Behavior
No warning.
Additional Information
Gdk-WARNING **: 17:54:48.578: Error writing selection data: Error writing to file descriptor: Broken pipe
Program terminated with signal SIGABRT, Aborted.
#0 0x00007fded969a11c in ?? () from /opt/bin/../../lib/libc.so.6
[Current thread is 1 (Thread 0x7fded828dc40 (LWP 98452))]
(gdb) bt
#0 0x00007fded969a11c in ??? () at /opt/bin/../../lib/libc.so.6
#1 0x00007fded963e5d0 in raise () at /opt/bin/../../lib/libc.so.6
#2 0x00007fded9625685 in abort () at /opt/bin/../../lib/libc.so.6
#3 0x00007fdedaa880fc in _g_log_abort (breakpoint=<optimized out>) at ../glib/glib/gmessages.c:454
#4 0x00007fdedaadc554 in g_log_writer_default (log_level=18, fields=<optimized out>, n_fields=<optimized out>, user_data=0x0) at ../glib/glib/gmessages.c:3090
#5 g_log_writer_default (log_level=<optimized out>, fields=<optimized out>, n_fields=<optimized out>, user_data=0x0) at ../glib/glib/gmessages.c:3031
#6 0x00007fdedaad28a8 in g_log_structured_array (log_level=G_LOG_LEVEL_WARNING, fields=0x7ffd31be0f90, n_fields=7) at ../glib/glib/gmessages.c:1903
#7 g_log_structured_array (log_level=G_LOG_LEVEL_WARNING, fields=0x7ffd31be0f90, n_fields=7) at ../glib/glib/gmessages.c:1876
#8 0x00007fdedaad74c3 in g_log_structured_standard
(log_domain=log_domain@entry=0x7fded9faf014 "Gdk", log_level=log_level@entry=G_LOG_LEVEL_WARNING, file=file@entry=0x7fded9fb9278 "../gtk/gdk/wayland/gdkselection-wayland.c", line=line@entry=0x7fded9fb3bfb "787", func=func@entry=0x7fded9fd3950 <__func__.2.lto_priv.42> "async_write_data_cb", message_format=message_format@entry=0x7fded9fb9250 "Error writing selection data: %s") at ../glib/glib/gmessages.c:1975
#9 0x00007fded9f7392b in async_write_data_cb (object=<optimized out>, res=<optimized out>, user_data=0x55c318891580) at ../gtk/gdk/wayland/gdkselection-wayland.c:787
#10 0x00007fdeda934b1c in g_task_return_now (task=0x55c318928950 [GTask]) at ../glib/gio/gtask.c:1367
#11 0x00007fdeda93a66a in g_task_return (type=<optimized out>, task=0x55c318928950 [GTask]) at ../glib/gio/gtask.c:1436
#12 g_task_return (task=0x55c318928950 [GTask], type=<optimized out>) at ../glib/gio/gtask.c:1393
#13 0x00007fdeda9113af in async_ready_write_callback_wrapper (source_object=0x55c3189c1fc0 [GUnixOutputStream], res=0x55c318899f50, user_data=0x55c318928950) at ../glib/gio/goutputstream.c:981
#14 0x00007fdeda934b1c in g_task_return_now (task=0x55c318899f50 [GTask]) at ../glib/gio/gtask.c:1367
#15 0x00007fdeda934b65 in complete_in_idle_cb (task=0x55c318899f50) at ../glib/gio/gtask.c:1381
#16 0x00007fdedaacb75e in g_main_dispatch (context=0x55c318403870) at ../glib/glib/gmain.c:3734
#17 0x00007fdedaad4c50 in g_main_context_dispatch_unlocked (context=0x55c318403870) at ../glib/glib/gmain.c:4603
#18 g_main_context_iterate_unlocked (context=0x55c318403870, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4672
#19 0x00007fdedaad4f77 in g_main_loop_run (loop=0x55c31879dc10) at ../glib/glib/gmain.c:4877
#20 0x00007fdeda1fac1f in gtk_main () at ../gtk/gtk/gtkmain.c:1332
#21 0x000055c2fc3e04a5 in main (argc=<optimized out>, argv=<optimized out>) at ../src/main.c:146Environment & Versions
- OS distribution and version: arch linux
- Overall Xfce version: 4.21
- xfwl4 version (git hash if not a release):
4.21.1+dev-67218d9 - libxfce4ui version (git hash if not a release):
4.21.9+dev-0096cf8 - xfce4-settings version (git hash if not a release):
4.21.3+dev-9df57e5 - GTK theme: adwaita
- Decorations theme: default
- GPU make and model: AMD Radeon HD 7310
- Monitor scale factor(s): 1
- xfce4-panel version:
4.21.3-dev-fd02480b7 - xfce4-clipman-plugin version:
1.7.0-dev-2b9cf8b