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

MiResolveDemandZeroFault bugcheck while running Firefox 48 on ReactOS master

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • NTCore
    • None

    Description

      In a VM with 512 MB memory (I used VBox 5.0.20 r106931 but this should not matter):

      1. Install MSVC 14.2 build of ReactOS master commit b54ec5bde327f707ba4dc7a5cfce27e1a56654c3
      2. Install Firefox 48 from RAPPS
      3. Open Firefox and go to jira.reactos.org, try opening a JIRA report and press F12 to open the Firefox debug console.

      A bugcheck is triggered by MiResolveDemandZeroFault, after a low-memory page situation:

      Microsoft (R) Windows Debugger Version 6.12.0002.633 AMD64
      Copyright (c) Microsoft Corporation. All rights reserved.
       
      Waiting for pipe \\.\pipe\ReactOS
      Waiting to reconnect...
      (ntoskrnl\kd64\kdinit.c:74) -----------------------------------------------------
      (ntoskrnl\kd64\kdinit.c:75) ReactOS 0.4.15-x86-dev (Build 20230520-b54ec5b) (Commit b54ec5bde327f707ba4dc7a5cfce27e1a56654c3)
      (ntoskrnl\kd64\kdinit.c:76) 1 System Processor [512 MB Memory]
      (ntoskrnl\kd64\kdinit.c:80) Command Line: DEBUG DEBUGPORT=COM1 BAUDRATE=115200 SOS
      (ntoskrnl\kd64\kdinit.c:81) ARC Paths: multi(0)disk(0)rdisk(0)partition(1) \ multi(0)disk(0)rdisk(0)partition(1) \ReactOS\
       
      << stripped >>
       
      err:(D:\a\reactos\reactos\src\dll\win32\imm32\imm.c:1044) pClientImc was NULL
      err:(D:\a\reactos\reactos\src\dll\win32\imm32\imm.c:957) hImc was NULL
      (ntoskrnl\mm\balance.c:146) MM BALANCER: Removing access bit!
      (ntoskrnl\mm\ARM3\virtual.c:4804) Failed to insert the VAD!
      (ntoskrnl\mm\ARM3\virtual.c:4804) Failed to insert the VAD!
      (ntoskrnl\mm\ARM3\virtual.c:4804) Failed to insert the VAD!
      (ntoskrnl\mm\ARM3\pfnlist.c:113) Running low on pages: 80 remaining
      (ntoskrnl\mm\balance.c:146) MM BALANCER: Paging out!
      (ntoskrnl\mm\ARM3\pfnlist.c:113) Running low on pages: 80 remaining
      (ntoskrnl\mm\ARM3\pfnlist.c:113) Running low on pages: 80 remaining
      (ntoskrnl\mm\ARM3\pfnlist.c:113) Running low on pages: 80 remaining
      (ntoskrnl\mm\ARM3\pfnlist.c:113) Running low on pages: 80 remaining
      (ntoskrnl\mm\ARM3\pfnlist.c:113) Running low on pages: 80 remaining
      (ntoskrnl\mm\ARM3\pfnlist.c:113) Running low on pages: 80 remaining
      (ntoskrnl\mm\ARM3\pfnlist.c:113) Running low on pages: 80 remaining
      (ntoskrnl\mm\ARM3\pfnlist.c:113) Running low on pages: 80 remaining
      (ntoskrnl\mm\ARM3\pfnlist.c:113) Running low on pages: 80 remaining
      (ntoskrnl\mm\ARM3\pfnlist.c:113) Running low on pages: 80 remaining
      (ntoskrnl\mm\ARM3\pfnlist.c:113) Running low on pages: 80 remaining
      (ntoskrnl\mm\ARM3\pfnlist.c:113) Running low on pages: 80 remaining
      (ntoskrnl\mm\ARM3\pfnlist.c:113) Running low on pages: 80 remaining
      (ntoskrnl\mm\ARM3\pfnlist.c:113) Running low on pages: 80 remaining
      (ntoskrnl\mm\ARM3\pfnlist.c:113) Running low on pages: 80 remaining
      (ntoskrnl\mm\balance.c:146) MM BALANCER: Paging out!
      (ntoskrnl\mm\ARM3\pfnlist.c:113) Running low on pages: 80 remaining
      (ntoskrnl\mm\ARM3\pfnlist.c:113) Running low on pages: 80 remaining
      (ntoskrnl\mm\ARM3\pfnlist.c:113) Running low on pages: 80 remaining
      (ntoskrnl\mm\ARM3\pfnlist.c:113) Running low on pages: 80 remaining
      (ntoskrnl\mm\ARM3\pfnlist.c:113) Running low on pages: 80 remaining
      (ntoskrnl\mm\balance.c:146) MM BALANCER: Paging out!
      (ntoskrnl\mm\ARM3\pfnlist.c:113) Running low on pages: 80 remaining
      (ntoskrnl\mm\balance.c:146) MM BALANCER: Paging out!
      (ntoskrnl\mm\balance.c:146) MM BALANCER: Paging out!
      (ntoskrnl\mm\ARM3\pfnlist.c:113) Running low on pages: 80 remaining
      (ntoskrnl\mm\balance.c:146) MM BALANCER: Paging out!
      (ntoskrnl\mm\ARM3\pfnlist.c:113) Running low on pages: 80 remaining
      (ntoskrnl\mm\ARM3\pfnlist.c:113) Running low on pages: 79 remaining
       
      << going down to... >>
       
      (ntoskrnl\mm\ARM3\pfnlist.c:113) Running low on pages: 32 remaining
      (ntoskrnl\mm\ARM3\pfnlist.c:113) Running low on pages: 31 remaining
      Assertion D:\a\reactos\reactos\src\ntoskrnl\mm\ARM3\pagfault.c(656): MmAvailablePages >= 32
      nt!MiResolveDemandZeroFault+0x220:
      804d3b50 cd2c            int     2Ch
      kd> .reload
      Connected to Windows Server 2003 3790 x86 compatible target at (Sat May 20 23:00:30.146 2023 (UTC + 2:00)), ptr64 FALSE
      Loading Kernel Symbols
      ...............................................................
      .
      Loading User Symbols
      ....................................
      kd> kb
      ChildEBP RetAddr  Args to Child              
      f7da8b14 804d61d7 0013e000 c00004f8 00000004 nt!MiResolveDemandZeroFault+0x220 [D:\a\reactos\reactos\src\ntoskrnl\mm\ARM3\pagfault.c @ 656]
      f7da8ce8 805020bc 00000006 0013e000 00000001 nt!MmArmAccessFault+0xf87 [D:\a\reactos\reactos\src\ntoskrnl\mm\ARM3\pagfault.c @ 2326]
      f7da8d10 805650ba 00000006 0013e000 00000001 nt!MmAccessFault+0xec [D:\a\reactos\reactos\src\ntoskrnl\mm\mmfault.c @ 252]
      f7da8d5c 804036fe 00a4fda4 7c9695e8 badb0d00 nt!KiTrap0EHandler+0x13a [D:\a\reactos\reactos\src\ntoskrnl\ke\i386\traphdlr.c @ 1369]
      f7da8d5c 7c9695e8 00a4fda4 7c9695e8 badb0d00 nt!KiTrap0E+0x99
      00a4fda4 7c93cbee 0013cfd8 00000000 0000616c ntdll!memset+0x38
      00a4fe38 7c9398db 00130000 00000008 0000616c ntdll!RtlpAllocateNonDedicated+0xfe [D:\a\reactos\reactos\src\sdk\lib\rtl\heap.c @ 1989]
      00a4ff2c 7c5c2364 00130000 00000008 0000616c ntdll!RtlAllocateHeap+0x2eb [D:\a\reactos\reactos\src\sdk\lib\rtl\heap.c @ 2132]
      00a4ff4c 7c5c2274 00000008 0000616c 0000616c msvcrt!msvcrt_heap_alloc+0x84 [D:\a\reactos\reactos\src\sdk\lib\crt\wine\heap.c @ 93]
      00a4ff60 7c48134e 0000616c 00000001 00000000 msvcrt!calloc+0x44 [D:\a\reactos\reactos\src\sdk\lib\crt\wine\heap.c @ 431]
      00a4ffb8 7c64865d 00000144 00000000 00000000 dhcpcsvc!AdapterDiscoveryThread+0x33e [D:\a\reactos\reactos\src\base\services\dhcpcsvc\dhcp\adapter.c @ 372]
      00a4ffec 00000000 7c481010 00000144 00000000 kernel32!BaseThreadStartup+0x5d [D:\a\reactos\reactos\src\dll\win32\kernel32\client\thread.c @ 71]
      
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            hbelusca hbelusca
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: