[Bug 223506] New: Coverage profiler crashes
https://bugzilla.novell.com/show_bug.cgi?id=223506 Summary: Coverage profiler crashes Product: openSUSE 10.2 Version: Beta 2 Platform: i386 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Mono AssignedTo: bnc-team-mono@forge.provo.novell.com ReportedBy: federico@ximian.com QAContact: qa@suse.de Compile the attached program like this: mcs -debug -out:foo.dll -target:library foo.cs -pkg:mono-nunit This works: nunit-console foo.dll But this crashes: MONO_OPTIONS="--debug --profile=cov:Foo" nunit-console foo.dll champignon$ MONO_OPTIONS="--debug --profile=cov:Foo" nunit-console foo.dll NUnit version 2.2.0 Copyright (C) 2002-2003 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov, Charlie Poole. Copyright (C) 2000-2003 Philip Craig. All Rights Reserved. OS Version: Unix 2.6.18.2 Mono Version: 1.1.4322.2032 *** glibc detected *** /usr/bin/mono: double free or corruption (!prev): 0x0849fe08 *** ======= Backtrace: ========= /lib/libc.so.6[0xb7d5f6e1] /lib/libc.so.6[0xb7d62335] /lib/libc.so.6(realloc+0xff)[0xb7d6356f] /opt/gnome/lib/libglib-2.0.so.0(g_realloc+0x3b)[0xb7ea612b] /usr/bin/mono[0x8066a5b] /usr/bin/mono[0x812c604] /usr/bin/mono[0x814a3c9] /usr/bin/mono[0x814b316] /usr/bin/mono[0x8077d1a] [0xb7bd7032] [0xb7270ca5] [0xb7270986] /usr/bin/mono(mono_runtime_exec_main+0x9f)[0x80db80f] /usr/bin/mono(mono_runtime_run_main+0x1b9)[0x80dbab9] /usr/bin/mono(mono_main+0xe47)[0x8058de7] /usr/bin/mono[0x8057ab2] /lib/libc.so.6(__libc_start_main+0xdc)[0xb7d10f9c] /usr/bin/mono[0x8057a01] ======= Memory map: ======== 00001000-0012e000 rwxp 00001000 00:00 0 08048000-081f0000 r-xp 00000000 08:05 158277 /usr/bin/mono 081f0000-081f2000 rwxp 001a7000 08:05 158277 /usr/bin/mono 081f2000-084bc000 rwxp 081f2000 00:00 0 [heap] b6d00000-b6d21000 rwxp b6d00000 00:00 0 b6d21000-b6e00000 ---p b6d21000 00:00 0 b6e2f000-b6e39000 r-xp 00000000 08:05 476223 /lib/libgcc_s.so.1 b6e39000-b6e3b000 rwxp 00009000 08:05 476223 /lib/libgcc_s.so.1 b6e5a000-b6e6a000 rwxp b6e5a000 00:00 0 b6e6a000-b6e6f000 r-xp 00000000 08:05 451937 /usr/lib/mono/gac/nunit.framework/2.2.0.0__96d09a1eb7f44a77/nunit.framework.dll b6e6f000-b6e9f000 rwxp b6e6f000 00:00 0 b6e9f000-b6eae000 r-xp 00000000 08:05 376113 /usr/lib/mono/gac/I18N.West/1.0.5000.0__0738eb9f132ed756/I18N.West.dll b6eae000-b6eb5000 r-xp 00000000 08:05 379971 /usr/lib/mono/gac/I18N/1.0.5000.0__0738eb9f132ed756/I18N.dll b6eb5000-b6f75000 rwxp b6eb5000 00:00 0 b6f75000-b7036000 r-xp 00000000 08:05 270424 /usr/lib/mono/gac/System/1.0.5000.0__b77a5c561934e089/System.dll b7036000-b7046000 rwxp b7036000 00:00 0 b7046000-b714f000 r-xp 00000000 08:05 380935 /usr/lib/mono/gac/System.Xml/1.0.5000.0__b77a5c561934e089/System.Xml.dll b714f000-b715e000 r-xp 00000000 08:05 456036 /usr/lib/mono/gac/nunit.util/2.2.0.0__96d09a1eb7f44a77/nunit.util.dll b715e000-b716e000 rwxp b715e000 00:00 0 b716e000-b716f000 ---p b716e000 00:00 0 b716f000-b727f000 rwxp b716f000 00:00 0 b727f000-b7604000 rwxs 00000000 fd:00 7111041 /home/federico/.wapi/shared_fileshare-champignon-Linux-i686-36-10-0 b7604000-b7739000 rwxs 00000000 fd:00 7110710 /home/federico/.wapi/shared_data-champignon-Linux-i686-308-10-0 b7739000-b77a6000 rwxp b7739000 00:00 0 b77a6000-b77db000 r-xs 00000000 08:05 642590 /var/run/nscd/passwd b77db000-b79cb000 r-xp 00000000 08:05 247027 /usr/lib/mono/1.0/mscorlib.dll b79cb000-b79db000 rwxp b79cb000 00:00 0 b79db000-b7bb4000 r-xp 00000000 08:05 395312 /usr/lib/libmono.so.0.0.0 b7bb4000-b7bb6000 r-xp 001d9000 08:05 395312 /usr/lib/libmono.so.0.0.0 b7bb6000-b7bb9000 rwxp 001db000 08:05 395312 /usr/lib/libmono.so.0.0.0 b7bb9000-b7bc8000 rwxp b7bb9000 00:00 0 b7bcb000-b7bd7000 r-xp 00000000 08:05 449757 /usr/lib/mono/gac/nunit.core/2.2.0.0__96d09a1eb7f44a77/nunit.core.dll b7bd7000-b7be7000 rwxp b7bd7000 00:00 0 b7be7000-b7c22000 r-xp 00000000 08:05 264221 /usr/lib/locale/en_US.utf8/LC_CTYPE b7c22000-b7cf9000 r-xp 00000000 08:05 264222 /usr/lib/locale/en_US.utf8/LC_COLLATE b7cf9000-b7cfb000 rwxp b7cf9000 00:00 0 b7cfb000-b7e23000 r-xp 00000000 08:05 476179 /lib/libc-2.5.so b7e23000-b7e24000 r-xp 00128000 08:05 476179 /lib/libc-2.5.so b7e24000-b7e26000 rwxp 00129000 08:05 476179 /lib/libc-2.5.so b7e26000-b7e29000 rwxp b7e26000 00:00 0 b7e29000-b7e4d000 r-xp 00000000 08:05 476187 /lib/libm-2.5.so b7e4d000-b7e4f000 rwxp 00023000 08:05 476187 /lib/libm-2.5.so b7e4f000-b7e63000 r-xp 00000000 08:05 476205 /lib/libpthread-2.5.so b7e63000-b7e65000 rwxp 00013000 08:05 476205 /lib/libpthread-2.5.so b7e65000-b7e67000 rwxp b7e65000 00:00 0 b7e67000-b7e6e000 r-xp 00000000 08:05 476209 /lib/librt-2.5.so b7e6e000-b7e70000 rwxp 00006000 08:05 476209 /lib/librt-2.5.so b7e70000-b7e71000 rwxp b7e70000 00:00 0 b7e71000-b7f04000 r-xp 00000000 08:05 888108 /opt/gnome/lib/libglib-2.0.so.0.1200.4 b7f04000-b7f06000 rwxp 00092000 08:05 888108 /opt/gnome/lib/libglib-2.0.so.0.1200.4 b7f06000-b7f08000 r-xp 00000000 08:05 476185 /lib/libdl-2.5.so b7f08000-b7f0a000 rwxp 00001000 08:05 476185 /lib/libdl-2.5.so b7f0a000-b7f0c000 r-xp 00000000 08:05 888110 /opt/gnome/lib/libgmodule-2.0.so.0.1200.4 b7f0c000-b7f0e000 rwxp 00002000 08:05 888110 /opt/gnome/lib/libgmodule-2.0.so.0.1200.4 b7f0e000-b7f11000 r-xp 00000000 08:05 888114 /opt/gnome/lib/libgthread-2.0.so.0.1200.4 b7f11000-b7f13000 rwxp 00002000 08:05 888114 /opt/gnome/lib/libgthread-2.0.so.0.1200.4 b7f14000-b7f15000 r-xp 00000000 fd:00 4832028 /home/federico/foo.dll.mdb b7f15000-b7f16000 r-xp 00000000 fd:00 4826433 /home/federico/foo.dll b7f16000-b7f19000 r-xp 00000000 08:05 247105 /usr/lib/mono/1.0/nunit-console.exe b7f19000-b7f1a000 ---p b7f19000 00:00 0 b7f1a000-b7f1d000 rwxp b7f1a000 00:00 0 b7f1d000-b7f1f000 r-xp 00000000 08:05 231919 /usr/lib/libmono-profiler-cov.so.0.0.0 b7f1f000-b7f21000 rwxp 00001000 08:05 231919 /usr/lib/libmono-profiler-cov.so.0.0.0 b7f21000-b7f22000 r-xp 00000000 08:05 264214 /usr/lib/locale/en_US.utf8/LC_NUMERIC b7f22000-b7f23000 r-xp 00000000 08:05 247891 /usr/lib/locale/en_US.utf8/LC_TIME b7f23000-b7f24000 r-xp 00000000 08:05 247890 /usr/lib/locale/en_US.utf8/LC_MONETARY b7f24000-b7f25000 r-xp 00000000 08:05 260214 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES b7f25000-b7f26000 r-xp 00000000 08:05 262231 /usr/lib/locale/en_US.utf8/LC_PAPER b7f26000-b7f27000 r-xp 00000000 08:05 262239 /usr/lib/locale/en_US.utf8/LC_NAME b7f27000-b7f28000 r-xp 00000000 08:05 247887 /usr/lib/locale/en_US.utf8/LC_ADDRESS b7f28000-b7f29000 r-xp 00000000 08:05 262229 /usr/lib/locale/en_US.utf8/LC_TELEPHONE b7f29000-b7f2a000 r-xp 00000000 08:05 262230 /usr/lib/locale/en_US.utf8/LC_MEASUREMENT b7f2a000-b7f31000 r-xs 00000000 08:05 243131 /usr/lib/gconv/gconv-modules.cache b7f31000-b7f32000 r-xp 00000000 08:05 247888 /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION b7f32000-b7f33000 rwxp b7f32000 00:00 0 b7f33000-b7f34000 r-xp b7f33000 00:00 0 [vdso] b7f34000-b7f4f000 r-xp 00000000 08:05 476172 /lib/ld-2.5.so b7f4f000-b7f51000 rwxp 0001a000 08:05 476172 /lib/ld-2.5.so bfc11000-bfc28000 rwxp bfc11000 00:00 0 [stack] ================================================================= Got a SIGABRT while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. ================================================================= Stacktrace: at NUnit.Console.ConsoleUi.Execute (NUnit.Util.ConsoleOptions) <0xffffffff> at NUnit.Console.ConsoleUi.Execute (NUnit.Util.ConsoleOptions) <0x0046c> at NUnit.Console.ConsoleUi.Main (string[]) <0x0018c> at (wrapper runtime-invoke) System.Object.runtime_invoke_int_string[] (object,intptr,intptr,intptr) <0xffffffff> Native stacktrace: /usr/bin/mono [0x815fa96] [0xb7f33440] /lib/libc.so.6(abort+0x101) [0xb7d25801] /lib/libc.so.6 [0xb7d59abb] /lib/libc.so.6 [0xb7d5f6e1] /lib/libc.so.6 [0xb7d62335] /lib/libc.so.6(realloc+0xff) [0xb7d6356f] /opt/gnome/lib/libglib-2.0.so.0(g_realloc+0x3b) [0xb7ea612b] /usr/bin/mono [0x8066a5b] /usr/bin/mono [0x812c604] /usr/bin/mono [0x814a3c9] /usr/bin/mono [0x814b316] /usr/bin/mono [0x8077d1a] [0xb7bd7032] [0xb7270ca5] [0xb7270986] /usr/bin/mono(mono_runtime_exec_main+0x9f) [0x80db80f] /usr/bin/mono(mono_runtime_run_main+0x1b9) [0x80dbab9] /usr/bin/mono(mono_main+0xe47) [0x8058de7] /usr/bin/mono [0x8057ab2] /lib/libc.so.6(__libc_start_main+0xdc) [0xb7d10f9c] /usr/bin/mono [0x8057a01] -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223506 ------- Comment #1 from federico@ximian.com 2006-11-23 11:44 MST ------- Created an attachment (id=106771) --> (https://bugzilla.novell.com/attachment.cgi?id=106771&action=view) foo.cs -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223506#c2 Miguel de Icaza <miguel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Miguel de Icaza <miguel@novell.com> 2007-07-09 17:12:00 MST --- Zoltan reports that this is now fixed, will appear in 1.2.5 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com