Bug 45292 - Assertion at domain.c:714, condition `mono_defaults.monotype_class != 0' not met
Summary: Assertion at domain.c:714, condition `mono_defaults.monotype_class != 0' not met
Status: NEW
Alias: None
Product: Runtime
Classification: Mono
Component: General (show other bugs)
Version: 4.4.1 (C7SR0)
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-10-11 20:43 UTC by mpictor
Modified: 2017-09-08 23:54 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 45292 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
NEW

Description mpictor 2016-10-11 20:43:49 UTC
package: gentoo's dev-lang/mono-4.4.1.0

--------------
Command:
--------------
$ MONO_PATH=/home/mark/.wine32/drive_c/windows/Microsoft.NET/Framework/v4.0.30319:/home/mark/.wine32/drive_c/windows/Microsoft.NET/Framework/v4.0.30319/WPF/ mono ~/.wine/drive_c/Program\ Files\ \(x86\)/Hewlett-Packard/HP\ iLO\ Integrated\ Remote\ Console/HPLOCONS.exe

--------------
HPLOCONS is HP's stand-alone iLO console application, http://h20564.www2.hpe.com/hpsc/swd/public/detail?swItemId=MTX_4f842ceb31cf48d392e22705a8 . I installed it with wine but couldn't run it so tried mono, which results in the following output:
--------------
* Assertion at domain.c:714, condition `mono_defaults.monotype_class != 0' not met


Native stacktrace:

        mono() [0x4ac0df]
        /lib64/libpthread.so.0() [0x3985c10ae0]
        /lib64/libc.so.6(gsignal+0x37) [0x3985832cd7]
        /lib64/libc.so.6(abort+0x169) [0x3985833fe9]
        mono() [0x647c71]
        mono() [0x647ef4]
        mono() [0x648093]
        mono() [0x5b0e50]
        mono() [0x429c86]
        mono(mono_main+0x2c0) [0x47e540]
        mono() [0x423807]
        /lib64/libc.so.6(__libc_start_main+0xf0) [0x3985820610]
        mono(_start+0x29) [0x423b99]

Debug info from gdb:

Mono support loaded.
[New LWP 9962]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x0000003985c1070b in waitpid () from /lib64/libpthread.so.0
  Id   Target Id         Frame 
  2    Thread 0x7fc33cfff700 (LWP 9962) "mono" 0x0000003985c0ceff in pthread_cond_wait () from /lib64/libpthread.so.0
* 1    Thread 0x7fc33d65f780 (LWP 9961) "mono" 0x0000003985c1070b in waitpid () from /lib64/libpthread.so.0

Thread 2 (Thread 0x7fc33cfff700 (LWP 9962)):
#0  0x0000003985c0ceff in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x000000000060fcb2 in mono_os_cond_wait (mutex=0x97c400, cond=0x97c3c0) at ../../mono/utils/mono-os-mutex.h:105
#2  thread_func (thread_data=0x0) at sgen-thread-pool.c:118
#3  0x0000003985c0742c in start_thread () from /lib64/libpthread.so.0
#4  0x00000039858e6a9d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fc33d65f780 (LWP 9961)):
#0  0x0000003985c1070b in waitpid () from /lib64/libpthread.so.0
#1  0x00000000004ac1b6 in mono_handle_native_sigsegv (signal=<optimized out>, ctx=<optimized out>, info=<optimized out>) at mini-exceptions.c:2348
#2  <signal handler called>
#3  0x0000003985832cd7 in raise () from /lib64/libc.so.6
#4  0x0000003985833fe9 in abort () from /lib64/libc.so.6
#5  0x0000000000647c71 in monoeg_log_default_handler (log_domain=<optimized out>, log_level=G_LOG_LEVEL_ERROR, message=<optimized out>, unused_data=<optimized out>) at goutput.c:233
#6  0x0000000000647ef4 in monoeg_g_logv (log_domain=log_domain@entry=0x0, log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=format@entry=0x650e00 "* Assertion at %s:%d, condition `%s' not met\n", args=args@entry=0x7ffc70c9bf00) at goutput.c:113
#7  0x0000000000648093 in monoeg_assertion_message (format=format@entry=0x650e00 "* Assertion at %s:%d, condition `%s' not met\n") at goutput.c:133
#8  0x00000000005b0e50 in mono_init_internal (filename=filename@entry=0x7ffc70c9deb8 "/home/mark/.wine/drive_c/Program Files (x86)/Hewlett-Packard/HP iLO Integrated Remote Console/HPLOCONS.exe", exe_filename=exe_filename@entry=0x7ffc70c9deb8 "/home/mark/.wine/drive_c/Program Files (x86)/Hewlett-Packard/HP iLO Integrated Remote Console/HPLOCONS.exe", runtime_version=runtime_version@entry=0x0) at domain.c:714
#9  0x00000000005b117f in mono_init_from_assembly (domain_name=domain_name@entry=0x7ffc70c9deb8 "/home/mark/.wine/drive_c/Program Files (x86)/Hewlett-Packard/HP iLO Integrated Remote Console/HPLOCONS.exe", filename=filename@entry=0x7ffc70c9deb8 "/home/mark/.wine/drive_c/Program Files (x86)/Hewlett-Packard/HP iLO Integrated Remote Console/HPLOCONS.exe") at domain.c:900
#10 0x0000000000429c86 in mini_init (filename=0x7ffc70c9deb8 "/home/mark/.wine/drive_c/Program Files (x86)/Hewlett-Packard/HP iLO Integrated Remote Console/HPLOCONS.exe", runtime_version=runtime_version@entry=0x0) at mini-runtime.c:3602
#11 0x000000000047e540 in mono_main (argc=2, argv=0x7ffc70c9c3c8) at driver.c:2007
#12 0x0000000000423807 in mono_main_with_options (argv=0x7ffc70c9c3c8, argc=2) at main.c:28
#13 main (argc=2, argv=0x7ffc70c9c3c8) at main.c:177

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