Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-13173

core - fails with division by zero exception if test executes in less than a millisecond

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.0-rc2
    • Component/s: None
    • Labels:
      None
    • Operating System:
      Windows

      Description

      db2875aee3 Windows 32-bit core

      http://mci.10gen.com/ui/task/mongodb_mongo_master_windows_32_db2875aee372ea08ed7b6e6ad91494b2df29154f_14_03_12_15_48_09_core_windows_32
      http://buildlogs.mongodb.org/mci_0.9_windows_32/builds/29099/test/core_0/test.exe

      Stack trace of importance:

      2014-03-12T19:21:02.207+0000 [testsuite] *** unhandled exception 0xC0000094 at 0x00D66DF4, terminating
      2014-03-12T19:21:02.207+0000 [testsuite] *** stack trace for unhandled exception:
      2014-03-12 15:21:03 EDT	
      2014-03-12T19:21:03.300+0000 [testsuite] test.exe      f:\dd\vctools\crt_bld\SELF_X86\crt\src\INTEL\ulldiv.asm(88)  _aulldiv+0x14
      2014-03-12T19:21:03.300+0000 [testsuite] test.exe      ...\src\mongo\dbtests\perftests.cpp(230)                     PerfTests::B::say+0x6b
      2014-03-12T19:21:03.300+0000 [testsuite] test.exe      ...\src\mongo\dbtests\perftests.cpp(356)                     PerfTests::B::run+0x30d
      2014-03-12T19:21:03.300+0000 [testsuite] test.exe      ...\src\mongo\unittest\unittest.h(309)                       mongo::unittest::Suite::runTestObject<PerfTests::InsertBig>+0x3e
      2014-03-12T19:21:03.300+0000 [testsuite] test.exe      ...\src\mongo\unittest\unittest.cpp(182)                     mongo::unittest::Suite::run+0x624
      2014-03-12T19:21:03.301+0000 [testsuite] test.exe      ...\src\mongo\unittest\unittest.cpp(247)                     mongo::unittest::Suite::run+0x4fd
      2014-03-12T19:21:03.301+0000 [testsuite] test.exe      ...\src\mongo\dbtests\framework.cpp(124)                     mongo::dbtests::runDbTests+0xca
      2014-03-12T19:21:03.301+0000 [testsuite] test.exe      ...\src\mongo\dbtests\dbtests.cpp(59)                        dbtestsMain+0xd5
      2014-03-12T19:21:03.301+0000 [testsuite] test.exe      ...\src\mongo\dbtests\dbtests.cpp(70)                        wmain+0x4f
      2014-03-12T19:21:03.301+0000 [testsuite] test.exe      f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c(278)           __tmainCRTStartup+0x10b
      2014-03-12T19:21:03.301+0000 [testsuite] kernel32.dll                                                               BaseThreadInitThunk+0x12
      2014-03-12T19:21:03.301+0000 [testsuite] ntdll.dll                                                                  RtlInitializeExceptionChain+0x63

      The code, which hits this is here - https://github.com/mongodb/mongo/blob/master/src/mongo/dbtests/perftests.cpp#L229. The reason is 'ms' is zero, due to just one iteration of the test executing here - https://github.com/mongodb/mongo/blob/master/src/mongo/dbtests/perftests.cpp#L229.

        Attachments

          Activity

            People

            Assignee:
            kaloian.manassiev Kaloian Manassiev
            Reporter:
            kaloian.manassiev Kaloian Manassiev
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: