Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when opening the Keyboard Shortcuts entry from the main menu #2178

Open
Lesik opened this issue Jul 26, 2023 · 3 comments
Open

Crash when opening the Keyboard Shortcuts entry from the main menu #2178

Lesik opened this issue Jul 26, 2023 · 3 comments

Comments

@Lesik
Copy link

Lesik commented Jul 26, 2023

Thanks for this great user-friendly tiling terminal! I use it on NixOS and it works great, except when I open the "Keyboard Shortcuts", it crashes (last two lines appear after clicking):

(tilix:101140): GLib-GObject-CRITICAL **: 14:17:43.347: invalid (NULL) pointer instance

(tilix:101140): GLib-GObject-CRITICAL **: 14:17:43.347: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
2023-07-26T14:17:46.380 [error] app.d:166:main Unexpected exception occurred
2023-07-26T14:17:46.380 [error] app.d:167:main Error: .:2:106 Invalid object type 'GtkShortcutsWindow'

Here's some debug info, let me know if I can provide more:

Versions
	Tilix version: 1.9.5
	VTE version: 0.72
	GTK Version: 3.24.37

Tilix Special Features

(tilix:101379): GLib-GObject-CRITICAL **: 14:18:19.596: invalid (NULL) pointer instance

(tilix:101379): GLib-GObject-CRITICAL **: 14:18:19.596: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
	Notifications enabled=0
	Triggers enabled=0
	Badges enabled=1
@waldyrious
Copy link
Contributor

I was about to report exactly the same issue, but fortunately I happened to notice this one by chance. I think if you changed the title to something more intelligible, like what you say in the text:

when I open the "Keyboard Shortcuts", it crashes

...then it would be more discoverable by other people :)

I would suggest the following title: "Crash when opening the Keyboard Shortcuts entry from the main menu".

@Lesik Lesik changed the title app.d:167:main Error: .:2:106 Invalid object type 'GtkShortcutsWindow' Crash when opening the Keyboard Shortcuts entry from the main menu Jul 29, 2023
@Lesik
Copy link
Author

Lesik commented Jul 29, 2023

@waldyrious Interesting, I purposely chose this title because if I were to look for an existing issue, I would simply search for the crash message, hopefully ending up here, because I used the crash message as title. But I hope having the message in the issue description is enough to get it indexed in the search nonetheless. I agree it's easier for the maintainers of this repo to keep an overview of the tickets if the title is descriptive.

@waldyrious
Copy link
Contributor

waldyrious commented Aug 10, 2023

Update: I have been having issues starting Tilix by clicking the icon in the dock (I'm on Ubuntu 22.04), and finally decided to uninstall my nix-sourced Tilix, and instead install it via apt. After doing so, it seems that the crash no longer happens. Since you are also using Nix, that may suggest that something is missing or incorrect in the Nix derivation.

However, it can be that this was a regression introduced in 1.9.5, which is the version on nixpkgs; the version in Ubuntu's repositories is 1.9.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants