Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=75445 --- shadow/75445 2005-07-02 10:25:45.000000000 -0400 +++ shadow/75445.tmp.760 2005-07-02 10:25:45.000000000 -0400 @@ -0,0 +1,44 @@ +Bug#: 75445 +Product: Mono: Tools +Version: unspecified +OS: +OS Details: Mono from svn head +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: tools +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: mkbundle breaks Gtk# applications when "--static" key is used. + +mkbundle breaks Gtk# applications when "--static" key is used. + +For example when using the calendar sample form gtk-sharp: +The command "mkbundle --static -o /tmp/calendar --deps calendar.exe" makes +calendar executable, as expected, but when running it, mono prints this +stack trace: +Unhandled Exception: System.NullReferenceException: Object reference not +set to an instance of an object +in <0x00000> <unknown method> +in (wrapper managed-to-native) Gtk.Application:gtk_init (int&,intptr&) +in <0x00035> Gtk.Application:Init () +in <0x00011> GtkSamples.CalendarApp:Main (System.String[] args) + +It should be reproducable on every Linux box. + +If it helps: I think there is something to do with DllImport (or what ever +is used by Gtk# to load Gtk functions from libgtk), because when manually +compiling the temp files that "--keeptemp" leaves behind and linking that +program dynamically with gtk, it finishes the Init function successfully, +but has some other problems like: +Unhandled Exception: System.NullReferenceException: Object reference not +set to an instance of an object +in <0x00000> <unknown method> +in (wrapper managed-to-native) Gtk.Widget:gtk_widget_show_all (intptr) +in <0x00017> Gtk.Widget:ShowAll () +in <0x000ed> GtkSamples.CalendarApp:Main (System.String[] args) _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
