mail-archives/mono-bugs/2009-February/085676.html

329 строки
8.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 473482] New: Isolated another Moq related VM bug.
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20473482%5D%20New%3A%20Isolated%20another%20Moq%20related%20VM%20bug.&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="086057.html">
<LINK REL="Next" HREF="085787.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 473482] New: Isolated another Moq related VM bug.</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20473482%5D%20New%3A%20Isolated%20another%20Moq%20related%20VM%20bug.&In-Reply-To="
TITLE="[Mono-bugs] [Bug 473482] New: Isolated another Moq related VM bug.">bugzilla_noreply at novell.com
</A><BR>
<I>Fri Feb 6 13:23:31 EST 2009</I>
<P><UL>
<LI>Previous message: <A HREF="086057.html">[Mono-bugs] [Bug 473343] [Regression] WebBrowser becomes unresponsive after Navigate (...)
</A></li>
<LI>Next message: <A HREF="085787.html">[Mono-bugs] [Bug 473482] Isolated another Moq related VM bug.
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#85676">[ date ]</a>
<a href="thread.html#85676">[ thread ]</a>
<a href="subject.html#85676">[ subject ]</a>
<a href="author.html#85676">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE><A HREF="https://bugzilla.novell.com/show_bug.cgi?id=473482">https://bugzilla.novell.com/show_bug.cgi?id=473482</A>
Summary: Isolated another Moq related VM bug.
Classification: Mono
Product: Mono: Runtime
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: misc
AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">basjsmit at gmail.com</A>
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
Found By: ---
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.6)
Gecko/2009011913 Firefox/3.0.6
using System;
public class Program
{
static void Main()
{
try
{
new Foo&lt;object&gt;(0, 0);
}
catch (Exception ex)
{
var t = ex.StackTrace;
}
}
}
public class Foo&lt;T&gt; : FooBase
{
int i;
int ii;
public Foo(int i, int ii)
{
this.i = i;
this.ii = ii;
this.iii = 0;
throw new Exception();
}
}
public abstract class FooBase
{
protected int iii;
}
Reproducible: Always
Steps to Reproduce:
1.Compile code above
2.Run
Actual Results:
Stacktrace:
at (wrapper managed-to-native) System.Diagnostics.StackTrace.get_trace
(System.Exception,int,bool) &lt;0x00004&gt;
at (wrapper managed-to-native) System.Diagnostics.StackTrace.get_trace
(System.Exception,int,bool) &lt;0xffffffff&gt;
at System.Diagnostics.StackTrace..ctor (System.Exception,int,bool,bool)
&lt;0x00032&gt;
at System.Exception.get_StackTrace () &lt;0x0004c&gt;
at Program.Main () &lt;0x0004a&gt;
at (wrapper runtime-invoke) object.runtime_invoke_void
(object,intptr,intptr,intptr) &lt;0xffffffff&gt;
Native stacktrace:
/mono02/bin/mono [0x80d4c94]
/mono02/bin/mono [0x80f974b]
[0xb7f6d410]
/mono02/bin/mono [0x80d2dc2]
/mono02/bin/mono [0x80d2fc6]
[0xb7097b55]
[0xb7097923]
[0xb709758d]
[0xb70972cb]
[0xb70971fa]
/mono02/bin/mono(mono_runtime_exec_main+0xe5) [0x8101cf5]
/mono02/bin/mono(mono_runtime_run_main+0x16b) [0x810249b]
/mono02/bin/mono(mono_main+0x18fa) [0x80b3b2a]
/mono02/bin/mono [0x805b0a1]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7cf0685]
/mono02/bin/mono [0x805afd1]
Debug info from gdb:
[Thread debugging using libthread_db enabled]
[New Thread 0xb7cae6d0 (LWP 5566)]
[New Thread 0xb6cd9b90 (LWP 5569)]
[New Thread 0xb6cfdb90 (LWP 5568)]
[New Thread 0xb7b7bb90 (LWP 5567)]
0xb7f6d430 in __kernel_vsyscall ()
4 Thread 0xb7b7bb90 (LWP 5567) 0xb7f6d430 in __kernel_vsyscall ()
3 Thread 0xb6cfdb90 (LWP 5568) 0xb7f6d430 in __kernel_vsyscall ()
2 Thread 0xb6cd9b90 (LWP 5569) 0xb7f6d430 in __kernel_vsyscall ()
1 Thread 0xb7cae6d0 (LWP 5566) 0xb7f6d430 in __kernel_vsyscall ()
Thread 4 (Thread 0xb7b7bb90 (LWP 5567)):
#0 0xb7f6d430 in __kernel_vsyscall ()
#1 0xb7e68075 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/tls/i686/cmov/libpthread.so.0
#2 0x081d8d19 in GC_wait_marker () at pthread_support.c:1777
#3 0x081deed3 in GC_help_marker (my_mark_no=2) at mark.c:1116
#4 0x081d7afd in GC_mark_thread (id=0x0) at pthread_support.c:548
#5 0xb7e6450f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6 0xb7dbb7ee in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 3 (Thread 0xb6cfdb90 (LWP 5568)):
#0 0xb7f6d430 in __kernel_vsyscall ()
#1 0xb7e6b906 in nanosleep () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x081b7378 in collection_thread (unused=0x0) at collection.c:34
#3 0xb7e6450f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#4 0xb7dbb7ee in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 2 (Thread 0xb6cd9b90 (LWP 5569)):
#0 0xb7f6d430 in __kernel_vsyscall ()
#1 0xb7e6a405 in sem_wait@@GLIBC_2.1 () from
/lib/tls/i686/cmov/libpthread.so.0
#2 0x0810b589 in finalizer_thread (unused=0x0) at gc.c:936
#3 0x081a1768 in start_wrapper (data=0x8556500) at threads.c:624
#4 0x081c7066 in thread_start_routine (args=0x8559144) at threads.c:286
#5 0x081d89ab in GC_start_routine (arg=0x35f20) at pthread_support.c:1382
#6 0xb7e6450f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0xb7dbb7ee in clone () from /lib/tls/i686/cmov/libc.so.6
Thread 1 (Thread 0xb7cae6d0 (LWP 5566)):
#0 0xb7f6d430 in __kernel_vsyscall ()
#1 0xb7e6b10b in read () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x080d4e36 in mono_handle_native_sigsegv (signal=11, ctx=0xb737ad0c) at
/usr/include/bits/unistd.h:45
#3 0x080f974b in mono_arch_handle_altstack_exception (sigctx=0xb737ad0c,
fault_addr=0x83ec8b55, stack_ovf=0)
at exceptions-x86.c:864
#4 &lt;signal handler called&gt;
#5 0x080d2a54 in get_generic_context_from_stack_frame (ji=0x853c8cc,
generic_info=&lt;value optimized out&gt;)
at mini-exceptions.c:297
#6 0x080d2dc2 in get_method_from_stack_frame (ji=0x853c8cc,
generic_info=0xb7097520) at mini-exceptions.c:325
#7 0x080d2fc6 in ves_icall_get_trace (exc=0x52f18, skip=0, need_file_info=1
'\001') at mini-exceptions.c:411
#8 0xb7097b55 in ?? ()
#9 0xb7097923 in ?? ()
#10 0xb709758d in ?? ()
#11 0xb70972cb in ?? ()
#12 0xb70971fa in ?? ()
#13 0x08101cf5 in mono_runtime_exec_main (method=0x853dcd4, args=0x3be70,
exc=0x0) at object.c:3308
#14 0x0810249b in mono_runtime_run_main (method=0x853dcd4, argc=-1081676648,
argv=0xbf86ee98, exc=0x0) at object.c:3088
#15 0x080b3b2a in mono_main (argc=2, argv=0xbf86ee94) at driver.c:969
#16 0x0805b0a1 in main (argc=-2081649835, argv=0x458b08ec) at main.c:34
#0 0xb7f6d430 in __kernel_vsyscall ()
=================================================================
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.
=================================================================
Aborted
Expected Results:
Regular execution
Works on .NET, fails on windows 2.4 preview 2 and trunk (r125905) on ubuntu.
--
Configure bugmail: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="086057.html">[Mono-bugs] [Bug 473343] [Regression] WebBrowser becomes unresponsive after Navigate (...)
</A></li>
<LI>Next message: <A HREF="085787.html">[Mono-bugs] [Bug 473482] Isolated another Moq related VM bug.
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#85676">[ date ]</a>
<a href="thread.html#85676">[ thread ]</a>
<a href="subject.html#85676">[ subject ]</a>
<a href="author.html#85676">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>