On Sun, Jul 20, 2008 at 12:40 AM, <ros-arm-bringup(a)svn.reactos.org> wrote:
> - We end up crashing in CcRosTryToInitialzeFileCache because there is no SectionObjectPointer, and it is assumed this always exists.
Ninjas! I don't know if this is related but would it be possible to
switch to doing development on NoCC in case you guys run in to more
problems like these? I don't know if it would help but I assume your
going to run in to more problems with the current Cc and you might be
able to save a lot of trouble later on.
Thanks
--
Steven Edwards
"There is one thing stronger than all the armies in the world, and
that is an idea whose time has come." - Victor Hugo
Author: ros-arm-bringup
Date: Sat Jul 19 23:40:27 2008
New Revision: 34603
URL: http://svn.reactos.org/svn/reactos?rev=34603&view=rev
Log:
- Ramdisk doesn't seem to work yet, we're not getting properly initialized yet.
- We end up crashing in CcRosTryToInitialzeFileCache because there is no SectionObjectPointer, and it is assumed this always exists.
- We need to verify if this is truly the case -- in either case, add an ASSERT, since all assumptions should be ASSERTed!
Modified:
trunk/reactos/ntoskrnl/cc/view.c
Modified: trunk/reactos/ntoskrnl/cc/view.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/cc/view.c?rev=346…
==============================================================================
--- trunk/reactos/ntoskrnl/cc/view.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/cc/view.c [iso-8859-1] Sat Jul 19 23:40:27 2008
@@ -1213,6 +1213,7 @@
KeAcquireGuardedMutex(&ViewLock);
+ ASSERT(FileObject->SectionObjectPointer);
Bcb = FileObject->SectionObjectPointer->SharedCacheMap;
if (Bcb == NULL)
{