1

Closed

Overflow when selecting certain items

description

about 1/5 of the nodes listed throw the following exception when selected. Top level and child nodes.
 
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
 
************** Exception Text **************
System.OverflowException: Value was either too large or too small for an Int32.
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at System.Int32.Parse(String s)
at svchost_viewer.Form1.ShowAllTheInfo(Int32 x, Int32 y)
at svchost_viewer.Form1.treeView1_AfterSelect(Object sender, TreeViewEventArgs e)
at System.Windows.Forms.TreeView.OnAfterSelect(TreeViewEventArgs e)
at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
at System.Windows.Forms.TreeView.WmNotify(Message& m)
at System.Windows.Forms.TreeView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 
 
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)

CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

svchost viewer
Assembly Version: 0.2.0.0
Win32 Version: 0.2.0.0

CodeBase: file:///C:/Users/Vaelek/Documents/Downloads/svchost_viewer_Ver_0.2.0.0/svchost%20viewer.exe

System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

System.Management
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)

CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll

Closed Oct 26, 2008 at 1:08 AM by ShoXDK
Fixed as of version 0.3.0.0.

comments

vaelek wrote Sep 18, 2008 at 12:16 AM

This can be fixed by changing lines 277/278 in Form1.cs to the following

data_written_txt.Text = "Amount of data written : " + String.Format("{0:0,0}", (Int64.Parse(hd.WriteTransferCount.ToString()) / 1024)) + " KB";
data_read_txt.Text = "Amount of data read : " + String.Format("{0:0,0}", (Int64.Parse(hd.ReadTransferCount.ToString()) / 1024)) + " KB";

ShoXDK wrote Sep 18, 2008 at 3:47 PM

You leave your computer running for a long time eh ?
hehe, but thank you for the infomation :P, will be in the next release :P

ShoXDK wrote Sep 18, 2008 at 3:55 PM

how big is the amount of data your svchost/(s) are read/writing ?? cause maybe i need to
change the way the program is showing this infomation.

vaelek wrote Sep 19, 2008 at 3:07 AM

I had Write a value of just under 3 gig. 2906816964
And yes, often weeks at a time.
I have not run it on my server yet, that one goes months at a time, or whatever the frequency of power outages is :)

ShoXDK wrote Sep 19, 2008 at 3:56 PM

Hmm then I'll probably change the way the program "gets/displays" that data, thanks for the feedback :P

ShoXDK wrote Sep 20, 2008 at 8:49 AM

If your still here, could you try the new version, "svchost viewer ver 0.3.0.0 RC1", and see if it fixed the problem, I should but i change some
things around, so i just wanna be sure.

ShoXDK wrote Sep 20, 2008 at 8:59 AM

  • It should.