[SERVER-7703] Fatal Assertion 16151 running core 'test' program in debug builds Created: 18/Nov/12  Updated: 11/Jul/16  Resolved: 18/Nov/12

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 2.3.1

Type: Bug Priority: Major - P3
Reporter: Tad Marshall Assignee: Tad Marshall
Resolution: Done Votes: 0
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Debug builds, Windows and Linux


Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

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



 Comments   
Comment by auto [ 18/Nov/12 ]

Author:

{u'date': u'2012-11-18T10:08:17Z', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}

Message: SERVER-7703 Increase Linux StackChecker test limit to 218K

Linux 64-big debug dur off build was using 202848 bytes of stack,
so still triggering the Fatal Assertion 16151. Give it 4096 bytes
of slack after the 16000 byte test, round up from 217.72K to 218K.
Branch: master
https://github.com/mongodb/mongo/commit/075b8e8859c199785aeefb9d72608c9cb5c44289

Comment by auto [ 18/Nov/12 ]

Author:

{u'date': u'2012-11-18T00:14:31Z', u'email': u'tad@10gen.com', u'name': u'Tad Marshall'}

Message: SERVER-7703 Increase StackChecker test limit
Branch: master
https://github.com/mongodb/mongo/commit/77348a04f6ebfa4aec82cde0b8f519fd27f5fe0c

Generated at Thu Feb 08 03:15:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.