Package: libmono0 Version: 1.9.1+dfsg-1 Severity: important Tags: patch
Mono 1.9.1 appears to contain a runtime bug which may cause crashes - one
repeatable example is compiling XSP, which fails in the same place on many (but
not all) AMD64 systems running Debian Sid or Ubuntu Intrepid:
/usr/bin/mcs -r:System.Web.dll -t:library -out:codebehind1.dll
codebehind1.cs
Stacktrace:
at Mono.CSharp.Tokenizer.Reset () <0xffffffff>
at Mono.CSharp.Tokenizer.Reset () <0x0000d>
at Mono.CSharp.Tokenizer..cctor () <0x000da>
at (wrapper runtime-invoke) Mono.CSharp.Driver.runtime_invoke_void
(object,intptr,intptr,intptr) <0xffffffff>
at Mono.CSharp.CSharpParser..ctor
(Mono.CSharp.SeekableStreamReader,Mono.CSharp.SourceFile,System.Collections.ArrayList)
<0xffffffff>
at Mono.CSharp.CSharpParser..ctor
(Mono.CSharp.SeekableStreamReader,Mono.CSharp.SourceFile,System.Collections.ArrayList)
<0x000bc>
at Mono.CSharp.Driver.parse (Mono.CSharp.SourceFile) <0x001a9>
at Mono.CSharp.Driver.ProcessFiles () <0x00078>
at Mono.CSharp.Driver.MainDriver (string[]) <0x00440>
at Mono.CSharp.Driver.Main (string[]) <0x00079>
at (wrapper runtime-invoke)
Mono.CSharp.Driver.runtime_invoke_int_string[] (object,intptr,intptr,intptr)
<0xffffffff>
Native stacktrace:
/usr/bin/mono [0x532a3d]
/usr/bin/mono [0x440d2d]
/lib/libpthread.so.0 [0x2ad82c4d9a80]
/lib/libc.so.6(memcpy+0x60) [0x2ad82c9e7f40]
/usr/bin/mono(mono_breakpoint_clean_code+0x1b) [0x428a8b]
/usr/bin/mono [0x4423cd]
/usr/bin/mono [0x537592]
[0x41973160]
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
The attached dpatch fixes the problem.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-18-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages libmono0 depends on:
ii libc6 2.7-12 GNU C Library: Shared libraries
ii libglib2.0-0 2.16.3-2 The GLib library of C routines
ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime
libmono0 recommends no packages.
-- no debconf information
fix_bound_checking_r98524_r98527.dpatch
Description: application/shellscript

