Bug 10513 - JIT crash in Xamarin Studio
Summary: JIT crash in Xamarin Studio
Status: RESOLVED FIXED
Alias: None
Product: Runtime
Classification: Mono
Component: JIT ()
Version: unspecified
Hardware: PC Mac OS
: High normal
Target Milestone: ---
Assignee: Zoltan Varga
URL:
: 10601 10619 10628 10990 11018 ()
Depends on:
Blocks:
 
Reported: 2013-02-21 06:50 UTC by harold_reina75
Modified: 2013-03-09 15:39 UTC (History)
8 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 GitHub or Developer Community 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 harold_reina75 2013-02-21 06:50:15 UTC
Stacktrace:

  at <unknown> <0xffffffff>
  at GtkSharp.TreeViewRowSeparatorFuncWrapper.NativeCallback (intptr,intptr,intptr) <IL 0x00013, 0x0008e>
  at (wrapper native-to-managed) GtkSharp.TreeViewRowSeparatorFuncWrapper.NativeCallback (intptr,intptr,intptr) <IL 0x00030, 0xffffffff>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) Gtk.ListStore.gtk_list_store_append (intptr,intptr) <IL 0x00010, 0xffffffff>
  at Gtk.ListStore.Append () <IL 0x0001c, 0x0003b>
  at Gtk.ListStore.AppendValues (System.Array) <IL 0x00001, 0x0004f>
  at Gtk.ListStore.AppendValues (object[]) <IL 0x00002, 0x00027>
  at MonoDevelop.Ide.Gui.Dialogs.PolicyOptionsPanel`1.FillPolicies () [0x00160] in /home/orion75/Git/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/PolicyOptionsPanel.cs:179
  at MonoDevelop.Ide.Gui.Dialogs.PolicyOptionsPanel`1.MonoDevelop.Ide.Gui.Dialogs.IOptionsPanel.CreatePanelWidget () [0x0010f] in /home/orion75/Git/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/PolicyOptionsPanel.cs:82
  at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.CreatePageWidget (MonoDevelop.Ide.Gui.Dialogs.OptionsDialog/SectionPage) [0x00034] in /home/orion75/Git/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/OptionsDialog.cs:586
  at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.ShowPage (MonoDevelop.Ide.Extensions.OptionsDialogSection) [0x00145] in /home/orion75/Git/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/OptionsDialog.cs:478
  at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.OnSelectionChanged (object,System.EventArgs) [0x0002c] in /home/orion75/Git/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/OptionsDialog.cs:431
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object_object (object,intptr,intptr,intptr) <IL 0x0005c, 0xffffffff>
  at <unknown> <0xffffffff>
Comment 1 Mikayla Hutchinson [MSFT] 2013-02-21 16:14:32 UTC
What distro is this? What MonoDevelop version, Mono version, GTK# version, GTK+ version?
Comment 2 harold_reina75 2013-02-21 17:01:28 UTC
Distro: Debian Whezzy
GTK#: Git  gtk-sharp-2-12-branch Ver 2.12.12
Gtk+: libgtk2.0-0 (2.24.10-2)
monodevelop: Git version 4.0

when the error had gtk # 2.12.11 but right now I'm doing a new installation of mono parallel. the change has gtk # 2.12.12 error occurred in the GTK libraries.

After the new installation of mono I mention the results
Comment 3 harold_reina75 2013-02-21 17:16:44 UTC
los nuevos resultados son 

Stacktrace:

  at <unknown> <0xffffffff>
  at GtkSharp.TreeViewRowSeparatorFuncWrapper.NativeCallback (intptr,intptr,intptr) [0x00002] in /home/orion75/Git/gtk-sharp-2.12.12/gtk/generated/GtkSharp.TreeViewRowSeparatorFuncNative.cs:58
  at (wrapper native-to-managed) GtkSharp.TreeViewRowSeparatorFuncWrapper.NativeCallback (intptr,intptr,intptr) <IL 0x00030, 0xffffffff>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) Gtk.ListStore.gtk_list_store_append (intptr,intptr) <IL 0x00010, 0xffffffff>
  at Gtk.ListStore.Append () [0x00016] in /home/orion75/Git/gtk-sharp-2.12.12/gtk/generated/ListStore.cs:181
  at Gtk.ListStore.AppendValues (System.Array) [0x00001] in /home/orion75/Git/gtk-sharp-2.12.12/gtk/generated/ListStore.custom:106
  at Gtk.ListStore.AppendValues (object[]) [0x00001] in /home/orion75/Git/gtk-sharp-2.12.12/gtk/generated/ListStore.custom:123
  at MonoDevelop.Ide.Gui.Dialogs.PolicyOptionsPanel`1.FillPolicies () [0x00160] in /home/orion75/Git/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/PolicyOptionsPanel.cs:179
  at MonoDevelop.Ide.Gui.Dialogs.PolicyOptionsPanel`1.MonoDevelop.Ide.Gui.Dialogs.IOptionsPanel.CreatePanelWidget () [0x0010f] in /home/orion75/Git/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/PolicyOptionsPanel.cs:82
