[Mono-bugs] [Bug 74586][Maj] New - daemon-less io-layer: _wapi_lookup_handle failures

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 13 Apr 2005 05:51:18 -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 robertj@gmx.net.

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

--- shadow/74586	2005-04-13 05:51:18.000000000 -0400
+++ shadow/74586.tmp.26696	2005-04-13 05:51:18.000000000 -0400
@@ -0,0 +1,94 @@
+Bug#: 74586
+Product: Mono: Runtime
+Version: 1.1
+OS: SuSE 7.3
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: io-layer
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: robertj@gmx.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: daemon-less io-layer: _wapi_lookup_handle failures
+
+I got a lot of trouble after the first SVN update
+containing the new IO layer.
+
+XSP didn't work for the first time, so I run the unit tests:
+
+- mono: ok
+- mcs/classes/corlib: nunit-console got aborted after about 100 tests
+
+The error messages from inside mono animated myself to build this
+simple test:
+
+using System;
+using System.IO;
+public class Start
+{
+    public static void Main(string[] args)
+    {
+        try
+        {
+            ProcessDir(args[0]);
+        }
+        catch (Exception ex)
+        {
+            Console.WriteLine(ex);
+        }
+    }
+
+    static void ProcessDir(string dir)
+    {
+        Console.WriteLine("Dir " +  dir);
+        foreach (string s in Directory.GetFiles(dir))
+        {
+            Console.WriteLine(s);
+        }
+        foreach (string d in Directory.GetDirectories(dir))
+        {
+            ProcessDir(d);
+        }
+    }
+}
+
+When in run the test on a medium-sized (actually tiny) tree,
+I got these error messages:
+
+** (dir.exe:15180): WARNING **: FindNextFile: error looking up find handle
+0x40e
+
+** (dir.exe:15180): WARNING * : error looking up find handle 0x40e
+
+** (dir.exe:15180): WARNING **: FindClose: error looking up find handle 0x416
+
+** (dir.exe:15180): WARNING **: FindNextFile: error looking up find handle
+0x417
+
+....
+
+The WriteLine calls output a lot of garbage.
+The errors from nunit-console and XSP are similar, but both won't
+work at all unless I'm deleting ~/.wapi/* between 2 calls.
+
+100% reproducible
+
+
+About the system I'm testing on:
+
+SuSE SLES 7
+Kernel 2.4.18 SMP
+libc-2.2.4
+glib-2.6.2
+GCC 2.95.3 20010315 (SuSE)
+Mono JIT compiler version 1.1.7:
+        TLS:           normal
+        GC:            Included Boehm (with typed GC)
+        SIGSEGV      : normal
+        Globalization: normal
+Built from SVN r42872