[ubuntu-mono] [Bug 633068] Re: sysinfo crashes on startup

AndreaM 633068 at bugs.launchpad.net
Sat Feb 26 13:29:39 UTC 2011


I have got the same problem on Maverick with latest Kernel release

$ uname -a
Linux cube64 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:44 UTC 2011 x86_64 GNU/Linux

sysinfo fails with a Null reference

$ sysinfo 
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] in <filename unknown>:0 
  at Sysinfo.Sysinfo.on_notebook1_switch_page (System.Object o, Gtk.SwitchPageArgs e) [0x00000] in <filename unknown>:0 
  at Gtk.Notebook.SwitchPageSignalCallback (IntPtr arg0, IntPtr arg1, UInt32 arg2, IntPtr gch) [0x00000] in <filename unknown>:0 
   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..ctor(System.String[] args)
   at Sysinfo.Sysinfo.Main(System.String[] args)


As far I can see sysinfo is getting a segmenation fault while reading NVidia log files. I cannot explain why.
Here is an excerpt from strace


open("/var/log/Xorg.0.log", O_RDONLY)   = 18
fstat(18, {st_mode=S_IFREG|0644, st_size=16831, ...}) = 0
semop(229377, {{3, -1, SEM_UNDO}}, 1)   = 0
semop(229377, {{2, -1, SEM_UNDO}}, 1)   = 0
semop(229377, {{2, 1, SEM_UNDO}}, 1)    = 0
semop(229377, {{3, 1, SEM_UNDO}}, 1)    = 0
semop(229377, {{2, -1, SEM_UNDO}}, 1)   = 0
semop(229377, {{2, 1, SEM_UNDO}}, 1)    = 0
fstat(18, {st_mode=S_IFREG|0644, st_size=16831, ...}) = 0
read(18, "[    13.034] \nX.Org X Server 1.9"..., 8192) = 8192
read(18, "  13.639] (II) NVIDIA(0): Assign"..., 8192) = 8192
read(18, "ut: 200\n[    14.020] (II) XINPUT"..., 8192) = 447
read(18, "", 8192)                      = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
rt_sigreturn(0x7fff33473b18)            = 0
semop(229377, {{2, -1, SEM_UNDO}}, 1)   = 0
semop(229377, {{2, 1, SEM_UNDO}}, 1)    = 0


The strace output is attached.
HTH

Cheers,
Andrea



** Attachment added: "strace output"
   https://bugs.launchpad.net/ubuntu/+source/sysinfo/+bug/633068/+attachment/1872817/+files/strace.sysinfo.out

-- 
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to sysinfo in ubuntu.
https://bugs.launchpad.net/bugs/633068

Title:
  sysinfo crashes on startup

Status in “sysinfo” package in Ubuntu:
  New

Bug description:
  Binary package hint: sysinfo

  I just tried to start sysinfo and it crashed instead of getting
  opened. i'm on maverick 32-bit. using the terminal gave me these
  things:

  ~$ sysinfo
  GConf.NoSuchKeyException: Key '/apps/sysinfo/initial_animation' not found in GConf
    at GConf.Client.Get (System.String key) [0x00000] in <filename unknown>:0 
    at Sysinfo.Sysinfo.UpdateFromGConf () [0x00000] in <filename unknown>:0 
  GConf.NoSuchKeyException: Key '/apps/sysinfo/window_width' not found in GConf
    at GConf.Client.Get (System.String key) [0x00000] in <filename unknown>:0 
    at Sysinfo.Sysinfo..ctor (System.String[] args) [0x00000] in <filename unknown>:0 
  GConf.NoSuchKeyException: Key '/apps/sysinfo/section_start' not found in GConf
    at GConf.Client.Get (System.String key) [0x00000] in <filename unknown>:0 
    at Sysinfo.Sysinfo..ctor (System.String[] args) [0x00000] in <filename unknown>:0 
  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] in <filename unknown>:0 
    at Sysinfo.Sysinfo.on_notebook1_switch_page (System.Object o, Gtk.SwitchPageArgs e) [0x00000] in <filename unknown>:0 
    at Gtk.Notebook.SwitchPageSignalCallback (IntPtr arg0, IntPtr arg1, UInt32 arg2, IntPtr gch) [0x00000] in <filename unknown>:0 
     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)



More information about the Ubuntu-mono mailing list