[Mono-bugs] [Bug 412595] Exception in gmcs: System.InvalidCastException: Cannot cast from source type to destination type.
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Jul 28 09:29:12 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=412595
User aaragoneses at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=412595#c1
Andrés G. Aragoneses <aaragoneses at novell.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |msafar at novell.com
--- Comment #1 from Andrés G. Aragoneses <aaragoneses at novell.com> 2008-07-28 07:29:12 MDT ---
Running with mono --debug=casts I get:
Exception caught by the compiler while compiling:
Block that caused the problem begin at:
/MonoDevelop.SourceEditor/SourceEditorWidget.cs(253,22):
Block being compiled:
[./MonoDevelop.SourceEditor/SourceEditorWidget.cs(269,64):,./MonoDevelop.SourceEditor/SourceEditorWidget.cs(278,25):]
System.InvalidCastException: Unable to cast object of type
'Mono.CSharp.ReducedExpression+ReducedConstantExpression' to type
'Mono.CSharp.BoolConstant'.
Stacktrace:
Native stacktrace:
/home/knocte/opt/mono/bin/mono [0x428be1]
/home/knocte/opt/mono/bin/mono [0x44a80d]
/lib64/libpthread.so.0 [0x2b7df4ce8b30]
/home/knocte/opt/mono/bin/mono [0x4f2d5c]
/home/knocte/opt/mono/bin/mono [0x4f34a6]
/home/knocte/opt/mono/bin/mono [0x429ac1]
/home/knocte/opt/mono/bin/mono(mono_amd64_throw_exception+0x139)
[0x44b7f9]
[0x41201276]
Debug info from gdb:
[Thread debugging using libthread_db enabled]
[New Thread 0x2b7df54a7150 (LWP 2537)]
[New Thread 0x40840950 (LWP 2539)]
[New Thread 0x41223950 (LWP 2538)]
0x00002b7df4ce790b in read () from /lib64/libpthread.so.0
3 Thread 0x41223950 (LWP 2538) 0x00002b7df4ce8251 in nanosleep () from
/lib64/libpthread.so.0
2 Thread 0x40840950 (LWP 2539) 0x00002b7df4ce4dd9 in
pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
1 Thread 0x2b7df54a7150 (LWP 2537) 0x00002b7df4ce790b in read () from
/lib64/libpthread.so.0
Thread 3 (Thread 0x41223950 (LWP 2538)):
#0 0x00002b7df4ce8251 in nanosleep () from /lib64/libpthread.so.0
#1 0x0000000000502412 in collection_thread (unused=<value optimized out>) at
collection.c:34
#2 0x00002b7df4ce1040 in start_thread () from /lib64/libpthread.so.0
#3 0x00002b7df52200cd in clone () from /lib64/libc.so.6
Thread 2 (Thread 0x40840950 (LWP 2539)):
#0 0x00002b7df4ce4dd9 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1 0x0000000000505025 in timedwait_signal_poll_cond (cond=0x8daa68,
mutex=0x8daa40, timeout=0x1, alertable=-1) at handles.c:1492
#2 0x000000000050775f in _wapi_handle_timedwait_signal_handle (handle=<value
optimized out>, timeout=0x0, alertable=9284160)
at handles.c:1572
#3 0x000000000051f70d in WaitForSingleObjectEx (handle=0x404,
timeout=4294967295, alertable=0) at wait.c:205
#4 0x0000000000495563 in finalizer_thread (unused=<value optimized out>) at
gc.c:905
#5 0x00000000004b3623 in start_wrapper (data=<value optimized out>) at
threads.c:621
#6 0x000000000051bd9b in thread_start_routine (args=0x8dad98) at threadsc:279
#7 0x000000000053b27b in GC_start_routine (arg=0x2aaaaaad1e70) at
pthread_support.c:1369
#8 0x00002b7df4ce1040 in start_thread () from /lib64/libpthread.so.0
#9 0x00002b7df52200cd in clone () from /lib64/libc.so.6
Thread 1 (Thread 0x2b7df54a7150 (LWP 2537)):
#0 0x00002b7df4ce790b in read () from /lib64/libpthread.so.0
#1 0x0000000000428d4c in mono_handle_native_sigsegv (signal=<value optimized
out>, ctx=<value optimized out>) at mini-exceptions.c:1322
#2 0x000000000044a80d in mono_arch_handle_altstack_exception
(sigctx=0x2aaaaaadfc40, fault_addr=<value optimized out>, stack_ovf=0)
at exceptions-amd64.c:880
#3 <signal handler called>
#4 mono_type_get_name_recurse (type=0xf8, str=0x124b2a0, is_recursed=0,
format=MONO_TYPE_NAME_FORMAT_REFLECTION) at class.c:236
#5 0x00000000004f34a6 in mono_type_get_name_full (type=0xf8,
format=MONO_TYPE_NAME_FORMAT_REFLECTION) at class.c:406
#6 0x0000000000429ac1 in mono_handle_exception_internal (ctx=0x7fffb6ae8d70,
obj=0x2aaaae522180, original_ip=0x41b7b868, test_only=0,
out_filter_idx=0x0) at mini-exceptions.c:839
#7 0x000000000044b7f9 in mono_amd64_throw_exception (dummy1=<value optimized
out>, dummy2=<value optimized out>,
dummy3=<value optimized out>, dummy4=<value optimized out>, dummy5=<value
optimized out>, dummy6=<value optimized out>,
exc=0x2aaaae522180, rip=1102559336, rsp=140736258281104, rbx=31,
rbp=140736258281424, r12=46912519375360, r13=0, r14=46912522262424,
r15=46912522288752, rdi=46912557425024, rsi=46912514809888,
rax=46912557425024, rcx=47819986202960, rdx=9676960, rethrow=1)
at exceptions-amd64.c:335
#8 0x0000000041201276 in ?? ()
#9 0x00002aaaae522180 in ?? ()
#10 0x0000000041b7b868 in ?? ()
#11 0x00007fffb6ae8e90 in ?? ()
#12 0x000000000000001f in ?? ()
#13 0x00007fffb6ae8fd0 in ?? ()
#14 0x00002aaaac0d8a00 in ?? ()
#15 0x0000000000000000 in ?? ()
#0 0x00002b7df4ce790b in read () from /lib64/libpthread.so.0
=================================================================
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.
=================================================================
make[4]: *** [../../../build/AddIns/MonoDevelop.SourceEditor2.dll] Aborted
make[4]: Leaving directory
`/home/knocte/Documents/iDocs/Proyectos/a11ymono/monodevelop/main/src/addins/MonoDevelop.SourceEditor2'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/knocte/Documents/iDocs/Proyectos/a11ymono/monodevelop/main/src/addins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/knocte/Documents/iDocs/Proyectos/a11ymono/monodevelop/main/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/knocte/Documents/iDocs/Proyectos/a11ymono/monodevelop/main'
make: *** [all-recursive] Error 1
--
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