[Mono-bugs] [Bug 583817] SIGABRT (ERROR:mini-trampolines.c:183:mono_convert_imt_slot_to_vtable_slot: code should not be reached) using Saxon
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Feb 26 17:32:25 EST 2010
http://bugzilla.novell.com/show_bug.cgi?id=583817
http://bugzilla.novell.com/show_bug.cgi?id=583817#c3
--- Comment #3 from David Glick <dglick at dracorp.com> 2010-02-26 22:32:24 UTC ---
This is the simplest example I could get - it's loosly based on the code where
we noticed the problem. The stylesheet created should be valid and the
XsltCompiler compiles it just fine under the .NET CLR. I can confirm it fails
under Mono 2.6.1 in both Windows and Linux. I will also attach a zip (it will
be a little large) with all the libraries ready to run. For reference, we're
using Saxon HE 9.2.0.6 and IKVM 0.42.0.5.
using Saxon.Api;
namespace BugTest
{
class Program
{
static void Main(string[] args)
{
//Create processor and compiler
Processor processor = new Processor();
XsltCompiler compiler = processor.NewXsltCompiler();
//Create a simple identity transform stylesheet
string stylesheet =
@"
<xsl:stylesheet version=""2.0""
xmlns:xsl=""http://www.w3.org/1999/XSL/Transform"" >
<xsl:template match=""/*"">
<xsl:variable name=""name"" select=""'test'"" />
<xsl:variable name=""link"" select=""concat(replace($name, ' ', '_'),
'.html')"" />
<a href=""{$link}"">
<xsl:value-of select=""$name""/>
</a>
</xsl:template>
</xsl:stylesheet>
";
//Attempt to compile the stylesheet
XsltExecutable executable = compiler.Compile(new
StringReader(stylesheet));
Console.WriteLine("Success");
}
}
}
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list