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

Fatal Assertion 16151 running core 'test' program in debug builds

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.3.1
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • Labels:
    • Environment:
      Debug builds, Windows and Linux
    • Fully Compatible
    • ALL

      Apparently V8 uses more stack space than SpiderMonkey; we are hitting the limits that StackChecker tests for.

      http://buildlogs.mongodb.org/Linux%2064-bit%20debug%20dur%20off/builds/1859/test/recent%20failures/test

      TOTALS               | tests: 2061 | fails:    0 | assert calls: 7879664
      thread testsuite stack usage was 186152 bytes,  which is the most so far
      Sat Nov 17 12:05:00.667 [testsuite] used 186152 bytes, max is 196608 exiting
      Sat Nov 17 12:05:00.667 [testsuite]   Fatal Assertion 16151
      0x180e3d7 0x17eae9b 0x17d7b98 0x144b963 0x144541a 0x16fb38f 0xf49a14 0x7fea48df3abd 0xe08789 
       /home/yellow/buildslave/Linux_64bit_debug_dur_off/mongo/test(_ZN5mongo15printStackTraceERSo+0x27) [0x180e3d7]
       /home/yellow/buildslave/Linux_64bit_debug_dur_off/mongo/test(_ZN5mongo10logContextEPKc+0x5e) [0x17eae9b]
       /home/yellow/buildslave/Linux_64bit_debug_dur_off/mongo/test(_ZN5mongo13fassertFailedEi+0x65) [0x17d7b98]
       /home/yellow/buildslave/Linux_64bit_debug_dur_off/mongo/test(_ZN5mongo12StackChecker5checkEPKc+0x1c3) [0x144b963]
       /home/yellow/buildslave/Linux_64bit_debug_dur_off/mongo/test(_ZN5mongo6Client8shutdownEv+0x36) [0x144541a]
       /home/yellow/buildslave/Linux_64bit_debug_dur_off/mongo/test(_ZN5mongo7dbtests10runDbTestsEiPPcSs+0x16c7) [0x16fb38f]
       /home/yellow/buildslave/Linux_64bit_debug_dur_off/mongo/test(main+0xc0) [0xf49a14]
       /lib/libc.so.6(__libc_start_main+0xfd) [0x7fea48df3abd]
       /home/yellow/buildslave/Linux_64bit_debug_dur_off/mongo/test [0xe08789]
      Sat Nov 17 12:05:00.675 [testsuite] 
      ***aborting after fassert() failure
      

      http://buildlogs.mongodb.org/Windows%2064-bit%20DEBUG/builds/364/test/core/test.exe

      TOTALS               | tests: 2059 | fails:    0 | assert calls: 6897835
      thread testsuite stack usage was 262144 bytes,  which is the most so far
      Sat Nov 17 12:46:25.949 [testsuite] used 262144 bytes, max is 262144 exiting
      Sat Nov 17 12:46:25.949 [testsuite]   Fatal Assertion 16151
      Sat Nov 17 12:46:26.667 [testsuite] test.exe      ...\src\mongo\util\stacktrace.cpp(161)                   mongo::printStackTrace+0x5b
      Sat Nov 17 12:46:26.667 [testsuite] test.exe      ...\src\mongo\util\log.cpp(436)                          mongo::logContext+0x72
      Sat Nov 17 12:46:26.667 [testsuite] test.exe      ...\src\mongo\util\assert_util.cpp(125)                  mongo::fassertFailed+0x7e
      Sat Nov 17 12:46:26.667 [testsuite] test.exe      ...\src\mongo\db\client.cpp(95)                          mongo::StackChecker::check+0x25e
      Sat Nov 17 12:46:26.667 [testsuite] test.exe      ...\src\mongo\db\client.cpp(181)                         mongo::Client::shutdown+0x88
      Sat Nov 17 12:46:26.667 [testsuite] test.exe      ...\src\mongo\dbtests\framework.cpp(267)                 mongo::dbtests::runDbTests+0x1249
      Sat Nov 17 12:46:26.667 [testsuite] test.exe      ...\src\mongo\dbtests\dbtests.cpp(31)                    main+0xc1
      Sat Nov 17 12:46:26.667 [testsuite] test.exe      f:\dd\vctools\crt_bld\self_64_amd64\crt\src\crt0.c(278)  __tmainCRTStartup+0xe2
      Sat Nov 17 12:46:26.667 [testsuite] test.exe      f:\dd\vctools\crt_bld\self_64_amd64\crt\src\crt0.c(189)  mainCRTStartup+0xe
      Sat Nov 17 12:46:26.667 [testsuite] kernel32.dll                                                           BaseThreadInitThunk+0xd
      Sat Nov 17 12:46:26.667 [testsuite] 
      ***aborting after fassert() failure
      

      http://buildlogs.mongodb.org/Nightly%20Windows%2064-bit%20DEBUG/builds/129/test/recent%20failures/test.exe

      TOTALS               | tests: 2059 | fails:    0 | assert calls: 8636209
      thread testsuite stack usage was 262144 bytes,  which is the most so far
      Sat Nov 17 16:13:50.505 [testsuite] used 262144 bytes, max is 262144 exiting
      Sat Nov 17 16:13:50.505 [testsuite]   Fatal Assertion 16151
      Sat Nov 17 16:13:51.238 [testsuite] test.exe      ...\src\mongo\util\stacktrace.cpp(161)                   mongo::printStackTrace+0x5b
      Sat Nov 17 16:13:51.238 [testsuite] test.exe      ...\src\mongo\util\log.cpp(436)                          mongo::logContext+0x72
      Sat Nov 17 16:13:51.238 [testsuite] test.exe      ...\src\mongo\util\assert_util.cpp(125)                  mongo::fassertFailed+0x7e
      Sat Nov 17 16:13:51.238 [testsuite] test.exe      ...\src\mongo\db\client.cpp(95)                          mongo::StackChecker::check+0x25e
      Sat Nov 17 16:13:51.238 [testsuite] test.exe      ...\src\mongo\db\client.cpp(181)                         mongo::Client::shutdown+0x88
      Sat Nov 17 16:13:51.238 [testsuite] test.exe      ...\src\mongo\dbtests\framework.cpp(267)                 mongo::dbtests::runDbTests+0x1249
      Sat Nov 17 16:13:51.238 [testsuite] test.exe      ...\src\mongo\dbtests\dbtests.cpp(31)                    main+0xc1
      Sat Nov 17 16:13:51.238 [testsuite] test.exe      f:\dd\vctools\crt_bld\self_64_amd64\crt\src\crt0.c(278)  __tmainCRTStartup+0xe2
      Sat Nov 17 16:13:51.238 [testsuite] test.exe      f:\dd\vctools\crt_bld\self_64_amd64\crt\src\crt0.c(189)  mainCRTStartup+0xe
      Sat Nov 17 16:13:51.238 [testsuite] kernel32.dll                                                           BaseThreadInitThunk+0xd
      Sat Nov 17 16:13:51.238 [testsuite] 
      ***aborting after fassert() failure
      

            Assignee:
            tad Tad Marshall
            Reporter:
            tad Tad Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: