Bug 13239 - [GTK] Crash in CGImageGetClipPath called from GTK+ Quartz theme
Summary: [GTK] Crash in CGImageGetClipPath called from GTK+ Quartz theme
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: Trunk
Hardware: PC Mac OS
: --- normal
Target Milestone: master
Assignee: Cody Russell
URL:
Depends on:
Blocks:
 
Reported: 2013-07-14 14:22 UTC by Kristian Rietveld (inactive)
Modified: 2015-08-26 09:40 UTC (History)
3 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 NOT_REPRODUCIBLE

Description Kristian Rietveld (inactive) 2013-07-14 14:22:44 UTC
I experienced this crash a few times. Unfortunately I did not find a simple sequence of steps to reproduce this. Even though I am not at the latest revision of everything, I thought I would file it anyway.

The crash occurs when messing around with buttons in a dialog. I have been able to trigger it in the about box and in the dialog with "could not load" errors that sometimes pops up after opening a solution.

Some component version numbers (I am not 100% up to date):

glib-2.36.0
GTK+ (d7e3f6f9f89f0acb7fd40179cc4246726deafef1 + Xamarin patches)
gtk-engines-2.20.2
murrine-0.98.2
gtk-quartz-engine-master (42993790777aae9000db21bfea319a5fc53caab9)
xamarin-gtk-theme-master (01d77e8b0051b899837934c454d3af0d4f197b89)

MonoDevelop f72c8bc38ecc413f155c4ca85a6f77cfc1684f87


This trace is from when the crash occurred with the about dialog open.


Thread 1 (process 57531):
#0  0x96c5efda in __wait4 ()
#1  0x920db4ec in waitpid$UNIX2003 ()
#2  0x00094cb2 in mono_handle_native_sigsegv (signal=11, ctx=0xbfffb0c8) at mini-exceptions.c:2259
#3  0x00005358 in mono_sigsegv_signal_handler (_dummy=11, info=0xbfffb088, context=0xbfffb0c8) at mini.c:5939
#4  <signal handler called>
#5  0x99786f2d in CGImageGetClipPath ()
#6  0x997b5323 in CGContextDrawImages ()
#7  0x96d3baf1 in CUIPenCG::DrawImages ()
#8  0x96d1b829 in CUIRenderer::DrawPushButton ()
#9  0x96d16fd8 in CUIRenderer::Draw ()
#10 0x96d38e5d in CUIDraw ()
#11 0x9695f143 in _HIThemeDrawButtonInternal ()
#12 0x96961859 in HIThemeDrawButton ()
#13 0x06610610 in quartz_draw_button ()
#14 0x0660a0be in draw_box ()
#15 0x05249001 in gtk_paint_box (style=0x35026e0, window=0x3bd6258, state_type=GTK_STATE_NORMAL, shadow_type=GTK_SHADOW_IN, area=0x10b8ea34, widget=0x10b772f0, detail=0x545b0b0 "buttondefault", x=285, y=418, width=112, height=23) at gtkstyle.c:6207
#16 0x0507a83a in _gtk_button_paint (button=0x10b772f0, area=0x10b8ea34, state_type=GTK_STATE_ACTIVE, shadow_type=GTK_SHADOW_IN, main_detail=0x54a57d8 "button", default_detail=0x545b0b0 "buttondefault") at gtkbutton.c:1496
#17 0x0507aca3 in gtk_button_expose (widget=0x10b772f0, event=0x10b8ea28) at gtkbutton.c:1577
#18 0x0517afee in _gtk_marshal_BOOLEAN__BOXED (closure=0xc872ce0, return_value=0xbfffc790, n_param_values=2, param_values=0xbfffc840, invocation_hint=0xbfffc7c0, marshal_data=0x507ac00) at gtkmarshalers.c:86
#19 0x0613c23e in g_type_class_meta_marshal (closure=0xc872ce0, return_value=0xbfffc790, n_param_values=2, param_values=0xbfffc840, invocation_hint=0xbfffc7c0, marshal_data=0xc8) at gclosure.c:970
#20 0x0613b9b8 in g_closure_invoke (closure=0xc872ce0, return_value=0xbfffc790, n_param_values=2, param_values=0xbfffc840, invocation_hint=0xbfffc7c0) at gclosure.c:777
#21 0x0615cac8 in signal_emit_unlocked_R (node=0xc872d00, detail=0, instance=0x10b772f0, emission_return=0xbfffc900, instance_and_params=0xbfffc840) at gsignal.c:3622
#22 0x0615bb91 in g_signal_emit_valist (instance=0x10b772f0, signal_id=43, detail=0, var_args=0xbfffcb50 "`Ëÿ¿\003") at gsignal.c:3338
#23 0x0615c191 in g_signal_emit (instance=0x10b772f0, signal_id=43, detail=0) at gsignal.c:3384
#24 0x0532d75d in gtk_widget_event_internal (widget=0x10b772f0, event=0x10b8ea28) at gtkwidget.c:5139
#25 0x0532d361 in gtk_widget_send_expose (widget=0x10b772f0, event=0x10b8ea28) at gtkwidget.c:4959
#26 0x050bcf06 in gtk_container_propagate_expose (container=0x10b49e38, child=0x10b772f0, event=0x10b49d00) at gtkcontainer.c:2757
#27 0x050bc9e6 in gtk_container_expose_child (child=0x10b772f0, client_data=0xbfffcce8) at gtkcontainer.c:2638
#28 0x0506ed15 in gtk_box_forall (container=0x10b49e38, include_internals=1, callback=0x50bc9b0 <gtk_container_expose_child>, callback_data=0xbfffcce8) at gtkbox.c:1261
#29 0x050b9fa8 in gtk_container_forall (container=0x10b49e38, callback=0x50bc9b0 <gtk_container_expose_child>, callback_data=0xbfffcce8) at gtkcontainer.c:1507
#30 0x050bcb0e in gtk_container_expose (widget=0x10b49e38, event=0x10b49d00) at gtkcontainer.c:2661
#31 0x0517afee in _gtk_marshal_BOOLEAN__BOXED (closure=0xc872ce0, return_value=0xbfffcf00, n_param_values=2, param_values=0xbfffcfb0, invocation_hint=0xbfffcf30, marshal_data=0x50bc9f0) at gtkmarshalers.c:86
#32 0x0613c23e in g_type_class_meta_marshal (closure=0xc872ce0, return_value=0xbfffcf00, n_param_values=2, param_values=0xbfffcfb0, invocation_hint=0xbfffcf30, marshal_data=0xc8) at gclosure.c:970
#33 0x0613b9b8 in g_closure_invoke (closure=0xc872ce0, return_value=0xbfffcf00, n_param_values=2, param_values=0xbfffcfb0, invocation_hint=0xbfffcf30) at gclosure.c:777
#34 0x0615cac8 in signal_emit_unlocked_R (node=0xc872d00, detail=0, instance=0x10b49e38, emission_return=0xbfffd070, instance_and_params=0xbfffcfb0) at gsignal.c:3622
#35 0x0615bb91 in g_signal_emit_valist (instance=0x10b49e38, signal_id=43, detail=0, var_args=0xbfffd2c0 "ÐÒÿ¿\003") at gsignal.c:3338
#36 0x0615c191 in g_signal_emit (instance=0x10b49e38, signal_id=43, detail=0) at gsignal.c:3384
#37 0x0532d75d in gtk_widget_event_internal (widget=0x10b49e38, event=0x10b49d00) at gtkwidget.c:5139
#38 0x0532d361 in gtk_widget_send_expose (widget=0x10b49e38, event=0x10b49d00) at gtkwidget.c:4959
#39 0x050bcf06 in gtk_container_propagate_expose (container=0x3c9b568, child=0x10b49e38, event=0x10b494f8) at gtkcontainer.c:2757
#40 0x050bc9e6 in gtk_container_expose_child (child=0x10b49e38, client_data=0xbfffd458) at gtkcontainer.c:2638
#41 0x0506ed15 in gtk_box_forall (container=0x3c9b568, include_internals=1, callback=0x50bc9b0 <gtk_container_expose_child>, callback_data=0xbfffd458) at gtkbox.c:1261
#42 0x050b9fa8 in gtk_container_forall (container=0x3c9b568, callback=0x50bc9b0 <gtk_container_expose_child>, callback_data=0xbfffd458) at gtkcontainer.c:1507
#43 0x050bcb0e in gtk_container_expose (widget=0x3c9b568, event=0x10b494f8) at gtkcontainer.c:2661
#44 0x0517afee in _gtk_marshal_BOOLEAN__BOXED (closure=0xc872ce0, return_value=0xbfffd670, n_param_values=2, param_values=0xbfffd720, invocation_hint=0xbfffd6a0, marshal_data=0x50bc9f0) at gtkmarshalers.c:86
#45 0x0613c23e in g_type_class_meta_marshal (closure=0xc872ce0, return_value=0xbfffd670, n_param_values=2, param_values=0xbfffd720, invocation_hint=0xbfffd6a0, marshal_data=0xc8) at gclosure.c:970
#46 0x0613b9b8 in g_closure_invoke (closure=0xc872ce0, return_value=0xbfffd670, n_param_values=2, param_values=0xbfffd720, invocation_hint=0xbfffd6a0) at gclosure.c:777
#47 0x0615cac8 in signal_emit_unlocked_R (node=0xc872d00, detail=0, instance=0x3c9b568, emission_return=0xbfffd7e0, instance_and_params=0xbfffd720) at gsignal.c:3622
#48 0x0615bb91 in g_signal_emit_valist (instance=0x3c9b568, signal_id=43, detail=0, var_args=0xbfffda30 "@Úÿ¿\003") at gsignal.c:3338
#49 0x0615c191 in g_signal_emit (instance=0x3c9b568, signal_id=43, detail=0) at gsignal.c:3384
#50 0x0532d75d in gtk_widget_event_internal (widget=0x3c9b568, event=0x10b494f8) at gtkwidget.c:5139
#51 0x0532d361 in gtk_widget_send_expose (widget=0x3c9b568, event=0x10b494f8) at gtkwidget.c:4959
#52 0x050bcf06 in gtk_container_propagate_expose (container=0x2474908, child=0x3c9b568, event=0xbfffe2e0) at gtkcontainer.c:2757
#53 0x050bc9e6 in gtk_container_expose_child (child=0x3c9b568, client_data=0xbfffdbc8) at gtkcontainer.c:2638
#54 0x050689d5 in gtk_bin_forall (container=0x2474908, include_internals=1, callback=0x50bc9b0 <gtk_container_expose_child>, callback_data=0xbfffdbc8) at gtkbin.c:141
#55 0x050b9fa8 in gtk_container_forall (container=0x2474908, callback=0x50bc9b0 <gtk_container_expose_child>, callback_data=0xbfffdbc8) at gtkcontainer.c:1507
#56 0x050bcb0e in gtk_container_expose (widget=0x2474908, event=0xbfffe2e0) at gtkcontainer.c:2661
#57 0x05349b13 in gtk_window_expose (widget=0x2474908, event=0xbfffe2e0) at gtkwindow.c:6652
#58 0x0517afee in _gtk_marshal_BOOLEAN__BOXED (closure=0xc872ce0, return_value=0xbfffde10, n_param_values=2, param_values=0xbfffdec0, invocation_hint=0xbfffde40, marshal_data=0x5349aa0) at gtkmarshalers.c:86
#59 0x0613c23e in g_type_class_meta_marshal (closure=0xc872ce0, return_value=0xbfffde10, n_param_values=2, param_values=0xbfffdec0, invocation_hint=0xbfffde40, marshal_data=0xc8) at gclosure.c:970
#60 0x0613b9b8 in g_closure_invoke (closure=0xc872ce0, return_value=0xbfffde10, n_param_values=2, param_values=0xbfffdec0, invocation_hint=0xbfffde40) at gclosure.c:777
#61 0x0615cac8 in signal_emit_unlocked_R (node=0xc872d00, detail=0, instance=0x2474908, emission_return=0xbfffdf80, instance_and_params=0xbfffdec0) at gsignal.c:3622
#62 0x0615bb91 in g_signal_emit_valist (instance=0x2474908, signal_id=43, detail=0, var_args=0xbfffe1d0 "àáÿ¿\003") at gsignal.c:3338
#63 0x0615c191 in g_signal_emit (instance=0x2474908, signal_id=43, detail=0) at gsignal.c:3384
#64 0x0532d75d in gtk_widget_event_internal (widget=0x2474908, event=0xbfffe2e0) at gtkwidget.c:5139
#65 0x0532d361 in gtk_widget_send_expose (widget=0x2474908, event=0xbfffe2e0) at gtkwidget.c:4959
#66 0x05176e36 in gtk_main_do_event (event=0xbfffe2e0) at gtkmain.c:1618
#67 0x056d994f in _gdk_window_process_updates_recurse (window=0x3bd6258, expose_region=0x10abc760) at gdkwindow.c:5463
#68 0x056e6bc4 in -[GdkQuartzView drawRect:] (self=0x2c42500, _cmd=0x91bf975c, rect={origin = {x = 0, y = 416}, size = {width = 404, height = 32}}) at GdkQuartzView.c:129
#69 0x91293989 in -[NSView _drawRect:clip:] ()
#70 0x912919a8 in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] ()
#71 0x9128be9e in -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] ()
#72 0x91284d5c in -[NSView displayIfNeeded] ()
#73 0x05701821 in _gdk_windowing_after_process_all_updates () at gdkwindow-quartz.c:479
#74 0x056d9e7f in gdk_window_process_all_updates () at gdkwindow.c:5741
#75 0x050b9982 in gtk_container_idle_sizer (data=0x0) at gtkcontainer.c:1360
#76 0x056a23ce in gdk_threads_dispatch (data=0x26f8c00) at gdk.c:512
#77 0x04ece970 in g_idle_dispatch (source=0xf9bb870, callback=0x56a2370 <gdk_threads_dispatch>, user_data=0x26f8c00) at gmain.c:5207
#78 0x04ecba59 in g_main_dispatch (context=0x64e470) at gmain.c:3054
#79 0x04ecc820 in g_main_context_dispatch (context=0x64e470) at gmain.c:3630
#80 0x04ecca15 in g_main_context_iterate (context=0x64e470, block=1, dispatch=1, self=0x35695c0) at gmain.c:3703
#81 0x04eccf4f in g_main_loop_run (loop=0x6ef3f0) at gmain.c:3897
#82 0x051764b0 in gtk_main () at gtkmain.c:1257
#83 0x107e4d44 in ?? ()
#84 0x107e4d0c in ?? ()
#85 0x107e4c94 in ?? ()
#86 0x047bc6c0 in ?? ()
#87 0x004b703c in ?? ()
#88 0x004b6de4 in ?? ()
#89 0x004b6eaa in ?? ()
#90 0x0000d712 in mono_jit_runtime_invoke (method=0xae581c, obj=0x0, params=0xbffff2a8, exc=0x0) at mini.c:5813
#91 0x001aac4a in mono_runtime_invoke (method=0xae581c, obj=0x0, params=0xbffff2a8, exc=0x0) at object.c:2788
#92 0x001ad76c in mono_runtime_exec_main (method=0xae581c, args=0x10007c0, exc=0x0) at object.c:3964
#93 0x001ac9d1 in mono_runtime_run_main (method=0xae581c, argc=1, argv=0xbffff4f4, exc=0x0) at object.c:3594
#94 0x00069675 in mono_jit_exec (domain=0x64ad30, assembly=0x565f00, argc=2, argv=0xbffff4f0) at driver.c:944
#95 0x0006bc09 in mono_main (argc=4, argv=0xbffff4e8) at driver.c:1003
#96 0x00002609 in main (argc=4, argv=0xbffff4e8) at main.c:89