Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major - P3
-
None
-
2.2.0
-
None
-
None
-
Mac OSX Mountain Lion 10.8.2
db version v2.2.0, pdfile version 4.5
Thu Oct 11 10:18:55 git version: f5e83eae9cfbec7fb7a071321928f00d1b0c5207
-
OS X
Description
When starting the server, I get a seg fault.
INSTALLING
$ brew install -vd mongo
/usr/local/bin/brew: loading /usr/local/Library/Formula/mongodb.rb
/usr/local/Library/Formula/mongodb.rb: loading /usr/local/Library/Formula/python.rb
==> Downloading http://fastdl.mongodb.org/osx/mongodb-osx-x86_64-2.2.0.tgz
Already downloaded: /Library/Caches/Homebrew/mongodb-2.2.0-x86_64.tgz
/usr/bin/tar xf /Library/Caches/Homebrew/mongodb-2.2.0-x86_64.tgz
==> Cleaning
==> Caveats
To have launchd start mongodb at login:
ln -s /usr/local/opt/mongodb/*.plist ~/Library/LaunchAgents/
Then to load mongodb now:
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist
Or, if you don't want/need launchctl, you can just run:
mongod
==> Finishing up
ln -s ../Cellar/mongodb/2.2.0-x86_64/bin/mongotop mongotop
ln -s ../Cellar/mongodb/2.2.0-x86_64/bin/mongostat mongostat
ln -s ../Cellar/mongodb/2.2.0-x86_64/bin/mongosniff mongosniff
ln -s ../Cellar/mongodb/2.2.0-x86_64/bin/mongos mongos
ln -s ../Cellar/mongodb/2.2.0-x86_64/bin/mongorestore mongorestore
ln -s ../Cellar/mongodb/2.2.0-x86_64/bin/mongoperf mongoperf
ln -s ../Cellar/mongodb/2.2.0-x86_64/bin/mongooplog mongooplog
ln -s ../Cellar/mongodb/2.2.0-x86_64/bin/mongoimport mongoimport
ln -s ../Cellar/mongodb/2.2.0-x86_64/bin/mongofiles mongofiles
ln -s ../Cellar/mongodb/2.2.0-x86_64/bin/mongoexport mongoexport
ln -s ../Cellar/mongodb/2.2.0-x86_64/bin/mongodump mongodump
ln -s ../Cellar/mongodb/2.2.0-x86_64/bin/mongod mongod
ln -s ../Cellar/mongodb/2.2.0-x86_64/bin/mongo mongo
ln -s ../Cellar/mongodb/2.2.0-x86_64/bin/bsondump bsondump
ln -s ../../Cellar/mongodb/2.2.0-x86_64 mongodb
ln -s ../Cellar/mongodb/2.2.0-x86_64 mongodb
==> Summary
/usr/local/Cellar/mongodb/2.2.0-x86_64: 21 files, 170M, built in 3 seconds
RUNNING
$ mongod --dbpath mongod/emark
Thu Oct 11 10:13:58 [initandlisten] MongoDB starting : pid=1238 port=27017 dbpath=mongod/emark 64-bit host=Adams-MacBook-Pro.local
Thu Oct 11 10:13:58 [initandlisten]
Thu Oct 11 10:13:58 [initandlisten] ** WARNING: soft rlimits too low. Number of files is 256, should be at least 1000
Thu Oct 11 10:13:58 [initandlisten] db version v2.2.0, pdfile version 4.5
Thu Oct 11 10:13:58 [initandlisten] git version: f5e83eae9cfbec7fb7a071321928f00d1b0c5207
Thu Oct 11 10:13:58 [initandlisten] build info: Darwin bs-osx-106-x86-64-1.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_49
Thu Oct 11 10:13:58 [initandlisten] options:
Thu Oct 11 10:13:58 [initandlisten] journal dir=mongod/emark/journal
Thu Oct 11 10:13:58 [initandlisten] recover begin
Thu Oct 11 10:13:58 [initandlisten] info no lsn file in journal/ directory
Thu Oct 11 10:13:58 [initandlisten] recover lsn: 0
Thu Oct 11 10:13:58 [initandlisten] recover mongod/emark/journal/j._0
Thu Oct 11 10:13:58 [initandlisten] recover cleaning up
Thu Oct 11 10:13:58 [initandlisten] removeJournalFiles
Thu Oct 11 10:13:58 [initandlisten] recover done
Thu Oct 11 10:13:58 Invalid access at address: 0x14949d000 from thread: initandlisten
Thu Oct 11 10:13:58 Got signal: 11 (Segmentation fault: 11).
Thu Oct 11 10:13:58 Backtrace:
0x10037637b 0x100001a6b 0x100002121 0x7fff945528ea 0x2 0x1002064de 0x100082d31 0x100084f13 0x1006464c9 0x1006494d6 0x10064aec9 0x100175487 0x1001ac2df 0x10063efbf 0x100004ca6 0x100005815 0x10000608d 0x10000d534 0x10000f309 0x100000ea4
0 mongod 0x000000010037637b _ZN5mongo15printStackTraceERSo + 43
1 mongod 0x0000000100001a6b _ZN5mongo10abruptQuitEi + 987
2 mongod 0x0000000100002121 ZN5mongo24abruptQuitWithAddrSignalEiP9_siginfoPv + 673
3 libsystem_c.dylib 0x00007fff945528ea _sigtramp + 26
4 ??? 0x0000000000000002 0x0 + 2
5 mongod 0x00000001002064de _ZN5mongo11BasicCursor7advanceEv + 158
6 mongod 0x0000000100082d31 _ZN5mongo23queryWithQueryOptimizerEiRKSsRKNS_7BSONObjERNS_5CurOpES4_S4_RKN5boost10shared_ptrINS_11ParsedQueryEEES4_RKNS_17ShardChunkVersionERNS7_10scoped_ptrINS_25PageFaultRetryableSectionEEERNSG_INS_19NoPageFaultsAllowedEEERNS_7MessageE + 1489
7 mongod 0x0000000100084f13 ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1 + 3187
8 mongod 0x00000001006464c9 _ZN5mongoL13receivedQueryERNS_6ClientERNS_10DbResponseERNS_7MessageE + 393
9 mongod 0x00000001006494d6 _ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE + 950
10 mongod 0x000000010064aec9 _ZN5mongo14DBDirectClient4callERNS_7MessageES2_bPSs + 121
11 mongod 0x0000000100175487 _ZN5mongo14DBClientCursor4initEv + 167
12 mongod 0x00000001001ac2df _ZN5mongo12DBClientBase5queryERKSsNS_5QueryEiiPKNS_7BSONObjEii + 191
13 mongod 0x000000010063efbf _ZN5mongo14DBDirectClient5queryERKSsNS_5QueryEiiPKNS_7BSONObjEii + 79
14 mongod 0x0000000100004ca6 _ZN5mongo19clearTmpCollectionsEv + 710
15 mongod 0x0000000100005815 _ZN5mongo14_initAndListenEi + 1093
16 mongod 0x000000010000608d _ZN5mongo13initAndListenEi + 29
17 mongod 0x000000010000d534 _ZL11mongoDbMainiPPc + 29348
18 mongod 0x000000010000f309 main + 9
19 mongod 0x0000000100000ea4 start + 52
FILES USED
You can have the database files if you like, please just ask for them.