GNOME Bugzilla – Bug 546625
gnome-terminal crashes when opening certain urls
Last modified: 2008-08-06 17:10:23 UTC
I've caught this one yesterday when packaging the latest 2.23.6 packages. In rpm files we have lines such as this one: Source0: http://ftp.gnome.org/pub/GNOME/sources/libgnomeui/2.23/%{name}-%{version}.tar.bz2 In previous releases g-t would only highlight the part before first '%' sign, for example: http://ftp.gnome.org/pub/GNOME/sources/libgnomeui/2.23/ Now in 2.23.6 (with vte 0.17.1) it highlights and tries to open: http://ftp.gnome.org/pub/GNOME/sources/libgnomeui/2.23/%{ Which results in an immediate terminal crash (it is also an incorrect URL as % is an escape character and is supposed to be followed by a hexadecimal number). I tend to forget about this bug only to lose some data on an hourly basis :) Anyway it's hard for me to provide a stack trace as I don't have any other terminal apps installed but it's rather easy to reproduce: 1) echo 'http://ftp.gnome.org/pub/GNOME/sources/libgnomeui/2.23/%{' 2) ctrl+click the output of the previous command
Program received signal SIGSEGV, Segmentation fault.
+ Trace 204730
Thread 3065047872 (LWP 10680)
That URI is certainly invalid, but I'd expect g_app_info_launch_default_for_uri to return an error instead of just crashing on it.
That is dup. And its not gio that is the culprit but gvfs. Ubuntu ships even has a fix. SVN will also be properly fixed soonish. *** This bug has been marked as a duplicate of 546256 ***
Christian: Should I file another bug for incorrectly highlighted URIs? The part highlighted by the terminal makes no sense as it should either stop before the % sign (previous behavior) or continue past the curly brace. If so, for which module/component?