[SERVER-16985] Segmentation fault in mongo, V8 Created: 21/Jan/15 Updated: 06/Mar/15 Resolved: 23/Jan/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell, Stability |
| Affects Version/s: | 2.6.7 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Darko Luketic | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | crash | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Gentoo Linux |
||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Operating System: | Linux | ||||||||||||
| Steps To Reproduce: | Run mongo on Gentoo Linux and try to connect to mongod |
||||||||||||
| Participants: | |||||||||||||
| Description |
|
Related to Please let me know if I need to add anything, missing libraries or anything else |
| Comments |
| Comment by Andrew Morrow (Inactive) [ 23/Jan/15 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi dluketic - I believe you are encountering the issue described in We have patched the issue on master, but we have not backported it to the 2.6 branch. You can either:
Also, be aware that building against the system version of the libraries has other risks, as we cannot realistically validate the correctness of the database in all of these build configurations. In particular, we have some anecdotal evidence of issues building newer boost (1.57) with GCC-4.9. Thanks, | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Darko Luketic [ 22/Jan/15 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
The reason why it happens is -march=native distcc compilation also fails with an error (sorry no log available, was out of scope, just for the record) | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Darko Luketic [ 22/Jan/15 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
The 2 patches that are applied
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Darko Luketic [ 22/Jan/15 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
pax-ctl -m | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Darko Luketic [ 22/Jan/15 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
I have built just mongo without any options I will now try the various options --use-system-boost --usev8 -j8 --use-system-boost --use-system-pcre --usev8 -j8 --use-system-boost --use-system-pcre --usev8 --use-system-snappy -j8 --use-system-boost --use-system-pcre --usev8 --use-system-snappy --use-system-stemmer -j8 --use-system-boost --use-system-pcre --usev8 --use-system-snappy --use-system-stemmer --use-system-tcmalloc -j8 scons --use-system-boost --use-system-pcre --use-system-snappy --use-system-stemmer --use-system-tcmalloc --use-system-yaml --usev8 -j8 mongo Target 'build/linux2/use-system-boost/use-system-pcre/use-system-snappy/use-system-stemmer/use-system-tcmalloc/use-system-yaml/usev8/mongo/mongo' depends on the availability of a system provided library for 'yaml', but no suitable library was found during configuration. after running succeeds, is able to connect without crashing so much for that |