[Mono-bugs] [Bug 80805][Wis] New - System.ArgumentOutOfRangeException: Argument is out of range.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Feb 12 06:09:21 EST 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by liedekef at telenet.be.

http://bugzilla.ximian.com/show_bug.cgi?id=80805

--- shadow/80805	2007-02-12 06:09:21.000000000 -0500
+++ shadow/80805.tmp.4764	2007-02-12 06:09:21.000000000 -0500
@@ -0,0 +1,182 @@
+Bug#: 80805
+Product: Mono: Runtime
+Version: 1.2
+OS: 
+OS Details: Linux Fedora
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: JIT
+AssignedTo: lupus at ximian.com                            
+ReportedBy: liedekef at telenet.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: System.ArgumentOutOfRangeException: Argument is out of range.
+
+Description of Problem:
+I have an application that ran fine under 1.1.17 (apart from some screen
+refresh issues), but now under 1.2.3 I always get the following error:
+
+System.ArgumentOutOfRangeException: Argument is out of range.
+Parameter name: startIndex + length > this.length
+  at System.String.Substring (Int32 startIndex, Int32 length) [0x00000] 
+etc ... (see below) after which mono stops.
+
+I've tried 1.1.17 under fc6: works fine, but 1.2.2 (fedora dev repo) gives
+me this problem, as does the binary 1.2.3 version (linux installer) on the
+mono-project site (same issue also under ubuntu with the binary 1.2.3 version).
+So I guess 1.1.* works for this, but 1.2.* doesn't ...
+
+The button that triggers this action is a button that calls cups for the
+default printer and then should ask for a "print preview".
+I've launched 1.2.3 with
+MONO_LOG_LEVEL="debug" mono etilux.exe
+and then this are the lines after I press the button:
+
+System.ArgumentOutOfRangeException: Argument is out of range.
+Parameter name: startIndex + length > this.length
+  at System.String.Substring (Int32 startIndex, Int32 length) [0x00000] 
+  at BBBC_PC.FormCmdes.SetClientOrFournisseur () [0x00000] 
+  at BBBC_PC.FormCmdes.LaunchPrint (Boolean Mode) [0x00000] 
+  at BBBC_PC.FormCmdes.button_Afdruk_Click (System.Object sender,
+System.EventArgs e) [0x00000] 
+  at (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
+  at System.Windows.Forms.Control.OnClick (System.EventArgs e) [0x00000] 
+  at System.Windows.Forms.Button.OnClick (System.EventArgs e) [0x00000] 
+  at System.Windows.Forms.ButtonBase.OnMouseUp
+(System.Windows.Forms.MouseEventArgs mevent) [0x00000] 
+  at System.Windows.Forms.Button.OnMouseUp
+(System.Windows.Forms.MouseEventArgs e) [0x00000] 
+  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m)
+[0x00000] 
+  at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message&
+m) [0x00000] 
+  at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m)
+[0x00000] 
+  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg,
+IntPtr wParam, IntPtr lParam) [0x00000] 
+Mono-INFO: DllImport attempting to load: 'user32.dll'.
+Mono-INFO: DllImport loading location: 'libuser32.dll.so'.
+Mono-INFO: DllImport error loading library: 'libuser32.dll.so: cannot open
+shared object file: No such file or directory'.
+Mono-INFO: DllImport loading library: './libuser32.dll.so'.
+Mono-INFO: DllImport error loading library './libuser32.dll.so: cannot open
+shared object file: No such file or directory'.
+Mono-INFO: DllImport loading: 'user32.dll'.
+Mono-INFO: DllImport error loading library 'user32.dll: cannot open shared
+object file: No such file or directory'.
+Mono-INFO: DllImport loading location: 'libuser32.so'.
+Mono-INFO: DllImport error loading library: 'libuser32.so: cannot open
+shared object file: No such file or directory'.
+Mono-INFO: DllImport loading library: './libuser32.so'.
+Mono-INFO: DllImport error loading library './libuser32.so: cannot open
+shared object file: No such file or directory'.
+Mono-INFO: DllImport loading: 'user32'.
+Mono-INFO: DllImport error loading library 'user32.so: cannot open shared
+object file: No such file or directory'.
+Mono-INFO: DllImport loading location: 'libuser32.dll'.
+Mono-INFO: DllImport error loading library: 'libuser32.dll: cannot open
+shared object file: No such file or directory'.
+Mono-INFO: DllImport loading library: './libuser32.dll'.
+Mono-INFO: DllImport error loading library './libuser32.dll: cannot open
+shared object file: No such file or directory'.
+Mono-INFO: DllImport loading: 'libuser32.dll'.
+Mono-INFO: DllImport error loading library 'libuser32.dll: cannot open
+shared object file: No such file or directory'.
+Mono-INFO: DllImport loading location: 'libMonoSupportW.so'.
+Mono-INFO: Searching for 'DestroyIcon'.
+Mono-INFO: Probing 'DestroyIcon'.
+Mono-INFO: Probing 'DestroyIcon'.
+Mono-INFO: Probing 'DestroyIconA'.
+Mono-INFO: Probing 'DestroyIconA'.
+Mono-INFO: DllImport attempting to load: 'gdiplus.dll'.
+Mono-INFO: DllImport loading location: 'libgdiplus.dll.so'.
+Mono-INFO: DllImport error loading library: 'libgdiplus.dll.so: cannot open
+shared object file: No such file or directory'.
+Mono-INFO: DllImport loading library: './libgdiplus.dll.so'.
+Mono-INFO: DllImport error loading library './libgdiplus.dll.so: cannot
+open shared object file: No such file or directory'.
+Mono-INFO: DllImport loading: 'gdiplus.dll'.
+Mono-INFO: DllImport error loading library 'gdiplus.dll: cannot open shared
+object file: No such file or directory'.
+Mono-INFO: DllImport loading location: 'libgdiplus.so'.
+Mono-INFO: Searching for 'GdipDeleteFontFamily'.
+Mono-INFO: Probing 'GdipDeleteFontFamily'.
+Mono-INFO: Found as 'GdipDeleteFontFamily'.
+Mono-INFO: DllImport attempting to load: 'gdiplus.dll'.
+Mono-INFO: DllImport loading location: 'libgdiplus.dll.so'.
+Mono-INFO: DllImport error loading library: 'libgdiplus.dll.so: cannot open
+shared object file: No such file or directory'.
+Mono-INFO: DllImport loading library: './libgdiplus.dll.so'.
+Mono-INFO: DllImport error loading library './libgdiplus.dll.so: cannot
+open shared object file: No such file or directory'.
+Mono-INFO: DllImport loading: 'gdiplus.dll'.
+Mono-INFO: DllImport error loading library 'gdiplus.dll: cannot open shared
+object file: No such file or directory'.
+Mono-INFO: DllImport loading location: 'libgdiplus.so'.
+Mono-INFO: Searching for 'GdipDeleteFont'.
+Mono-INFO: Probing 'GdipDeleteFont'.
+Mono-INFO: Found as 'GdipDeleteFont'.
+Mono-INFO: Unloading domain etilux.exe 0x25ed8, assembly DataCombo
+0x97eca30, refcount=2
+
+Mono-INFO: Unloading domain etilux.exe 0x25ed8, assembly
+System.EnterpriseServices 0x963ce08, refcount=2
+
+Mono-INFO: Unloading domain etilux.exe 0x25ed8, assembly System.Xml
+0x9631bf8, refcount=5
+
+Mono-INFO: Unloading domain etilux.exe 0x25ed8, assembly
+System.Web.Services 0x9617cf8, refcount=2
+
+Mono-INFO: Unloading domain etilux.exe 0x25ed8, assembly System.Data
+0x95c4d08, refcount=2
+
+Mono-INFO: Unloading domain etilux.exe 0x25ed8, assembly Mono.Posix
+0x946c718, refcount=2
+
+Mono-INFO: Unloading domain etilux.exe 0x25ed8, assembly System.Drawing
+0x939d1e8, refcount=4
+
+Mono-INFO: Unloading domain etilux.exe 0x25ed8, assembly Accessibility
+0x9399d60, refcount=2
+
+Mono-INFO: Unloading domain etilux.exe 0x25ed8, assembly System 0x9392a90,
+refcount=9
+
+Mono-INFO: Unloading domain etilux.exe 0x25ed8, assembly
+System.Windows.Forms 0x9387f30, refcount=3
+
+Mono-INFO: Unloading domain etilux.exe 0x25ed8, assembly etilux 0x937f098,
+refcount=1
+
+Mono-INFO: Unloading assembly etilux [0x937f098].
+Mono-INFO: Unloading assembly System.Web.Services [0x9617cf8].
+Mono-INFO: Unloading image
+/home/xxx/mono-1.2.3/lib/mono/gac/System.Web.Services/1.0.5000.0__b03f5f7f11d50a3a/System.Web.Services.dll
+[0x9616d68].
+Mono-INFO: Unloading assembly System.Data [0x95c4d08].
+Mono-INFO: Unloading image
+/home/xxx/mono-1.2.3/lib/mono/gac/System.Data/1.0.5000.0__b77a5c561934e089/System.Data.dll
+[0x9592300].
+Mono-INFO: Unloading assembly DataCombo [0x97eca30].
+Mono-INFO: Unloading assembly System.Windows.Forms [0x9387f30].
+Mono-INFO: Unloading image
+/home/xxx/mono-1.2.3/lib/mono/gac/System.Windows.Forms/1.0.5000.0__b77a5c561934e089/System.Windows.Forms.dll
+[0x9387268].
+Mono-INFO: Unloading image /tmp/etilux/DataCombo.dll [0x984db00].
+Mono-INFO: Unloading domain etilux.exe 0x25ed8, assembly mscorlib
+0x935bd20, refcount=6
+
+This happens all the time, not just on occasion.
+Is this enough info to trace the problem?
+
+with friendly regards,
+
+Franky


More information about the mono-bugs mailing list