sysinfo crashes when I click on "system": GConf.NoSuchKeyException: Key '/apps/sysinfo/window_width' not found in GConf.
For me it crashes with the following backtrace, obviously when trying to get "window_width":
% sysinfo
GConf.NoSuchKeyException: Key '/apps/sysinfo/window_width' not found in GConf
at GConf.Client.Get (System.String key) [0x00000]
at Sysinfo.Sysinfo..ctor (System.String[] args) [0x00000]
Exception in Gtk# callback delegate
Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.NullReferenceException: Object reference not set to an instance of an object
at Sysinfo.SystemInfo.Xorg () [0x00000]
at Sysinfo.Sysinfo.on_notebook1_switch_page (System.Object o, Gtk.SwitchPageArgs e) [0x00000]
at Gtk.Notebook.SwitchPageSignalCallback (IntPtr arg0, IntPtr arg1, UInt32 arg2, IntPtr gch) [0x00000]
at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
at Gtk.Notebook.SwitchPageSignalCallback(IntPtr arg0, IntPtr arg1, UInt32 arg2, IntPtr gch)
at Gtk.Notebook.gtk_notebook_set_current_page(IntPtr , Int32 )
at Gtk.Notebook.set_CurrentPage(Int32 value)
at Sysinfo.Sysinfo.on_treeview1_cursor_changed(System.Object o, System.EventArgs e)
at System.Reflection.MonoMethod.InternalInvoke(System.Object , System.Object[] , System.Exception ByRef )
at System.Reflection.MonoMethod.Invoke(System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
at System.Reflection.MethodBase.Invoke(System.Object obj, System.Object[] parameters)
at System.Delegate.DynamicInvokeImpl(System.Object[] args)
at System.MulticastDelegate.DynamicInvokeImpl(System.Object[] args)
at System.Delegate.DynamicInvoke(System.Object[] args)
at GLib.Signal.ClosureInvokedCB(System.Object o, GLib.ClosureInvokedArgs args)
at GLib.SignalClosure.Invoke(GLib.ClosureInvokedArgs args)
at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)
at Gtk.Application.gtk_main()
at Gtk.Application.Run()
at Sysinfo.Sysinfo..ctor(System.String[] args)
at Sysinfo.Sysinfo.Main(System.String[] args)
Forwarded from: https://bugs.launchpad.net/ubuntu/+source/sysinfo/+bug/596727
This patch was actually an NRE caused by the loop failing to find any matching lines in the config file and therefore attempting to read past the end. I've patched it and also made the parsing more robust (to allow for timestamps at the beginning of lines as found in some setups)
This also affects me. I just installed the program, I click on System, and the program just disappears. Very bad. I am using Ubuntu 10.10 64-bit, installed the program from the software centre. This crash needs to be fixed, otherwise it should not be in the software centre.