Bug 22297 - Winforms datagridview second edit text cell crash on armhf AND on x86
Summary: Winforms datagridview second edit text cell crash on armhf AND on x86
Status: RESOLVED DUPLICATE of bug 9653
Alias: None
Product: Class Libraries
Classification: Mono
Component: Windows.Forms ()
Version: unspecified
Hardware: Other Linux
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2014-08-22 11:35 UTC by Marc Coussement
Modified: 2015-01-03 09:44 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

VS2008 project zip (61.00 KB, application/x-zip-compressed)
2014-08-22 11:35 UTC, Marc Coussement
Monodevelop exception stack and version information (5.94 KB, text/plain)
2014-08-26 11:52 UTC, Marc Coussement

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:

Description Marc Coussement 2014-08-22 11:35:50 UTC
Created attachment 7772 [details]
VS2008 project zip

Winforms datagridview (see small project vs2008 in attachment) crash on armhf on edit second text field.

Works on Linux Debian x86 problem is on armhf.
Edit of checkbox in same grid works.
To reproduce crash
edit text cell, go to next text cell and edit => crash 

System info:

root@A20:~/Desktop# mono -V
Mono JIT compiler version 3.8.1 (master/8020aaf Thu Aug 21 21:33:29 UTC 2014)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       normal
	Notifications: epoll
	Architecture:  armel,vfp+hard
	Disabled:      none
	Misc:          softdebug 
	LLVM:          supported, not enabled.
	GC:            sgen

Crash info:

mono WinFormTestDataGrid.exe
System.ObjectDisposedException: The object was used after being disposed.
  at System.Windows.Forms.Control.CreateHandle () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.TextBoxBase.CreateHandle () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.CreateControl () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.SetVisibleCore (Boolean value) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.set_Visible (Boolean value) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:set_Visible (bool)
  at System.Windows.Forms.DataGridView.BeginEdit (Boolean selectAll) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.DataGridView.ProcessKeyEventArgs (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.ProcessKeyMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.WmKeys (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.DataGridView.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0
Comment 1 Marc Coussement 2014-08-26 11:52:09 UTC
Created attachment 7801 [details]
Monodevelop exception stack and version information
Comment 2 Marc Coussement 2014-08-26 11:54:11 UTC
This example also does not work under Ubuntu X86

Same problem Crash on Edit cell => go to next cell => edit =>crash
with version : 
=== MonoDevelop ===
Version 4.0.12
Installation UUID: d7018f0a-f63d-4ae6-9847-ec9f17b72524
	Mono 3.2.8 (Debian 3.2.8+dfsg-4ubuntu1)
Git revision:
Build date: 2014-01-08 14:59:33+0000

See full info in attachment

Comment 3 Miguel de Icaza [MSFT] 2015-01-03 09:44:01 UTC

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