Bug 11018 - Unmanaged crash from GtkSharp.TreeViewRowSeparatorFuncWrapper.NativeCallback (intptr,intptr,intptr)
Summary: Unmanaged crash from GtkSharp.TreeViewRowSeparatorFuncWrapper.NativeCallback ...
Status: RESOLVED DUPLICATE of bug 10513
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Project Model ()
Version: Trunk
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Lluis Sanchez
URL:
Depends on:
Blocks:
 
Reported: 2013-03-09 08:23 UTC by Andres G. Aragoneses
Modified: 2013-03-09 15:39 UTC (History)
1 user (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 DUPLICATE of bug 10513

Description Andres G. Aragoneses 2013-03-09 08:23:38 UTC
Just got this unmanaged crash with Ubuntu 12.10 (stock gtk+), mono 3.0.4, and MD from master as of today.

I'm very certain this is not 100% reproducible (I right-clicked on the solution -> properties -> bam!)

Stacktrace:

  at <unknown> <0xffffffff>
  at GtkSharp.TreeViewRowSeparatorFuncWrapper.NativeCallback (intptr,intptr,intptr) [0x00002] in /home/andres1210/Code/system_mono/gtk-sharp/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/andres1210/Code/system_mono/gtk-sharp/gtk/generated/ListStore.cs:181
  at Gtk.ListStore.AppendValues (System.Array) [0x00001] in /home/andres1210/Code/system_mono/gtk-sharp/gtk/generated/ListStore.custom:106
  at Gtk.ListStore.AppendValues (object[]) [0x00001] in /home/andres1210/Code/system_mono/gtk-sharp/gtk/generated/ListStore.custom:123
  at MonoDevelop.Ide.Gui.Dialogs.PolicyOptionsPanel`1.FillPolicies () [0x000ec] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/PolicyOptionsPanel.cs:172
  at MonoDevelop.Ide.Gui.Dialogs.PolicyOptionsPanel`1.MonoDevelop.Ide.Gui.Dialogs.IOptionsPanel.CreatePanelWidget () [0x0010f] in /home/andres1210/Code/system_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 /home/andres1210/Code/system_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 /home/andres1210/Code/system_mono/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/andres1210/Code/system_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 0x0005c, 0xffffffff>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) <IL 0x0001c, 0xffffffff>
  at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) [0x0006a] in /home/andres1210/Code/system_mono/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:223
  at System.Reflection.MethodBase.Invoke (object,object[]) [0x00000] in /home/andres1210/Code/system_mono/mono/mcs/class/corlib/System.Reflection/MethodBase.cs:103
  at System.Delegate.DynamicInvokeImpl (object[]) [0x000d7] in /home/andres1210/Code/system_mono/mono/mcs/class/corlib/System/Delegate.cs:424
  at System.MulticastDelegate.DynamicInvokeImpl (object[]) [0x00018] in /home/andres1210/Code/system_mono/mono/mcs/class/corlib/System/MulticastDelegate.cs:72
  at System.Delegate.DynamicInvoke (object[]) [0x00000] in /home/andres1210/Code/system_mono/mono/mcs/class/corlib/System/Delegate.cs:398
  at GLib.Signal.ClosureInvokedCB (object,GLib.ClosureInvokedArgs) [0x00050] in /home/andres1210/Code/system_mono/gtk-sharp/glib/Signal.cs:195
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs) [0x00011] in /home/andres1210/Code/system_mono/gtk-sharp/glib/SignalClosure.cs:118
  at GLib.SignalClosure.MarshalCallback (intptr,intptr,uint,intptr,intptr,intptr) [0x0007d] in /home/andres1210/Code/system_mono/gtk-sharp/glib/SignalClosure.cs:146
  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.Dialog.gtk_dialog_run (intptr) <IL 0x00011, 0xffffffff>
  at Gtk.Dialog.Run () [0x00001] in /home/andres1210/Code/system_mono/gtk-sharp/gtk/generated/Dialog.cs:221
  at Mono.TextEditor.GtkWorkarounds.RunDialogWithNotification (Gtk.Dialog) [0x00015] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/Mono.Texteditor/Mono.TextEditor/Gui/GtkWorkarounds.cs:280
  at MonoDevelop.Ide.MessageService.RunCustomDialog (Gtk.Dialog,Gtk.Window) [0x00054] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/MessageService.cs:333
  at MonoDevelop.Ide.MessageService.RunCustomDialog (Gtk.Dialog) [0x00001] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/MessageService.cs:314
  at MonoDevelop.Ide.ProjectOperations.ShowOptions (MonoDevelop.Projects.IWorkspaceObject,string) [0x001b6] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/ProjectOperations.cs:590
  at MonoDevelop.Ide.ProjectOperations.ShowOptions (MonoDevelop.Projects.IWorkspaceObject) [0x00001] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/ProjectOperations.cs:538
  at MonoDevelop.Ide.Commands.SolutionItemOptionsHandler.Run () [0x0000b] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ProjectCommands.cs:128
  at MonoDevelop.Components.Commands.CommandHandler.Run (object) [0x00001] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandHandler.cs:61
  at MonoDevelop.Components.Commands.CommandHandler.InternalRun (object) [0x00001] in /home/andres1210/Code/system_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 /home/andres1210/Code/system_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 /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:1067
  at MonoDevelop.Components.Commands.CommandMenuItem.OnActivated () [0x0005b] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandMenuItem.cs:131
  at Gtk.MenuItem.activated_cb (intptr) [0x0000f] in /home/andres1210/Code/system_mono/gtk-sharp/gtk/generated/MenuItem.cs:238
  at (wrapper native-to-managed) Gtk.MenuItem.activated_cb (intptr) <IL 0x00021, 0xffffffff>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <IL 0x0000e, 0xffffffff>
  at Gtk.Application.Run () [0x00001] in /home/andres1210/Code/system_mono/gtk-sharp/gtk/Application.cs:135
  at MonoDevelop.Ide.IdeApp.Run () [0x00000] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/Ide.cs:397
  at MonoDevelop.Ide.IdeStartup.Run (MonoDevelop.Ide.MonoDevelopOptions) [0x0072d] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:284
  at MonoDevelop.Ide.IdeStartup.Main (string[]) [0x00066] in /home/andres1210/Code/system_mono/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/IdeStartup.cs:569
  at MonoDevelop.Startup.MonoDevelopMain.Main (string[]) [0x00000] in /home/andres1210/Code/system_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 1 Andres G. Aragoneses 2013-03-09 08:24:24 UTC
Last bits:

ative stacktrace:

	monodevelop() [0x4a6df1]
	monodevelop() [0x4fc6df]
	monodevelop() [0x41e927]
	/lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x2b1ff545acb0]
	monodevelop() [0x4b2626]
	monodevelop() [0x4a87dd]
	monodevelop() [0x4a9b8a]
	[0x41e3c236]

Debug info from gdb:

Could not attach to process.  If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user.  For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Operation not permitted.
No threads.

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

make[1]: *** [runmd-sgen] Aborted (core dumped)
make[1]: Leaving directory `/home/andres1210/Code/system_mono/monodevelop/main'
make: *** [run] Error 2
Comment 2 Mikayla Hutchinson [MSFT] 2013-03-09 15:39:29 UTC
Known JIT crash, please update Mono.

*** This bug has been marked as a duplicate of bug 10513 ***