[ros-dev] To: WaxDragon re: msi crash

Royce Mitchell III royce3 at ev1.net
Sat Aug 13 15:26:49 CEST 2005


apply this patch to latest svn and send me debug log
-------------- next part --------------
Index: create.c
===================================================================
--- create.c	(revision 17328)
+++ create.c	(working copy)
@@ -445,7 +445,7 @@
   PDEVICE_EXTENSION DeviceExt;
   ULONG RequestedDisposition, RequestedOptions;
   PVFATCCB pCcb;
-  PVFATFCB pFcb;
+  PVFATFCB pFcb = NULL;
   PVFATFCB ParentFcb;
   PWCHAR c, last;
   BOOLEAN PagingFileCreate = FALSE;
@@ -564,6 +564,10 @@
           vfatReleaseFCB (DeviceExt, ParentFcb);
 	  if (NT_SUCCESS (Status))
 	    {
+#if defined(DBG) || defined(KDBG)
+	      ASSERT ( pFcb );
+	      CcRosTraceCacheMap ( pFcb->SectionObjectPointers.SharedCacheMap, TRUE );
+#endif
               Status = vfatAttachFCBToFileObject (DeviceExt, pFcb, FileObject);
               if ( !NT_SUCCESS(Status) )
               {
@@ -577,6 +581,9 @@
 					       pFcb,
 					       DeviceExt,
 					       &Irp->Overlay.AllocationSize);
+#if defined(DBG) || defined(KDBG)
+	      CcRosTraceCacheMap ( FileObject->SectionObjectPointer->SharedCacheMap, FALSE );
+#endif
 	      VfatSetExtendedAttributes(FileObject,
 					Irp->AssociatedIrp.SystemBuffer,
 					Stack->Parameters.Create.EaLength);


More information about the Ros-dev mailing list