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

W32Time service crashes in 2nd stage when run with DPH

    XMLWordPrintable

Details

    Description

      Backtrace:

      kd> k
      ChildEBP RetAddr  
      00d17bbc 7c941e2c ntdll!strlen+0xe
      00d17bcc 7c94109c ntdll!RtlInitAnsiString+0x1c [C:\ROS\reactos\sdk\lib\rtl\unicode.c @ 569]
      00d17bf4 7c52b726 ntdll!RtlCreateUnicodeStringFromAsciiz+0x2c [C:\ROS\reactos\sdk\lib\rtl\unicode.c @ 2327]
      00d17c20 7c3b50d8 advapi32!RegOpenKeyExA+0xb6 [C:\ROS\reactos\dll\win32\advapi32\reg\reg.c @ 3346]
      00d17ca0 7c3b4f11 ws2_32!WsTcOpen+0xb8 [C:\ROS\reactos\dll\win32\ws2_32\src\dcatalog.c @ 74]
      00d17cb4 7c3b5ff4 ws2_32!WsTcInitializeFromRegistry+0x21 [C:\ROS\reactos\dll\win32\ws2_32\src\dcatalog.c @ 213]
      00d17cd0 7c3b61a2 ws2_32!WsProcInitialize+0x74 [C:\ROS\reactos\dll\win32\ws2_32\src\dprocess.c @ 48]
      00d17ce0 7c3c1986 ws2_32!WsProcStartup+0x32 [C:\ROS\reactos\dll\win32\ws2_32\src\dprocess.c @ 137]
      00d17cfc 750e1e83 ws2_32!WSAStartup+0x1f6 [C:\ROS\reactos\dll\win32\ws2_32\src\startup.c @ 216]
      00d17eb4 750e1dbe w32time!InitConnection+0x33 [C:\ROS\reactos\base\services\w32time\ntpclient.c @ 32]
      00d17ed8 750e1537 w32time!GetServerTime+0x9e [C:\ROS\reactos\base\services\w32time\ntpclient.c @ 163]
      00d1ff28 750e1abf w32time!SetTime+0x2e7 [C:\ROS\reactos\base\services\w32time\w32time.c @ 201]
      00d1ff50 00404007 w32time!W32TmServiceMain+0x10f [C:\ROS\reactos\base\services\w32time\w32time.c @ 285]
      00d1ff98 7c5490e3 svchost!ServiceStarter+0x1e7 [C:\ROS\reactos\base\services\svchost\svchost.c @ 1152]
      00d1ffb8 7c6485fd advapi32!ScServiceMainStubW+0xc3 [C:\ROS\reactos\dll\win32\advapi32\service\sctrl.c @ 210]
      00d1ffec 00000000 kernel32!BaseThreadStartup+0x5d [C:\ROS\reactos\dll\win32\kernel32\client\thread.c @ 70]
      kd> ?? RegSize
      unsigned long 0
      kd> db @@(CatalogKeyName)
      00778000  ?? ?? ?? ?? ?? ?? ?? ??-?? ?? ?? ?? ?? ?? ?? ??  ????????????????
      00778010  ?? ?? ?? ?? ?? ?? ?? ??-?? ?? ?? ?? ?? ?? ?? ??  ????????????????
      00778020  ?? ?? ?? ?? ?? ?? ?? ??-?? ?? ?? ?? ?? ?? ?? ??  ????????????????
      00778030  ?? ?? ?? ?? ?? ?? ?? ??-?? ?? ?? ?? ?? ?? ?? ??  ????????????????
      00778040  ?? ?? ?? ?? ?? ?? ?? ??-?? ?? ?? ?? ?? ?? ?? ??  ????????????????
      00778050  ?? ?? ?? ?? ?? ?? ?? ??-?? ?? ?? ?? ?? ?? ?? ??  ????????????????
      00778060  ?? ?? ?? ?? ?? ?? ?? ??-?? ?? ?? ?? ?? ?? ?? ??  ????????????????
      00778070  ?? ?? ?? ?? ?? ?? ?? ??-?? ?? ?? ?? ?? ?? ?? ??  ????????????????
      

      WsTcOpen is missing error handling; the registry values are not present in 2nd stage so it's using an uninitialized CatalogKeyName.

      Attachments

        Activity

          People

            zefklop jgardou
            ThFabba ThFabba
            Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: