[Mono-bugs] [Bug 73258][Nor] Changed - Segmentation violation in multithreaded mode

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 16 Mar 2005 01:26:09 -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 yury@serdyuk.botik.ru.

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

--- shadow/73258	2005-03-15 19:27:55.000000000 -0500
+++ shadow/73258.tmp.27614	2005-03-16 01:26:09.000000000 -0500
@@ -368,6 +368,150 @@
 
 junglist:~/Documents/Development/mono/bugs plasma$ mono bg.exe 1
 junglist:~/Documents/Development/mono/bugs plasma$ mono bg.exe 10
 junglist:~/Documents/Development/mono/bugs plasma$ mono bg.exe 100
 junglist:~/Documents/Development/mono/bugs plasma$ mono bg.exe 1000
 junglist:~/Documents/Development/mono/bugs plasma$ 
+
+------- Additional Comments From Yury@serdyuk.botik.ru  2005-03-16 01:26 -------
+You need to run a program a few ones :
+
+[serdyuk@itk-104 tmp]$ mono TestGDIPlus.exe 8
+[serdyuk@itk-104 tmp]$ mono TestGDIPlus.exe 8
+[serdyuk@itk-104 tmp]$ mono TestGDIPlus.exe 8
+[serdyuk@itk-104 tmp]$ mono TestGDIPlus.exe 8
+
+Unhandled Exception: System.NullReferenceException: Object reference
+not set to an instance of an object
+in (unmanaged) (nil)
+in <0x00004> (wrapper managed-to-native)
+System.Drawing.GDIPlus:GdipCreateBitmapFromScan0
+(int,int,int,System.Drawing.Imaging.PixelFormat,intptr,intptr&)
+in <0x0002e> System.Drawing.Bitmap:.ctor
+(int,int,System.Drawing.Imaging.PixelFormat)
+in <0x0003f> (wrapper remoting-invoke-with-check)
+System.Drawing.Bitmap:.ctor (int,int,System.Drawing.Imaging.PixelFormat)
+in <0x0002d> TestGDIPlus:Run ()
+in <0x00041> (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void ()
+
+
+Unhandled Exception: System.NullReferenceException: Object reference
+not set to an instance of an object
+in (unmanaged) (nil)
+in <0x00004> (wrapper managed-to-native)
+System.Drawing.GDIPlus:GdipCreateBitmapFromScan0
+(int,int,int,System.Drawing.Imaging.PixelFormat,intptr,intptr&)
+in <0x0002e> System.Drawing.Bitmap:.ctor
+(int,int,System.Drawing.Imaging.PixelFormat)
+in <0x0003f> (wrapper remoting-invoke-with-check)
+System.Drawing.Bitmap:.ctor (int,int,System.Drawing.Imaging.PixelFormat)
+in <0x0002d> TestGDIPlus:Run ()
+in <0x00041> (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void ()
+
+
+Unhandled Exception: System.NullReferenceException: Object reference
+not set to an instance of an object
+in (unmanaged) (nil)
+in <0x00004> (wrapper managed-to-native)
+System.Drawing.GDIPlus:GdipCreateBitmapFromScan0
+(int,int,int,System.Drawing.Imaging.PixelFormat,intptr,intptr&)
+in <0x0002e> System.Drawing.Bitmap:.ctor
+(int,int,System.Drawing.Imaging.PixelFormat)
+in <0x0003f> (wrapper remoting-invoke-with-check)
+System.Drawing.Bitmap:.ctor (int,int,System.Drawing.Imaging.PixelFormat)
+in <0x0002d> TestGDIPlus:Run ()
+in <0x00041> (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void ()
+
+
+Unhandled Exception: System.NullReferenceException: Object reference
+not set to an instance of an object
+in (unmanaged) (nil)
+in <0x00004> (wrapper managed-to-native)
+System.Drawing.GDIPlus:GdipCreateBitmapFromScan0
+(int,int,int,System.Drawing.Imaging.PixelFormat,intptr,intptr&)
+in <0x0002e> System.Drawing.Bitmap:.ctor
+(int,int,System.Drawing.Imaging.PixelFormat)
+in <0x0003f> (wrapper remoting-invoke-with-check)
+System.Drawing.Bitmap:.ctor (int,int,System.Drawing.Imaging.PixelFormat)
+in <0x0002d> TestGDIPlus:Run ()
+in <0x00041> (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void ()
+
+
+Unhandled Exception: System.NullReferenceException: Object reference
+not set to an instance of an object
+in (unmanaged) (nil)
+in <0x00004> (wrapper managed-to-native)
+System.Drawing.GDIPlus:GdipCreateBitmapFromScan0
+(int,int,int,System.Drawing.Imaging.PixelFormat,intptr,intptr&)
+in <0x0002e> System.Drawing.Bitmap:.ctor
+(int,int,System.Drawing.Imaging.PixelFormat)
+in <0x0003f> (wrapper remoting-invoke-with-check)
+System.Drawing.Bitmap:.ctor (int,int,System.Drawing.Imaging.PixelFormat)
+in <0x0002d> TestGDIPlus:Run ()
+in <0x00041> (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void ()
+
+
+Unhandled Exception: System.NullReferenceException: Object reference
+not set to an instance of an object
+in (unmanaged) (nil)
+in <0x00004> (wrapper managed-to-native)
+System.Drawing.GDIPlus:GdipCreateBitmapFromScan0
+(int,int,int,System.Drawing.Imaging.PixelFormat,intptr,intptr&)
+in <0x0002e> System.Drawing.Bitmap:.ctor
+(int,int,System.Drawing.Imaging.PixelFormat)
+in <0x0003f> (wrapper remoting-invoke-with-check)
+System.Drawing.Bitmap:.ctor (int,int,System.Drawing.Imaging.PixelFormat)
+in <0x0002d> TestGDIPlus:Run ()
+in <0x00041> (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void ()
+
+
+Unhandled Exception: System.NullReferenceException: Object reference
+not set to an instance of an object
+in (unmanaged) (nil)
+in <0x00004> (wrapper managed-to-native)
+System.Drawing.GDIPlus:GdipCreateBitmapFromScan0
+(int,int,int,System.Drawing.Imaging.PixelFormat,intptr,intptr&)
+in <0x0002e> System.Drawing.Bitmap:.ctor
+(int,int,System.Drawing.Imaging.PixelFormat)
+in <0x0003f> (wrapper remoting-invoke-with-check)
+System.Drawing.Bitmap:.ctor (int,int,System.Drawing.Imaging.PixelFormat)
+in <0x0002d> TestGDIPlus:Run ()
+in <0x00041> (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void ()
+
+
+Unhandled Exception: System.NullReferenceException: Object reference
+not set to an instance of an object
+in (unmanaged) (nil)
+in <0x00004> (wrapper managed-to-native)
+System.Drawing.GDIPlus:GdipCreateBitmapFromScan0
+(int,int,int,System.Drawing.Imaging.PixelFormat,intptr,intptr&)
+in <0x0002e> System.Drawing.Bitmap:.ctor
+(int,int,System.Drawing.Imaging.PixelFormat)
+in <0x0003f> (wrapper remoting-invoke-with-check)
+System.Drawing.Bitmap:.ctor (int,int,System.Drawing.Imaging.PixelFormat)
+in <0x0002d> TestGDIPlus:Run ()
+in <0x00041> (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void ()
+
+We used svn release 41827 of libgdiplus for these runs.
+Also
+[serdyuk@itk-104 tmp]$ uname -a
+Linux server 2.4.25bigmem #7 SMP Wed Dec 15 10:05:05 EET 2004 i686
+i686 i386 GNU/Linux
+[serdyuk@itk-104 tmp]$ mono -V
+Mono JIT compiler version 1.1.4, (C) 2002-2004 Novell, Inc and
+Contributors. www.go-mono.com
+        TLS:           __thread
+        GC:            Included Boehm (with typed GC)
+        SIGSEGV      : normal
+        Globalization: none
+[serdyuk@itk-104 tmp]$
+
+
+