mono error: 'Missing Resource' when using precompiled code

Bug #517285 reported by Caleb Shay on 2010-02-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mono (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: mono-runtime

There is a bug when running precompiled ASP.NET code on mono 2.4. It has been fixed upstream.

Release: 9.10
Package: mono-runtime
Version: 2.4.2.3+dfsg-2

mono/mod-mono can crash under certain circumstances when running precompiled code.

See: https://bugzilla.novell.com/show_bug.cgi?id=547015

Fixed with the following simple patch from http://anonsvn.mono-project.com/viewvc/trunk/mcs/class/System.Web/System.Web.UI/TemplateControl.cs?r1=127596&r2=146199:

--- mcs/class/System.Web/System.Web.UI/TemplateControl.cs.orig 2010-02-04 16:39:08.947122375 -0500
+++ mcs/class/System.Web/System.Web.UI/TemplateControl.cs 2010-02-04 16:39:23.087207016 -0500
@@ -489,7 +489,7 @@
    if (writer == null || writer.Response.ContentEncoding.CodePage != 65001) {
     byte [] bytes = new byte [size];
     Marshal.Copy (ptr, bytes, 0, size);
- writer.Write (Encoding.UTF8.GetString (bytes));
+ output.Write (Encoding.UTF8.GetString (bytes));
     bytes = null;
     return;
    }

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers