[Mono-bugs] [Bug 513612] New: StackOverflow if Addin Files Truncated

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jun 16 12:24:59 EDT 2009


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


           Summary: StackOverflow if Addin Files Truncated
    Classification: Mono
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: x86
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: Mono.Addins
        AssignedTo: lluis at novell.com
        ReportedBy: m.fletcher at theplanet.ca
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11)
Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11

A tomboy user experienced an error after a system crash.  After the crash some
files in addin-db-001/addin-dir-data were truncated to zero bytes.  
Mono.Addins.Serialization.BinaryXmlReader will go into a recursive loop until a
StackOverflow occurs when reading a zero byte file.

http://bugzilla.gnome.org/show_bug.cgi?id=556177

Reproducible: Always

Steps to Reproduce:
1. Truncate to zero bytes the files in (ex
/tomboy/addin-db-001/addin-dir-data)
2. Start a project using Mono.Addins (ex Tomboy)

Actual Results:  
A stackoverflow exception.  See the tomboy bug for actual stack traces.

Expected Results:  
Mono.Addins should recreate its addin databases if it is corrupted.

Deleting the addin-db-001 directory workes around the problem.

-- 
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