[Mono-bugs] [Bug 656913] [verifier] SIGABRT -> condition `!mono_method_check_context_used (cmethod)' not met

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Apr 6 15:55:21 EDT 2011



Sebastien Pouliot <spouliot at novell.com> changed:

           What    |Removed                     |Added
 Attachment #402999|0                           |1
        is obsolete|                            |

--- Comment #3 from Sebastien Pouliot <spouliot at novell.com> 2011-04-06 19:55:20 UTC ---
Created an attachment (id=423509)
 --> (http://bugzilla.novell.com/attachment.cgi?id=423509)
assembly causing the abort

MONO_PATH=./bin gdb --args mono --security=core-clr --compile-all
GNU gdb (GDB) SUSE (7.1-3.12)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-suse-linux".
For bug reporting instructions, please see:
Reading symbols from /opt/mono/bin/mono...done.
Mono support loaded.
(gdb) run
Starting program: /opt/mono/bin/mono --security=core-clr --compile-all
Missing separate debuginfo for /lib/ld-linux.so.2
Try: zypper install -C
Missing separate debuginfo for /lib/libm.so.6
Try: zypper install -C
Missing separate debuginfo for /lib/librt.so.1
Try: zypper install -C
Missing separate debuginfo for /lib/libdl.so.2
Try: zypper install -C
Missing separate debuginfo for /lib/libpthread.so.0
Try: zypper install -C
[Thread debugging using libthread_db enabled]
Missing separate debuginfo for /lib/libc.so.6
Try: zypper install -C
[New Thread 0xb7a7cb70 (LWP 29877)]
[New Thread 0xb797bb70 (LWP 29878)]
Compilation of Mono.CodeGeneration.CodeGenerationHelper:LoadFromPtr
(System.Reflection.Emit.ILGenerator,System.Type) failed with exception 'Error
verifying Mono.CodeGeneration.CodeGenerationHelper:LoadFromPtr
(System.Reflection.Emit.ILGenerator,System.Type): Invalid branch target:
Invalid instruction target 10000203':
Compilation of Mono.CodeGeneration.CodeModule:.ctor (string) failed with
exception 'Error verifying Mono.CodeGeneration.CodeModule:.ctor (string):
Cannot load method from token 0x0a0000dc for callvirt at 0x001c':
* Assertion at method-to-ir.c:6708, condition `!mono_method_check_context_used
(cmethod)' not met

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb797bb70 (LWP 29878)]
0xffffe424 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb7e2e7ff in raise () from /lib/libc.so.6
#2  0xb7e30140 in abort () from /lib/libc.so.6
#3  0x082a64c6 in monoeg_g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR,
format=0x82caf40 "* Assertion at %s:%d, condition `%s' not met\n", args=
    0xb797a694 "0\257,\b4\032") at goutput.c:134
#4  0x082a6545 in monoeg_assertion_message (format=0x82caf40 "* Assertion at
%s:%d, condition `%s' not met\n") at goutput.c:154
#5  0x080989c4 in mono_method_to_ir (cfg=0x848e748,
method="System.ServiceModel.ChannelFactory:CreateFactory ()",
start_bblock=0x84ccadc, end_bblock=
    0x84ccb8c, return_var=0x0, dont_inline=0x8513638, inline_args=0x0,
inline_offset=0, is_virtual_call=0) at method-to-ir.c:6708
#6  0x0806213b in mini_method_compile
(method="System.ServiceModel.ChannelFactory:CreateFactory ()", opts=59861503,
domain=0x34e58, run_cctors=0, 
    compile_aot=0, parts=0) at mini.c:4423
#7  0x080ee558 in compile_all_methods_thread_main (args=0xbfffedf4) at
#8  0x08205966 in start_wrapper_internal (data=0x843dff8) at threads.c:549
#9  0x08205a0c in start_wrapper (data=0x843dff8) at threads.c:597
#10 0x08284fc4 in thread_start_routine (args=0x842dffc) at wthreads.c:285
#11 0x082b51b3 in GC_start_routine (arg=0x60fc0) at pthread_support.c:1468
#12 0xb7f74b25 in start_thread () from /lib/libpthread.so.0
#13 0xb7ed646e in clone () from /lib/libc.so.6

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list