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

calc!_i64tod assertion on ARM

    XMLWordPrintable

Details

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

    Description

      It seems __i64tod function is just not implemented, but I classify it as a bug report since it causes application crash.

      Source: https://git.reactos.org/?p=reactos.git;a=blob;f=sdk/lib/crt/math/arm/__i64tod.s;hb=99ba98468f468be8c9e25eb94e184e363cc62100

      Steps to reproduce:

      • You will need Windows on ARM, see https://reactos.org/wiki/ARM_Port#Debugging_steps
      • If you intend to work on this, but don't have required environment, you can ask for help in the Mattermost chat
      • Build calc application for ARM architecture and start it with WinDbg in WoA environment
      • Switch calculator to Scientific mode (View => Scientific)
      • Switch from Decimal to Hexadecimal numbers (Hex)
      • Switch back from Hexadecimal to Decimal numbers (Dec) - assertion and crash will be triggered

      (1534.13a8): Assertion failure - code c0000420 (first chance)
      calc!_i64tod:
      00af1010 defc     __assertfail
      0:000> kp
       # Child-SP RetAddr  Call Site
      00 014ff520 00af3a3a calc!_i64tod
      01 014ff520 00af6acc calc!convert_real_integer(unsigned int base = 0x3eb)+0x36 [base\applications\calc\utl_ieee.c @ 116] 
      

      Full debug log from WinDbg: calc_arm_dbg.txt

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: