[SERVER-37858] mongod got signal 7 (Bus error) Created: 01/Nov/18  Updated: 01/Nov/18  Resolved: 01/Nov/18

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

Type: Bug Priority: Major - P3
Reporter: Jiantao Song Assignee: Danny Hatcher (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

My mongodb crashed, then  I  use   mongod --dbpath=/var/lib/mongodb to start, but report these 

Environment:

  • centos 7.2
  • MongoDB v2.6.9

 

 

2018-11-02T00:29:49.813+0800 [initandlisten] db version v2.6.9
2018-11-02T00:29:49.813+0800 [initandlisten] git version: nogitversion
2018-11-02T00:29:49.813+0800 [initandlisten] OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013
2018-11-02T00:29:49.813+0800 [initandlisten] build info: Linux buildvm-15.phx2.fedoraproject.org 3.19.1-201.fc21.x86_64 #1 SMP Wed Mar 18 04:29:24 U
TC 2015 x86_64 BOOST_LIB_VERSION=1_532018-11-02T00:29:49.813+0800 [initandlisten] allocator: tcmalloc
2018-11-02T00:29:49.813+0800 [initandlisten] options: { storage:

{ dbPath: "/var/lib/mongodb" }

}
2018-11-02T00:29:49.865+0800 [initandlisten] journal dir=/var/lib/mongodb/journal
2018-11-02T00:29:49.865+0800 [initandlisten] recover begin
2018-11-02T00:29:49.865+0800 [initandlisten] recover lsn: 0
2018-11-02T00:29:49.865+0800 [initandlisten] recover /var/lib/mongodb/journal/j._0
2018-11-02T00:29:50.885+0800 [initandlisten] recover cleaning up
2018-11-02T00:29:50.885+0800 [initandlisten] removeJournalFiles
2018-11-02T00:29:50.949+0800 [initandlisten] recover done
2018-11-02T00:29:50.949+0800 [initandlisten] preallocating a journal file /var/lib/mongodb/journal/prealloc.0
2018-11-02T00:29:53.072+0800 [initandlisten] File Preallocator Progress: 503316480/1073741824 46%
2018-11-02T00:29:56.023+0800 [initandlisten] File Preallocator Progress: 880803840/1073741824 82%
2018-11-02T00:29:59.621+0800 [initandlisten] info openExisting file size 16777216 but storageGlobalParams.smallfiles=false: /var/lib/mongodb/local.0
2018-11-02T00:29:59.622+0800 [initandlisten] info openExisting file size 16777216 but storageGlobalParams.smallfiles=false: /var/lib/mongodb/ceilome
ter.02018-11-02T00:29:59.622+0800 [initandlisten] info openExisting file size 33554432 but storageGlobalParams.smallfiles=false: /var/lib/mongodb/ceilome
ter.12018-11-02T00:29:59.626+0800 [IndexRebuilder] info openExisting file size 16777216 but storageGlobalParams.smallfiles=false: /var/lib/mongodb/ceilom
eter.02018-11-02T00:29:59.626+0800 [IndexRebuilder] info openExisting file size 33554432 but storageGlobalParams.smallfiles=false: /var/lib/mongodb/ceilom
eter.12018-11-02T00:29:59.627+0800 [initandlisten] info openExisting file size 16777216 but storageGlobalParams.smallfiles=false: /var/lib/mongodb/local.0
2018-11-02T00:29:59.628+0800 [initandlisten] waiting for connections on port 27017
2018-11-02T00:30:13.117+0800 [initandlisten] connection accepted from 172.21.4.1:44851 #1 (1 connection now open)
2018-11-02T00:30:23.510+0800 [initandlisten] connection accepted from 172.21.4.1:44944 #2 (2 connections now open)
2018-11-02T00:31:01.517+0800 [TTLMonitor] SEVERE: Invalid access at address: 0x7ff41ba22cb0
2018-11-02T00:31:01.518+0800 [clientcursormon] mem (MB) res:40 virt:2456
2018-11-02T00:31:01.518+0800 [clientcursormon] mapped (incl journal view):2110
2018-11-02T00:31:01.518+0800 [clientcursormon] connections:2
2018-11-02T00:31:01.524+0800 [TTLMonitor] SEVERE: Got signal: 7 (Bus error).
Backtrace:0x7ff43b1d2d69 0x7ff43b1d23b5 0x7ff43b1d2486 0x7ff4386f0130 0x7ff43aff9150 0x7ff43ac8c903 0x7ff43af08dc4 0x7ff43af093ef 0x7ff43af0ad0c 0x7
ff43ae497ce 0x7ff43ae4907f 0x7ff43b022270 0x7ff43b0229e7 0x7ff43b16d6da 0x7ff4398c324a 0x7ff4386e8df5 0x7ff43739d60d mongod(_ZN5mongo15printStackTraceERSo+0x39) [0x7ff43b1d2d69]
mongod(+0x8c33b5) [0x7ff43b1d23b5]
mongod(+0x8c3486) [0x7ff43b1d2486]
/lib64/libpthread.so.0(+0xf130) [0x7ff4386f0130]
mongod(_ZNK5mongo6Record5touchEb+0) [0x7ff43aff9150]
mongod(_ZN5mongo12ClientCursor11staticYieldEiRKNS_10StringDataEPKNS_6RecordE+0x113) [0x7ff43ac8c903]
mongod(_ZN5mongo15MultiPlanRunner12workAllPlansEPNS_7BSONObjEm+0x324) [0x7ff43af08dc4]
mongod(_ZN5mongo15MultiPlanRunner12pickBestPlanEPmPNS_7BSONObjE+0xcf) [0x7ff43af093ef]
mongod(_ZN5mongo15MultiPlanRunner7getNextEPNS_7BSONObjEPNS_7DiskLocE+0x42c) [0x7ff43af0ad0c]
mongod(_ZN5mongo14DeleteExecutor7executeEv+0x36e) [0x7ff43ae497ce]
mongod(_ZN5mongo13deleteObjectsERKNS_10StringDataENS_7BSONObjEbbb+0x11f) [0x7ff43ae4907f]
mongod(_ZN5mongo10TTLMonitor10doTTLForDBERKSs+0xcd0) [0x7ff43b022270]
mongod(_ZN5mongo10TTLMonitor3runEv+0x247) [0x7ff43b0229e7]
mongod(_ZN5mongo13BackgroundJob7jobBodyEv+0x11a) [0x7ff43b16d6da]
/lib64/libboost_thread-mt.so.1.53.0(+0xd24a) [0x7ff4398c324a]
/lib64/libpthread.so.0(+0x7df5) [0x7ff4386e8df5]
/lib64/libc.so.6(clone+0x6d) [0x7ff43739d60d]

 

 

Can someone help me figure out whats the reason behind it? Thanks a lot!



 Comments   
Comment by Danny Hatcher (Inactive) [ 01/Nov/18 ]

Hello Jiantao

Thanks for your report. Please note that SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag. A question like this involving more discussion would be best posted on the mongodb-user group.

Please note that the version you are using reached end-of-life as of October 2016 and we strongly recommend upgrading any of your clusters on that version when you are able.

Thank you,

Danny

Generated at Thu Feb 08 04:47:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.