[Mono-bugs] [Bug 47776][Wis] New - Unmanaged XslTransform no longer works
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 20 Aug 2003 20:39:25 -0400 (EDT)
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 gonzalo@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=47776
--- shadow/47776 2003-08-20 20:39:25.000000000 -0400
+++ shadow/47776.tmp.1293 2003-08-20 20:39:25.000000000 -0400
@@ -0,0 +1,55 @@
+Bug#: 47776
+Product: Mono/Runtime
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: gonzalo@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Unmanaged XslTransform no longer works
+
+Compile and run this:
+
+using System;
+using System.IO;
+using System.Xml;
+using System.Xml.Xsl;
+
+public class Test
+{
+ static void Main ()
+ {
+ string s = "<xsl:stylesheet version='1.0'
+xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>" +
+ "<xsl:template match=\"*\">" +
+ "<xsl:copy-of select=\".\"/>" +
+ "</xsl:template>" +
+ "</xsl:stylesheet>";
+ XmlTextReader reader = new XmlTextReader(new StringReader (s));
+ XslTransform defaultTransform = new XslTransform();
+ defaultTransform.Load(reader);
+ }
+}
+
+Actual results:
+mono segfaults. Backtrace:
+#0 0x4020e366 in pthread_mutex_destroy () from /lib/libpthread.so.0
+#1 0x4129b059 in xmlFreeMutex (tok=0x0) at threads.c:138
+#2 0x4138e766 in xmlCleanupGlobals () from /usr/lib/libxml2.so
+#3 0x41342d82 in xmlCleanupParser () from /usr/lib/libxml2.so
+
+Expected results:
+nothing
+
+Additional information:
+It's been working since long long time ago.
+I'm assigning this to the runtime because may be that pthread_mutex_destroy
+means anything to you...