[Mono-bugs] [Bug 674098] New: [PATCH] Possible hang in ClipboardAvailableFormats in XplatUIX11.cs, if clipboard source application closes down.
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Feb 22 14:42:17 EST 2011
https://bugzilla.novell.com/show_bug.cgi?id=674098
https://bugzilla.novell.com/show_bug.cgi?id=674098#c0
Summary: [PATCH] Possible hang in ClipboardAvailableFormats in
XplatUIX11.cs, if clipboard source application closes
down.
Classification: Mono
Product: Mono: Class Libraries
Version: 2.8.x
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Windows.Forms
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: tom_hindle at sil.org
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
Created an attachment (id=415584)
--> (http://bugzilla.novell.com/attachment.cgi?id=415584)
Patch that fixes ClipboardAvailableFormats never returning in some instances.
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.5
(KHTML, like Gecko) Chrome/4.0.249.43 Safari/532.5
an example where this problem may occur:
1. An mono Winforms application is checking clipboard status using its
Application.Idle (eg. calling Clipboard.ContainsText()).
2. A user copies some data from a second application then closes down the
application.
3. If mono Winforms application was in the ContainsText method call, when the
second application closes, then WinForm application may hang.
Attaching a patch which fixes this issue. (I will wait for this to be tested
extensively before committing this patch)
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
--
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.
More information about the mono-bugs
mailing list