Running mongod under gdb, I get more detail on the SIGBUS:
Program received signal SIGBUS, Bus error.
0x00156404 in mongo::BSONElement::numberDouble() const ()
(gdb) bt
#0 0x00156404 in mongo::BSONElement::numberDouble() const ()
#1 0x0015fc14 in mongo::compareElementValues(mongo::BSONElement const&, mongo::BSONElement const&) ()
#2 0x0015b32e in mongo::BSONObj::woCompare(mongo::BSONObj const&, mongo::BSONObj const&, bool) const ()
#3 0x00161796 in mongo::BsonUnitTest::run() ()
#4 0x003507da in mongo::UnitTest::runTests() ()
#5 0x00153ad6 in main ()
Seems that Quantal is shipping with a rather old version of mongo, 2.0.6, it looks like this was fixed a while ago but only on the 2.2.x versions (the latest 2.0.8rc0 does not have an equivalent fix).
Given that Precise shipped with 2.0.4, which also does not have this change, I can only guess that it was a compiler change that has caused this issue to suddenly appear. None-the-less, it appears mongodb is completely broken in Quantal for ARMv7 systems.
Additional information can be found in this thread:
Running mongod under gdb, I get more detail on the SIGBUS:
Program received signal SIGBUS, Bus error. BSONElement: :numberDouble( ) const () BSONElement: :numberDouble( ) const () compareElementV alues(mongo: :BSONElement const&, mongo::BSONElement const&) () BSONObj: :woCompare( mongo:: BSONObj const&, mongo::BSONObj const&, bool) const () BsonUnitTest: :run() () UnitTest: :runTests( ) ()
0x00156404 in mongo::
(gdb) bt
#0 0x00156404 in mongo::
#1 0x0015fc14 in mongo::
#2 0x0015b32e in mongo::
#3 0x00161796 in mongo::
#4 0x003507da in mongo::
#5 0x00153ad6 in main ()
Seems that Quantal is shipping with a rather old version of mongo, 2.0.6, it looks like this was fixed a while ago but only on the 2.2.x versions (the latest 2.0.8rc0 does not have an equivalent fix).
https:/ /github. com/mongodb/ mongo/commit/ 0575d874318ceb3 3b42b526d1076c6 59af0aaca5
Given that Precise shipped with 2.0.4, which also does not have this change, I can only guess that it was a compiler change that has caused this issue to suddenly appear. None-the-less, it appears mongodb is completely broken in Quantal for ARMv7 systems.
Additional information can be found in this thread:
https:/ /jira.mongodb. org/browse/ SERVER- 1811