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

"Failed to page data in!" followed by crash in "ftfd!FT_Stream_ReadFields+0x158"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Trivial
    • None
    • NTCore, Win32SS
    • None

    Description

      Happened only once in custom-compiled ReactOS with x86 MSVC "14.2" (19.29.30147)

      (ntoskrnl\mm\ARM3\sysldr.c:169) Loading: \SystemRoot\System32\win32k.sys at F99DA000 with 1c5 pages
      (ntoskrnl\mm\ARM3\sysldr.c:169) Loading: \SystemRoot\System32\ftfd.dll at F9911000 with c9 pages
      (dll\win32\kernel32\client\loader.c:386) LoadLibraryExW(\??\X:\reactos\system32\csrss.exe) failing with status c000000f
      (win32ss\reactx\ntddraw\ddraw.c:57) Warning: trying loading xp/2003/windows7/reactos dxg.sys
      (ntoskrnl\mm\ARM3\sysldr.c:169) Loading: \SystemRoot\System32\drivers\dxg.sys at F98F6000 with b pages
      (ntoskrnl\mm\ARM3\sysldr.c:169) Loading: \SystemRoot\System32\drivers\dxgthk.sys at F98EF000 with 7 pages
      (win32ss\reactx\ntddraw\ddraw.c:112) DirectX interface is activated
      (win32ss\gdi\ntgdi\freetype.c:688) Fonts registry is empty.
      (ntoskrnl\mm\section.c:1791) Failed to page data in!
      In-page I/O error ffffffffc0000006 - code c0000006 (!!! second chance !!!)
      ftfd!FT_Stream_ReadFields+0x158:
      f999e308 0fb65401fe      movzx   edx,byte ptr [ecx+eax-2]
       
      kd> kb
      ChildEBP RetAddr  Args to Child              
      f9910710 f9981f3e e120916c f99c87a0 e120ae14 ftfd!FT_Stream_ReadFields+0x158 [X:\reactos_setup_work\sdk\lib\3rdparty\freetype\src\base\ftstream.c @ 781]
      f9910768 f998322e e120acbc e120916c f9910924 ftfd!tt_face_load_name+0x8e [X:\reactos_setup_work\sdk\lib\3rdparty\freetype\src\sfnt\ttload.c @ 861]
      f991081c f9928d5d e120916c e120acbc 00000000 ftfd!sfnt_load_face+0x29e [X:\reactos_setup_work\sdk\lib\3rdparty\freetype\src\sfnt\sfobjs.c @ 1244]
      f9910850 f991b87a e120916c e120acbc 00000000 ftfd!tt_face_init+0x14d [X:\reactos_setup_work\sdk\lib\3rdparty\freetype\src\truetype\ttobjs.c @ 638]
      f9910894 f991aaa3 e11cf4ac f9910908 00000000 ftfd!open_face+0x16a [X:\reactos_setup_work\sdk\lib\3rdparty\freetype\src\base\ftobjs.c @ 1359]
      f9910924 f9917636 e106a964 f9910948 00000000 ftfd!ft_open_face_internal+0x203 [X:\reactos_setup_work\sdk\lib\3rdparty\freetype\src\base\ftobjs.c @ 2431]
      f991096c f9ada687 e106a964 83910000 000428e4 ftfd!FT_New_Memory_Face+0x56 [X:\reactos_setup_work\sdk\lib\3rdparty\freetype\src\base\ftobjs.c @ 1449]
      f9910adc f9ad9691 ffffffff ffffffff f9910cb0 win32k!IntGdiLoadFontsFromMemory+0xd7 [X:\reactos_setup_work\win32ss\gdi\ntgdi\freetype.c @ 1075]
      f9910c10 f9add4b8 00000001 f9910d08 f9910cb8 win32k!IntGdiAddFontResourceEx+0x5d1 [X:\reactos_setup_work\win32ss\gdi\ntgdi\freetype.c @ 1520]
      f9910cb0 f9ad8955 f9910ce8 cccccccc 00000016 win32k!IntLoadSystemFonts+0x278 [X:\reactos_setup_work\win32ss\gdi\ntgdi\freetype.c @ 997]
      f9910cd0 f9aef7cd cccccccc cccccccc f9910cf4 win32k!InitFontSupport+0x205 [X:\reactos_setup_work\win32ss\gdi\ntgdi\freetype.c @ 694]
      f9910ce0 f9a841ac 0021fcd0 cccccccc cccccccc win32k!InitializeGreCSRSS+0x8d [X:\reactos_setup_work\win32ss\gdi\ntgdi\init.c @ 93]
      f9910cf4 8040405e 00050000 000000ec 000000f0 win32k!NtUserInitialize+0xec [X:\reactos_setup_work\win32ss\user\ntuser\ntuser.c @ 202]
      f9910d10 80568ca8 f9a840c0 0021fcc4 0000000c nt!KiSystemCallTrampoline+0x19
      f9910d5c 80403ea5 0021fcf0 7c93631e badb0d00 nt!KiSystemServiceHandler+0x278 [X:\reactos_setup_work\ntoskrnl\ke\i386\traphdlr.c @ 1840]
      f9910d5c 7c93631e 0021fcf0 7c93631e badb0d00 nt!KiFastCallEntry+0x96
      0021fcb8 7a98140d 7a977562 00050000 000000ec ntdll!KiFastSystemCallRet
      0021fcbc 7a977562 00050000 000000ec 000000f0 winsrv!ZwUserInitialize+0xc
      0021fcf0 10009875 00222708 0021fe84 0021fdd4 winsrv!UserServerDllInitialization+0x252 [X:\reactos_setup_work\win32ss\user\winsrv\usersrv\init.c @ 290]
      0021fdc0 10005548 002233f3 002233fa 00000003 csrsrv!CsrLoadServerDll+0x305 [X:\reactos_setup_work\subsystems\csr\csrsrv\server.c @ 231]
      0021fe84 10005d8d 0000000a 00223688 0021ff34 csrsrv!CsrParseServerCommandLine+0x868 [X:\reactos_setup_work\subsystems\csr\csrsrv\init.c @ 726]
      0021fef0 004011d6 0000000a 00223688 0021fff4 csrsrv!CsrServerInitialization+0x30d [X:\reactos_setup_work\subsystems\csr\csrsrv\init.c @ 1059]
      0021ff34 00401b05 0000000a 00223688 002236b4 csrss!_main+0x116 [X:\reactos_setup_work\subsystems\csr\csrss\csrss.c @ 78]
      0021fff4 00000000 7ffd8000 75010175 00000000 csrss!NtProcessStartup+0x5e5 [X:\reactos_setup_work\sdk\lib\nt\entry_point.c @ 195]
       
      kd> kp
      ChildEBP RetAddr  
      f9910710 f9981f3e ftfd!FT_Stream_ReadFields(struct FT_StreamRec_ * stream = 0xe120916c, struct FT_Frame_Field_ * fields = 0xf99c87a0, void * structure = 0xe120ae14)+0x158 [X:\reactos_setup_work\sdk\lib\3rdparty\freetype\src\base\ftstream.c @ 781]
      f9910768 f998322e ftfd!tt_face_load_name(struct TT_FaceRec_ * face = 0xe120acbc, struct FT_StreamRec_ * stream = 0xe120916c)+0x8e [X:\reactos_setup_work\sdk\lib\3rdparty\freetype\src\sfnt\ttload.c @ 861]
      f991081c f9928d5d ftfd!sfnt_load_face(struct FT_StreamRec_ * stream = 0xe120916c, struct TT_FaceRec_ * face = 0xe120acbc, int face_instance_index = 0n0, int num_params = 0n0, struct FT_Parameter_ * params = 0x00000000)+0x29e [X:\reactos_setup_work\sdk\lib\3rdparty\freetype\src\sfnt\sfobjs.c @ 1244]
      f9910850 f991b87a ftfd!tt_face_init(struct FT_StreamRec_ * stream = 0xe120916c, struct FT_FaceRec_ * ttface = 0xe120acbc, int face_index = 0n0, int num_params = 0n0, struct FT_Parameter_ * params = 0x00000000)+0x14d [X:\reactos_setup_work\sdk\lib\3rdparty\freetype\src\truetype\ttobjs.c @ 638]
      f9910894 f991aaa3 ftfd!open_face(struct FT_DriverRec_ * driver = 0xe11cf4ac, struct FT_StreamRec_ ** astream = 0xf9910908, unsigned char external_stream = 0x00 '', long face_index = 0n0, int num_params = 0n0, struct FT_Parameter_ * params = 0x00000000, struct FT_FaceRec_ ** aface = 0xf99108fc)+0x16a [X:\reactos_setup_work\sdk\lib\3rdparty\freetype\src\base\ftobjs.c @ 1359]
      f9910924 f9917636 ftfd!ft_open_face_internal(struct FT_LibraryRec_ * library = 0xe106a964, struct FT_Open_Args_ * args = 0xf9910948, long face_index = 0n0, struct FT_FaceRec_ ** aface = 0xf9910ab8, unsigned char test_mac_fonts = 0x01 '')+0x203 [X:\reactos_setup_work\sdk\lib\3rdparty\freetype\src\base\ftobjs.c @ 2431]
      f991096c f9ada687 ftfd!FT_New_Memory_Face(struct FT_LibraryRec_ * library = 0xe106a964, unsigned char * file_base = 0x83910000 "", long file_size = 0n272612, long face_index = 0n0, struct FT_FaceRec_ ** aface = 0xf9910ab8)+0x56 [X:\reactos_setup_work\sdk\lib\3rdparty\freetype\src\base\ftobjs.c @ 1449]
      f9910adc f9ad9691 win32k!IntGdiLoadFontsFromMemory(struct GDI_LOAD_FONT * pLoadFont = 0xf9910b6c, struct _SHARED_FACE * SharedFace = 0x00000000, long FontIndex = 0n-1, int CharSetIndex = 0n-1)+0xd7 [X:\reactos_setup_work\win32ss\gdi\ntgdi\freetype.c @ 1075]
      f9910c10 f9add4b8 win32k!IntGdiAddFontResourceEx(struct _UNICODE_STRING * FileName = 0xf9910c74 "\SystemRoot\Fonts\lucon.ttf", unsigned long Characteristics = 0, unsigned long dwFlags = 1)+0x5d1 [X:\reactos_setup_work\win32ss\gdi\ntgdi\freetype.c @ 1520]
      f9910cb0 f9ad8955 win32k!IntLoadSystemFonts(void)+0x278 [X:\reactos_setup_work\win32ss\gdi\ntgdi\freetype.c @ 997]
      f9910cd0 f9aef7cd win32k!InitFontSupport(void)+0x205 [X:\reactos_setup_work\win32ss\gdi\ntgdi\freetype.c @ 694]
      f9910ce0 f9a841ac win32k!InitializeGreCSRSS(void)+0x8d [X:\reactos_setup_work\win32ss\gdi\ntgdi\init.c @ 93]
      f9910cf4 8040405e win32k!NtUserInitialize(unsigned long dwWinVersion = 0x50000, void * hPowerRequestEvent = 0x000000ec, void * hMediaRequestEvent = 0x000000f0)+0xec [X:\reactos_setup_work\win32ss\user\ntuser\ntuser.c @ 202]
      f9910d10 80568ca8 nt!KiSystemCallTrampoline+0x19
      f9910d5c 80403ea5 nt!KiSystemServiceHandler(struct _KTRAP_FRAME * TrapFrame = 0xf9910d64, void * Arguments = 0x0021fcc4)+0x278 [X:\reactos_setup_work\ntoskrnl\ke\i386\traphdlr.c @ 1840]
      f9910d5c 7c93631e nt!KiFastCallEntry+0x96
      0021fcb8 7a98140d ntdll!KiFastSystemCallRet
      0021fcbc 7a977562 winsrv!ZwUserInitialize+0xc
      0021fcf0 10009875 winsrv!UserServerDllInitialization(struct _CSR_SERVER_DLL * LoadedServerDll = 0x00222708)+0x252 [X:\reactos_setup_work\win32ss\user\winsrv\usersrv\init.c @ 290]
      0021fdc0 10005548 csrsrv!CsrLoadServerDll(char * DllString = 0x002233f3 "winsrv", char * EntryPoint = 0x002233fa "UserServerDllInitialization", unsigned long ServerId = 3)+0x305 [X:\reactos_setup_work\subsystems\csr\csrsrv\server.c @ 231]
      0021fe84 10005d8d csrsrv!CsrParseServerCommandLine(unsigned long ArgumentCount = 0xa, char ** Arguments = 0x00223688)+0x868 [X:\reactos_setup_work\subsystems\csr\csrsrv\init.c @ 726]
      0021fef0 004011d6 csrsrv!CsrServerInitialization(unsigned long ArgumentCount = 0xa, char ** Arguments = 0x00223688)+0x30d [X:\reactos_setup_work\subsystems\csr\csrsrv\init.c @ 1059]
      0021ff34 00401b05 csrss!_main(int argc = 0n10, char ** argv = 0x00223688, char ** envp = 0x002236b4, int DebugFlag = 0n0)+0x116 [X:\reactos_setup_work\subsystems\csr\csrss\csrss.c @ 78]
      0021fff4 00000000 csrss!NtProcessStartup(struct _PEB * Peb = 0x7ffd8000)+0x5e5 [X:\reactos_setup_work\sdk\lib\nt\entry_point.c @ 195]
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: