[SERVER-8795] remapPrivateView: Solaris mmap() is not atomic Created: 28/Feb/13  Updated: 11/Jul/16  Resolved: 03/Jun/13

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 2.4.6, 2.5.1

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

Solaris


Issue Links:
Depends
Duplicate
is duplicated by SERVER-10433 Segfault with lots of updates (sharded) Closed
Related
related to SERVER-10847 Segmentation Fault - TTLMonitor Closed
is related to SERVER-7205 Segfault in Solaris Nightly in jstest... Closed
is related to SERVER-8782 Solaris segfault in geo_update_btree.... Closed
Backwards Compatibility: Fully Compatible
Operating System: Solaris
Participants:

 Comments   
Comment by auto [ 18/Jul/13 ]

Author:

{u'username': u'tadmarshall', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}

Message: SERVER-8795 Revert "SERVER-8782 disable smalloplog geo_update_btree.js on Solaris"

This reverts commit cafb1081b84aa443aa0b5c2c12d4d14eaa628a82.

Fixing SERVER-8795 should make geo_update_btree.js not segfault.
Branch: v2.4
https://github.com/mongodb/mongo/commit/cfe110242f4eeee9987fba0a782d8dada0c0290b

Comment by auto [ 18/Jul/13 ]

Author:

{u'username': u'tadmarshall', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}

Message: SERVER-8795 Revert "SERVER-8782 disable smalloplog geo_update_btree.js on Solaris"

This reverts commit cafb1081b84aa443aa0b5c2c12d4d14eaa628a82.

Fixing SERVER-8795 should make geo_update_btree.js not segfault.
Branch: v2.4
https://github.com/mongodb/mongo/commit/cfe110242f4eeee9987fba0a782d8dada0c0290b

Comment by auto [ 18/Jul/13 ]

Author:

{u'username': u'tadmarshall', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}

Message: SERVER-8795 Lock mongo files in remapPrivateView on Solaris

Prevent other threads from touching the memory of a memory-mapped file
while the file's private view is reset in remapPrivateView() on Solaris.
Branch: v2.4
https://github.com/mongodb/mongo/commit/636361bf46f2be6f1b883fab59c26170a49b4ac0

Comment by auto [ 03/Jun/13 ]

Author:

{u'username': u'tadmarshall', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}

Message: SERVER-8795 Revert "SERVER-8782 disable smalloplog geo_update_btree.js on Solaris"

This reverts commit cafb1081b84aa443aa0b5c2c12d4d14eaa628a82.

Fixing SERVER-8795 should make geo_update_btree.js not segfault.
Branch: master
https://github.com/mongodb/mongo/commit/054f48f94a98ca9ea43eb861c29b52b87a7aa32e

Comment by auto [ 03/Jun/13 ]

Author:

{u'username': u'tadmarshall', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}

Message: SERVER-8795 Revert "SERVER-8782 disable smalloplog geo_update_btree.js on Solaris"

This reverts commit cafb1081b84aa443aa0b5c2c12d4d14eaa628a82.

Fixing SERVER-8795 should make geo_update_btree.js not segfault.
Branch: master
https://github.com/mongodb/mongo/commit/054f48f94a98ca9ea43eb861c29b52b87a7aa32e

Comment by auto [ 03/Jun/13 ]

Author:

{u'username': u'tadmarshall', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}

Message: SERVER-8795 Lock mongo files in remapPrivateView on Solaris

Prevent other threads from touching the memory of a memory-mapped file
while the file's private view is reset in remapPrivateView() on Solaris.
Branch: master
https://github.com/mongodb/mongo/commit/4893af05ebc6960b7058b9d23ce1270bb1cda74e

Comment by Eric Milkie [ 31/May/13 ]

When you commit for this, we should also undo SERVER-8782.

Comment by Eric Milkie [ 23/May/13 ]

Another test failed presumably due to this problem:
http://buildlogs.mongodb.org/V2.4%20Solaris-SmartOS%2064-bit/builds/85/test/slow%20nightly/background.js

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