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

osk!__rt_sdiv_worker crash on ARM (triggered by RTC)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.4.15
    • CRT
    • Windows 10 ARM

    Description

      Steps to reproduce:

      osk!_RTC_DefaultErrorFuncW+0x14:
      001624d4 defe     __debugbreak
      0:000> kp
       # Child-SP RetAddr  Call Site
      00 007af2e8 0016276c osk!_RTC_DefaultErrorFuncW(int errType = 0n3, wchar_t * file = 0x00164814 "unknown file", int line = 0n-1, wchar_t * module = 0x001647f4 "unknown module", wchar_t * format = 0x00164830 "Use of uninitialized variable %S!.")+0x14 [sdk\lib\runtmchk\rtcapi.c @ 45]
      01 007af310 001631ec osk!_RTC_UninitUse(char * _Varname = 0x00164a88 "dividend_sign")+0x30 [sdk\lib\runtmchk\rtcapi.c @ 124]
      02 007af338 001630e2 osk!__rt_sdiv_worker(struct _ARM_DIVRESULT * result = 0x007af380, unsigned int divisor = 0x2c, unsigned int dividend = 0x58)+0xdc [sdk\lib\crt\math\arm\__rt_div_worker.h @ 102]
      03 007af378 00161444 osk!__rt_sdiv(int divisor = 0n89, int dividend = 0n711)+0x22 [sdk\lib\crt\math\arm\__rt_sdiv.c @ 24]
      04 007af3b8 00161698 osk!OSK_DlgInitDialog(struct HWND__ * hDlg = 0x0003022a)+0x154 [base\applications\osk\main.c @ 198]
      05 007af4b8 771dcd10 osk!OSK_DlgProc(struct HWND__ * hDlg = 0x0003022a, unsigned int msg = 0x110, unsigned int wParam = 0x30266, long lParam = 0n0)+0x70 [base\applications\osk\main.c @ 592]
      

      Full debug log from WinDbg: osk_arm_dbg.txt

      Attachments

        1. osk_arm_dbg.png
          41 kB
          Stas'M
        2. osk_arm_dbg.txt
          15 kB
          Stas'M

        Issue Links

          Activity

            People

              binarymaster Stas'M
              binarymaster Stas'M
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: