Bug 24126 - Application hangs, when creating a new instance of Gtk.FileChooser
Summary: Application hangs, when creating a new instance of Gtk.FileChooser
Status: NEW
Alias: None
Product: Gtk#
Classification: Mono
Component: gtk-sharp ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2014-10-29 05:59 UTC by kbnl83
Modified: 2014-11-04 23:02 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

output of mono --trace TestFC.exe starting from button click (7.95 KB, text/plain)
2014-10-29 05:59 UTC, kbnl83

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 for Bug 24126 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description kbnl83 2014-10-29 05:59:00 UTC
Created attachment 8539 [details]
output of mono --trace TestFC.exe starting from button click

Steps to reproduce it:

1. Create a GTK# project
2. Add a table container to the window and place a button inside
3. Create method OnButtonClicked ... with following content:
    Gtk.FileChooserDialog = new Gtk.FileChooserDialog("Foo", this, FileChooserAction.Open);
4. When I run that code in Xamarin Version 5.5.2 everything works well.

Now I want to run the application via mono command prompt:

mono TestFC.exe

-> the application hangs on button click 

This happens with "Mono for Windows 3.2.3".
When I install an older version (2.10.9) everything goes well.

Operating system: Windows 7 Professional SP 1

Maybe similar to this: https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/1182036
Comment 1 kbnl83 2014-10-29 06:52:28 UTC
in Mono 3.0.10 everything works well
Comment 2 Zoltan Varga 2014-11-04 23:02:32 UTC
-> gtk#.