-
Notifications
You must be signed in to change notification settings - Fork 301
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
Tilix crashes (segfaults) when activating conda environment #2245
Comments
Could you please run within Tilix the command This will create a file called |
Hi, thanks for the comment. I've done as you suggested and the log has many weird characters (I don't know the encoding it's using). |
Thanks! I can reproduce the problem by slowly replaying that file (using the The trigger within the file is the OSC 7 escape sequence with A simpler reproducer is:
(The It's a duplicate of the just recently discovered #2244. In addition to the hostname beginning with a digit, apparently a hostname containing an underscore isn't supported either by GLib's corresponding method (which is arguably a bug in GLib, but that's not the point here), and Tilix forgets to handle the exception or the error condition. |
Apparently underscore isn't a valid character in DNS resolution, and my kernel (on Ubuntu 24.10) also refuses to set such a hostname using the And even if was universally a forbidden character, that wouldn't be a reason for Tilix to crash on an escape sequence containing such an invalid URL. That being said, you can perhaps work around the issue by not using that (pseudo-)hostname of The typescript has two OSC 7 sequences right after each other (separator spaces, and C-style escaping added by me for readability), both setting the same directory, but the first one with this hostname and the second one without any. Interestingly they use a different terminator for the OSC 7 sequence, the first one uses the unofficial and the second uses the official one:
I'm not entirely sure from the typescript who is printing these sequences, but I suspect it is your shell ( The real fix preventing the crash needs to happen in Tilix of course. I'm not a Tilix developer so unfortunately I can't help with that one. Until then maybe you can find some workaround along these above lines. |
After the last Manjaro GNOME update (which updated to GNOME 47.1) Tilix is crashing whenever I try to activate a conda environment.
These are the versions:
And this is what is logged:
Apart from the conda environment, everything else seems to work fine. GNOME Terminal also works fine.
The text was updated successfully, but these errors were encountered: