https://bugzilla.novell.com/show_bug.cgi?id=378191
Summary: Rapidly calling DoDragDrop can cause NullReferenceException Product: Mono: Class Libraries Version: 1.9.0 Platform: x86-64 OS/Version: RHEL 5 Status: NEW Severity: Normal Priority: P5 - None Component: Windows.Forms AssignedTo: mono-bugs@lists.ximian.com ReportedBy: [EMAIL PROTECTED] QAContact: mono-bugs@lists.ximian.com Found By: --- If the user of an application causes it to rapidly call DoDragDrop, then the application may terminate with a NullReferenceException. To reproduce: 1. Build and run the attached test case. 2. Rapidly click a mouse button (triple-click often triggers the problem for me) Example output (RHEL 5 x86-64, Mono 1.9 built from source): Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at System.Windows.Forms.DataObject.SetData (System.Object data) [0x00000] at System.Windows.Forms.X11Dnd.SetDataWithFormats (System.Object value) [0x00000] at System.Windows.Forms.X11Dnd.ConvertData (System.Windows.Forms.XEvent& xevent) [0x00000] at System.Windows.Forms.X11Dnd.Accepting_HandleEnterEvent (System.Windows.Forms.XEvent& xevent) [0x00000] at System.Windows.Forms.X11Dnd.HandleClientMessage (System.Windows.Forms.XEvent& xevent) [0x00000] at System.Windows.Forms.XplatUIX11.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, IntPtr handle, Int32 wFilterMin, Int32 wFilterMax) [0x00000] at System.Windows.Forms.XplatUI.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, IntPtr hWnd, Int32 wFilterMin, Int32 wFilterMax) [0x00000] at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000] at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00000] at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000] at DragDropTest.Main () [0x00000] -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs