[Grub-dev] grubng c# 0.7.5 (winxp) suddenly stops working

ab spam at abittner.de
Thu Aug 14 10:18:09 UTC 2008


Bartek Jasicki wrote:
> Yes, at this moment, probably only way is delete files 0.xml and
> workunit0. Last question: In error.log appears any new informations
> after this crash?


this is all that is in errorlog:

> 2008/08/12/20:37:08 Caught: Array index is out of range.
>   Source: Grubng
>   StackTrace: at Grubng.WinCrawlerInfo.OnTextClick (object,System.Windows.Forms.MouseEventArgs) <0x00126>
> at System.Windows.Forms.Control.OnMouseClick (System.Windows.Forms.MouseEventArgs) <0x00050>
> at System.Windows.Forms.Control.HandleClick (int,System.Windows.Forms.MouseEventArgs) <0x0009f>
> at System.Windows.Forms.TextBoxBase.HandleClick (int,System.Windows.Forms.MouseEventArgs) <0x0004f>
> at System.Windows.Forms.Control.WmRButtonUp (System.Windows.Forms.Message&) <0x002f2>
> at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&) <0x0025a>
> at System.Windows.Forms.TextBoxBase.WndProc (System.Windows.Forms.Message&) <0x0030d>
> at System.Windows.Forms.RichTextBox.WndProc (System.Windows.Forms.Message&) <0x0000d>
> at ControlWindowTarget.OnMessage (System.Windows.Forms.Message&) <0x00014>
> at ControlNativeWindow.WndProc (System.Windows.Forms.Message&) <0x00022>
> at System.Windows.Forms.NativeWindow.WndProc (intptr,System.Windows.Forms.Msg,intptr,intptr) <0x0015c>
> at System.Windows.Forms.XplatUIWin32.InternalWndProc (intptr,System.Windows.Forms.Msg,intptr,intptr) <0x00046>
> at (wrapper native-to-managed) System.Windows.Forms.XplatUIWin32.InternalWndProc (intptr,System.Windows.Forms.Msg,intptr,intptr) <0x00065>
> at (wrapper managed-to-native) System.Windows.Forms.XplatUIWin32.Win32DispatchMessage (System.Windows.Forms.MSG&) <0x00004>
> at System.Windows.Forms.XplatUIWin32.DispatchMessage (System.Windows.Forms.MSG&) <0x0000a>
> at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG&) <0x00015>
> at System.Windows.Forms.Application.RunLoop (bool,System.Windows.Forms.ApplicationContext) <0x0099f>
> at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext) <0x0004c>
> at System.Windows.Forms.Application.Run (System.Windows.Forms.Form) <0x00022>
> at Grubng.StartWinForm.StartGUI () <0x001e9>
> at Grubng.MainClass.Main (string[]) <0x00086>
> 
>   TargetSite: Void OnTextClick(System.Object, System.Windows.Forms.MouseEventArgs)
> 2008/08/13/00:49:50 Caught: Array index is out of range.
>   Source: Grubng
>   StackTrace: at Grubng.WinCrawlerInfo.OnTextClick (object,System.Windows.Forms.MouseEventArgs) <0x000ce>
> at System.Windows.Forms.Control.OnMouseClick (System.Windows.Forms.MouseEventArgs) <0x00050>
> at System.Windows.Forms.Control.HandleClick (int,System.Windows.Forms.MouseEventArgs) <0x0009f>
> at System.Windows.Forms.TextBoxBase.HandleClick (int,System.Windows.Forms.MouseEventArgs) <0x0004f>
> at System.Windows.Forms.Control.WmRButtonUp (System.Windows.Forms.Message&) <0x002f2>
> at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&) <0x0025a>
> at System.Windows.Forms.TextBoxBase.WndProc (System.Windows.Forms.Message&) <0x0030d>
> at System.Windows.Forms.RichTextBox.WndProc (System.Windows.Forms.Message&) <0x0000d>
> at ControlWindowTarget.OnMessage (System.Windows.Forms.Message&) <0x00014>
> at ControlNativeWindow.WndProc (System.Windows.Forms.Message&) <0x00022>
> at System.Windows.Forms.NativeWindow.WndProc (intptr,System.Windows.Forms.Msg,intptr,intptr) <0x0015c>
> at System.Windows.Forms.XplatUIWin32.InternalWndProc (intptr,System.Windows.Forms.Msg,intptr,intptr) <0x00046>
> at (wrapper native-to-managed) System.Windows.Forms.XplatUIWin32.InternalWndProc (intptr,System.Windows.Forms.Msg,intptr,intptr) <0x00065>
> at (wrapper managed-to-native) System.Windows.Forms.XplatUIWin32.Win32DispatchMessage (System.Windows.Forms.MSG&) <0x00004>
> at System.Windows.Forms.XplatUIWin32.DispatchMessage (System.Windows.Forms.MSG&) <0x0000a>
> at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG&) <0x00015>
> at System.Windows.Forms.Application.RunLoop (bool,System.Windows.Forms.ApplicationContext) <0x0099f>
> at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext) <0x0004c>
> at System.Windows.Forms.Application.Run (System.Windows.Forms.Form) <0x00022>
> at Grubng.StartWinForm.StartGUI () <0x001e9>
> at Grubng.MainClass.Main (string[]) <0x00086>
> 
>   TargetSite: Void OnTextClick(System.Object, System.Windows.Forms.MouseEventArgs)
> 2008/08/14/01:45:02 Caught: Sharing violation on path workunit0
>   Source: mscorlib
>   StackTrace:   at System.IO.File.Delete (System.String path) [0x00000] 
>   at Grubng.Threads.WorkThread (System.Object data) [0x00000] 
>   TargetSite: Void Delete(System.String)
> 2008/08/14/01:45:35 Caught: Sharing violation on path workunit0
>   Source: mscorlib
>   StackTrace:   at System.IO.File.Delete (System.String path) [0x00000] 
>   at Grubng.Threads.WorkThread (System.Object data) [0x00000] 
>   TargetSite: Void Delete(System.String)
> 2008/08/14/01:46:29 Caught: Sharing violation on path workunit0
>   Source: mscorlib
>   StackTrace:   at System.IO.File.Delete (System.String path) [0x00000] 
>   at Grubng.Threads.WorkThread (System.Object data) [0x00000] 
>   TargetSite: Void Delete(System.String)
> 2008/08/14/11:11:44 Caught: Sharing violation on path workunit0
>   Source: mscorlib
>   StackTrace:   at System.IO.File.Delete (System.String path) [0x00000] 
>   at Grubng.Threads.WorkThread (System.Object data) [0x00000] 
>   TargetSite: Void Delete(System.String)
> 2008/08/14/11:18:54 Caught: Sharing violation on path workunit0
>   Source: mscorlib
>   StackTrace:   at System.IO.File.Delete (System.String path) [0x00000] 
>   at Grubng.Threads.WorkThread (System.Object data) [0x00000] 
>   TargetSite: Void Delete(System.String)


the workunit0 file seems mostly a valid list of urls and agent
information, but is only 20kbytes of size and at the end it seems cut
off or something.

the last block of crawling information ends with
> User-Agent: GrubNG

all other blocks of crawling information seem to have:
> User-Agent: GrubNG 20080128

maybe the clients should validate the workunit files and/or
delete/refetch workunits if there seem to be errors or something. dont
know if this is the reason for the crash.

the last character in the workunit is a space " " after the "GrubNG"


More information about the Grub-dev mailing list