After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 587100 - GS crashes on Edit->Preferences (git version)
GS crashes on Edit->Preferences (git version)
Status: RESOLVED FIXED
Product: gnome-subtitles
Classification: Other
Component: general
latest
Other All
: Normal major
: ---
Assigned To: Maintainers of GNOME subtitles
Maintainers of GNOME subtitles
Depends on:
Blocks:
 
 
Reported: 2009-06-26 23:11 UTC by Marcin Zajaczkowski
Modified: 2009-06-27 01:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marcin Zajaczkowski 2009-06-26 23:11:29 UTC
Steps to reproduce:
Edit->Preferences.
GIT version a0894b4..3ca0361.
Fedora 11.
Works fine with 0.8.2.

Stack trace:
[szpak@mszpak build]$ mono ./gnome-subtitles.exe 
Got 21 languages.
Marshaling activate signal
Gnome Subtitles version: 0.9
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.MissingMethodException: No constructor found for GnomeSubtitles.Dialog.PreferencesDialog::.ctor()
  at System.Activator.CreateInstance (System.Type type, BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x00000] 
  at System.Activator.CreateInstance (System.Type type, System.Object[] args, System.Object[] activationAttributes) [0x00000] 
  at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] 
  at GnomeSubtitles.Dialog.Dialogs.Get (System.Type dialogType, System.Object[] args) [0x00000] 
  at GnomeSubtitles.Core.EventHandlers.OnEditPreferences (System.Object o, System.EventArgs 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] 


Other information:
I know it's a stacktrace without debug information, but a System.MissingMethodException: No constructor found for GnomeSubtitles.Dialog.PreferencesDialog::.ctor() seems to be clear (and strange).
Comment 1 Marcin Zajaczkowski 2009-06-26 23:12:15 UTC
There is no so many options to set to make it critical ;).
Comment 2 Pedro Castro 2009-06-27 01:00:33 UTC
Thanks for the report Marcin.

This bug was introduced by one of the refactorings done in the current release. It has been fixed in Git.