Bug 2537 - GLib-Warning: g_main_context_prepare(): main loop already active in another thread
Summary: GLib-Warning: g_main_context_prepare(): main loop already active in another t...
Status: RESOLVED DUPLICATE of bug 1758
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: Trunk
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Michael Natterer
URL:
Depends on:
Blocks:
 
Reported: 2011-12-16 07:42 UTC by Alan McGovern
Modified: 2012-01-03 14:52 UTC (History)
2 users (show)

Tags: gtk
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 DUPLICATE of bug 1758

Description Alan McGovern 2011-12-16 07:42:05 UTC
1) Start MonoDevelop
2) Click on File -> Open
3) Drag and release any file displayed in the chooser

Result:
MonoDevelop hangs forever.


WARNING [2011-12-16 12:39:38Z]: GLib-Warning: g_main_context_prepare(): main loop already active in another thread
Stack trace: 
   at MonoMac.AppKit.NSSavePanel.RunModal() in /cvs/monomac/src/AppKit/NSSavePanel.g.cs:line 192
   at MonoDevelop.MacIntegration.MacSelectFileDialogHandler.RunPanel(MonoDevelop.Components.Extensions.SelectFileDialogData data, MonoMac.AppKit.NSSavePanel panel) in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/MacPlatform/Dialogs/MacSelectFileDialogHandler.cs:line 126
   at MonoDevelop.MacIntegration.MacOpenFileDialogHandler.Run(MonoDevelop.Ide.Extensions.OpenFileDialogData data) in /Users/alanmcgovern/Projects/monodevelop/main/src/addins/MacPlatform/Dialogs/MacOpenFileDialogHandler.cs:line 167
   at MonoDevelop.Components.Extensions.PlatformDialog`1[[MonoDevelop.Ide.Extensions.OpenFileDialogData, MonoDevelop.Ide, Version=2.6.0.0, Culture=neutral, PublicKeyToken=null]].Run() in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Extensions/PlatformDialog.cs:line 98
   at MonoDevelop.Components.Extensions.SelectFileDialog`1[[MonoDevelop.Ide.Extensions.OpenFileDialogData, MonoDevelop.Ide, Version=2.6.0.0, Culture=neutral, PublicKeyToken=null]].Run() in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Extensions/ISelectFileDialog.cs:line 297
   at MonoDevelop.Ide.Commands.OpenFileHandler.Run() in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs:line 87
   at MonoDevelop.Components.Commands.CommandHandler.Run(System.Object dataItem) in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandHandler.cs:line 61
   at MonoDevelop.Components.Commands.CommandHandler.InternalRun(System.Object dataItem) in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandHandler.cs:line 42
   at MonoDevelop.Components.Commands.CommandManager.DefaultDispatchCommand(MonoDevelop.Components.Commands.ActionCommand cmd, MonoDevelop.Components.Commands.CommandInfo info, System.Object dataItem, System.Object target, CommandSource source) in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:line 696
   at MonoDevelop.Components.Commands.CommandManager.DispatchCommand(System.Object commandId, System.Object dataItem, System.Object initialTarget, CommandSource source) in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:line 666
   at MonoDevelop.Components.Commands.CommandToolButton.OnClicked() in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandToolButton.cs:line 72
   at Gtk.ToolButton.clicked_cb(IntPtr tool_item)
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at MonoDevelop.Ide.IdeApp.Run() in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/Ide.cs:line 384
   at MonoDevelop.Ide.IdeStartup.Run(MonoDevelop.Ide.MonoDevelopOptions options) in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:line 272
   at MonoDevelop.Ide.IdeStartup.Main(System.String[] args) in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:line 521
   at MonoDevelop.Startup.MonoDevelopMain.Main(System.String[] args) in /Users/alanmcgovern/Projects/monodevelop/main/src/core/MonoDevelop.Startup/MonoDevelop.Startup/MonoDevelopMain.cs:line 16
make[1]: *** [runmd] Error 58
make: *** [run] Interrupt: 2
Comment 1 Mikayla Hutchinson [MSFT] 2012-01-03 14:52:38 UTC

*** This bug has been marked as a duplicate of bug 1758 ***