[Mono-bugs] [Bug 74619][Nor] New - ** ERROR **: file handles.c: line 365 (_wapi_handle_new): assertion failed: (offset != 0)

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 15 Apr 2005 10:12:27 -0400 (EDT)


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 sebastien@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=74619

--- shadow/74619	2005-04-15 10:12:27.000000000 -0400
+++ shadow/74619.tmp.14948	2005-04-15 10:12:27.000000000 -0400
@@ -0,0 +1,60 @@
+Bug#: 74619
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: io-layer
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: sebastien@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ** ERROR **: file handles.c: line 365 (_wapi_handle_new): assertion failed: (offset != 0)
+
+Description of Problem:
+The runtime often asserts when downloading a large file async using
+HttpWebRequest.
+
+
+Steps to reproduce the problem:
+1. Compile the tlssave.exe test tool available under
+/mcs/class/Mono.Security/Test/tools/tlstest/
+with the available Makefile
+
+2. Execute the tlssave.exe tool to download a large file using HTTPS
+(probably happens with HTTP too). My test file is a 560 Mb file.
+
+mono --debug tlssave.exe https://192.168.0.20/cygwin.zip
+
+3. Compare the original and downloaded files using md5sum (should work if
+the transfer is complete).
+
+
+Actual Results:
+% mono --debug tlssave.exe https://192.168.0.20/cygwin.zip
+GET #1 at https://192.168.0.20/cygwin.zip
+ 
+** ERROR **: file handles.c: line 365 (_wapi_handle_new): assertion failed:
+(offset != 0)
+aborting...
+Aborted
+
+
+Expected Results:
+% mono --debug tlssave.exe https://192.168.0.20/cygwin.zip
+GET #1 at https://192.168.0.20/cygwin.zip
+END #1
+
+
+How often does this happen? 
+Often (but not always)
+
+
+Additional Information:
+Most of the times Mono hangs after the "END #1" but the transfer has been
+completed.