~gabm


#1 LibreOffice Calc hangs when multiple cells are selected 4 months ago

Comment by ~gabm on ~whynothugo/clipmon

that looks good! I couldn't produce any lock-up, great!

I will continue to use clipmon and we'll see. Thank you!

#1 LibreOffice Calc hangs when multiple cells are selected 6 months ago

Comment by ~gabm on ~whynothugo/clipmon

unfortunately no.. here is the output:

pc-klosi tmp/clipmon ‹main*› » WAYLAND_DEBUG=1 ./target/debug/clipmon
[579199.075]  -> wl_display@1.get_registry(new id wl_registry@2)
[579199.123]  -> wl_display@1.sync(new id wl_callback@3)
[579200.057] wl_display@1.delete_id(3)
[579200.066] wl_registry@2.global(1, "wl_shm", 1)
[579200.102] wl_registry@2.global(2, "wl_drm", 2)
[579200.112] wl_registry@2.global(3, "zwp_linux_dmabuf_v1", 3)
[579200.119] wl_registry@2.global(4, "wl_compositor", 4)
[579200.124] wl_registry@2.global(5, "wl_subcompositor", 1)
[579200.132] wl_registry@2.global(6, "wl_data_device_manager", 3)
[579200.137] wl_registry@2.global(7, "zwlr_gamma_control_manager_v1", 1)
[579200.142] wl_registry@2.global(8, "zxdg_output_manager_v1", 3)
[579200.147] wl_registry@2.global(9, "org_kde_kwin_idle", 1)
[579200.153] wl_registry@2.global(10, "zwp_idle_inhibit_manager_v1", 1)
[579200.158] wl_registry@2.global(11, "zwlr_layer_shell_v1", 4)
[579200.164] wl_registry@2.global(12, "xdg_wm_base", 2)
[579200.177] wl_registry@2.global(13, "zwp_tablet_manager_v2", 1)
[579200.184] wl_registry@2.global(14, "org_kde_kwin_server_decoration_manager", 1)
[579200.190] wl_registry@2.global(15, "zxdg_decoration_manager_v1", 1)
[579200.196] wl_registry@2.global(16, "zwp_relative_pointer_manager_v1", 1)
[579200.202] wl_registry@2.global(17, "zwp_pointer_constraints_v1", 1)
[579200.209] wl_registry@2.global(18, "wp_presentation", 1)
[579200.219] wl_registry@2.global(19, "zwlr_output_manager_v1", 2)
[579200.229] wl_registry@2.global(20, "zwlr_output_power_manager_v1", 1)
[579200.240] wl_registry@2.global(21, "zwp_input_method_manager_v2", 1)
[579200.250] wl_registry@2.global(22, "zwp_text_input_manager_v3", 1)
[579200.261] wl_registry@2.global(23, "zwlr_foreign_toplevel_manager_v1", 3)
[579200.271] wl_registry@2.global(24, "wp_drm_lease_device_v1", 1)
[579200.282] wl_registry@2.global(25, "zwlr_export_dmabuf_manager_v1", 1)
[579200.295] wl_registry@2.global(26, "zwlr_screencopy_manager_v1", 3)
[579200.307] wl_registry@2.global(27, "zwlr_data_control_manager_v1", 2)
[579200.316] wl_registry@2.global(28, "zwp_primary_selection_device_manager_v1", 1)
[579200.327] wl_registry@2.global(29, "wp_viewporter", 1)
[579200.338] wl_registry@2.global(30, "zxdg_exporter_v1", 1)
[579200.350] wl_registry@2.global(31, "zxdg_importer_v1", 1)
[579200.361] wl_registry@2.global(32, "zxdg_exporter_v2", 1)
[579200.372] wl_registry@2.global(33, "zxdg_importer_v2", 1)
[579200.384] wl_registry@2.global(34, "xdg_activation_v1", 1)
[579200.396] wl_registry@2.global(35, "zwp_virtual_keyboard_manager_v1", 1)
[579200.408] wl_registry@2.global(36, "zwlr_virtual_pointer_manager_v1", 2)
[579200.418] wl_registry@2.global(37, "zwlr_input_inhibit_manager_v1", 1)
[579200.429] wl_registry@2.global(38, "zwp_keyboard_shortcuts_inhibit_manager_v1", 1)
[579200.439] wl_registry@2.global(39, "wl_seat", 7)
[579200.450] wl_registry@2.global(40, "zwp_pointer_gestures_v1", 3)
[579200.460] wl_registry@2.global(42, "wl_output", 3)
[579200.475] wl_registry@2.global(43, "wl_output", 3)
[579200.485] wl_callback@3.done(28873)
[579200.506]  -> wl_registry@2.bind(39, "wl_seat", 1, new id [unknown]@3)
[579200.533]  -> wl_display@1.sync(new id wl_callback@4)
[579200.957] wl_display@1.delete_id(4)
[579200.968] wl_seat@3.capabilities(3)
[579200.983] wl_callback@4.done(28873)
[579201.001]  -> wl_registry@2.bind(27, "zwlr_data_control_manager_v1", 2, new id [unknown]@4)
[579201.067]  -> zwlr_data_control_manager_v1@4.get_data_device(new id zwlr_data_control_device_v1@5, wl_seat@3)
Starting event loop...
[579201.144] zwlr_data_control_device_v1@5.selection(nil)
[579201.163] zwlr_data_control_device_v1@5.data_offer(new id zwlr_data_control_offer_v1@1544140144)
[579201.194] zwlr_data_control_offer_v1@4278190080.offer("text/plain;charset=utf-8")
[579201.217] zwlr_data_control_offer_v1@4278190080.offer("UTF8_STRING")
[579201.229] zwlr_data_control_device_v1@5.primary_selection(zwlr_data_control_offer_v1@4278190080)
Reading mime_type UTF8_STRING
[579201.255]  -> zwlr_data_control_offer_v1@4278190080.receive("UTF8_STRING", fd 11)
Reading mime_type text/plain;charset=utf-8
[579201.283]  -> zwlr_data_control_offer_v1@4278190080.receive("text/plain;charset=utf-8", fd 13)
zwlr_data_control_offer_v1@4278190080 - Finished reading UTF8_STRING, 515 bytes.
zwlr_data_control_offer_v1@4278190080 - Finished reading text/plain;charset=utf-8, 515 bytes.
[579207.774]  -> zwlr_data_control_manager_v1@4.create_data_source(new id zwlr_data_control_source_v1@6)
[579207.858]  -> zwlr_data_control_source_v1@6.offer("UTF8_STRING")
[579207.866]  -> zwlr_data_control_source_v1@6.offer("text/plain;charset=utf-8")
[579207.894]  -> zwlr_data_control_device_v1@5.set_primary_selection(zwlr_data_control_source_v1@6)
[592105.456] zwlr_data_control_device_v1@5.data_offer(new id zwlr_data_control_offer_v1@1544149856)
[592105.495] zwlr_data_control_offer_v1@4278190081.offer("application/x-openoffice-embed-source-xml;windows_formatname="Star Embed Source (XML)"")
[592105.515] zwlr_data_control_offer_v1@4278190081.offer("application/x-openoffice-objectdescriptor-xml;windows_formatname="Star Object Descriptor (XML)"")
[592105.527] zwlr_data_control_offer_v1@4278190081.offer("application/x-openoffice-gdimetafile;windows_formatname="GDIMetaFile"")
[592105.540] zwlr_data_control_offer_v1@4278190081.offer("application/x-openoffice-emf;windows_formatname="Image EMF"")
[592105.559] zwlr_data_control_offer_v1@4278190081.offer("application/x-openoffice-wmf;windows_formatname="Image WMF"")
[592105.571] zwlr_data_control_offer_v1@4278190081.offer("image/png")
[592105.580] zwlr_data_control_offer_v1@4278190081.offer("application/x-openoffice-bitmap;windows_formatname="Bitmap"")
[592105.590] zwlr_data_control_offer_v1@4278190081.offer("image/bmp")
[592105.608] zwlr_data_control_offer_v1@4278190081.offer("text/html")
[592105.620] zwlr_data_control_offer_v1@4278190081.offer("application/x-openoffice-sylk;windows_formatname="Sylk"")
[592105.633] zwlr_data_control_offer_v1@4278190081.offer("application/x-openoffice-link;windows_formatname="Link"")
[592105.644] zwlr_data_control_offer_v1@4278190081.offer("application/x-openoffice-dif;windows_formatname="DIF"")
[592105.655] zwlr_data_control_offer_v1@4278190081.offer("text/plain;charset=utf-16")
[592105.665] zwlr_data_control_offer_v1@4278190081.offer("application/x-libreoffice-tsvc")
[592105.673] zwlr_data_control_offer_v1@4278190081.offer("text/rtf")
[592105.689] zwlr_data_control_offer_v1@4278190081.offer("text/richtext")
[592105.696] zwlr_data_control_offer_v1@4278190081.offer("text/plain;charset=utf-8")
[592105.703] zwlr_data_control_offer_v1@4278190081.offer("UTF8_STRING")
[592105.709] zwlr_data_control_offer_v1@4278190081.offer("STRING")
[592105.716] zwlr_data_control_offer_v1@4278190081.offer("application/x-libreoffice-internal-id-58731")
[592105.722] zwlr_data_control_device_v1@5.primary_selection(zwlr_data_control_offer_v1@4278190081)
We already own Primary, escaping.
[592105.822] zwlr_data_control_device_v1@5.data_offer(new id zwlr_data_control_offer_v1@1544152544)
[592105.842] zwlr_data_control_offer_v1@4278190082.offer("UTF8_STRING")
[592105.856] zwlr_data_control_offer_v1@4278190082.offer("text/plain;charset=utf-8")
[592105.864] zwlr_data_control_device_v1@5.primary_selection(zwlr_data_control_offer_v1@4278190082)
We already own Primary, escaping.
[592107.413] zwlr_data_control_source_v1@6.send("text/plain;charset=utf-8", fd 9)
Sent 515 bytes
[592423.597] zwlr_data_control_source_v1@6.cancelled()
[592423.637]  -> zwlr_data_control_source_v1@6.destroy()
[592423.655] zwlr_data_control_device_v1@5.data_offer(new id zwlr_data_control_offer_v1@1544157888)
[592423.680] zwlr_data_control_offer_v1@4278190083.offer("application/x-openoffice-embed-source-xml;windows_formatname="Star Embed Source (XML)"")
[592423.699] zwlr_data_control_offer_v1@4278190083.offer("application/x-openoffice-objectdescriptor-xml;windows_formatname="Star Object Descriptor (XML)"")
[592423.707] zwlr_data_control_offer_v1@4278190083.offer("application/x-openoffice-gdimetafile;windows_formatname="GDIMetaFile"")
[592423.713] zwlr_data_control_offer_v1@4278190083.offer("application/x-openoffice-emf;windows_formatname="Image EMF"")
[592423.724] zwlr_data_control_offer_v1@4278190083.offer("application/x-openoffice-wmf;windows_formatname="Image WMF"")
[592423.731] zwlr_data_control_offer_v1@4278190083.offer("image/png")
[592423.737] zwlr_data_control_offer_v1@4278190083.offer("application/x-openoffice-bitmap;windows_formatname="Bitmap"")
[592423.743] zwlr_data_control_offer_v1@4278190083.offer("image/bmp")
[592423.759] zwlr_data_control_offer_v1@4278190083.offer("text/html")
[592423.770] zwlr_data_control_offer_v1@4278190083.offer("application/x-openoffice-sylk;windows_formatname="Sylk"")
[592423.781] zwlr_data_control_offer_v1@4278190083.offer("application/x-openoffice-link;windows_formatname="Link"")
[592423.791] zwlr_data_control_offer_v1@4278190083.offer("application/x-openoffice-dif;windows_formatname="DIF"")
[592423.800] zwlr_data_control_offer_v1@4278190083.offer("text/plain;charset=utf-16")
[592423.810] zwlr_data_control_offer_v1@4278190083.offer("application/x-libreoffice-tsvc")
[592423.820] zwlr_data_control_offer_v1@4278190083.offer("text/rtf")
[592423.847] zwlr_data_control_offer_v1@4278190083.offer("text/richtext")
[592423.860] zwlr_data_control_offer_v1@4278190083.offer("text/plain;charset=utf-8")
[592423.870] zwlr_data_control_offer_v1@4278190083.offer("UTF8_STRING")
[592423.879] zwlr_data_control_offer_v1@4278190083.offer("STRING")
[592423.888] zwlr_data_control_offer_v1@4278190083.offer("application/x-libreoffice-internal-id-58731")
[592423.898] zwlr_data_control_device_v1@5.primary_selection(zwlr_data_control_offer_v1@4278190083)
Reading mime_type STRING
[592423.925]  -> zwlr_data_control_offer_v1@4278190083.receive("STRING", fd 11)
Reading mime_type application/x-libreoffice-internal-id-58731
[592423.946]  -> zwlr_data_control_offer_v1@4278190083.receive("application/x-libreoffice-internal-id-58731", fd 13)
Reading mime_type UTF8_STRING
[592423.961]  -> zwlr_data_control_offer_v1@4278190083.receive("UTF8_STRING", fd 15)
Reading mime_type application/x-openoffice-dif;windows_formatname="DIF"
[592423.980]  -> zwlr_data_control_offer_v1@4278190083.receive("application/x-openoffice-dif;windows_formatname="DIF"", fd 17)
Reading mime_type application/x-libreoffice-tsvc
[592423.995]  -> zwlr_data_control_offer_v1@4278190083.receive("application/x-libreoffice-tsvc", fd 19)
Reading mime_type application/x-openoffice-embed-source-xml;windows_formatname="Star Embed Source (XML)"
[592424.011]  -> zwlr_data_control_offer_v1@4278190083.receive("application/x-openoffice-embed-source-xml;windows_formatname="Star Embed Source (XML)"", fd 21)
Reading mime_type application/x-openoffice-wmf;windows_formatname="Image WMF"
[592424.030]  -> zwlr_data_control_offer_v1@4278190083.receive("application/x-openoffice-wmf;windows_formatname="Image WMF"", fd 23)
Reading mime_type text/plain;charset=utf-16
[592424.046]  -> zwlr_data_control_offer_v1@4278190083.receive("text/plain;charset=utf-16", fd 25)
Reading mime_type text/html
[592424.062]  -> zwlr_data_control_offer_v1@4278190083.receive("text/html", fd 27)
Reading mime_type image/png
[592424.077]  -> zwlr_data_control_offer_v1@4278190083.receive("image/png", fd 29)
Reading mime_type application/x-openoffice-bitmap;windows_formatname="Bitmap"
[592424.093]  -> zwlr_data_control_offer_v1@4278190083.receive("application/x-openoffice-bitmap;windows_formatname="Bitmap"", fd 31)
Reading mime_type text/richtext
[592424.110]  -> zwlr_data_control_offer_v1@4278190083.receive("text/richtext", fd 33)
Reading mime_type image/bmp
[592424.128]  -> zwlr_data_control_offer_v1@4278190083.receive("image/bmp", fd 35)
Reading mime_type text/plain;charset=utf-8
[592424.144]  -> zwlr_data_control_offer_v1@4278190083.receive("text/plain;charset=utf-8", fd 37)
Reading mime_type application/x-openoffice-link;windows_formatname="Link"
[592424.163]  -> zwlr_data_control_offer_v1@4278190083.receive("application/x-openoffice-link;windows_formatname="Link"", fd 39)
Reading mime_type application/x-openoffice-emf;windows_formatname="Image EMF"
[592424.182]  -> zwlr_data_control_offer_v1@4278190083.receive("application/x-openoffice-emf;windows_formatname="Image EMF"", fd 41)
Reading mime_type text/rtf
[592424.199]  -> zwlr_data_control_offer_v1@4278190083.receive("text/rtf", fd 43)
Reading mime_type application/x-openoffice-gdimetafile;windows_formatname="GDIMetaFile"
[592424.214]  -> zwlr_data_control_offer_v1@4278190083.receive("application/x-openoffice-gdimetafile;windows_formatname="GDIMetaFile"", fd 45)
Reading mime_type application/x-openoffice-sylk;windows_formatname="Sylk"
[592424.251]  -> zwlr_data_control_offer_v1@4278190083.receive("application/x-openoffice-sylk;windows_formatname="Sylk"", fd 47)
Reading mime_type application/x-openoffice-objectdescriptor-xml;windows_formatname="Star Object Descriptor (XML)"
[592424.274]  -> zwlr_data_control_offer_v1@4278190083.receive("application/x-openoffice-objectdescriptor-xml;windows_formatname="Star Object Descriptor (XML)"", fd 49)
zwlr_data_control_offer_v1@4278190083 - Finished reading STRING, 0 bytes.
zwlr_data_control_offer_v1@4278190083 - Finished reading application/x-openoffice-objectdescriptor-xml;windows_formatname="Star Object Descriptor (XML)", 79 bytes.
zwlr_data_control_offer_v1@4278190083 - Finished reading application/x-openoffice-embed-source-xml;windows_formatname="Star Embed Source (XML)", 4868 bytes.

then localc freezes.


I played a bit around with the code and the situation improved when blacklisting the internal offer "application/x-libreoffice-internal-id-58731" (the id changes!) for selection. On copy, it still freezes. This second freeze I could reduce by further blacklisting "text/richtext" but sometimes is still freezes! its all very strange.

Just to be clear: the CPU spike happens in LibreOffice, not clipmon. It does not always happen though, sometimes it just idles around...

#1 LibreOffice Calc hangs when multiple cells are selected 6 months ago

Ticket created by ~gabm on ~whynothugo/clipmon

Selecting multiple cells in libreoffice calc while clipmon is running locks it up with 100% CPU usage. The same happened in Firefox but was not 100% reproducible.

The only way out is to kill localc. Killing clipmon does not help...