[Mono-bugs] [Bug 613265] New: XmlReader crashes in an app using an objective-c library when run it on a device

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jun 10 11:38:07 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=613265

http://bugzilla.novell.com/show_bug.cgi?id=613265#c0


           Summary: XmlReader crashes in an app using an objective-c
                    library when run it on a device
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: eduardo.cobuci at labone.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=368467)
 --> (http://bugzilla.novell.com/attachment.cgi?id=368467)
Sample application to reproduce the error

In an application that uses an objective-c based on this code
"github.com/mattgallagher/AudioStreamer" and is running on a device, all calls
to System.Xml.XmlReader rises an exception like this:

 * Assertion at ../../../../mono/mini/aot-runtime.c:2708, condition `plt_entry'
not met
 Stacktrace:
   at Mono.Xml2.XmlTextReader..ctor
(string,System.Xml.XmlNodeType,System.Xml.XmlParserContext) <0xffffffff>
   at Mono.Xml2.XmlTextReader..ctor
(string,System.Xml.XmlNodeType,System.Xml.XmlParserContext) <0x0006c>
   at System.Xml.NameTable..ctor () <0x00037>
   at System.Xml.XmlReader.PopulateNameTable (System.Xml.XmlReaderSettings)
<0x00043>
   at System.Xml.XmlReader.PopulateParserContext
(System.Xml.XmlReaderSettings,string) <0x0001f>
   at System.Xml.XmlReader.Create
(System.IO.TextReader,System.Xml.XmlReaderSettings,string) <0x0002f>
   at System.Xml.XmlReader.Create
(System.IO.TextReader,System.Xml.XmlReaderSettings) <0x00037>
   at System.Xml.Linq.XDocument.Load
(System.IO.TextReader,System.Xml.Linq.LoadOptions) <0x00067>
   at System.Xml.Linq.XDocument.Parse (string,System.Xml.Linq.LoadOptions)
<0x00043>
   at System.Xml.Linq.XDocument.Parse (string) <0x0001f>


In the attached files goes the objective-c library xcode project and the
monotouch application sample to reproduce the error. 
This error only occurs when the app is running on a device.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list