[SERVER-11650] Unittests freeing unallocated thread specific pointer in debug mode Created: 09/Nov/13 Updated: 11/Jul/16 Resolved: 11/Nov/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 2.5.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Shaun Verch | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | OS X | ||||||||
| Participants: | |||||||||
| Description |
|
I don't know what's causing this, but here's the output I get:
Stack trace:
|
| Comments |
| Comment by auto [ 11/Nov/13 ] | ||||||||||||||||||||||||||||
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}Message: | ||||||||||||||||||||||||||||
| Comment by Andrew Morrow (Inactive) [ 09/Nov/13 ] | ||||||||||||||||||||||||||||
|
I believe this is due to https://code.google.com/p/gperftools/issues/detail?id=581. Fix is, sadly, to disable gperftools debug allocator on OS X until gperftools has a fix. This doesn't seem to trigger for users using XCode 5 and therefore clang, but I think that is a happy accident. Hopefully we can upgrade to a newer gperftools early in 2.7 that will have a fix for this issue. | ||||||||||||||||||||||||||||
| Comment by Shaun Verch [ 09/Nov/13 ] | ||||||||||||||||||||||||||||
|
SCons configure step:
| ||||||||||||||||||||||||||||
| Comment by Andrew Morrow (Inactive) [ 09/Nov/13 ] | ||||||||||||||||||||||||||||
|
Can you please also post the output of your "configure" step? | ||||||||||||||||||||||||||||
| Comment by Shaun Verch [ 09/Nov/13 ] | ||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||
| Comment by Shaun Verch [ 09/Nov/13 ] | ||||||||||||||||||||||||||||
|
scons --jobs 8 --dd --mute build/darwin/dd/mongo/hash_test Just confirmed that this only happens with the "--dd" flag. Will get the other info shortly. | ||||||||||||||||||||||||||||
| Comment by Andrew Morrow (Inactive) [ 09/Nov/13 ] | ||||||||||||||||||||||||||||
|
sverch Can I get the exact SCons invocation you used, and your Darwin and XCode info? |