Bug 3484 - [GTK] Crash when pressing build button
Summary: [GTK] Crash when pressing build button
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 2.8.5
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-02-15 15:23 UTC by Kristian Rietveld (inactive)
Modified: 2012-04-04 17:00 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 FIXED

Description Kristian Rietveld (inactive) 2012-02-15 15:23:06 UTC
I got a crash when hitting the build button a few times, stack trace below. Judging from this stack trace it is definitely a GTK+ problem that needs fixing (I am guessing a NULL or empty region, but we need to dissect the GDK code in order to find out).


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib              0x900879c6 __pthread_kill + 10
1   libsystem_c.dylib                   0x99d36f78 pthread_kill + 106
2   libsystem_c.dylib                   0x99d27bdd abort + 167
3   monodevelop                         0x00093b60 mono_handle_native_sigsegv + 624
4   monodevelop                         0x000d88bd sigabrt_signal_handler + 109
5   libsystem_c.dylib                   0x99d8c59b _sigtramp + 43
6   ???                                 0xffffffff 0 + 4294967295
7   monodevelop                         0x000d8850 sigusr1_signal_handler + 240
8   libsystem_c.dylib                   0x99d27bdd abort + 167
9   libglib-2.0.0.dylib                 0x03ef87f9 g_assertion_message + 489
10  libglib-2.0.0.dylib                 0x03ef887c g_assertion_message_expr + 124
11  libgdk-quartz-2.0.0.dylib           0x0457bef5 miUnionNonO + 133
12  libgdk-quartz-2.0.0.dylib           0x0457bd10 miRegionOp + 976
13  libgdk-quartz-2.0.0.dylib           0x0457cbf3 gdk_region_union + 419
14  libgdk-quartz-2.0.0.dylib           0x045930b2 impl_window_add_update_area + 50
15  libgdk-quartz-2.0.0.dylib           0x0459348b gdk_window_invalidate_maybe_recurse_full + 939
16  libgdk-quartz-2.0.0.dylib           0x045934e7 gdk_window_invalidate_maybe_recurse + 71
17  libgtk-quartz-2.0.0.dylib           0x0430b198 gtk_widget_invalidate_widget_windows + 184
18  libgtk-quartz-2.0.0.dylib           0x0430b23f gtk_widget_queue_shallow_draw + 159
19  libgtk-quartz-2.0.0.dylib           0x0430adab gtk_widget_queue_resize + 187
20  libgtk-quartz-2.0.0.dylib           0x0414935f gtk_label_recalculate + 319
21  libgtk-quartz-2.0.0.dylib           0x04149488 gtk_label_set_text + 280
Comment 1 Kristian Rietveld (inactive) 2012-02-15 15:24:27 UTC
Updating version -- this is with MonoDevelop 2.8.5, Mono framework 2.10.9_4.
Comment 2 Mikayla Hutchinson [MSFT] 2012-02-15 16:38:49 UTC
IIRC this was caused by the build thread calling the document save function, which was not threadsafe, and it was fixed in MD 2.8.6.x. It only happened if there were unsaved files when butting the build button.