wwmm / easyeffects

Limiter, compressor, convolver, equalizer and auto volume and many other plugins for PipeWire applications
GNU General Public License v3.0
6.5k stars 269 forks source link

Crashes when opening `preferences` #1411

Closed dmos62 closed 2 years ago

dmos62 commented 2 years ago

EasyEffects Version

6.2.3 (from flatpak info com.github.wwmm.easyeffects, can't access preferences)

What package are you using?

Flatpak (Flathub)

Distribution

Ubuntu 20.04.3 LTS

Describe the bug

When I try to navigate to the preferences, EasyEffects crashes upon clicking preferences in the burger menu. Also crashes when closing the file-picker dialog for adding an APO preset in the Equalizer plugin.

Also, can't find anything through the file-picker dialog mentioned, but maybe that's normal with flatpak?

Expected Behavior

Not to crash.

Debug Log

Debug Log
``` ~> env G_MESSAGES_DEBUG=easyeffects flatpak run com.github.wwmm.easyeffects You have PipeWire 0.3.47 installed This is newer or the same as PipeWire 0.3.31 required to run EasyEffects (process:2): easyeffects-DEBUG: 12:30:52.471: easyeffects version: 6.2.3 (process:2): easyeffects-DEBUG: 12:30:52.472: main: locale directory: /app/share/locale (easyeffects:2): easyeffects-DEBUG: 12:30:52.476: presets_manager: system input presets directory: "/app/etc/xdg/easyeffects/input"; (easyeffects:2): easyeffects-DEBUG: 12:30:52.476: presets_manager: system input presets directory: "/etc/easyeffects/input"; (easyeffects:2): easyeffects-DEBUG: 12:30:52.476: presets_manager: system input presets directory: "/etc/xdg/easyeffects/input"; (easyeffects:2): easyeffects-DEBUG: 12:30:52.476: presets_manager: system output presets directory: "/app/etc/xdg/easyeffects/output"; (easyeffects:2): easyeffects-DEBUG: 12:30:52.476: presets_manager: system output presets directory: "/etc/easyeffects/output"; (easyeffects:2): easyeffects-DEBUG: 12:30:52.476: presets_manager: system output presets directory: "/etc/xdg/easyeffects/output"; (easyeffects:2): easyeffects-DEBUG: 12:30:52.476: presets_manager: user presets directory already exists: /home/domas/.var/app/com.github.wwmm.easyeffects/config/easyeffects/ (easyeffects:2): easyeffects-DEBUG: 12:30:52.476: presets_manager: user presets directory already exists: /home/domas/.var/app/com.github.wwmm.easyeffects/config/easyeffects/input (easyeffects:2): easyeffects-DEBUG: 12:30:52.476: presets_manager: user presets directory already exists: /home/domas/.var/app/com.github.wwmm.easyeffects/config/easyeffects/output (easyeffects:2): easyeffects-DEBUG: 12:30:52.476: presets_manager: user presets directory already exists: /home/domas/.var/app/com.github.wwmm.easyeffects/config/easyeffects/autoload/input (easyeffects:2): easyeffects-DEBUG: 12:30:52.476: presets_manager: user presets directory already exists: /home/domas/.var/app/com.github.wwmm.easyeffects/config/easyeffects/autoload/output (easyeffects:2): easyeffects-DEBUG: 12:30:52.540: pipe_manager: compiled with PipeWire: 0.3.31 (easyeffects:2): easyeffects-DEBUG: 12:30:52.540: pipe_manager: linked to PipeWire: 0.3.31 (easyeffects:2): easyeffects-DEBUG: 12:30:52.543: pipe_manager: core version: 0.3.47 (easyeffects:2): easyeffects-DEBUG: 12:30:52.543: pipe_manager: core name: pipewire-0 (easyeffects:2): easyeffects-DEBUG: 12:30:52.544: pipe_manager: found metadata: settings (easyeffects:2): easyeffects-DEBUG: 12:30:52.544: pipe_manager: found metadata: default (easyeffects:2): easyeffects-DEBUG: 12:30:52.544: pipe_manager: found metadata: route-settings (easyeffects:2): easyeffects-DEBUG: 12:30:52.544: pipe_manager: Audio/Sink 45 alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo-output with timestamp 1645698652544976340 was added (easyeffects:2): easyeffects-DEBUG: 12:30:52.545: pipe_manager: Audio/Source 46 alsa_input.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo-input with timestamp 1645698652545008395 was added (easyeffects:2): easyeffects-DEBUG: 12:30:52.545: pipe_manager: Audio/Sink 47 alsa_output.pci-0000_00_1b.0.iec958-stereo with timestamp 1645698652545043812 was added (easyeffects:2): easyeffects-DEBUG: 12:30:52.545: pipe_manager: Audio/Source 48 alsa_input.pci-0000_00_1b.0.analog-stereo with timestamp 1645698652545068417 was added (easyeffects:2): easyeffects-DEBUG: 12:30:52.545: pipe_manager: Audio/Sink 34 alsa_output.platform-snd_aloop.0.analog-stereo with timestamp 1645698652545084063 was added (easyeffects:2): easyeffects-DEBUG: 12:30:52.545: pipe_manager: Audio/Source 49 alsa_input.platform-snd_aloop.0.analog-stereo with timestamp 1645698652545096583 was added (easyeffects:2): easyeffects-DEBUG: 12:30:52.545: pipe_manager: Stream/Output/Audio 69 Firefox with timestamp 1645698652545154298 was added (easyeffects:2): easyeffects-DEBUG: 12:30:52.545: pipe_manager: Firefox port 70 is connected to alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo-output port 50 (easyeffects:2): easyeffects-DEBUG: 12:30:52.545: pipe_manager: Firefox port 71 is connected to alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo-output port 52 (easyeffects:2): easyeffects-DEBUG: 12:30:52.545: pipe_manager: Audio/Sink 117 easyeffects_sink with timestamp 1645698652545203311 was added (easyeffects:2): easyeffects-DEBUG: 12:30:52.545: pipe_manager: Audio/Source/Virtual 106 easyeffects_source with timestamp 1645698652545215774 was added (easyeffects:2): easyeffects-DEBUG: 12:30:52.545: pipe_manager: new metadata property: 0, default.audio.sink, Spa:String:JSON, {"name":"alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo-output"} (easyeffects:2): easyeffects-DEBUG: 12:30:52.545: pipe_manager: new metadata property: 0, default.audio.source, Spa:String:JSON, {"name":"alsa_input.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo-input"} (easyeffects:2): easyeffects-DEBUG: 12:30:52.545: pipe_manager: new metadata property: 69, target.node, Spa:Id, 73 (easyeffects:2): easyeffects-DEBUG: 12:30:52.547: pipe_manager: easyeffects_sink node successfully retrieved with id 117 and timestamp 1645698652545203311 (easyeffects:2): easyeffects-DEBUG: 12:30:52.547: pipe_manager: easyeffects_source node successfully retrieved with id 106 and timestamp 1645698652545215774 (easyeffects:2): easyeffects-WARNING **: 12:30:52.575: lv2_wrapper: Could not find the plugin: http://drobilla.net/plugins/mda/Loudness (easyeffects:2): easyeffects-DEBUG: 12:30:52.575: soe: http://drobilla.net/plugins/mda/Loudness is not installed (easyeffects:2): easyeffects-WARNING **: 12:30:52.575: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: loudness (easyeffects:2): easyeffects-WARNING **: 12:30:52.575: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: output (easyeffects:2): easyeffects-WARNING **: 12:30:52.575: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: link (easyeffects:2): easyeffects-DEBUG: 12:30:52.591: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_compressor_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:2): easyeffects-DEBUG: 12:30:52.621: lv2_wrapper: http://lsp-plug.in/plugins/lv2/comp_delay_x2_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:2): easyeffects-DEBUG: 12:30:52.667: lv2_wrapper: http://lsp-plug.in/plugins/lv2/para_equalizer_x32_lr requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:2): easyeffects-DEBUG: 12:30:53.491: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_limiter_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:2): easyeffects-DEBUG: 12:30:53.506: lv2_wrapper: http://lsp-plug.in/plugins/lv2/loud_comp_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:2): easyeffects-DEBUG: 12:30:53.520: lv2_wrapper: urn:zamaudio:ZaMaximX2 requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:2): easyeffects-DEBUG: 12:30:53.520: lv2_wrapper: urn:zamaudio:ZaMaximX2 requires feature: http://lv2plug.in/ns/ext/options#options (easyeffects:2): easyeffects-DEBUG: 12:30:53.545: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_mb_compressor_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:2): easyeffects-DEBUG: 12:30:53.579: soe: rnnoise using the default model (easyeffects:2): easyeffects-DEBUG: 12:30:53.599: soe: output_level successfully connected to PipeWire graph (easyeffects:2): easyeffects-DEBUG: 12:30:53.601: soe: spectrum successfully connected to PipeWire graph (easyeffects:2): easyeffects-DEBUG: 12:30:53.605: soe: equalizer successfully connected to PipeWire graph (easyeffects:2): easyeffects-DEBUG: 12:30:53.638: soe: output_level: new PipeWire blocksize: 2048 (easyeffects:2): easyeffects-WARNING **: 12:30:53.639: lv2_wrapper: Could not find the plugin: http://drobilla.net/plugins/mda/Loudness (easyeffects:2): easyeffects-DEBUG: 12:30:53.639: sie: http://drobilla.net/plugins/mda/Loudness is not installed (easyeffects:2): easyeffects-WARNING **: 12:30:53.639: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: loudness (easyeffects:2): easyeffects-WARNING **: 12:30:53.639: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: output (easyeffects:2): easyeffects-WARNING **: 12:30:53.639: lv2_wrapper: http://drobilla.net/plugins/mda/Loudness port symbol not found: link (easyeffects:2): easyeffects-DEBUG: 12:30:53.655: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_compressor_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:2): easyeffects-DEBUG: 12:30:53.686: lv2_wrapper: http://lsp-plug.in/plugins/lv2/comp_delay_x2_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:2): easyeffects-DEBUG: 12:30:53.731: lv2_wrapper: http://lsp-plug.in/plugins/lv2/para_equalizer_x32_lr requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:2): easyeffects-DEBUG: 12:30:54.488: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_limiter_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:2): easyeffects-DEBUG: 12:30:54.503: lv2_wrapper: http://lsp-plug.in/plugins/lv2/loud_comp_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:2): easyeffects-DEBUG: 12:30:54.516: lv2_wrapper: urn:zamaudio:ZaMaximX2 requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:2): easyeffects-DEBUG: 12:30:54.517: lv2_wrapper: urn:zamaudio:ZaMaximX2 requires feature: http://lv2plug.in/ns/ext/options#options (easyeffects:2): easyeffects-DEBUG: 12:30:54.542: lv2_wrapper: http://lsp-plug.in/plugins/lv2/sc_mb_compressor_stereo requires feature: http://lv2plug.in/ns/ext/urid#map (easyeffects:2): easyeffects-DEBUG: 12:30:54.575: sie: rnnoise using the default model (easyeffects:2): easyeffects-DEBUG: 12:30:54.592: sie: output_level successfully connected to PipeWire graph (easyeffects:2): easyeffects-DEBUG: 12:30:54.593: sie: spectrum successfully connected to PipeWire graph easyeffects-INFO: 12:30:54.605: application: disabling global bypass (easyeffects:2): easyeffects-DEBUG: 12:30:54.611: application_ui: Icon Theme Adwaita detected (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:54.981: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:54.981: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:54.981: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:54.981: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:54.981: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:54.981: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:54.981: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:54.981: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:54.981: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:54.981: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:54.981: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed Gdk-Message: 12:30:56.846: Failed to get file transfer portal: Error spawning command line “dbus-launch --autolaunch=15f537c7129a445ea7ecd980931ad28f --binary-syntax --close-stderr”: Child process exited with code 1 (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:56.847: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:56.847: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:56.849: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:56.849: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:56.849: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:56.849: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:56.860: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:56.860: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): easyeffects-DEBUG: 12:30:56.881: new default output device: alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo-output (easyeffects:2): easyeffects-DEBUG: 12:30:56.883: pipe_manager: new metadata property: 69, target.node, Spa:Id, 117 (easyeffects:2): easyeffects-DEBUG: 12:30:56.883: pipe_manager: Firefox port 70 is connected to easyeffects_sink port 78 (easyeffects:2): easyeffects-DEBUG: 12:30:56.883: pipe_manager: Firefox port 71 is connected to easyeffects_sink port 107 (easyeffects:2): easyeffects-DEBUG: 12:30:56.889: new default input device: alsa_input.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo-input (easyeffects:2): easyeffects-DEBUG: 12:30:56.898: application: device alsa_card.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00 has changed its input route to: analog-input (easyeffects:2): easyeffects-DEBUG: 12:30:56.898: application: device alsa_card.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00 has changed its output route to: analog-output (easyeffects:2): easyeffects-DEBUG: 12:30:56.898: application: device alsa_card.pci-0000_00_1b.0 has changed its input route to: analog-input-rear-mic (easyeffects:2): easyeffects-DEBUG: 12:30:56.898: application: input autoloading: the target node name does not match the input device name (easyeffects:2): easyeffects-DEBUG: 12:30:56.898: application: device alsa_card.pci-0000_00_1b.0 has changed its output route to: iec958-stereo-output (easyeffects:2): easyeffects-DEBUG: 12:30:56.898: application: output autoloading: the target node name does not match the output device name (easyeffects:2): easyeffects-DEBUG: 12:30:56.898: application: device alsa_card.platform-snd_aloop.0 has changed its input route to: analog-input (easyeffects:2): easyeffects-DEBUG: 12:30:56.898: application: input autoloading: the target node name does not match the input device name (easyeffects:2): easyeffects-DEBUG: 12:30:56.898: application: device alsa_card.platform-snd_aloop.0 has changed its output route to: analog-output (easyeffects:2): easyeffects-DEBUG: 12:30:56.898: application: output autoloading: the target node name does not match the output device name (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:58.032: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:58.033: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:58.033: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:58.033: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:58.033: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:58.033: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:58.033: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:58.100: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:58.100: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:58.105: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:58.105: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:58.105: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:58.105: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:58.105: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:58.105: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:58.105: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:58.106: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:58.106: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:58.106: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:58.106: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:58.110: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:58.828: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:58.828: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed (easyeffects:2): GLib-GIO-CRITICAL **: 12:30:58.845: g_dbus_connection_get_unique_name: assertion 'G_IS_DBUS_CONNECTION (connection)' failed ~ [SIGSEGV]> ```

Additional Information

I've a minimal desktop environment based on XMonad. Before migrating to PipeWire, I used PulseEffects (from the flatpak repo) and didn't experience crashes.

wwmm commented 2 years ago

In your logs I see lots of critical gtk errors about g_dbus_connection_register_object. It seems gtk4 is having serious problems connecting to dbus on your installation. It is the first time I see something like this.

It may be good to test other gtk4 applications that have Flatpak packages available. In the past I asked @vchernin about some Flatpak apps that could be used for testing but I can't remember them now.

vchernin commented 2 years ago

Please try ashpd-demo on Flathub and try any of the portal request options.

since portals (like we use for autostart) use dbus, it sounds like something is broken in the portal packages?

Please list xdg-desktop-portal* packages you have installed and their versions.

vchernin commented 2 years ago

Actually, as said in another bug this may actually not be a portal issue, but please still try ashpd demo.

dmos62 commented 2 years ago

@vchernin the ashpd demo runs fine, until I open a dialog and try to close it. Closing the dialog crashes the app.

> flatpak run com.belmoussaoui.ashpd.demo
2022-03-02T12:22:44.503883Z  INFO ashpd_demo::application: ASHPD Demo (com.belmoussaoui.ashpd.demo)
2022-03-02T12:22:44.503901Z  INFO ashpd_demo::application: Version: 0.2.2 ()
2022-03-02T12:22:44.503904Z  INFO ashpd_demo::application: Datadir: /app/share/ashpd-demo
2022-03-02T12:22:44.567127Z DEBUG ashpd_demo::application::imp: Application::startup
2022-03-02T12:22:44.567192Z DEBUG ashpd_demo::application::imp: Application::activate

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:44.929: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:44.929: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:44.929: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:44.929: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:44.929: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:44.929: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:44.929: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:44.929: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:44.929: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:44.929: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:44.929: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed
Gdk-Message: 14:22:44.930: Failed to get file transfer portal: Error spawning command line “dbus-launch --autolaunch=15f537c7129a445ea7ecd980931ad28f --binary-syntax --close-stderr”: Child process exited with code 1

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:44.933: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:44.933: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:44.938: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:44.940: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:46.878: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:46.878: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:46.878: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:46.878: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:46.879: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:46.879: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:46.879: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:46.973: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:46.973: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:46.984: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:46.984: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:46.984: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:46.984: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:46.984: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:46.984: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:46.986: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:46.986: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:46.986: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:46.986: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:46.988: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:47.379: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:47.380: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:47.380: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:47.380: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:47.380: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:47.380: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:47.380: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:48.069: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:48.069: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:48.096: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:48.096: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:48.096: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:48.096: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:48.096: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:48.096: g_dbus_connection_register_object: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:48.096: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:48.096: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:48.097: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:48.097: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:48.098: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:48.098: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:48.098: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:48.098: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:48.100: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:48.100: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:48.100: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:48.100: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:48.102: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:48.102: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:48.102: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): Gtk-CRITICAL **: 14:22:48.103: Allocation height too small. Tried to allocate 402x214, but GtkShortcutsWindow 0x5620f87b6400 needs at least 402x216.

