[Mono-bugs] [Bug 657745] New: [verifier] SIGSEGV in mono_is_regsize_var

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Dec 6 11:46:40 EST 2010


https://bugzilla.novell.com/show_bug.cgi?id=657745

https://bugzilla.novell.com/show_bug.cgi?id=657745#c0


           Summary: [verifier] SIGSEGV in mono_is_regsize_var
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: x86
        OS/Version: openSUSE 11.3
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: verifier
        AssignedTo: rkumpera at novell.com
        ReportedBy: spouliot at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=403598)
 --> (http://bugzilla.novell.com/attachment.cgi?id=403598)
assembly causing the crash

gdb --args mono --security=core-clr --compile-all
bin/System.Windows.sigabrt.71659.dll

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb71d6b70 (LWP 5669)]
0x0810a573 in mono_is_regsize_var (t=0x0) at mini-codegen.c:2400
2400        switch (t->type) {
(gdb) bt
#0  0x0810a573 in mono_is_regsize_var (t=0x0) at mini-codegen.c:2400
#1  0x08160790 in mono_arch_get_delegate_invoke_impl (sig=0x8feda8c,
has_target=0) at mini-x86.c:5948
#2  0x08112440 in mono_create_delegate_trampoline
(klass="GetFrameAsyncDelegate") at mini-trampolines.c:1349
#3  0x08084320 in handle_delegate_ctor (cfg=0x8fd55e0,
klass="GetFrameAsyncDelegate", target=0x903bc1c, method=
    "System.Windows.Media.MediaStreamSource:GetSampleAsyncInternal ()",
context_used=0) at method-to-ir.c:3829
#4  0x080b6f0d in mono_method_to_ir (cfg=0x8fd55e0,
method="System.Windows.Media.MediaStreamSource:.cctor ()",
start_bblock=0x903b34c, end_bblock=
    0x903b3ec, return_var=0x0, dont_inline=0x90104e0 = {...}, inline_args=0x0,
inline_offset=0, is_virtual_call=0) at method-to-ir.c:9975
#5  0x08061a96 in mini_method_compile
(method="System.Windows.Media.MediaStreamSource:.cctor ()", opts=59861503,
domain=0x34e60, run_cctors=0, compile_aot=
    0, parts=0) at mini.c:4173
#6  0x080e6b6c in compile_all_methods_thread_main (args=0xbfffee14) at
driver.c:882
#7  0x081ed78e in start_wrapper (data=0x84311f8) at threads.c:770
#8  0x08269b58 in thread_start_routine (args=0x840172c) at wthreads.c:285
#9  0x08298472 in GC_start_routine (arg=0x5dfc0) at pthread_support.c:1397
#10 0xb7f74b25 in start_thread () from /lib/libpthread.so.0
#11 0xb7ed646e in clone () from /lib/libc.so.6
(gdb) up
#1  0x08160790 in mono_arch_get_delegate_invoke_impl (sig=0x8feda8c,
has_target=0) at mini-x86.c:5948
5948                if (!mono_is_regsize_var (sig->params [i]))
(gdb) p *sig
$1 = {ret = {void}, param_count = 2, sentinelpos = -1, generic_param_count = 0,
call_convention = 0, hasthis = 1, explicit_this = 0, pinvoke = 0, 
  is_inflated = 0, has_type_parameters = 0, params = 0x8feda8c}
(gdb) p i
$2 = 1
(gdb) p sig->params[1]
$3 = {valuetype}
(gdb) p *sig->params[1]
$4 = {data = {klass = "System.Windows.Media.MediaStreamType", type = {254},
array = 0x8fed17c, method = 0x8fed17c, generic_param = 0x8fed17c, 
    generic_class = 0x8fed184
0x8fed184
0x8fed184
0x8fed184
0x8fed184
0x8fed184
0x8fed184
0x8fed184
0x8fed184
0x8fed184
0x8fed184
0x8fed184
0x8fed184
..

^ gdb does not like it

-- 
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