[MonoDevelop] Error when building with mdtool

Paddy Joy mono at paddyjoy.com
Tue Apr 4 18:29:12 EDT 2006


I have a gtk# project that compiles and runs fine from the Monodevelop 
IDE however when running mdtool build I get the following error. Is 
there a environment variable that I need to set? So far I have done:

LD_LIBRARY_PATH=/usr/local/lib
export LD_LIBRARY_PATH

PKG_CONFIG_PATH=/usr/local/lib/pkg-config
export PKG_CONFIG_PATH

This is the error I'm getting, anyone any ideas?


[paddy at laptop MyProject]$ mdtool build
MonoDevelop Build Tool
Loading project: ./MyProject.mdp
   Building Project: MyProject Configuration: Debug

(/usr/local/lib/pkgconfig/../../lib/monodevelop/bin/mdrun.exe:9569): 
GLib-GObject-CRITICAL **: gtype.c:2215: initialization assertion failed, 
use IA__g_type_init() prior to this function

(/usr/local/lib/pkgconfig/../../lib/monodevelop/bin/mdrun.exe:9569): 
GLib-GObject-CRITICAL **: gtype.c:2215: initialization assertion failed, 
use IA__g_type_init() prior to this function

(/usr/local/lib/pkgconfig/../../lib/monodevelop/bin/mdrun.exe:9569): 
GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: assertion 
`G_TYPE_IS_INTERFACE (interface_type)' failed

(/usr/local/lib/pkgconfig/../../lib/monodevelop/bin/mdrun.exe:9569): 
GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 
`G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(/usr/local/lib/pkgconfig/../../lib/monodevelop/bin/mdrun.exe:9569): 
GLib-GObject-CRITICAL **: g_object_newv: assertion `G_TYPE_IS_OBJECT 
(object_type)' failed

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Stacktrace:

in (wrapper managed-to-native) 
Gtk.NodeStore:gtksharp_node_store_set_tree_model_callbacks 
(intptr,Gtk.NodeStore/TreeModelIfaceDelegates&) <0x4>
in (wrapper managed-to-native) 
Gtk.NodeStore:gtksharp_node_store_set_tree_model_callbacks 
(intptr,Gtk.NodeStore/TreeModelIfaceDelegates&) <0xfffffd83>
in Gtk.NodeStore:BuildTreeModelIface () <0x2c3>
in Gtk.NodeStore:.ctor (System.Type) <0x92>
in Stetic.Project:.ctor () <0x3e>
in MonoDevelop.GtkCore.GuiBuilder.GuiBuilderProject:.ctor 
(MonoDevelop.Projects.Project,string) <0x63>
in MonoDevelop.GtkCore.GtkDesignInfo:get_GuiBuilderProject () <0x49>
in MonoDevelop.GtkCore.GeneratorBuildStep:Build 
(MonoDevelop.Core.IProgressMonitor,MonoDevelop.Projects.Project) <0xd5>
in MonoDevelop.Projects.Project:Build 
(MonoDevelop.Core.IProgressMonitor,bool) <0x460>
in MonoDevelop.Projects.Project:Build 
(MonoDevelop.Core.IProgressMonitor,bool) <0x15c>
in MonoDevelop.Projects.Project:Build 
(MonoDevelop.Core.IProgressMonitor) <0x13>
in MonoDevelop.Projects.BuildTool:Run (string[]) <0x1f6>
in MonoDevelop.Core.AddIns.AddInService:StartApplication 
(string,string[]) <0x170>
in MonoDevelopProcessHost:Main (string[]) <0x98>
in (wrapper runtime-invoke) System.Object:runtime_invoke_int_string[] 
(object,intptr,intptr,intptr) <0x7514836>

Native stacktrace:

        /usr/local/bin/mono(mono_handle_native_sigsegv+0xbb) [0x815133b]
        /usr/local/bin/mono [0x811fab0]
        [0x119440]
        [0xda1c8b]
        [0xda185c]
        [0xd9ef23]
        [0xd9edef]
        [0xd9eb2c]
        [0xd9deba]
        [0xd9d876]
        [0xd9b279]
        [0xd9af75]
        [0xd9ad8c]
        [0x173bc7]
        [0x169939]
        [0xba7911]
        [0xba77d4]
        /usr/local/bin/mono(mono_runtime_exec_main+0x9f) [0x80bbfdf]
        /usr/local/bin/mono(mono_runtime_run_main+0x152) [0x80bd0e2]
        /usr/local/bin/mono(mono_main+0xeec) [0x805cd0c]
        /usr/local/bin/mono [0x805b932]
        /lib/libc.so.6(__libc_start_main+0xdc) [0x9bc7e4]
        /usr/local/bin/mono [0x805b881]
Aborted
[paddy at laptop MyProject]$




More information about the Monodevelop-list mailing list