Is anyone still looking into this?

I'm seeing the same problem here (below messages repeated and 100% CPU usage)
on RH 9 with the direct sound regression test and some games.
does this (new) patch help ?
A+
Name:          ntk
ChangeLog:     fixed some regression from #51
License:       X11
GenDate:       2004/12/30 09:54:06 UTC
ModifiedFiles: dlls/ntdll/file.c dlls/ntdll/rtl.c dlls/kernel/sync.c
AddedFiles:    
RemovedFiles:  
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/dlls/ntdll/file.c,v
retrieving revision 1.72
diff -u -u -r1.72 file.c
--- dlls/ntdll/file.c	28 Nov 2004 14:58:11 -0000	1.72
+++ dlls/ntdll/file.c	30 Dec 2004 09:41:58 -0000
@@ -429,7 +455,7 @@
             wine_server_release_fd( hFile, unix_handle );
             return STATUS_NOT_IMPLEMENTED;
         }
-        io_status->u.Status = NtCreateEvent(&hEvent, SYNCHRONIZE, NULL, 0, 0);
+        io_status->u.Status = NtCreateEvent(&hEvent, EVENT_ALL_ACCESS, NULL, 0, 0);
         if (io_status->u.Status)
         {
             wine_server_release_fd( hFile, unix_handle );
@@ -641,7 +662,7 @@
             wine_server_release_fd( hFile, unix_handle );
             return STATUS_NOT_IMPLEMENTED;
         }
-        io_status->u.Status = NtCreateEvent(&hEvent, SYNCHRONIZE, NULL, 0, 0);
+        io_status->u.Status = NtCreateEvent(&hEvent, EVENT_ALL_ACCESS, NULL, 0, 0);
         if (io_status->u.Status)
         {
             wine_server_release_fd( hFile, unix_handle );
 }
Index: dlls/ntdll/rtl.c
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/dlls/ntdll/rtl.c,v
retrieving revision 1.71
diff -u -u -r1.71 rtl.c
--- dlls/ntdll/rtl.c	17 Dec 2004 19:41:55 -0000	1.71
+++ dlls/ntdll/rtl.c	30 Dec 2004 09:35:37 -0000
@@ -117,8 +117,8 @@
 	rwl->hOwningThreadId = 0;
 	rwl->dwTimeoutBoost = 0; /* no info on this one, default value is 0 */
 	RtlInitializeCriticalSection( &rwl->rtlCS );
-        NtCreateSemaphore( &rwl->hExclusiveReleaseSemaphore, 0, NULL, 0, 65535 );
-        NtCreateSemaphore( &rwl->hSharedReleaseSemaphore, 0, NULL, 0, 65535 );
+        NtCreateSemaphore( &rwl->hExclusiveReleaseSemaphore, SEMAPHORE_ALL_ACCESS, NULL, 0, 65535 );
+        NtCreateSemaphore( &rwl->hSharedReleaseSemaphore, SEMAPHORE_ALL_ACCESS, NULL, 0, 65535 );
     }
 }
 
Index: dlls/kernel/sync.c
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/dlls/kernel/sync.c,v
retrieving revision 1.65
diff -u -u -r1.65 sync.c
--- dlls/kernel/sync.c	23 Dec 2004 18:48:47 -0000	1.65
+++ dlls/kernel/sync.c	27 Dec 2004 16:37:05 -0000
@@ -893,7 +893,7 @@
     OBJECT_ATTRIBUTES attr;
     NTSTATUS status;
 
-    if (!is_version_nt()) access = SEMAPHORE_ALL_ACCESS;
+    if (!is_version_nt()) access = TIMER_ALL_ACCESS;
 
     attr.Length                   = sizeof(attr);
     attr.RootDirectory            = 0;

Reply via email to