Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-14502

Assertion 'BaseAddress == Vacb->BaseAddress' failed in Cc

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.4.9
    • NTCore
    • None
    • ReactOS 0.4.9-dev (Build 20180325-0.4.9-dev-438-g29955aa) (Commit 29955aa2315f11f13b86c9d5a067e6b24dfc5151)
      Local MSVC build.

    Description

      Assertion d:\rossrc\reactos\ntoskrnl\cc\view.c(689): BaseAddress == Vacb->BaseAddress
      nt!CcRosMapVacbInKernelSpace+0x1ac:
      80408e2c cd2c            int     2Ch
      kd> ??i
      unsigned long 0x13
      kd> ??Vacb
      struct _ROS_VACB * 0xb0e8fc00
         +0x000 BaseAddress      : (null) 
         +0x004 MemoryArea       : 0xb0e8f008 _MEMORY_AREA
         +0x008 Valid            : 0 ''
         +0x009 Dirty            : 0 ''
         +0x00a PageOut          : 0 ''
         +0x00c MappedCount      : 0
         +0x010 CacheMapVacbListEntry : _LIST_ENTRY [ 0xb0ecc4d8 - 0xf8902d14 ]
         +0x018 DirtyVacbListEntry : _LIST_ENTRY [ 0x0 - 0x0 ]
         +0x020 VacbLruListEntry : _LIST_ENTRY [ 0x805990e0 - 0xb0e91028 ]
         +0x028 FileOffset       : _LARGE_INTEGER 0x0
         +0x030 Mutex            : _KMUTANT
         +0x050 ReferenceCount   : 0
         +0x054 PinCount         : 0n0
         +0x058 SharedCacheMap   : 0xb0e91a90 _ROS_SHARED_CACHE_MAP
      kd> ??Vacb->BaseAddress
      void * 0x00000000
      kd> ??BaseAddress
      void * 0xa1199000
      kd> ??Vacb->MemoryArea
      struct _MEMORY_AREA * 0xb0e8f008
         +0x000 VadNode          : _MMVAD
         +0x028 Type             : 0
         +0x02c Protect          : 4
         +0x030 Flags            : 0
         +0x034 DeleteInProgress : 0 ''
         +0x038 Magic            : 0x64616544
         +0x03c Vad              : (null) 
         +0x040 Data             : <unnamed-tag>
      kd> ??NumberOfPages
      unsigned long 0x40
      kd> ??PageFrameNumber
      unsigned long 0xb7e6
      kd> kp
      ChildEBP RetAddr  
      f8025970 80408c17 nt!CcRosMapVacbInKernelSpace(struct _ROS_VACB * Vacb = 0xb0e8fc00)+0x1ac [d:\rossrc\reactos\ntoskrnl\cc\view.c @ 689]
      f80259ac 8040879f nt!CcRosCreateVacb(struct _ROS_SHARED_CACHE_MAP * SharedCacheMap = 0xb0e91a90, int64 FileOffset = 0n0, struct _ROS_VACB ** Vacb = 0xf80259d4)+0x3b7 [d:\rossrc\reactos\ntoskrnl\cc\view.c @ 834]
      f80259d8 80408fcd nt!CcRosGetVacb(struct _ROS_SHARED_CACHE_MAP * SharedCacheMap = 0xb0e91a90, int64 FileOffset = 0n0, int64 * BaseOffset = 0xf8025a08, void ** BaseAddress = 0xf8025aa4, unsigned char * UptoDate = 0xf8025a7b "", struct _ROS_VACB ** Vacb = 0xf8025a7c)+0x4f [d:\rossrc\reactos\ntoskrnl\cc\view.c @ 876]
      f8025a10 804050ea nt!CcRosRequestVacb(struct _ROS_SHARED_CACHE_MAP * SharedCacheMap = 0xb0e91a90, int64 FileOffset = 0n0, void ** BaseAddress = 0xf8025aa4, unsigned char * UptoDate = 0xf8025a7b "", struct _ROS_VACB ** Vacb = 0xf8025a7c)+0xad [d:\rossrc\reactos\ntoskrnl\cc\view.c @ 936]
      f8025aa8 80405bf1 nt!CcCopyData(struct _FILE_OBJECT * FileObject = 0xb0e93ab0, int64 FileOffset = 0n0, void * Buffer = 0x00414ed0, int64 Length = 0n16384, _CC_COPY_OPERATION Operation = CcOperationWrite (0n1), unsigned char Wait = 0x01 '', struct _IO_STATUS_BLOCK * IoStatus = 0xf8025ad4)+0x33a [d:\rossrc\reactos\ntoskrnl\cc\copy.c @ 348]
      f8025adc f8ba2586 nt!CcCopyWrite(struct _FILE_OBJECT * FileObject = 0xb0e93ab0, union _LARGE_INTEGER * FileOffset = 0xf8025b80 0x0, unsigned long Length = 0x4000, unsigned char Wait = 0x01 '', void * Buffer = 0x00414ed0)+0x31 [d:\rossrc\reactos\ntoskrnl\cc\copy.c @ 848]
      f8025ba8 f8ba0710 fastfat!VfatWrite(struct VFAT_IRP_CONTEXT * IrpContext = 0xb0efa328)+0x626 [d:\rossrc\reactos\drivers\filesystems\fastfat\rw.c @ 991]
      f8025bcc f8ba0667 fastfat!VfatDispatchRequest(struct VFAT_IRP_CONTEXT * IrpContext = 0xb0efa328)+0x90 [d:\rossrc\reactos\drivers\filesystems\fastfat\misc.c @ 133]
      f8025be8 80467567 fastfat!VfatBuildRequest(struct _DEVICE_OBJECT * DeviceObject = 0xb1259018, struct _IRP * Irp = 0xb0e8f810)+0x77 [d:\rossrc\reactos\drivers\filesystems\fastfat\misc.c @ 239]
      f8025c0c 8045eca2 nt!IofCallDriver(struct _DEVICE_OBJECT * DeviceObject = 0xb1259018, struct _IRP * Irp = 0xb0e8f810)+0x97 [d:\rossrc\reactos\ntoskrnl\io\iomgr\irp.c @ 1288]
      f8025c28 80463186 nt!IopPerformSynchronousRequest(struct _DEVICE_OBJECT * DeviceObject = 0xb1259018, struct _IRP * Irp = 0xb0e8f810, struct _FILE_OBJECT * FileObject = 0xb0e93ab0, unsigned char Deferred = 0x01 '', char PreviousMode = 0n1 '', unsigned char SynchIo = 0x01 '', _IOP_TRANSFER_TYPE TransferType = IopWriteTransfer (0n1))+0x32 [d:\rossrc\reactos\ntoskrnl\io\iomgr\iofunc.c @ 142]
      f8025ce8 804fce6b nt!NtWriteFile(void * FileHandle = 0x0000004c, void * Event = 0x00000000, <function> * ApcRoutine = 0x00000000, void * ApcContext = 0x00000000, struct _IO_STATUS_BLOCK * IoStatusBlock = 0x021cfc44, void * Buffer = 0x00414ed0, unsigned long Length = 0x4000, union _LARGE_INTEGER * ByteOffset = 0x00000000, unsigned long * Key = 0x00000000)+0x686 [d:\rossrc\reactos\ntoskrnl\io\iomgr\iofunc.c @ 3810]
      f8025d1c 804fc50f nt!KiSystemCallTrampoline(void * Handler = 0x80462b00, void * Arguments = 0x021cfc20, unsigned long StackBytes = 0x24)+0x1b [d:\rossrc\reactos\ntoskrnl\include\internal\i386\ke.h @ 748]
      f8025d5c 80403e23 nt!KiSystemServiceHandler(struct _KTRAP_FRAME * TrapFrame = 0xf8025d64, void * Arguments = 0x021cfc20)+0x22f [d:\rossrc\reactos\ntoskrnl\ke\i386\traphdlr.c @ 1813]
      f8025d5c 7c92d0ae nt!KiFastCallEntry+0x8c
      WARNING: Frame IP not in any known module. Following frames may be wrong.
      021cfc60 00405f6e 0x7c92d0ae
      021cfd78 8042c3cb 0x405f6e
      021cfd84 8042c869 nt!_ExiReleaseSpinLockAndRestoreInterrupts(unsigned long * Lock = 0x000263c8, unsigned char Enable = 0x4c 'L')+0x1b [d:\rossrc\reactos\ntoskrnl\ex\interlocked.c @ 56]
      f800da84 7c7ace90 nt!ExfInterlockedRemoveHeadList(struct _LIST_ENTRY * ListHead = 0x00000000, unsigned long * Lock = 0x000e017a)+0x69 [d:\rossrc\reactos\ntoskrnl\ex\interlocked.c @ 399]
      00000000 00000000 0x7c7ace90

      Cc Heis Spiter or ThFabba.

      Attachments

        Issue Links

          Activity

            People

              Heis Spiter Pierre Schweitzer
              hbelusca hbelusca
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: