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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/633068

Title:
  sysinfo crashes on startup

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to