https://bugzilla.novell.com/show_bug.cgi?id=376537
Summary: System.Xml.Linq XElement usage causes native stack
overflow and SIGABRT
Product: Mono: Class Libraries
Version: 1.9.0
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sys.XML
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: ---
using System;
using System.Xml.Linq;
namespace XLinqMonoNativeStackOverflow
{
class MainClass
{
public static void Main(string[] args)
{
// Will reuse.
XElement layoutXml =
new XElement("layout",
new XElement("conversionPattern",
new XAttribute("value", "a")
)
);
}
}
}
Stack overflow in unmanaged: IP: 0x4dc396, fault addr: 0x7fffa5dfea68
Stack overflow: IP: 0x41d6fc1b, fault addr: 0x7fffa5df6ff0
At (wrapper managed-to-native)
System.Object:__icall_wrapper_mono_object_new_fast (intptr)
Stacktrace:
*insert huge stack trace here*
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs