[Mono-bugs] [Bug 349621] New: Mono dies while trying to access DateTimeOffset.MaxValue
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Dec 18 16:22:40 EST 2007
https://bugzilla.novell.com/show_bug.cgi?id=349621
Summary: Mono dies while trying to access DateTimeOffset.MaxValue
Product: Mono: Runtime
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: misc
AssignedTo: mono-bugs at ximian.com
ReportedBy: jpryor at novell.com
QAContact: mono-bugs at ximian.com
Found By: ---
Mono dies a horrible death while trying to access DateTimeOffset.MaxValue
(either statically or via Reflection).
To reproduce:
1. Compile the attached code: gmcs dto.cs
2. Execute: mono dto.exe
Expected results: no crash, no exceptions.
Actual results:
** ERROR **: file reflection.c: line 5998 (mono_get_dbnull_object): assertion
failed: (obj)
aborting...
Stacktrace:
at (wrapper managed-to-native)
System.Reflection.MonoMethodInfo.get_parameter_info (intptr) <0x0000b>
at (wrapper managed-to-native)
System.Reflection.MonoMethodInfo.get_parameter_info (intptr) <0xffffffff>
at System.Reflection.MonoCMethod.GetParameters () <0x00014>
at System.Exception.GetFullNameForStackTrace (System.Reflection.MethodBase)
<0x0004e>
at System.Exception.get_StackTrace () <0x00298>
at System.Exception.ToString () <0x00147>
at System.Exception.ToString () <0x000e1>
at (wrapper runtime-invoke) System.Exception.runtime_invoke_string
(object,intptr,intptr,intptr) <0xffffffff>
at (wrapper managed-to-native)
System.Reflection.MonoMethodInfo.get_parameter_info (intptr) <0x0000b>
at (wrapper managed-to-native)
System.Reflection.MonoMethodInfo.get_parameter_info (intptr) <0xffffffff>
at System.Reflection.MonoCMethod.GetParameters () <0x00014>
at System.Exception.GetFullNameForStackTrace (System.Reflection.MethodBase)
<0x0004e>
at System.Exception.get_StackTrace () <0x00298>
at System.Exception.ToString () <0x00147>
at System.Exception.ToString () <0x000e1>
at (wrapper runtime-invoke) System.Exception.runtime_invoke_string
(object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
mono [0x52f9bd]
/lib64/libpthread.so.0 [0x2ab69fa9ffb0]
/lib64/libc.so.6(gsignal+0x35) [0x2ab69ff31b45]
/lib64/libc.so.6(abort+0x110) [0x2ab69ff330e0]
/usr/lib64/libglib-2.0.so.0(g_logv+0x3ba) [0x2ab69f5fc73a]
/usr/lib64/libglib-2.0.so.0(g_log+0x83) [0x2ab69f5fc7d3]
/usr/lib64/libglib-2.0.so.0(g_assert_warning+0x76) [0x2ab69f5fc856]
mono [0x494742]
mono [0x494765]
mono(mono_param_get_objects+0x444) [0x498024]
[0x400175ea]
Debug info from gdb:
Using host libthread_db library "/lib64/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0x2ab6a0247b40 (LWP 7965)]
[New Thread 0x40224950 (LWP 7967)]
[New Thread 0x40023950 (LWP 7966)]
0x00002ab69ffbff12 in select () from /lib64/libc.so.6
3 Thread 0x40023950 (LWP 7966) 0x00002ab69fa9f5c1 in nanosleep ()
from /lib64/libpthread.so.0
2 Thread 0x40224950 (LWP 7967) 0x00002ab69fa9c656 in
pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
1 Thread 0x2ab6a0247b40 (LWP 7965) 0x00002ab69ffbff12 in select ()
from /lib64/libc.so.6
Thread 3 (Thread 0x40023950 (LWP 7966)):
#0 0x00002ab69fa9f5c1 in nanosleep () from /lib64/libpthread.so.0
#1 0x00000000004cb37f in collection_thread (unused=<value optimized out>)
at collection.c:34
#2 0x00002ab69fa98020 in start_thread () from /lib64/libpthread.so.0
#3 0x00002ab69ffc628d in clone () from /lib64/libc.so.6
#4 0x0000000000000000 in ?? ()
Thread 2 (Thread 0x40224950 (LWP 7967)):
#0 0x00002ab69fa9c656 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib64/libpthread.so.0
#1 0x00000000004d1815 in timedwait_signal_poll_cond (cond=0x2aaaaadb6268,
mutex=0x2aaaaadb6240, timeout=0x1, alertable=-1) at handles.c:1443
#2 0x00000000004d3d87 in _wapi_handle_timedwait_signal_handle (
handle=<value optimized out>, timeout=0x0, alertable=0) at handles.c:1523
#3 0x00000000004d4603 in WaitForSingleObjectEx (handle=0x404,
timeout=4294967295, alertable=0) at wait.c:200
#4 0x0000000000481511 in finalizer_thread (unused=<value optimized out>)
at gc.c:894
#5 0x00000000004a8eb3 in start_wrapper (data=<value optimized out>)
at threads.c:585
#6 0x00000000004df2e3 in thread_start_routine (args=0x2aaaaae22880)
at threads.c:282
#7 0x00000000004f0f42 in GC_start_routine (arg=<value optimized out>)
at pthread_support.c:1369
#8 0x00002ab69fa98020 in start_thread () from /lib64/libpthread.so.0
#9 0x00002ab69ffc628d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x2ab6a0247b40 (LWP 7965)):
#0 0x00002ab69ffbff12 in select () from /lib64/libc.so.6
#1 0x00002ab69f6230ec in g_spawn_sync () from /usr/lib64/libglib-2.0.so.0
#2 0x00002ab69f6234c8 in g_spawn_command_line_sync ()
from /usr/lib64/libglib-2.0.so.0
#3 0x000000000052fa4f in mono_handle_native_sigsegv (
signal=<value optimized out>, ctx=<value optimized out>)
at mini-exceptions.c:1061
#4 <signal handler called>
#5 0x00002ab69ff31b45 in raise () from /lib64/libc.so.6
#6 0x00002ab69ff330e0 in abort () from /lib64/libc.so.6
#7 0x00002ab69f5fc73a in g_logv () from /usr/lib64/libglib-2.0.so.0
#8 0x00002ab69f5fc7d3 in g_log () from /usr/lib64/libglib-2.0.so.0
#9 0x00002ab69f5fc856 in g_assert_warning () from /usr/lib64/libglib-2.0.so.0
#10 0x0000000000494742 in mono_get_dbnull_object (domain=0x2aaaaaacce00)
at reflection.c:5998
#11 0x0000000000494765 in get_dbnull (domain=0x1f1d, dbnull=0x7fff0bb0ef68)
at reflection.c:5754
#12 0x0000000000498024 in mono_param_get_objects (domain=0x2aaaaaacce00,
method=0x89bfd8) at reflection.c:5823
#13 0x00000000400175ea in ?? ()
#14 0x00002aaaab3b9ea0 in ?? ()
#15 0x00007fff0bb0f828 in ?? ()
#16 0x00002aaaab392e38 in ?? ()
#17 0x00002aaaab3bdea8 in ?? ()
#18 0x000000004001759b in ?? ()
#19 0x00002aaaab399ec0 in ?? ()
#20 0x0000000000000000 in ?? ()
#0 0x00002ab69ffbff12 in select () from /lib64/libc.so.6
=================================================================
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.
=================================================================
Aborted
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list