Connecting to database using SSH tunnel crashes when using G_MESSAGES_DEBUG
baarkerlounger opened this issue · comments
baarkerlounger commented
Sequeler Version:
Sequeler - Friendly SQL Client
ID: com.github.alecaddd.sequeler
Ref: app/com.github.alecaddd.sequeler/x86_64/stable
Arch: x86_64
Branch: stable
Version: 0.8.0
License: GPL-3.0+
Origin: flathub
Collection: org.flathub.Stable
Installation: user
Installed: 157.4 MB
Runtime: org.gnome.Platform/x86_64/3.36
Sdk: org.gnome.Sdk/x86_64/3.36
Commit: 402d4f6672601651d0522b628e810c0a8dcd13ccb5e4bd44b44c8470cc55ec59
Parent: cb598c1d2705915b40c67ed74c3050692100cfe345fb3091df907ab4d2071edc
Subject: Release 0.8.0 (8208ea20)
Date: 2020-10-02 08:36:54 +0000
Connecting to a MySQL database over SSH tunnel works when using Sequeler normally, but when using G_MESSAGES_DEBUG=all flatpak run com.github.alecaddd.sequeler
it crashes with the output:
(Sequeler:2): GLib-DEBUG: 15:35:42.226: unsetenv() is not thread-safe and should not be used after threads are created
** (Sequeler:2): DEBUG: 15:35:44.282: PasswordManager.vala:50: Unable to fetch password in libsecret keyring for com.github.alecaddd.sequeler.19999
** (Sequeler:2): DEBUG: 15:35:44.282: ConnectionManager.vala:156: Opening tunnel 0x55615eb5b460
** (Sequeler:2): DEBUG: 15:35:44.283: ConnectionManager.vala:196: Socket params: 99.999.999.999 22
** (Sequeler:2): DEBUG: 15:35:44.529: ConnectionManager.vala:229: Authentication methods: publickey,password
This may be an issue with saving the connection itself. Trying to edit the connection also crashes:
(Sequeler:2): GLib-DEBUG: 15:38:55.355: unsetenv() is not thread-safe and should not be used after threads are created
(Sequeler:2): Gtk-DEBUG: 15:38:58.553: Failed to create D-Bus proxy: Could not connect: No such file or directory
(Sequeler:2): Gtk-DEBUG: 15:38:58.555: Failed to create D-Bus proxy: Could not connect: No such file or directory
(Sequeler:2): Gtk-DEBUG: 15:39:04.195: Failed to create D-Bus proxy: Could not connect: No such file or directory
(Sequeler:2): Gtk-DEBUG: 15:39:04.197: Failed to create D-Bus proxy: Could not connect: No such file or directory
(Sequeler:2): GLib-GObject-WARNING **: 15:39:04.328: g_object_notify: object class 'GtkLabel' has no property named 'rgba'
(Sequeler:2): Gtk-CRITICAL **: 15:39:04.329: gtk_label_set_text: assertion 'GTK_IS_LABEL (label)' failed
(Sequeler:2): Gtk-CRITICAL **: 15:39:04.329: gtk_image_set_from_surface: assertion 'GTK_IS_IMAGE (image)' failed
(Sequeler:2): Gtk-CRITICAL **: 15:39:04.329: gtk_tree_model_get_iter_first: assertion 'GTK_IS_TREE_MODEL (tree_model)' failed
(Sequeler:2): Gtk-CRITICAL **: 15:39:04.329: gtk_tree_model_get: assertion 'GTK_IS_TREE_MODEL (tree_model)' failed
(Sequeler:2): Gtk-CRITICAL **: 15:39:04.329: gtk_tree_model_iter_next: assertion 'GTK_IS_TREE_MODEL (tree_model)' failed
(Sequeler:2): Gtk-CRITICAL **: 15:39:04.329: gtk_tree_model_filter_refilter: assertion 'GTK_IS_TREE_MODEL_FILTER (filter)' failed
(Sequeler:2): Gtk-CRITICAL **: 15:39:04.329: gtk_tree_model_iter_nth_child: assertion 'GTK_IS_TREE_MODEL (tree_model)' failed
(Sequeler:2): Gtk-CRITICAL **: 15:39:04.329: gtk_tree_model_filter_convert_child_iter_to_iter: assertion 'GTK_IS_TREE_MODEL_FILTER (filter)' failed
(Sequeler:2): GLib-GObject-WARNING **: 15:39:04.329: invalid (NULL) pointer instance
(Sequeler:2): GLib-GObject-CRITICAL **: 15:39:04.329: g_signal_handlers_block_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(Sequeler:2): Gtk-CRITICAL **: 15:39:04.329: gtk_combo_box_set_active_iter: assertion 'GTK_IS_COMBO_BOX (combo_box)' failed
(Sequeler:2): GLib-GObject-WARNING **: 15:39:04.329: invalid (NULL) pointer instance
(Sequeler:2): GLib-GObject-CRITICAL **: 15:39:04.329: g_signal_handlers_unblock_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(Sequeler:2): Gtk-CRITICAL **: 15:39:04.329: _gtk_bookmarks_manager_get_bookmark_label: assertion 'manager != NULL' failed
(Sequeler:2): Gtk-CRITICAL **: 15:39:04.329: gtk_widget_get_style_context: assertion 'GTK_IS_WIDGET (widget)' failed
baarkerlounger commented
Actually it seems this is reproducible when opening the app without debug messages as well so possibly a duplicate of #259