Comment 4 harold_reina75 2013-02-21 17:25:10 UTC
if not required gtk+ version > (2.24.10).
in the version of Windows used  gtk(2.24.23) and this error does not occur
Comment 5 Mikayla Hutchinson [MSFT] 2013-02-22 18:35:26 UTC
I saw this on MacOS w/ master.

  at <unknown> <0xffffffff>
  at GtkSharp.TreeViewRowSeparatorFuncWrapper.NativeCallback (intptr,intptr,intptr) <IL 0x00013, 0x00071>
  at (wrapper native-to-managed) GtkSharp.TreeViewRowSeparatorFuncWrapper.NativeCallback (intptr,intptr,intptr) <IL 0x00030, 0xffffffff>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) Gtk.ListStore.gtk_list_store_append (intptr,intptr) <IL 0x00024, 0xffffffff>
  at Gtk.ListStore.Append () <IL 0x0001c, 0x00037>
  at Gtk.ListStore.AppendValues (System.Array) <IL 0x00001, 0x0004b>
  at Gtk.ListStore.AppendValues (object[]) <IL 0x00002, 0x00017>
  at MonoDevelop.Ide.Gui.Dialogs.PolicyOptionsPanel`1.FillPolicies () [0x00018] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/PolicyOptionsPanel.cs:160
  at MonoDevelop.Ide.Gui.Dialogs.PolicyOptionsPanel`1.MonoDevelop.Ide.Gui.Dialogs.IOptionsPanel.CreatePanelWidget () [0x0010f] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/PolicyOptionsPanel.cs:82
  at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.CreatePageWidget (MonoDevelop.Ide.Gui.Dialogs.OptionsDialog/SectionPage) [0x00034] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/OptionsDialog.cs:586
  at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.ShowPage (MonoDevelop.Ide.Extensions.OptionsDialogSection) [0x00145] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/OptionsDialog.cs:478
  at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.ShowPage (MonoDevelop.Ide.Extensions.OptionsDialogSection) [0x00067] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/OptionsDialog.cs:461
  at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.OnSelectionChanged (object,System.EventArgs) [0x0002c] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/OptionsDialog.cs:431
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object_object (object,intptr,intptr,intptr) <IL 0x0005a, 0xffffffff>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) <IL 0x00030, 0xffffffff>
  at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) [0x0006a] in /Users/duncan/git/mono/bockbuild/profiles/mono-mac-release/build-root/mono-3.0.4/_build/mono-3.0.4.git/mcs/class/corlib/System.Reflection/MonoMethod.cs:223
  at System.Reflection.MethodBase.Invoke (object,object[]) [0x00000] in /Users/duncan/git/mono/bockbuild/profiles/mono-mac-release/build-root/mono-3.0.4/_build/mono-3.0.4.git/mcs/class/corlib/System.Reflection/MethodBase.cs:103
  at System.Delegate.DynamicInvokeImpl (object[]) [0x000d7] in /Users/duncan/git/mono/bockbuild/profiles/mono-mac-release/build-root/mono-3.0.4/_build/mono-3.0.4.git/mcs/class/corlib/System/Delegate.cs:424
  at System.MulticastDelegate.DynamicInvokeImpl (object[]) [0x00018] in /Users/duncan/git/mono/bockbuild/profiles/mono-mac-release/build-root/mono-3.0.4/_build/mono-3.0.4.git/mcs/class/corlib/System/MulticastDelegate.cs:72
  at System.Delegate.DynamicInvoke (object[]) [0x00000] in /Users/duncan/git/mono/bockbuild/profiles/mono-mac-release/build-root/mono-3.0.4/_build/mono-3.0.4.git/mcs/class/corlib/System/Delegate.cs:398
  at GLib.Signal.ClosureInvokedCB (object,GLib.ClosureInvokedArgs) <IL 0x0004f, 0x0012f>
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs) <IL 0x00014, 0x00023>
  at GLib.SignalClosure.MarshalCallback (intptr,intptr,uint,intptr,intptr,intptr) <IL 0x00081, 0x00253>
  at (wrapper native-to-managed) GLib.SignalClosure.MarshalCallback (intptr,intptr,uint,intptr,intptr,intptr) <IL 0x00028, 0xffffffff>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) Gtk.TreeSelection.gtk_tree_selection_select_iter (intptr,intptr) <IL 0x00024, 0xffffffff>
  at Gtk.TreeSelection.SelectIter (Gtk.TreeIter) <IL 0x00013, 0x00053>
  at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.ExpandCategories () [0x00020] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/OptionsDialog.cs:245
  at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog..ctor (Gtk.Window,object,string,bool) [0x0037d] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/OptionsDialog.cs:185
  at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog..ctor (Gtk.Window,object,string) [0x00000] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/OptionsDialog.cs:83
  at MonoDevelop.Ide.Projects.DefaultPolicyOptionsDialog..ctor (Gtk.Window) [0x00016] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects/DefaultPolicyOptionsDialog.cs:57
  at MonoDevelop.Ide.Gui.Workbench.ShowDefaultPoliciesDialog (Gtk.Window,string) [0x00013] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:575
  at MonoDevelop.Ide.Gui.Workbench.ShowDefaultPoliciesDialog (Gtk.Window) [0x00001] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:567
  at MonoDevelop.Ide.Commands.DefaultPoliciesHandler.Run () [0x00001] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/EditCommands.cs:88
  at MonoDevelop.Components.Commands.CommandHandler.Run (object) [0x00001] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandHandler.cs:61
  at MonoDevelop.Components.Commands.CommandHandler.InternalRun (object) [0x00001] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandHandler.cs:42
  at MonoDevelop.Components.Commands.CommandManager.DefaultDispatchCommand (MonoDevelop.Components.Commands.ActionCommand,MonoDevelop.Components.Commands.CommandInfo,object,object,MonoDevelop.Components.Commands.CommandSource) [0x00085] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:1097
  at MonoDevelop.Components.Commands.CommandManager.DispatchCommand (object,object,object,MonoDevelop.Components.Commands.CommandSource) [0x002d4] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:1067
  at MonoDevelop.Components.Commands.CommandManager.DispatchCommand (object,MonoDevelop.Components.Commands.CommandSource) [0x00001] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:906
  at MonoDevelop.MacIntegration.MacMainMenu/<HandleMenuCommand>c__AnonStorey11.<>m__1D (object,System.EventArgs) [0x00001] in /Users/michael/Mono/monodevelop/main/src/addins/MacPlatform/MacMainMenu.cs:745
  at Gtk.Application/InvokeCB.Invoke () <IL 0x00012, 0x0001d>
  at GLib.Timeout/TimeoutProxy.Handler () <IL 0x0000d, 0x00031>
  at (wrapper native-to-managed) GLib.Timeout/TimeoutProxy.Handler () <IL 0x0002d, 0xffffffff>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <IL 0x00022, 0xffffffff>
  at Gtk.Application.Run () <IL 0x00000, 0x0000b>
  at MonoDevelop.Ide.IdeApp.Run () [0x00000] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/Ide.cs:397
  at MonoDevelop.Ide.IdeStartup.Run (MonoDevelop.Ide.MonoDevelopOptions) [0x00722] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:280
  at MonoDevelop.Ide.IdeStartup.Main (string[]) [0x00066] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:536
  at MonoDevelop.Startup.MonoDevelopMain.Main (string[]) [0x00000] in /Users/michael/Mono/monodevelop/main/src/core/MonoDevelop.Startup/MonoDevelop.Startup/MonoDevelopMain.cs:16
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <IL 0x0005c, 0xffffffff>
Comment 6 Mikayla Hutchinson [MSFT] 2013-02-22 18:36:34 UTC
Seems to be a Mono crash:

