[Mono-bugs] [Bug 78379][Nor] Changed - Tao.Sdl crashes with glibc detected free() only on Linux

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri May 12 10:27:49 EDT 2006


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 vargaz at gmail.com.

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

--- shadow/78379	2006-05-12 09:27:00.000000000 -0400
+++ shadow/78379.tmp.22407	2006-05-12 10:27:49.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 78379
 Product: Mono: Runtime
 Version: 1.1
 OS: GNU/Linux [Other]
 OS Details: Gentoo 64bit / Ubuntu 32bit
-Status: NEW   
-Resolution: 
-Severity: 
+Status: RESOLVED   
+Resolution: WONTFIX
+Severity: Unknown
 Priority: Normal
 Component: interop
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: jan.reitz at lanxess.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -60,6 +60,16 @@
 How often does this happen? 
 everytime
 
 Additional Information:
 SDL used was 1.2.8 and 1.2.9
 Mono 1.1.13.* (tryed some versions)
+
+------- Additional Comments From vargaz at gmail.com  2006-05-12 10:27 -------
+According to the pinvoke documentation on msdn, the runtime is
+supposed to free the value returned from SDL_GetError, but 
+SDL_GetError returns a pointer to a static buffer, causing this
+to crash. The windows free function somehow ignores this, but g_free ()
+doesn't. We can't fix this, so TAO needs to be changed instead by
+adding a wrapper around SDL_GetError ().
+
+


More information about the mono-bugs mailing list