Bug 39839 - Monodevelop does not run on linux
Summary: Monodevelop does not run on linux
Status: RESOLVED NORESPONSE
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: Trunk
Hardware: PC Linux
: --- normal
Target Milestone: master
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-03-22 14:16 UTC by Sergey Zhukov
Modified: 2017-03-24 20:12 UTC (History)
2 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 on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NORESPONSE

Description Sergey Zhukov 2016-03-22 14:16:47 UTC
monodevelop from master branch does not run on 32-bit linux platform. It shows gtk related error messages in console and does not open main window. The issue was introduced in commit https://github.com/mono/monodevelop/commit/e5ff7e38891b7ea3ea120e8993e1eb57813802eb

in this line of code:

https://github.com/mono/monodevelop/blob/abd3fb708d5bfc954597da5f47a64b5a37d85d7e/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Styles.cs#L295 

When I remove LoadStyle() from the file above monodevelop starts working.


Errors in the console when LoadStyle() is not removed:

INFO [2016-03-22 18:28:15Z]: Starting MonoDevelop 6.0
INFO [2016-03-22 18:28:15Z]: Running on Mono 4.2.3 (Stable 4.2.3.4/832de4b Wed Mar 16 13:20:38 UTC 2016)
INFO [2016-03-22 18:28:15Z]: Operating System: Linux
Linux sergey 3.2.0-101-generic-pae #141-Ubuntu SMP Thu Mar 10 22:11:18 UTC 2016 i686 i686 i386 GNU/Linux

(process:13076): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.32.4/./gobject/gtype.c:2722: You forgot to call g_type_init()

(process:13076): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed

(process:13076): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.32.4/./gobject/gtype.c:2722: You forgot to call g_type_init()

(process:13076): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.32.4/./gobject/gtype.c:2722: You forgot to call g_type_init()

(process:13076): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.32.4/./gobject/gtype.c:2722: You forgot to call g_type_init()

(process:13076): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(process:13076): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.32.4/./gobject/gtype.c:2722: You forgot to call g_type_init()

(process:13076): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: assertion `G_TYPE_IS_INTERFACE (interface_type)' failed

(process:13076): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed

(process:13076): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(process:13076): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.32.4/./gobject/gtype.c:2722: You forgot to call g_type_init()

(process:13076): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed

(process:13076): GLib-GObject-CRITICAL **: /build/buildd/glib2.0-2.32.4/./gobject/gtype.c:2722: You forgot to call g_type_init()
Comment 1 Jeffrey Stedfast 2016-10-28 16:10:24 UTC
Is this still a problem? I don't have a Linux machine to test this on.
Comment 2 Greg Munn 2017-03-24 20:12:47 UTC
Closing. If this is still an issue, please reopen the bug. Thanks.