[Mono-bugs] [Bug 72605][Wis] Changed - gdiplus must check malloc results

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 24 Feb 2005 07:14:54 -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-24 07:12:40.000000000 -0500
+++ shadow/72605.tmp.2789	2005-02-24 07:14:54.000000000 -0500
@@ -772,6 +772,119 @@
  }
  
 }
 --8<----------------------------------------
 
 
+
+------- Additional Comments From vguzev@yandex.ru  2005-02-24 07:14 -------
+Paolo Molaro wrote: 
+On 02/21/05 Yury Serdyuk wrote:
+  
+We have tested our program ( see attach ) on  libgdiplus version 
+from 
+svn ( release 41000 ).
+But the results are even worse :
+    
+No, they are not worse, you're doing something different.
+  
+OK, I have excluded from ulimit -v  <size>,
+but the previous error is occured as before 
+( not in each running, but fairly often ) :
+
+[serdyuk@itk-104 tmp]$ ulimit -a
+core file size        (blocks, -c) 0
+data seg size         (kbytes, -d) unlimited
+file size             (blocks, -f) unlimited
+max locked memory     (kbytes, -l) unlimited
+max memory size       (kbytes, -m) unlimited
+open files                    (-n) 1024
+pipe size          (512 bytes, -p) 8
+stack size            (kbytes, -s) 8192
+cpu time             (seconds, -t) unlimited
+max user processes            (-u) 7168
+virtual memory        (kbytes, -v) unlimited
+[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 <0x000b8> 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 <0x000b8> 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 <0x000b8> 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 <0x000b8> 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 <0x000b8> 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 <0x000b8> 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 <0x000b8> 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 <0x000b8> TestGDIPlus:Run ()
+in <0x00041> (wrapper delegate-invoke) 
+System.MulticastDelegate:invoke_void ()
+
+[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]$ 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]$
+
+I've placed the gdb log to attach.
+We have tested program with gdb_commands as
+
+
+handle SIGPWR  nostop
+handle SIGXCPU nostop
+handle SIGTTOU nostop
+
+r
+under libgdiplus release 41000 from svn.
+
+Thanks.
+
+Yury.
+