Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Gtk# application crashes on OSX

$
0
0

Hi,

My application runs normally on Ubuntu and Windows (XP, 7, 8) and on OSX when started from Xamarin Studio. But when I start application from terminal or xterm on OSX, then I got:

[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for Gtk.Dialog ---> System.DllNotFoundException: gtksharpglue-2
  at (wrapper managed-to-native) Gtk.Dialog:gtksharp_gtk_dialog_get_vbox_offset ()
  at Gtk.Dialog..cctor () [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at Gtk.MessageDialog..ctor (Gtk.Window parent_window, DialogFlags flags, MessageType type, ButtonsType bt, Boolean use_markup, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 
  at Gtk.MessageDialog..ctor (Gtk.Window parent_window, DialogFlags flags, MessageType type, ButtonsType bt, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 
  at IIT.Biznet.XSystem.GUI.IITMessageBox.Show (Gtk.Window parent, System.String message, MessageType type, ButtonsType buttons) [0x00000] in <filename unknown>:0 
  at IIT.Biznet.XSystem.GUI.IITMessageBox.ShowError (Gtk.Window parent, System.String message) [0x00000] in <filename unknown>:0 
  at bnfpos.MainClass.IITUnhandledException (System.Object sender, System.UnhandledExceptionEventArgs e) [0x00000] in <filename unknown>:0 
  at bnfpos.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0

I have tried to run this applicaton on OSX 10.6 and 10.7 with same result using mono 2.10.10, 2.10.11 and 2.10.12.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>