Thread 1 (process 78272):
#0  0x901d909a in __wait4 ()
#1  0x97c389a2 in waitpid$UNIX2003 ()
#2  0x0013a9b2 in mono_handle_native_sigsegv (signal=11, ctx=0x793fe0) at mini-exceptions.c:2331
#3  0x00189c55 in mono_arch_handle_altstack_exception (sigctx=0x793fe0, fault_addr=0x4, stack_ovf=0) at exceptions-x86.c:1135
#4  0x0009a901 in mono_sigsegv_signal_handler (_dummy=10, info=0x793fa0, context=0x793fe0) at mini.c:6374
#5  <signal handler called>
#6  mini_method_get_rgctx (m=0x84d58654) at mini-generic-sharing.c:2336
#7  0x0013c73a in mono_create_static_rgctx_trampoline (m=0x84d58654, addr=0x1b1e9770) at mini-trampolines.c:106
#8  0x0013f5a8 in mini_add_method_trampoline (orig_method=0x0, m=0x84d58654, compiled_method=0x1b1e9770, caller_ji=0x0, add_static_rgctx_tramp=1) at mini-trampolines.c:362
#9  0x0013d2b2 in mono_delegate_trampoline (regs=0xbff67128, code=0x0, tramp_data=0x856e7d0c, tramp=0x0) at mini-trampolines.c:1090
#10 0x00590774 in ?? ()
#11 0x11aca128 in ?? ()
#12 0x0293b9c7 in gtk_combo_box_menu_row_inserted ()
#13 0x0293b170 in gtk_combo_box_model_row_inserted ()
#14 0x02a0d096 in _gtk_marshal_VOID__BOXED_BOXED ()
#15 0x036985bf in g_closure_invoke ()
#16 0x036b8bbe in signal_emit_unlocked_R ()
#17 0x036b78e6 in g_signal_emit_valist ()
#18 0x036b7db1 in g_signal_emit ()
#19 0x02b5b6ea in gtk_tree_model_row_inserted ()
#20 0x02a01e00 in gtk_list_store_insert ()
#21 0x02a023b9 in gtk_list_store_append ()
Comment 7 Mikayla Hutchinson [MSFT] 2013-02-22 18:39:09 UTC
Happens on Mono 3.0.4 but not 2.10.11.
Comment 8 Mikayla Hutchinson [MSFT] 2013-02-23 04:33:02 UTC
*** Bug 10601 has been marked as a duplicate of this bug. ***
Comment 9 Zoltan Varga 2013-02-23 14:01:02 UTC
Fixed in master by eed19f9f7728eae5fea9bcc2fa66d3c512c81a0a. We might need to issue a hotfix for 3.0 for this.
Comment 10 Mikayla Hutchinson [MSFT] 2013-02-25 01:32:13 UTC
*** Bug 10619 has been marked as a duplicate of this bug. ***
Comment 11 Mikayla Hutchinson [MSFT] 2013-02-25 01:32:29 UTC
*** Bug 10628 has been marked as a duplicate of this bug. ***
Comment 12 Mikayla Hutchinson [MSFT] 2013-03-08 14:24:02 UTC
*** Bug 10990 has been marked as a duplicate of this bug. ***
Comment 13 Mikayla Hutchinson [MSFT] 2013-03-09 15:39:29 UTC
*** Bug 11018 has been marked as a duplicate of this bug. ***