[Mono-bugs] [Bug 52074][Nor] New - SegFault Calling HttpWebRequest.Abort()
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 11 Dec 2003 17:11:21 -0500 (EST)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by jim@mcdee.net.
http://bugzilla.ximian.com/show_bug.cgi?id=52074
--- shadow/52074 2003-12-11 17:11:21.000000000 -0500
+++ shadow/52074.tmp.19896 2003-12-11 17:11:21.000000000 -0500
@@ -0,0 +1,49 @@
+Bug#: 52074
+Product: Mono/Runtime
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: Jim@mcdee.net
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: SegFault Calling HttpWebRequest.Abort()
+
+Mono 0.29 running on RedHat 9.
+
+calling HttpWebRequest.Abort() on an Abort()ed thread causes mono to
+segfault. Calling the same exe in .net appears to work okay.
+
+Output from .NET is:
+
+About to start worker
+Worker sending request
+About to abort worker
+About to join worker
+Worker aborting
+Worker aborting request
+Worker abort finished
+
+
+Output from Mono is:
+
+About to start worker
+Worker sending request
+About to abort worker
+About to join worker
+Worker aborting
+Worker aborting request
+Segmentation fault
+
+Note that if the worker request is completed then no segfault will occur.
+If the line 'Worker got response' shows up then the worker request has been
+completed and the segfault won't show.
+
+Test code to be attached.