[SERVER-7734] Mac OS X 64-bit DEBUG failing StackChecker check in 'test' program Created: 21/Nov/12 Updated: 11/Jul/16 Resolved: 21/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: |
Mac OS X 64-bit debug build slave |
||
| Operating System: | OS X |
| Participants: |
| Description |
|
The current 218 * 1024 bytes of stack we check against in non-Windows builds is completely used when running the 'test' program on debug builds on the Mac. http://buildlogs.mongodb.org/OS%20X%2010.5%2064-bit%20DEBUG/builds/1621/test/recent%20failures/test
|
| Comments |
| Comment by auto [ 21/Nov/12 ] |
|
Author: {u'date': u'2012-11-21T11:39:55Z', u'email': u'tad@10gen.com', u'name': u'Tad Marshall'}Message: Test for Mac OS X specifically, as well as Linux, and increase the stack |
| Comment by Tad Marshall [ 21/Nov/12 ] |
|
Raising the StackChecker limit to 490 KB to see how much is being used, the number is 350240 (just over 342 KB). This makes it worse than Windows Raising the limit to 362 KB (computed by adding the 16000 padding the test requires plus 4096 for safety and then rounding up to next multiple of 1024 bytes) makes the test pass. For comparison, Linux gets by with 218 KB and Windows requires 322 KB. Only debug builds run this StackChecker test, and debug builds consume much more stack space than release builds. |