[SERVER-8698] Invalid access at address: 0 from thread "command: { serverStatus: 1 }" Got signal: 7 (Bus error). Created: 25/Feb/13  Updated: 19/Mar/13  Resolved: 12/Mar/13

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

Type: Bug Priority: Major - P3
Reporter: nosqldb Assignee: Andre de Frere
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

centos 6.2 final ,kernel 2.6.32


Attachments: File mongod.log.2013-02-25T16-01-01    
Operating System: Linux
Participants:

 Description   

...
Mon Feb 25 03:33:06 [conn25391] command admin.$cmd command:

{ serverStatus: 1 }

ntoreturn:1 keyUpdates:0 locks(micros) r:38 reslen:2633 601ms
Mon Feb 25 03:33:24 [conn25391] serverStatus was very slow:

{ after basic: 0, middle of mem: 0, after mem: 0, after connections: 0, after extra info: 0, after counters: 0, after repl: 0, after asserts: 0, after dur: 3890, at end: 3890 }

Mon Feb 25 03:37:46 Invalid access at address: 0 from thread: conn25391
...
Mon Feb 25 03:37:46 Got signal: 7 (Bus error).

Mon Feb 25 03:37:46 Backtrace:
0xade6e1 0x5582d9 0x558862 0x34a320f4a0 0x9b06f3 0xc22872 0x5c99df 0x66b636 0x6571f1 0x658d5d 0x659c1e 0x6afa08 0x6b3241 0xb5ba7d 0xb5d052 0x56fa52 0x5dbf11 0x34a32077f1 0x34a2ee570d
/export/servers/mongodb/bin/mongod(_ZN5mongo15printStackTraceERSo+0x21) [0xade6e1]
/export/servers/mongodb/bin/mongod(_ZN5mongo10abruptQuitEi+0x399) [0x5582d9]
/export/servers/mongodb/bin/mongod(_ZN5mongo24abruptQuitWithAddrSignalEiP7siginfoPv+0x262) [0x558862]
/lib64/libpthread.so.0() [0x34a320f4a0]
/export/servers/mongodb/bin/mongod() [0x9b06f3]
/export/servers/mongodb/bin/mongod(malloc+0xe2) [0xc22872]
/export/servers/mongodb/bin/mongod(_ZN5mongo14prettyHostNameEv+0x1f) [0x5c99df]
/export/servers/mongodb/bin/mongod(_ZN5mongo15CmdServerStatus3runERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0xc6) [0x66b636]
/export/servers/mongodb/bin/mongod(_ZN5mongo12_execCommandEPNS_7CommandERKSsRNS_7BSONObjEiRNS_14BSONObjBuilderEb+0x51) [0x6571f1]
/export/servers/mongodb/bin/mongod(_ZN5mongo11execCommandEPNS_7CommandERNS_6ClientEiPKcRNS_7BSONObjERNS_14BSONObjBuilderEb+0xcfd) [0x658d5d]
/export/servers/mongodb/bin/mongod(_ZN5mongo12_runCommandsEPKcRNS_7BSONObjERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x2ae) [0x659c1e]
/export/servers/mongodb/bin/mongod(_ZN5mongo11runCommandsEPKcRNS_7BSONObjERNS_5CurOpERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x38) [0x6afa08]
/export/servers/mongodb/bin/mongod(ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1+0xbc1) [0x6b3241]
/export/servers/mongodb/bin/mongod() [0xb5ba7d]
/export/servers/mongodb/bin/mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0x3a2) [0xb5d052]
/export/servers/mongodb/bin/mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0x82) [0x56fa52]
/export/servers/mongodb/bin/mongod(_ZN5mongo3pms9threadRunEPNS_13MessagingPortE+0x411) [0x5dbf11]
/lib64/libpthread.so.0() [0x34a32077f1]
/lib64/libc.so.6(clone+0x6d) [0x34a2ee570d]



 Comments   
Comment by Andre de Frere [ 12/Mar/13 ]

Hi,

I'm closing this ticket for now, as it appears it may be caused by something else. Please do not hesitate to reopen the case if there is anything further, or if you have a way of reproducing the issue.

Comment by nosqldb [ 11/Mar/13 ]

dmesg is normal.I think it's an accidental case instead of a bug.Thanks.

Comment by Andre de Frere [ 07/Mar/13 ]

One of the common causes for a Signal 7 (Bus Error) is IO problems or corruption on the filesystem. Could you check your dmesg output and ensure there are no filesystem or IO problems detected? Can you fsck the volume that the dbpath is on?

Comment by nosqldb [ 28/Feb/13 ]

I attached the log,but it's hard to reproduce the problem.Thank you.

Comment by James Wahlin [ 27/Feb/13 ]

Can you provide:

  • The full mongod log
  • Steps to reproduce

Also, our latest stable release of MongoDB 2.2 is 2.2.3. I would recommend upgrading to take advantage of bug fixes and improvements made.

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