[SERVER-15202] Restore boost 1.49 as default Created: 10/Sep/14  Updated: 18/Sep/15  Resolved: 16/Sep/14

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 2.7.7

Type: Bug Priority: Major - P3
Reporter: Jonathan Reams Assignee: Mark Benvenuto
Resolution: Done Votes: 0
Labels: community-team
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

The test crashes with a SEGFAULT - output is included below:

[root@ip-10-140-181-35 src]# ./build/linux2/32/release/mongo/db/repl/elect_cmd_runner_test
2014-09-10T18:07:33.963+0000 I -        going to run suite: ElectCmdRunnerTest
2014-09-10T18:07:33.963+0000 I -        	 going to run test: OneNode
2014-09-10T18:07:33.963+0000 W REPLSETS elect command to h1:27017 failed: NoSuchKey Could not find response for Request(h1:27017, admin, { replSetElect: 1, set: "rs0", who: "h1:27017", whoid: 1, cfgver: 1, round: 380865962699346850 })
2014-09-10T18:07:33.963+0000 F -        Invalid access at address: 0
2014-09-10T18:07:33.964+0000 F -        Got signal: 11 (Segmentation fault).
 
 0x81d99e7 0x81d93fa 0x81d98a3 0xffffe600
----- BEGIN BACKTRACE -----
{"backtrace":[{"b":"8048000","o":"1919E7"},{"b":"8048000","o":"1913FA"},{"b":"8048000","o":"1918A3"},{"b":"FFFFE000","o":"600"}],"processInfo":{ "mongodbVersion" : "2.7.7-pre-", "gitVersion" : "353dcccd714fdb3ce872853b0600a0b667267ae6", "uname" : { "sysname" : "Linux", "release" : "2.6.18-194.el5xen", "version" : "#1 SMP Tue Mar 16 22:01:26 EDT 2010", "machine" : "x86_64" }, "somap" : [ { "elfType" : 2, "b" : "8048000" }, { "elfType" : 3 }, { "b" : "F7EE4000", "path" : "/lib/librt.so.1", "elfType" : 3 }, { "b" : "F7EDF000", "path" : "/lib/libdl.so.2", "elfType" : 3 }, { "b" : "F7DF6000", "path" : "/usr/lib/libstdc++.so.6", "elfType" : 3 }, { "b" : "F7DCD000", "path" : "/lib/libm.so.6", "elfType" : 3 }, { "b" : "F7DC1000", "path" : "/lib/libgcc_s.so.1", "elfType" : 3 }, { "b" : "F7DA6000", "path" : "/lib/libpthread.so.0", "elfType" : 3 }, { "b" : "F7C4A000", "path" : "/lib/libc.so.6", "elfType" : 3 }, { "b" : "F7EF8000", "path" : "/lib/ld-linux.so.2", "elfType" : 3 } ] }}
 elect_cmd_runner_test(_ZN5mongo15printStackTraceERSo+0x37) [0x81d99e7]
 elect_cmd_runner_test(+0x1913FA) [0x81d93fa]
 elect_cmd_runner_test(+0x1918A3) [0x81d98a3]
 (__kernel_rt_sigreturn+0x0) [0xffffe600]
-----  END BACKTRACE  -----



 Comments   
Comment by Githook User [ 15/Feb/15 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: Revert "SERVER-15202: Restore boost 1.49 as default"

This reverts commit 1c49822f7733bb67d33acb7f7675687a2e2248ba.

The default is now boost 1.56
Branch: master
https://github.com/mongodb/mongo/commit/988703309558dca5a2a1a500d8e0c0dc8e8fc621

Comment by Andrew Morrow (Inactive) [ 15/Feb/15 ]

Per discussion, I'm going to revert the fix commit on this ticket, which will put the default back to 1.56.

Comment by Andy Schwerin [ 15/Feb/15 ]

Most relevant difference is that when we encountered the problem, it was
with a C++03 compiler.

Comment by Githook User [ 11/Sep/14 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-15202: Restore boost 1.49 as default
Branch: master
https://github.com/mongodb/mongo/commit/1c49822f7733bb67d33acb7f7675687a2e2248ba

Comment by Eric Milkie [ 11/Sep/14 ]

Problem seems to be related to the upgrade to Boost 1.56. If we can remove use of boost::thread by using native GCC 4.8 implementations for threading, this problem will be solved. In the meantime, we may need to revert back to Boost 1.49 for the 2.8 release.

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