mehdroid / open-hardware-monitor

Automatically exported from code.google.com/p/open-hardware-monitor
0 stars 0 forks source link

mono crash when enabling any sensor tray view #608

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm running OHM with mono v2.10.8.
When enabling "Show in Tray" with any sensor the program crashes (but the tray 
icon is added correctly).

crash report:
Version: 0.6.0.0

System.ObjectDisposedException: The object was used after being disposed.
  at System.IO.MemoryStream.CheckIfClosedThrowDisposed () [0x00000] in <filename unknown>:0 
  at System.IO.MemoryStream.set_Position (Int64 value) [0x00000] in <filename unknown>:0 
  at OpenHardwareMonitor.Utilities.IconFactory.Create (System.Byte[] colors, Int32 width, Int32 height, PixelFormat format) [0x00000] in <filename unknown>:0 
  at OpenHardwareMonitor.GUI.SensorNotifyIcon.CreateTransparentIcon () [0x00000] in <filename unknown>:0 
  at OpenHardwareMonitor.GUI.SensorNotifyIcon.Update () [0x00000] in <filename unknown>:0 
  at OpenHardwareMonitor.GUI.SystemTray.Redraw () [0x00000] in <filename unknown>:0 
  at OpenHardwareMonitor.GUI.MainForm.timer_Tick (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Timer.OnTick (System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Timer.FireTick () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Timer:FireTick ()
  at System.Windows.Forms.XplatUIX11.CheckTimers (System.Collections.ArrayList timers, DateTime now) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUIX11.UpdateMessageQueue (System.Windows.Forms.XEventQueue queue, Boolean allowIdle) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUIX11.UpdateMessageQueue (System.Windows.Forms.XEventQueue queue) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUIX11.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, IntPtr handle, Int32 wFilterMin, Int32 wFilterMax) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUI.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, IntPtr hWnd, Int32 wFilterMin, Int32 wFilterMax) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Application.Run () [0x00000] in <filename unknown>:0 
  at OpenHardwareMonitor.Program.Main () [0x00000] in <filename unknown>:0 

Common Language Runtime: 2.0.50727.1433
Operating System: Unix 3.8.2.0
Process Type: 32-Bit

Original issue reported on code.google.com by mantox...@gmail.com on 15 Jul 2014 at 9:55