[Mono-bugs] [Bug 33671][Maj] New - mono sometimes aborts with message about wapi_...

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
12 Nov 2002 05:36:19 -0000


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 mathpup@mylinuxisp.com.

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

--- shadow/33671	Tue Nov 12 00:36:19 2002
+++ shadow/33671.tmp.11255	Tue Nov 12 00:36:19 2002
@@ -0,0 +1,91 @@
+Bug#: 33671
+Product: Mono/Runtime
+Version: unspecified
+OS: 
+OS Details: SuSE Linux 8.0
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: mathpup@mylinuxisp.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mono sometimes aborts with message about wapi_...
+
+Description of Problem: 
+ 
+When I run programs in Mono, they randomly abort with the following error message: 
+ 
+** (alloc.exe:26060): WARNING **: : Send error: Connection reset by peer 
+ 
+** ERROR **: file daemon-messages.c: line 85 
+(_wapi_daemon_request_response_internal): should not be reached 
+ 
+I've infrequently seen this message for quite some time, but no one really seemed to 
+know much about it. I encountered it today when using a C# program I wrote to process 
+C++ header files. I was running mono repeatedly on a total of 337 files, and mono 
+crashed with the above error message on 9 of them. 
+ 
+Because of the problem occurs randomly, it seems that there is some element of timing 
+involved. I was able to create a test-case that run on my computer (Athlon 1100MHz), 
+but some tuning might be required to get the bugs on machines with different timing. 
+ 
+ 
+Steps to reproduce the problem: 
+1. Compile the program below 
+2. Run the program in a loop from the shell: 
+	for (( i=0; i < 100; i++ )); do echo $i; mono alloc.exe; done 
+ 
+Sometimes I had to run the above several times to get the error to occur. 
+ 
+Actual Results: 
+ 
+0 
+Done 
+1 
+Done 
+2 
+Done 
+3 
+Done 
+4 
+Done 
+5 
+Done 
+6 
+Done 
+7 
+Done 
+8 
+Done 
+9 
+Done 
+10 
+ 
+** (alloc.exe:27428): WARNING **: : Send error: Connection reset by peer 
+ 
+** ERROR **: file daemon-messages.c: line 85 
+(_wapi_daemon_request_response_internal): should not be reached 
+aborting... 
+Aborted 
+11 
+Done 
+ 
+(etc.) 
+ 
+Done that after loop 10, the program aborted before printing "Done" 
+ 
+Expected Results: 
+ 
+Same as above, except no error message, and "Done" printed after 10. 
+ 
+ 
+How often does this happen?  
+ 
+Randomly 
+ 
+Additional Information: