GNOME Bugzilla – Bug 608631
Crash when using video files with special characters
Last modified: 2010-01-31 23:03:44 UTC
What were you doing when the application crashed? Opening an .srt file, probably the failure is related to the file having a ':' in the file name. Distribution: Ubuntu 9.10 (karmic) Gnome Release: 2.28.1 2009-11-03 (Ubuntu) BugBuddy Version: 2.28.0 System: Linux 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC 2009 i686 X Vendor: The X.Org Foundation X Vendor Release: 10604000 Selinux: No Accessibility: Disabled GTK+ Theme: New Wave Icon Theme: Human GTK+ Modules: canberra-gtk-module Memory status: size: 0 vsize: 0 resident: 0 share: 0 rss: 0 rss_rlim: 0 CPU usage: start_time: 0 rtime: 0 utime: 0 stime: 0 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 0 Gnome Subtitles version: 0.9.1 GtkSharp version: 2.12 GladeSharp version: 2.12 GConfSharp version: 2.24 Stack trace: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.UriFormatException: URI scheme must start with a letter and must consist of one of alphabet, digits, '+', '-' or '.' character. at System.Uri.Parse (UriKind kind, System.String uriString) [0x00000] at System.Uri.ParseUri (UriKind kind) [0x00000] at System.Uri..ctor (System.String uriString, Boolean dontEscape) [0x00000] at System.Uri..ctor (System.String uriString) [0x00000] at GnomeSubtitles.Dialog.FileOpenDialog.ProcessResponse (ResponseType response) [0x00000] at GnomeSubtitles.Dialog.BaseDialog.OnResponse (System.Object o, Gtk.ResponseArgs args) [0x00000] at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] --- End of inner exception stack trace --- at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] ----------- .xsession-errors --------------------- at System.Uri..ctor (System.String uriString, Boolean dontEscape) [0x00000] at System.Uri..ctor (System.String uriString) [0x00000] at GnomeSubtitles.Dialog.FileOpenDialog.ProcessResponse (ResponseType response) [0x00000] at GnomeSubtitles.Dialog.BaseDialog.OnResponse (System.Object o, Gtk.ResponseArgs args) [0x00000] at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] --- End of inner exception stack trace --- at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] --------------------------------------------------
I can constantly reproduce this by using the file name: "Andrea_Ghez:_The_hunt_for_a_supermassive_black_hole.srt" in /home/user/video/ If I remove any of the letters (for example: black_hol.srt) everything is fine, so it must have something to do with the file name and not the content.
Thanks for the report. Like you mentioned, characters like ":" weren't being handled properly. This problem has been fixed in the development version and will be available in the next major software release.