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.
After updating to the newest Xamarin Studio version 4.2.3 the editor crashes when I try to expand the "drawables" folder in the project view. The stack trace from the console with --no-redirect looks like this: 2014-02-19 23:40:42.552 XamarinStudio[1700:f07] *** Assertion failure in -[NSBitmapImageRep initWithCGImage:], /SourceCache/AppKit/AppKit-1187.40/AppKit.subproj/NSBitmapImageRep.m:1242 2014-02-19 23:40:42.552 XamarinStudio[1700:f07] An uncaught exception was raised 2014-02-19 23:40:42.553 XamarinStudio[1700:f07] Invalid parameter not satisfying: cgImage != NULL 2014-02-19 23:40:42.554 XamarinStudio[1700:f07] ( 0 CoreFoundation 0x90457e8b __raiseError + 219 1 libobjc.A.dylib 0x9064a52e objc_exception_throw + 230 2 CoreFoundation 0x903b7698 +[NSException raise:format:arguments:] + 136 3 Foundation 0x9239e364 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 116 4 AppKit 0x9328b525 -[NSBitmapImageRep initWithCGImage:] + 145 5 ??? 0x0c988c3c 0x0 + 211323964 6 ??? 0x16083ec4 0x0 + 369639108 7 ??? 0x160834e4 0x0 + 369636580 8 ??? 0x160822d0 0x0 + 369631952 9 ??? 0x15d9732b 0x0 + 366572331 10 ??? 0x15d972b8 0x0 + 366572216 11 ??? 0x16081f34 0x0 + 369631028 12 ??? 0x14ad96a4 0x0 + 346920612 13 ??? 0x14ad9514 0x0 + 346920212 14 ??? 0x14ad9384 0x0 + 346919812 15 ??? 0x14ad2bec 0x0 + 346893292 16 ??? 0x14adc760 0x0 + 346933088 17 ??? 0x160810ad 0x0 + 369627309 18 ??? 0x14adc42c 0x0 + 346932268 19 ??? 0x14adbf14 0x0 + 346930964 20 ??? 0x14adbc08 0x0 + 346930184 21 ??? 0x11dba94b 0x0 + 299608395 22 libmonosgen-2.0.dylib 0x0100d68e mono_jit_runtime_invoke + 798 23 libmonosgen-2.0.dylib 0x011c736e mono_runtime_invoke + 126 24 libmonosgen-2.0.dylib 0x011ce36c mono_runtime_invoke_array + 1596 25 libmonosgen-2.0.dylib 0x01134a36 ves_icall_InternalInvoke + 1286 26 ??? 0x03fd7d40 0x0 + 66944320 27 ??? 0x03fd79c0 0x0 + 66943424 28 ??? 0x03fd790b 0x0 + 66943243 29 ??? 0x0d5184e4 0x0 + 223446244 30 ??? 0x0d5182bc 0x0 + 223445692 31 ??? 0x0d51827f 0x0 + 223445631 32 ??? 0x0d518250 0x0 + 223445584 33 ??? 0x0d518114 0x0 + 223445268 34 ??? 0x0d516e7c 0x0 + 223440508 35 ??? 0x063747a4 0x0 + 104286116 36 libgobject-2.0.0.dylib 0x061eb918 g_closure_invoke + 504 37 libgobject-2.0.0.dylib 0x0620cb89 signal_emit_unlocked_R + 2345 38 libgobject-2.0.0.dylib 0x0620baf1 g_signal_emit_valist + 4913 39 libgobject-2.0.0.dylib 0x0620c0f1 g_signal_emit + 65 40 libgtk-quartz-2.0.0.dylib 0x055b6670 gtk_tree_view_real_expand_row + 544 41 libgtk-quartz-2.0.0.dylib 0x0559f2b4 gtk_tree_view_button_release + 388 42 libgtksharpglue-2.so 0x0d420286 gtksharp_widget_base_button_release_event + 86 43 ??? 0x1423f9b0 0x0 + 337902000 44 ??? 0x1423f964 0x0 + 337901924 45 ??? 0x16fec018 0x0 + 385794072 46 ??? 0x1423f872 0x0 + 337901682 47 ??? 0x11356540 0x0 + 288712000 48 libgtk-quartz-2.0.0.dylib 0x0542ccde _gtk_marshal_BOOLEAN__BOXED + 286 49 libgobject-2.0.0.dylib 0x061ec19e g_type_class_meta_marshal + 142 50 libgobject-2.0.0.dylib 0x061eb918 g_closure_invoke + 504 51 libgobject-2.0.0.dylib 0x0620ca28 signal_emit_unlocked_R + 1992 52 libgobject-2.0.0.dylib 0x0620baf1 g_signal_emit_valist + 4913 53 libgobject-2.0.0.dylib 0x0620c0f1 g_signal_emit + 65 54 libgtk-quartz-2.0.0.dylib 0x055e043d gtk_widget_event_internal + 749 55 libgtk-quartz-2.0.0.dylib 0x055dfc2f gtk_widget_event + 319 56 libgtk-quartz-2.0.0.dylib 0x0542a5f1 propagate_event_up + 97 57 libgtk-quartz-2.0.0.dylib 0x0542a9b7 propagate_event + 535 58 libgtk-quartz-2.0.0.dylib 0x0542aac7 gtk_propagate_event + 247 59 libgtk-quartz-2.0.0.dylib 0x05428d6b gtk_main_do_event + 1211 60 libgdk-quartz-2.0.0.dylib 0x05897cd9 gdk_event_dispatch + 153 61 libglib-2.0.0.dylib 0x051bb9b9 g_main_dispatch + 409 62 libglib-2.0.0.dylib 0x051bc780 g_main_context_dispatch + 48 63 libglib-2.0.0.dylib 0x051bc975 g_main_context_iterate + 485 64 libglib-2.0.0.dylib 0x051bceaf g_main_loop_run + 527 65 libgtk-quartz-2.0.0.dylib 0x054281a0 gtk_main + 240 66 ??? 0x13a768c0 0x0 + 329738432 67 ??? 0x13a76884 0x0 + 329738372 68 ??? 0x13a76864 0x0 + 329738340 69 ??? 0x03ff1dc8 0x0 + 67050952 70 ??? 0x006da13c 0x0 + 7184700 71 ??? 0x006d9ed4 0x0 + 7184084 72 ??? 0x006d9f9a 0x0 + 7184282 73 libmonosgen-2.0.dylib 0x0100d68e mono_jit_runtime_invoke + 798 74 libmonosgen-2.0.dylib 0x011c736e mono_runtime_invoke + 126 75 libmonosgen-2.0.dylib 0x011cb924 mono_runtime_exec_main + 420 76 libmonosgen-2.0.dylib 0x011cbc95 mono_runtime_run_main + 725 77 libmonosgen-2.0.dylib 0x01078c75 mono_jit_exec + 149 78 libmonosgen-2.0.dylib 0x0107b2b2 mono_main + 9778 79 XamarinStudio 0x00002dae main + 2398 80 XamarinStudio 0x00002445 start + 53 ) 2014-02-19 23:40:42.586 XamarinStudio[1700:f07] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: cgImage != NULL' *** Call stack at first throw: ( 0 CoreFoundation 0x90457e8b __raiseError + 219 1 libobjc.A.dylib 0x9064a52e objc_exception_throw + 230 2 CoreFoundation 0x903b7698 +[NSException raise:format:arguments:] + 136 3 Foundation 0x9239e364 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 116 4 AppKit 0x9328b525 -[NSBitmapImageRep initWithCGImage:] + 145 5 ??? 0x0c988c3c 0x0 + 211323964 6 ??? 0x16083ec4 0x0 + 369639108 7 ??? 0x160834e4 0x0 + 369636580 8 ??? 0x160822d0 0x0 + 369631952 9 ??? 0x15d9732b 0x0 + 366572331 10 ??? 0x15d972b8 0x0 + 366572216 11 ??? 0x16081f34 0x0 + 369631028 12 ??? 0x14ad96a4 0x0 + 346920612 13 ??? 0x14ad9514 0x0 + 346920212 14 ??? 0x14ad9384 0x0 + 346919812 15 ??? 0x14ad2bec 0x0 + 346893292 16 ??? 0x14adc760 0x0 + 346933088 17 ??? 0x160810ad 0x0 + 369627309 18 ??? 0x14adc42c 0x0 + 346932268 19 ??? 0x14adbf14 0x0 + 346930964 20 ??? 0x14adbc08 0x0 + 346930184 21 ??? 0x11dba94b 0x0 + 299608395 22 libmonosgen-2.0.dylib 0x0100d68e mono_jit_runtime_invoke + 798 23 libmonosgen-2.0.dylib 0x011c736e mono_runtime_invoke + 126 24 libmonosgen-2.0.dylib 0x011ce36c mono_runtime_invoke_array + 1596 25 libmonosgen-2.0.dylib 0x01134a36 ves_icall_InternalInvoke + 1286 26 ??? 0x03fd7d40 0x0 + 66944320 27 ??? 0x03fd79c0 0x0 + 66943424 28 ??? 0x03fd790b 0x0 + 66943243 29 ??? 0x0d5184e4 0x0 + 223446244 30 ??? 0x0d5182bc 0x0 + 223445692 31 ??? 0x0d51827f 0x0 + 223445631 32 ??? 0x0d518250 0x0 + 223445584 33 ??? 0x0d518114 0x0 + 223445268 34 ??? 0x0d516e7c 0x0 + 223440508 35 ??? 0x063747a4 0x0 + 104286116 36 libgobject-2.0.0.dylib 0x061eb918 g_closure_invoke + 504 37 libgobject-2.0.0.dylib 0x0620cb89 signal_emit_unlocked_R + 2345 38 libgobject-2.0.0.dylib 0x0620baf1 g_signal_emit_valist + 4913 39 libgobject-2.0.0.dylib 0x0620c0f1 g_signal_emit + 65 40 libgtk-quartz-2.0.0.dylib 0x055b6670 gtk_tree_view_real_expand_row + 544 41 libgtk-quartz-2.0.0.dylib 0x0559f2b4 gtk_tree_view_button_release + 388 42 libgtksharpglue-2.so 0x0d420286 gtksharp_widget_base_button_release_event + 86 43 ??? 0x1423f9b0 0x0 + 337902000 44 ??? 0x1423f964 0x0 + 337901924 45 ??? 0x16fec018 0x0 + 385794072 46 ??? 0x1423f872 0x0 + 337901682 47 ??? 0x11356540 0x0 + 288712000 48 libgtk-quartz-2.0.0.dylib 0x0542ccde _gtk_marshal_BOOLEAN__BOXED + 286 49 libgobject-2.0.0.dylib 0x061ec19e g_type_class_meta_marshal + 142 50 libgobject-2.0.0.dylib 0x061eb918 g_closure_invoke + 504 51 libgobject-2.0.0.dylib 0x0620ca28 signal_emit_unlocked_R + 1992 52 libgobject-2.0.0.dylib 0x0620baf1 g_signal_emit_valist + 4913 53 libgobject-2.0.0.dylib 0x0620c0f1 g_signal_emit + 65 54 libgtk-quartz-2.0.0.dylib 0x055e043d gtk_widget_event_internal + 749 55 libgtk-quartz-2.0.0.dylib 0x055dfc2f gtk_widget_event + 319 56 libgtk-quartz-2.0.0.dylib 0x0542a5f1 propagate_event_up + 97 57 libgtk-quartz-2.0.0.dylib 0x0542a9b7 propagate_event + 535 58 libgtk-quartz-2.0.0.dylib 0x0542aac7 gtk_propagate_event + 247 59 libgtk-quartz-2.0.0.dylib 0x05428d6b gtk_main_do_event + 1211 60 libgdk-quartz-2.0.0.dylib 0x05897cd9 gdk_event_dispatch + 153 61 libglib-2.0.0.dylib 0x051bb9b9 g_main_dispatch + 409 62 libglib-2.0.0.dylib 0x051bc780 g_main_context_dispatch + 48 63 libglib-2.0.0.dylib 0x051bc975 g_main_context_iterate + 485 64 libglib-2.0.0.dylib 0x051bceaf g_main_loop_run + 527 65 libgtk-quartz-2.0.0.dylib 0x054281a0 gtk_main + 240 66 ??? 0x13a768c0 0x0 + 329738432 67 ??? 0x13a76884 0x0 + 329738372 68 ??? 0x13a76864 0x0 + 329738340 69 ??? 0x03ff1dc8 0x0 + 67050952 70 ??? 0x006da13c 0x0 + 7184700 71 ??? 0x006d9ed4 0x0 + 7184084 72 ??? 0x006d9f9a 0x0 + 7184282 73 libmonosgen-2.0.dylib 0x0100d68e mono_jit_runtime_invoke + 798 74 libmonosgen-2.0.dylib 0x011c736e mono_runtime_invoke + 126 75 libmonosgen-2.0.dylib 0x011cb924 mono_runtime_exec_main + 420 76 libmonosgen-2.0.dylib 0x011cbc95 mono_runtime_run_main + 725 77 libmonosgen-2.0.dylib 0x01078c75 mono_jit_exec + 149 78 libmonosgen-2.0.dylib 0x0107b2b2 mono_main + 9778 79 XamarinStudio 0x00002dae main + 2398 80 XamarinStudio 0x00002445 start + 53 ) Trace/BPT trap: 5 I cant understand why NS/Cocoa classes are loaded at this point, since I work exclusively on Android projects. Am I supposed to fallback to an older version of Xamarin Studio?
*** This bug has been marked as a duplicate of bug 16413 ***