[Mono-bugs] [Bug 600164] New: ERROR:icall.c:6978:mono_ArgIterator_Setup: assertion failed: (iter->sig->call_convention == MONO_CALL_VARARG)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Apr 27 12:14:44 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=600164

http://bugzilla.novell.com/show_bug.cgi?id=600164#c0


           Summary: ERROR:icall.c:6978:mono_ArgIterator_Setup: assertion
                    failed: (iter->sig->call_convention ==
                    MONO_CALL_VARARG)
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: verifier
        AssignedTo: rkumpera at novell.com
        ReportedBy: knocte at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=357155)
 --> (http://bugzilla.novell.com/attachment.cgi?id=357155)
exe file (testcase)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.9.1.9)
Gecko/20100317 SUSE/3.5.9-0.1.1 Firefox/3.5.9

When running the .exe file that I'm going to attach, we reach an assertion on
the runtime.

Reproducible: Always

Actual Results:  
mono invalid_arglist_method_not_vararg.exe 
**
ERROR:icall.c:6978:mono_ArgIterator_Setup: assertion failed:
(iter->sig->call_convention == MONO_CALL_VARARG)
Stacktrace:

  at (wrapper managed-to-native) System.ArgIterator.Setup (intptr,intptr)
<0x00004>
  at (wrapper managed-to-native) System.ArgIterator.Setup (intptr,intptr)
<0x00004>
  at System.ArgIterator..ctor (System.RuntimeArgumentHandle) <0x00033>
  at Tests.varargtest_refany (int) <0x00040>
  at Tests.Main () <0x0000f>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int
(object,intptr,intptr,intptr) <0x0003a>

Native stacktrace:

    mono [0x80d5102]
    [0xffffe410]
    [0xffffe430]
    /lib/libc.so.6(gsignal+0x4f) [0xb756b0cf]
    /lib/libc.so.6(abort+0x187) [0xb756c9e7]
    /usr/lib/libglib-2.0.so.0(g_assertion_message+0x15b) [0xb7754afb]
    /usr/lib/libglib-2.0.so.0 [0xb77550df]
    mono [0x81aa7e8]
    [0xb7116367]
    [0xb711630c]
    [0xb71162c1]
    [0xb71161b8]
    [0xb711620b]
    mono [0x80636b2]

Debug info from gdb:

Missing separate debuginfo for /usr/bin/mono
Try: zypper install -C
"debuginfo(build-id)=2e0a4a13ee7e4b7a5aca18e293bf800900fded9f"
Missing separate debuginfo for /usr/lib/libgthread-2.0.so.0
Try: zypper install -C
"debuginfo(build-id)=3d6ba3a59076a327f34d293c31b3be9a6eddaf2b"
Missing separate debuginfo for /usr/lib/libglib-2.0.so.0
Try: zypper install -C
"debuginfo(build-id)=70d9507bc426e686c76aa9283e2679987e7c1d65"
Missing separate debuginfo for /lib/librt.so.1
Try: zypper install -C
"debuginfo(build-id)=27c7312d324b45f8ff3c79379d6cb78043452c0d"
Missing separate debuginfo for /lib/libdl.so.2
Try: zypper install -C
"debuginfo(build-id)=47a5c8a64587f48bcb3b50c18ccd22261bbdb989"
Missing separate debuginfo for /lib/libpthread.so.0
Try: zypper install -C
"debuginfo(build-id)=964690b0ca2ed321e995340684e09981f5f986ad"
Missing separate debuginfo for /lib/libm.so.6
Try: zypper install -C
"debuginfo(build-id)=a488c775caa0433cb23f9764d683150f40872ef1"
Missing separate debuginfo for /lib/libc.so.6
Try: zypper install -C
"debuginfo(build-id)=7eb4e169e926464393ef2e98d99c37f56d5f5858"
Missing separate debuginfo for /lib/libpcre.so.0
Try: zypper install -C
"debuginfo(build-id)=5ab33b6bde2ff3f9ed2bbedd89e4519ea6a080c1"
Missing separate debuginfo for /lib/ld-linux.so.2
Try: zypper install -C
"debuginfo(build-id)=d7706cbaa0ca09319cb645eac789cb8399078797"
Missing separate debuginfo for /usr/lib/gconv/ISO8859-1.so
Try: zypper install -C
"debuginfo(build-id)=cd4630f99c8266a77b5b7e2a82e888cd15565ae6"
Missing separate debuginfo for /lib/libgcc_s.so.1
Try: zypper install -C
"debuginfo(build-id)=d7d12f7fa08cc56782efdf6ec887bb02452b3646"
Mono support loaded.
[Thread debugging using libthread_db enabled]
[New Thread 0xb6d58b70 (LWP 10072)]
[New Thread 0xb6d7cb70 (LWP 10071)]
0xffffe430 in __kernel_vsyscall ()
  3 Thread 0xb6d7cb70 (LWP 10071)  0xffffe430 in __kernel_vsyscall ()
  2 Thread 0xb6d58b70 (LWP 10072)  0xffffe430 in __kernel_vsyscall ()
* 1 Thread 0xb750f6f0 (LWP 10069)  0xffffe430 in __kernel_vsyscall ()

