chutinhha / open-hardware-monitor

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

Crash on Exit #415

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

when I hit "Exit" at the Tray icon, the Gadget on the second monitor stays 
there... and then the app crashes(after a few seconds) with following error:

Version: 0.5.1.0

System.ArgumentOutOfRangeException: Der Index lag außerhalb des Bereichs. Er 
muss nicht negativ und kleiner als die Auflistung sein.
Parametername: index
   bei System.ThrowHelper.ThrowArgumentOutOfRangeException()
   bei System.Collections.Generic.List`1.RemoveAt(Int32 index)
   bei OpenHardwareMonitor.WMI.WmiProvider.RevokeInstance(String identifier)
   bei OpenHardwareMonitor.WMI.WmiProvider.ComputerHardwareRemoved(IHardware hardware)
   bei OpenHardwareMonitor.WMI.WmiProvider.ComputerHardwareRemoved(IHardware hardware)
   bei OpenHardwareMonitor.Hardware.HardwareEventHandler.Invoke(IHardware hardware)
   bei OpenHardwareMonitor.Hardware.Computer.Remove(IGroup group)
   bei OpenHardwareMonitor.Hardware.Computer.Close()
   bei OpenHardwareMonitor.GUI.MainForm.MainForm_FormClosed(Object sender, FormClosedEventArgs e)
   bei System.Windows.Forms.FormClosedEventHandler.Invoke(Object sender, FormClosedEventArgs e)
   bei System.Windows.Forms.Form.OnFormClosed(FormClosedEventArgs e)
   bei System.Windows.Forms.Form.WmClose(Message& m)
   bei System.Windows.Forms.Form.WndProc(Message& m)
   bei OpenHardwareMonitor.GUI.MainForm.WndProc(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Common Language Runtime: 4.0.30319.586
Operating System: Microsoft Windows NT 5.1.2600 Service Pack 3
Process Type: 32-Bit

Original issue reported on code.google.com by janhendrikbade on 19 Nov 2012 at 3:56

GoogleCodeExporter commented 8 years ago
This new alpha version should fix the problem.

http://openhardwaremonitor.org/files/openhardwaremonitor-v0.5.1.10-alpha.zip

Original comment by moel.mich on 19 Nov 2012 at 9:04

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r430.

Original comment by moel.mich on 19 Nov 2012 at 9:05

GoogleCodeExporter commented 8 years ago
works thx

Original comment by janhendrikbade on 20 Nov 2012 at 8:41