Crash when opening translation file
Gnome Subtitles 1.5 crashes each time I try to open a translation file (tried different ones). See debug code below. I use v. 1.5 from PPA on Ubuntu 19.04. v. 1.4.2-1 from Ubuntu repositories works without any problems.
Marshaling response signal
Exception in Gtk# callback delegate
Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
at GnomeSubtitles.Dialog.FileOpenDialog.ProcessResponse (Gtk.ResponseType response) [0x0008d] in <bc6f235ac5ed4b13b28354bb2b923add>:0
at GnomeSubtitles.Dialog.BaseDialog.OnResponse (System.Object o, Gtk.ResponseArgs args) [0x00007] in <bc6f235ac5ed4b13b28354bb2b923add>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00044] in <d0e12f672b88444ab4b6d9b2ecf20142>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0005f] in <d0e12f672b88444ab4b6d9b2ecf20142>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <d0e12f672b88444ab4b6d9b2ecf20142>:0
at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x0010d] in <d0e12f672b88444ab4b6d9b2ecf20142>:0
at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x0000b] in <d0e12f672b88444ab4b6d9b2ecf20142>:0
at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <d0e12f672b88444ab4b6d9b2ecf20142>:0
at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x0003e] in <4585e411a46b451eac14ce4f86025668>:0
at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00011] in <4585e411a46b451eac14ce4f86025668>:0
at GLib.SignalClosure.MarshalCallback (System.IntPtr raw_closure, System.IntPtr return_val, System.UInt32 n_param_vals, System.IntPtr param_values, System.IntPtr invocation_hint, System.IntPtr marshal_data) [0x0014e] in <4585e411a46b451eac14ce4f86025668>:0
at GLib.ExceptionManager.RaiseUnhandledException (System.Exception e, System.Boolean is_terminal) [0x00000] in <4585e411a46b451eac14ce4f86025668>:0
at GLib.SignalClosure.MarshalCallback (System.IntPtr raw_closure, System.IntPtr return_val, System.UInt32 n_param_vals, System.IntPtr param_values, System.IntPtr invocation_hint, System.IntPtr marshal_data) [0x00000] in <4585e411a46b451eac14ce4f86025668>:0
at Gtk.Dialog.gtk_dialog_run (System.IntPtr ) [0x00000] in <f3a26baff3a648fab9170f720fa7506c>:0
at Gtk.Dialog.Run () [0x00000] in <f3a26baff3a648fab9170f720fa7506c>:0
at GnomeSubtitles.Dialog.BaseDialog.WaitForResponse () [0x00000] in <bc6f235ac5ed4b13b28354bb2b923add>:0
at GnomeSubtitles.Ui.MainUi.TranslationOpen () [0x00000] in <bc6f235ac5ed4b13b28354bb2b923add>:0
at GnomeSubtitles.Core.EventHandlers.OnFileTranslationOpen (System.Object o, System.EventArgs args) [0x00000] in <bc6f235ac5ed4b13b28354bb2b923add>:0
at System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod , System.Object , System.Object[] , System.Exception& ) [0x00000] in <d0e12f672b88444ab4b6d9b2ecf20142>:0
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <d0e12f672b88444ab4b6d9b2ecf20142>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <d0e12f672b88444ab4b6d9b2ecf20142>:0
at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <d0e12f672b88444ab4b6d9b2ecf20142>:0
at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <d0e12f672b88444ab4b6d9b2ecf20142>:0
at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <d0e12f672b88444ab4b6d9b2ecf20142>:0
at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in <4585e411a46b451eac14ce4f86025668>:0
at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in <4585e411a46b451eac14ce4f86025668>:0
at GLib.SignalClosure.MarshalCallback (System.IntPtr raw_closure, System.IntPtr return_val, System.UInt32 n_param_vals, System.IntPtr param_values, System.IntPtr invocation_hint, System.IntPtr marshal_data) [0x00000] in <4585e411a46b451eac14ce4f86025668>:0
at GLib.Application.g_application_run (System.IntPtr , System.Int32 , System.IntPtr ) [0x00000] in <46b602a63bb84fcea4f86063f00beda0>:0
at GLib.Application.Run (System.Int32 argc, System.String argv) [0x00000] in <46b602a63bb84fcea4f86063f00beda0>:0
at GnomeSubtitles.Execution.ExecutionContext.Execute (System.Action methodToExecute) [0x00000] in <bc6f235ac5ed4b13b28354bb2b923add>:0
at GnomeSubtitles.Core.Base.Execute (GnomeSubtitles.Execution.ExecutionContext context) [0x00000] in <bc6f235ac5ed4b13b28354bb2b923add>:0
at GnomeSubtitles.Execution.Executable.Main (System.String[] args) [0x00000] in <bc6f235ac5ed4b13b28354bb2b923add>:0