[SERVER-28498] Stop running the rlp* tasks on the "Enterprise RHEL 6.2 DEBUG Code Coverage" builder Created: 24/Mar/17  Updated: 15/Aug/17  Resolved: 27/Mar/17

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure, Text Search
Affects Version/s: None
Fix Version/s: 3.4.4, 3.5.6

Type: Task Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Max Hirschhorn
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
is related to SERVER-18479 Clang Address Sanitizer errors with R... Closed
is related to SERVER-26130 RLP memory errors cause deadlock in u... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.4
Sprint: TIG 2017-04-17
Participants:
Linked BF Score: 0

 Description   

We're seeing memory errors caused by the RLP library itself when running with tcmalloc's debug allocator. This issue with the RLP library is tracked in SERVER-18479.

[MongoDFixture:job2] memory allocation/deallocation mismatch at 0x7eff665d2fe0: allocated with new [] being deallocated with delete

When this issue was encountered in the rlp_language_test C++ unit test, we simply disabled it when running with tcmalloc's debug allocator.

The RLP library has various memory errors that tcmalloc detects in debug builds. When TCMalloc detects an error it will log the error, and call abort() while holding a spinlock. Our abort handler prints stack traces by calling backtrace() and this function needs to allocate memory on most architectures. This memory allocation will thus cause a deadlock in the spinlock since the spinlock is not recursive.

https://jira.mongodb.org/browse/SERVER-26130



 Comments   
Comment by Githook User [ 28/Mar/17 ]

Author:

{u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}

Message: SERVER-28498 Remove rlp and rlp_WT tasks from code coverage builder.

The RLP library triggers memory errors when running with tcmalloc's
debug allocator.

(cherry picked from commit 59f20f1b77398a9e65d5e91a4b38b4d672a4180c)
Branch: v3.4
https://github.com/mongodb/mongo/commit/1603a3669a4236cce4ea9de9b375bda89fbe1e9b

Comment by Githook User [ 27/Mar/17 ]

Author:

{u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}

Message: SERVER-28498 Remove rlp and rlp_WT tasks from code coverage builder.

The RLP library triggers memory errors when running with tcmalloc's
debug allocator.
Branch: master
https://github.com/mongodb/mongo/commit/59f20f1b77398a9e65d5e91a4b38b4d672a4180c

Generated at Thu Feb 08 04:18:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.