(ashpd-demo:2): Gtk-CRITICAL **: 14:22:48.103: Allocation width too small. Tried to allocate 402x214, but GtkShortcutsWindow 0x5620f87b6400 needs at least 404x214.

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:48.103: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): Gtk-CRITICAL **: 14:22:48.103: Allocation height too small. Tried to allocate 392x157, but GtkBox 0x5620f87af460 needs at least 392x159.

(ashpd-demo:2): Gtk-CRITICAL **: 14:22:48.103: Allocation width too small. Tried to allocate 392x157, but GtkBox 0x5620f87af460 needs at least 394x157.

(ashpd-demo:2): Gtk-CRITICAL **: 14:22:48.103: Allocation width too small. Tried to allocate 392x0, but GtkSearchBar 0x5620f82346d0 needs at least 394x0.

(ashpd-demo:2): Gtk-CRITICAL **: 14:22:48.103: Allocation width too small. Tried to allocate 392x0, but GtkRevealer 0x5620f8776390 needs at least 394x0.

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:48.103: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed

(ashpd-demo:2): GLib-GIO-CRITICAL **: 14:22:49.113: g_dbus_connection_emit_signal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed
> dpkg -l | grep xdg-desktop-portal
ii  xdg-desktop-portal                           1.6.0-1                         amd64
ii  xdg-desktop-portal-gtk                       1.6.0-1build1                   amd64
vchernin commented 2 years ago

I've a minimal desktop environment based on XMonad.

Before migrating to PipeWire, I used PulseEffects (from the flatpak repo) and didn't experience crashes.

The preferences page in PulseEffects Flatpak did not explictly use a portal and it was also GTK3. The one in EasyEffects Flatpak with GTK4 now calls the background portal, and it is an expectation for Flatpak that D-bus/portals are working. GTK4 could also be more reliant under the hood on portals/D-Bus (but I am not a GTK developer).

It's possibly a missing dependency, environment variable not set correctly or something seeing as you have a minimal setup. But I don't much about debugging D-bus things.

dmos62 commented 2 years ago

@vchernin hm, thanks for the guidance. Can you think of what the next step in troubleshooting this could be? I've been googling around, but haven't found anything so far. The problem seems to be at the intersection of GTK4, dbus and flatpak. I'll try and open a ticket with https://github.com/flatpak/xdg-desktop-portal.

vchernin commented 2 years ago

I would probably confirm if this occurs with org.gtk.Demo4 (from gnome-nightly Flatpak remote). I am only guessing it has do with explicit portal usage like here or in ashpd-demo.

wwmm commented 2 years ago

As this seems to be a problem with portal dependencies I will close this issue