Thread 3 (Thread 0xb6d7cb70 (LWP 10071)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb76d6516 in nanosleep () from /lib/libpthread.so.0
#2  0x081d1f48 in ?? ()
#3  0xb76ce6e5 in start_thread () from /lib/libpthread.so.0
#4  0xb76ce600 in ?? () from /lib/libpthread.so.0

Thread 2 (Thread 0xb6d58b70 (LWP 10072)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb76d4fb5 in sem_wait@@GLIBC_2.1 () from /lib/libpthread.so.0
#2  0x08161850 in ?? ()
#3  0x0818b78a in ?? ()
#4  0x081d3b32 in ?? ()
#5  0x081f976b in ?? ()
#6  0xb76ce6e5 in start_thread () from /lib/libpthread.so.0
#7  0xb76ce600 in ?? () from /lib/libpthread.so.0

Thread 1 (Thread 0xb750f6f0 (LWP 10069)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb76d5cfb in read () from /lib/libpthread.so.0
#2  0x080d52cb in ?? ()
#3  <signal handler called>
#4  0xffffe430 in __kernel_vsyscall ()
#5  0xb756b0cf in raise () from /lib/libc.so.6
#6  0xb756c9e7 in abort () from /lib/libc.so.6
#7  0xb7754afb in g_assertion_message () from /usr/lib/libglib-2.0.so.0
#8  0xb77550df in g_assertion_message_expr () from /usr/lib/libglib-2.0.so.0
#9  0x081aa7e8 in ?? ()
#10 0xb7116367 in ?? ()
#11 0xb711630c in ?? ()
#12 0xb71162c1 in ?? ()
#13 0xb71161b8 in ?? ()
#14 0xb711620b in ?? ()
#15 0x080636b2 in ?? ()
#16 0x081b1fd3 in mono_runtime_invoke ()
#17 0x081b5aac in mono_runtime_exec_main ()
#18 0x081b78e9 in mono_runtime_run_main ()
#19 0x080b50cd in mono_main ()
#20 0x0805b5b5 in geteuid ()
#21 0xb7556ace in __libc_start_main () from /lib/libc.so.6
#22 0x0805b4f1 in geteuid ()

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

Abortado
knocte at linux-f6wh:~/Documents/moonlight> source mono.env 
[mono] ~/Documents/moonlight @ mono invalid_arglist_method_not_vararg.exe 
**
ERROR:icall.c:6924:mono_ArgIterator_Setup: assertion failed:
(iter->sig->call_convention == MONO_CALL_VARARG)
Stacktrace:

  at (wrapper managed-to-native) System.ArgIterator.Setup
(System.ArgIterator*,intptr,intptr) <0x00004>
  at (wrapper managed-to-native) System.ArgIterator.Setup
(System.ArgIterator*,intptr,intptr) <0x00004>
  at System.ArgIterator..ctor (System.RuntimeArgumentHandle) <0x00033>
  at Tests.varargtest_refany (int) <0x00040>
  at Tests.Main () <0x0000f>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int
(object,intptr,intptr,intptr) <0x0003a>

Native stacktrace:

    mono [0x80d7489]
    [0xffffe410]
    [0xffffe430]
    /lib/libc.so.6(gsignal+0x4f) [0xb75120cf]
    /lib/libc.so.6(abort+0x187) [0xb75139e7]
    /usr/lib/libglib-2.0.so.0(g_assertion_message+0x15b) [0xb76fbafb]
    /usr/lib/libglib-2.0.so.0 [0xb76fc0df]
    mono [0x818054f]
    [0xb70b933f]
    [0xb70b92e4]
    [0xb70b9299]
    [0xb70b91a0]
    [0xb70b91f3]
    mono [0x8065301]
    mono(mono_runtime_invoke+0x40) [0x81c0f80]
    mono(mono_runtime_exec_main+0x143) [0x81c4683]
    mono(mono_runtime_run_main+0x112) [0x81c6962]
    mono(mono_main+0x1919) [0x80b5299]
    mono [0x805b405]
    /lib/libc.so.6(__libc_start_main+0xfe) [0xb74fdace]

Debug info from gdb:

Missing separate debuginfo for /usr/lib/libgthread-2.0.so.0
Try: zypper install -C
"debuginfo(build-id)=3d6ba3a59076a327f34d293c31b3be9a6eddaf2b"
Missing separate debuginfo for /usr/lib/libglib-2.0.so.0
Try: zypper install -C
"debuginfo(build-id)=70d9507bc426e686c76aa9283e2679987e7c1d65"
Missing separate debuginfo for /lib/librt.so.1
Try: zypper install -C
"debuginfo(build-id)=27c7312d324b45f8ff3c79379d6cb78043452c0d"
Missing separate debuginfo for /lib/libdl.so.2
Try: zypper install -C
"debuginfo(build-id)=47a5c8a64587f48bcb3b50c18ccd22261bbdb989"
Missing separate debuginfo for /lib/libpthread.so.0
Try: zypper install -C
"debuginfo(build-id)=964690b0ca2ed321e995340684e09981f5f986ad"
Missing separate debuginfo for /lib/libm.so.6
Try: zypper install -C
"debuginfo(build-id)=a488c775caa0433cb23f9764d683150f40872ef1"
Missing separate debuginfo for /lib/libc.so.6
Try: zypper install -C
"debuginfo(build-id)=7eb4e169e926464393ef2e98d99c37f56d5f5858"
Missing separate debuginfo for /lib/libpcre.so.0
Try: zypper install -C
"debuginfo(build-id)=5ab33b6bde2ff3f9ed2bbedd89e4519ea6a080c1"
Missing separate debuginfo for /lib/ld-linux.so.2
Try: zypper install -C
"debuginfo(build-id)=d7706cbaa0ca09319cb645eac789cb8399078797"
Missing separate debuginfo for /usr/lib/gconv/ISO8859-1.so
Try: zypper install -C
"debuginfo(build-id)=cd4630f99c8266a77b5b7e2a82e888cd15565ae6"
Missing separate debuginfo for /lib/libgcc_s.so.1
Try: zypper install -C
"debuginfo(build-id)=d7d12f7fa08cc56782efdf6ec887bb02452b3646"
Mono support loaded.
[Thread debugging using libthread_db enabled]
[New Thread 0xb6d0fb70 (LWP 10082)]
[New Thread 0xb6d33b70 (LWP 10081)]
0xffffe430 in __kernel_vsyscall ()
  3 Thread 0xb6d33b70 (LWP 10081)  0xffffe430 in __kernel_vsyscall ()
  2 Thread 0xb6d0fb70 (LWP 10082)  0xffffe430 in __kernel_vsyscall ()
* 1 Thread 0xb74b66f0 (LWP 10080)  0xffffe430 in __kernel_vsyscall ()

Thread 3 (Thread 0xb6d33b70 (LWP 10081)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb767d516 in nanosleep () from /lib/libpthread.so.0
#2  0x081cfa68 in collection_thread (unused=0x0) at collection.c:34
#3  0xb76756e5 in start_thread () from /lib/libpthread.so.0
#4  0xb7675600 in ?? () from /lib/libpthread.so.0

Thread 2 (Thread 0xb6d0fb70 (LWP 10082)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb767bfb5 in sem_wait@@GLIBC_2.1 () from /lib/libpthread.so.0
#2  0x081e6348 in mono_sem_wait (sem=0x82fb978, alertable=0)
    at mono-semaphore.c:102
#3  0x081911a8 in finalizer_thread (unused=0x0) at gc.c:1033
#4  0x081459b5 in start_wrapper (data=0x834b2e8) at threads.c:739
#5  0x081cb16e in thread_start_routine (args=0x8364444) at wthreads.c:286
#6  0x081fdd63 in GC_start_routine (arg=0x5dfe0) at pthread_support.c:1390
#7  0xb76756e5 in start_thread () from /lib/libpthread.so.0
#8  0xb7675600 in ?? () from /lib/libpthread.so.0

Thread 1 (Thread 0xb74b66f0 (LWP 10080)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb767ccfb in read () from /lib/libpthread.so.0
#2  0x080d763d in mono_handle_native_sigsegv (signal=6, ctx=0xbffa26ac)
    at mini-exceptions.c:1947
#3  <signal handler called>
#4  0xffffe430 in __kernel_vsyscall ()
#5  0xb75120cf in raise () from /lib/libc.so.6
#6  0xb75139e7 in abort () from /lib/libc.so.6
#7  0xb76fbafb in g_assertion_message () from /usr/lib/libglib-2.0.so.0
#8  0xb76fc0df in g_assertion_message_expr () from /usr/lib/libglib-2.0.so.0
#9  0x0818054f in mono_ArgIterator_Setup (iter=0x6, argsp=
    0x2760 <Address 0x2760 out of bounds>, start=0x0) at icall.c:6924
#10 0xb70b933f in ?? ()
#11 0xb70b92e4 in ?? ()
#12 0xb70b9299 in ?? ()
#13 0xb70b91a0 in ?? ()
#14 0xb70b91f3 in ?? ()
#15 0x08065301 in mono_jit_runtime_invoke (method="Tests:Main ()", obj=0x0, 
    params=0xbffa2d9c, exc=0x0) at mini.c:5233
#16 0x081c0f80 in mono_runtime_invoke (method="Tests:Main ()", obj=0x0, params=
    0xbffa2d9c, exc=0x0) at object.c:2692
#17 0x081c4683 in mono_runtime_exec_main (method="Tests:Main ()", args=
    0x3ce50, exc=0x0) at object.c:3817
#18 0x081c6962 in mono_runtime_run_main (method="Tests:Main ()", argc=1, argv=
    0xbffa2fb8, exc=0x0) at object.c:3450
#19 0x080b5299 in main_thread_handler (user_data=<value optimized out>)
    at driver.c:997
#20 mono_main (user_data=<value optimized out>) at driver.c:1766
#21 0x0805b405 in main (argc=2, argv=0xbffa2fb4) at main.c:34

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



Expected Results:  
Should not spew an unmanaged crash.

-- 
Configure bugmail: http://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