[Mono-bugs] [Bug 72605][Wis] Changed - NullReferenceException, GdiPlus and rsh problem

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 15 Feb 2005 09:18:37 -0500 (EST)


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 vguzev@yandex.ru.

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

--- shadow/72605	2005-02-15 09:15:05.000000000 -0500
+++ shadow/72605.tmp.25831	2005-02-15 09:18:37.000000000 -0500
@@ -125,6 +125,193 @@
 
 
 ------- Additional Comments From vguzev@yandex.ru  2005-02-15 09:15 -------
 It only appears when we use rsh.
 
 As far as I know mono-1.1.4 is not available yet...
+
+------- Additional Comments From vguzev@yandex.ru  2005-02-15 09:18 -------
+Here's what Yury Serdyuk <Yury@serdyuk.botik.ru> wrote about this 
+bug:
+
+--8<--------------------------------------
+Hi !
+
+>I successfully tested this with 100 threads on ppc and 1000 threads 
+on x86
+with no 
+>failures (no rsh tho).  Could you please retest with mono 1.1.4 
+(due any
+day now) and 
+>report back.
+>
+>Also; does this fail without using rsh; just running it locally?
+>
+
+This failure is occured only through rsh running.
+Locally it works good  ( we have tested 1000 threads also ).
+
+We have tested under glib-2.0 versions
+
+>> [serdyuk@skif MC#]$ pkg-config --modversion glib-2.0
+>> 2.2.1
+>
+> [serdyuk@itk-104 tmp]$ pkg-config --modversion glib-2.0
+> 2.4.7 
+
+Failure is occured in both cases.
+
+Yury Serdyuk.
+--8<--------------------------------------
+
+And one more letter:
+
+--8<--------------------------------------
+>>I successfully tested this with 100 threads on ppc and 1000 
+threads on
+x86 with no 
+>>failures (no rsh tho).  Could you please retest with mono 1.1.4 
+(due any
+day now) and 
+>>report back.
+>>
+>>Also; does this fail without using rsh; just running it locally?
+>>
+>
+>This failure is occured only through rsh running.
+>Locally it works good  ( we have tested 1000 threads also ).
+
+Excuse me, but we have found that is occured locally also ( without 
+rsh )
+-
+see below the protocol of work
+
+> [serdyuk@skif TestGDIPlus]$ mono TestGDIPlus.exe 8 [serdyuk@skif 
+> TestGDIPlus]$ mono TestGDIPlus.exe 8 [serdyuk@skif TestGDIPlus]$ 
+mono 
+> TestGDIPlus.exe 8 [serdyuk@skif TestGDIPlus]$ mono TestGDIPlus.exe 
+8 
+> [serdyuk@skif TestGDIPlus]$ mono TestGDIPlus.exe 8 [serdyuk@skif 
+> TestGDIPlus]$ mono TestGDIPlus.exe 8 [serdyuk@skif TestGDIPlus]$ 
+mono 
+> TestGDIPlus.exe 8 [serdyuk@skif TestGDIPlus]$ mono TestGDIPlus.exe 
+8 
+> Unhandled Exception: System.NullReferenceException: Object 
+reference 
+> not set to an instance of an object in (unmanaged) (wrapper 
+> managed-to-native) 
+System.Drawing.GDIPlus:GdipCreateBitmapFromScan0 
+> (int,int,int,System.Drawing.Imaging.PixelFormat,intptr,intptr&) in 
+> <0x00004> (wrapper managed-to-native) 
+> System.Drawing.GDIPlus:GdipCreateBitmapFromScan0 
+> (int,int,int,System.Drawing.Imaging.PixelFormat,intptr,intptr&) in 
+> <0x00058> System.Drawing.Bitmap:.ctor 
+> (int,int,System.Drawing.Imaging.PixelFormat) in <0x0006f> (wrapper 
+> remoting-invoke-with-check) System.Drawing.Bitmap:.ctor 
+> (int,int,System.Drawing.Imaging.PixelFormat) in <0x00036> 
+> TestGDIPlus:Run () in <0x0005f> (wrapper delegate-invoke) 
+> System.MulticastDelegate:invoke_void () Unhandled Exception: 
+> System.NullReferenceException: Object reference not set to an 
+instance 
+> of an object in (unmanaged) (wrapper managed-to-native) 
+> System.Drawing.GDIPlus:GdipCreateBitmapFromScan0 
+> (int,int,int,System.Drawing.Imaging.PixelFormat,intptr,intptr&) in 
+> <0x00004> (wrapper managed-to-native) 
+> System.Drawing.GDIPlus:GdipCreateBitmapFromScan0 
+> (int,int,int,System.Drawing.Imaging.PixelFormat,intptr,intptr&) in 
+> <0x00058> System.Drawing.Bitmap:.ctor 
+> (int,int,System.Drawing.Imaging.PixelFormat) in <0x0006f> (wrapper 
+> remoting-invoke-with-check) System.Drawing.Bitmap:.ctor 
+> (int,int,System.Drawing.Imaging.PixelFormat) in <0x00036> 
+> TestGDIPlus:Run () in <0x0005f> (wrapper delegate-invoke) 
+> System.MulticastDelegate:invoke_void () Unhandled Exception: 
+> System.NullReferenceException: Object reference not set to an 
+instance 
+> of an object in (unmanaged) (wrapper managed-to-native) 
+> System.Drawing.GDIPlus:GdipCreateBitmapFromScan0 
+> (int,int,int,System.Drawing.Imaging.PixelFormat,intptr,intptr&) in 
+> <0x00004> (wrapper managed-to-native) 
+> System.Drawing.GDIPlus:GdipCreateBitmapFromScan0 
+> (int,int,int,System.Drawing.Imaging.PixelFormat,intptr,intptr&) in 
+> <0x00058> System.Drawing.Bitmap:.ctor 
+> (int,int,System.Drawing.Imaging.PixelFormat) in <0x0006f> (wrapper 
+> remoting-invoke-with-check) System.Drawing.Bitmap:.ctor 
+> (int,int,System.Drawing.Imaging.PixelFormat) in <0x00036> 
+> TestGDIPlus:Run () in <0x0005f> (wrapper delegate-invoke) 
+> System.MulticastDelegate:invoke_void () Unhandled Exception: 
+> System.NullReferenceException: Object reference not set to an 
+instance 
+> of an object in (unmanaged) (wrapper managed-to-native) 
+> System.Drawing.GDIPlus:GdipCreateBitmapFromScan0 
+> (int,int,int,System.Drawing.Imaging.PixelFormat,intptr,intptr&) in 
+> <0x00004> (wrapper managed-to-native) 
+> System.Drawing.GDIPlus:GdipCreateBitmapFromScan0 
+> (int,int,int,System.Drawing.Imaging.PixelFormat,intptr,intptr&) in 
+> <0x00058> System.Drawing.Bitmap:.ctor 
+> (int,int,System.Drawing.Imaging.PixelFormat) in <0x0006f> (wrapper 
+> remoting-invoke-with-check) System.Drawing.Bitmap:.ctor 
+> (int,int,System.Drawing.Imaging.PixelFormat) in <0x00036> 
+> TestGDIPlus:Run () in <0x0005f> (wrapper delegate-invoke) 
+> System.MulticastDelegate:invoke_void () Unhandled Exception: 
+> System.NullReferenceException: Object reference not set to an 
+instance 
+> of an object in (unmanaged) (wrapper managed-to-native) 
+> System.Drawing.GDIPlus:GdipCreateBitmapFromScan0 
+> (int,int,int,System.Drawing.Imaging.PixelFormat,intptr,intptr&) in 
+> <0x00004> (wrapper managed-to-native) 
+> System.Drawing.GDIPlus:GdipCreateBitmapFromScan0 
+> (int,int,int,System.Drawing.Imaging.PixelFormat,intptr,intptr&) in 
+> <0x00058> System.Drawing.Bitmap:.ctor 
+> (int,int,System.Drawing.Imaging.PixelFormat) in <0x0006f> (wrapper 
+> remoting-invoke-with-check) System.Drawing.Bitmap:.ctor 
+> (int,int,System.Drawing.Imaging.PixelFormat) in <0x00036> 
+> TestGDIPlus:Run () in <0x0005f> (wrapper delegate-invoke) 
+> System.MulticastDelegate:invoke_void () Unhandled Exception: 
+> System.NullReferenceException: Object reference not set to an 
+instance 
+> of an object in (unmanaged) (wrapper managed-to-native) 
+> System.Drawing.GDIPlus:GdipCreateBitmapFromScan0 
+> (int,int,int,System.Drawing.Imaging.PixelFormat,intptr,intptr&) in 
+> <0x00004> (wrapper managed-to-native) 
+> System.Drawing.GDIPlus:GdipCreateBitmapFromScan0 
+> (int,int,int,System.Drawing.Imaging.PixelFormat,intptr,intptr&) in 
+> <0x00058> System.Drawing.Bitmap:.ctor 
+> (int,int,System.Drawing.Imaging.PixelFormat) in <0x0006f> (wrapper 
+> remoting-invoke-with-check) System.Drawing.Bitmap:.ctor 
+> (int,int,System.Drawing.Imaging.PixelFormat) in <0x00036> 
+> TestGDIPlus:Run () in <0x0005f> (wrapper delegate-invoke) 
+> System.MulticastDelegate:invoke_void () Unhandled Exception: 
+> System.NullReferenceException: Object reference not set to an 
+instance 
+> of an object in (unmanaged) (wrapper managed-to-native) 
+> System.Drawing.GDIPlus:GdipCreateBitmapFromScan0 
+> (int,int,int,System.Drawing.Imaging.PixelFormat,intptr,intptr&) in 
+> <0x00004> (wrapper managed-to-native) 
+> System.Drawing.GDIPlus:GdipCreateBitmapFromScan0 
+> (int,int,int,System.Drawing.Imaging.PixelFormat,intptr,intptr&) in 
+> <0x00058> System.Drawing.Bitmap:.ctor 
+> (int,int,System.Drawing.Imaging.PixelFormat) in <0x0006f> (wrapper 
+> remoting-invoke-with-check) System.Drawing.Bitmap:.ctor 
+> (int,int,System.Drawing.Imaging.PixelFormat) in <0x00036> 
+> TestGDIPlus:Run () in <0x0005f> (wrapper delegate-invoke) 
+> System.MulticastDelegate:invoke_void () Unhandled Exception: 
+> System.NullReferenceException: Object reference not set to an 
+instance 
+> of an object in (unmanaged) (wrapper managed-to-native) 
+> System.Drawing.GDIPlus:GdipCreateBitmapFromScan0 
+> (int,int,int,System.Drawing.Imaging.PixelFormat,intptr,intptr&) in 
+> <0x00004> (wrapper managed-to-native) 
+> System.Drawing.GDIPlus:GdipCreateBitmapFromScan0 
+> (int,int,int,System.Drawing.Imaging.PixelFormat,intptr,intptr&) in 
+> <0x00058> System.Drawing.Bitmap:.ctor 
+> (int,int,System.Drawing.Imaging.PixelFormat) in <0x0006f> (wrapper 
+> remoting-invoke-with-check) System.Drawing.Bitmap:.ctor 
+> (int,int,System.Drawing.Imaging.PixelFormat) in <0x00036> 
+> TestGDIPlus:Run () in <0x0005f> (wrapper delegate-invoke) 
+> System.MulticastDelegate:invoke_void () [serdyuk@skif TestGDIPlus]
+$ 
+
+
+Yury Serdyuk
+--8<--------------------------------------
+
+