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

memchr crashes ReactOS and _CIfmod convention call inaccuracy with python 2.3.5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • Win32SS
    • None
    • Operating System: ReactOS
      Platform: x86 Hardware

    Description

      Trying installing and running python 2.3.5 works about good.

      47 tests in test_builtin.py works fine.
      2 tests in test_builtin.py doesnot work.

      > >> in python under reactos,
      > >> divmod(-12,7) returns (-3,3)
      > >> when in test file and in linux, it returns (-2,2)
      > >>
      > >> note that under reactos
      > >> divmod(-12L,7L) returns (-2,2)
      > >>
      > >> in python under reactos,
      > >> pow(0.,1) returns e-308
      > >> when in test file and in linux, it returns 0.

      test_builtin.py seems to be not working.
      c:\python23\lib\test>..\..\python.exe test_builtin.py
      gives:
      test_abs ... ok
      test_apply ... ok
      test_callable ... ok
      test_chr ... ok
      test_cmp ... ok
      test_coerce ... ok
      test_compile ... ok
      test_delattr ... ok
      test_dir ... ok
      then nothing happen because test_dir is followed by test_divmod
      and test_divmod does not work.

      In test_builtin.py
      47 test function reports to work fine.
      test_divmod and test_pow crash reactos under vmware.

      > >> http://www.reactos.org/bugzilla/show_bug.cgi?id=1195
      > >> http://reactosde.re.funpic.de/catappdetail.php?cat=Progr&appnr=192

      Attachments

        1. fmod.c
          2 kB
        2. pycrt.patch
          4 kB

        Activity

          People

            fireball fireball
            jeanmichel.123 jeanmichel.123
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: