[Mono-dev] Problems Embedding Mono in C application

Gutemberg Ribeiro gutemberg at fgrit.com
Tue Jan 12 15:48:45 UTC 2016


Hello Guys!

Following the basic Mono Embedding sample we got the following error:

* Assertion at class.c:5905, condition `class->field.count == 0' not met

Native stacktrace:

        ./lib/libmonoboehm-2.0.so.1(+0x14d738) [0x40381738]
        ./lib/libmonoboehm-2.0.so.1(+0x1adeb8) [0x403e1eb8]
        /lib/libc.so.6(__default_rt_sa_restorer_v2+0) [0x4081cbc0]
        /lib/libc.so.6(gsignal+0x40) [0x4081b898]
        /lib/libc.so.6(abort+0x1b0) [0x40820c0c]
        ./lib/libmonoboehm-2.0.so.1(+0x352648) [0x40586648]
        ./lib/libmonoboehm-2.0.so.1(+0x3524c8) [0x405864c8]
        ./lib/libmonoboehm-2.0.so.1(+0x352568) [0x40586568]
        ./lib/libmonoboehm-2.0.so.1(+0x1c9de0) [0x403fdde0]
        ./lib/libmonoboehm-2.0.so.1(+0x1ce10c) [0x4040210c]
        ./lib/libmonoboehm-2.0.so.1(+0x1cf24c) [0x4040324c]
        ./lib/libmonoboehm-2.0.so.1(+0x1cf30c) [0x4040330c]
        ./lib/libmonoboehm-2.0.so.1(mono_class_from_name+0x2c) [0x40403360]
        ./lib/libmonoboehm-2.0.so.1(+0x2b8dc0) [0x404ecdc0]
        ./lib/libmonoboehm-2.0.so.1(mono_init_from_assembly+0x24) [0x404ee718]
        ./lib/libmonoboehm-2.0.so.1(+0x33188) [0x40267188]
        ./lib/libmonoboehm-2.0.so.1(mono_jit_init+0x1c) [0x40341fac]
        ./testeMono() [0xa3d0]
        /lib/libc.so.6(__libc_start_main+0x110) [0x40803b10]

Debug info from gdb:


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

Anyone has a clue on what may be?

Thanks
Gutemberg

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20160112/a949f26e/attachment.html>


More information about the Mono-devel-list mailing list