[SERVER-11096] Mutex assertion in mongo shell fails Created: 09/Oct/13  Updated: 10/Dec/14  Resolved: 19/Mar/14

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

Type: Bug Priority: Minor - P4
Reporter: Andreas Heck Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 12.04


Operating System: Linux
Steps To Reproduce:

Not reproducible but happens at random times when executing commands with --eval.

Participants:

 Description   

From time to time the Mongo shell crashes with this error message:

MongoDB shell version: 2.4.5
connecting to: test
mongo: src/third_party/boost/boost/thread/pthread/recursive_mutex.hpp:106: void boost::recursive_mutex::unlock(): Assertion `!pthread_mutex_unlock(&m)' failed.
Wed Oct 9 12:05:29.148 mongo got signal 6 (Aborted), stack trace:
Wed Oct 9 12:05:29.151 0x6fee43 0x5ee712 0x7faff10194a0 0x7faff1019425 0x7faff101cb8b 0x7faff10120ee 0x7faff1012192 0x6eeb89 0x7faff1ca090d 0x6cccd3 0x6cd5bb 0x7474fb 0x7faff21f4e9a 0x7faff10d6ccd
mongo(_ZN5mongo15printStackTraceERSo+0x23) [0x6fee43]
mongo(_Z12quitAbruptlyi+0x382) [0x5ee712]
/lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7faff10194a0]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7faff1019425]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x17b) [0x7faff101cb8b]
/lib/x86_64-linux-gnu/libc.so.6(+0x2f0ee) [0x7faff10120ee]
/lib/x86_64-linux-gnu/libc.so.6(+0x2f192) [0x7faff1012192]
mongo() [0x6eeb89]
/lib/x86_64-linux-gnu/libcrypto.so.1.0.0(ERR_remove_thread_state+0x1d) [0x7faff1ca090d]
mongo(_ZN5mongo13BackgroundJob7jobBodyEN5boost10shared_ptrINS0_9JobStatusEEE+0x143) [0x6cccd3]
mongo(_ZN5boost6detail11thread_dataINS_3_bi6bind_tIvNS_4_mfi3mf1IvN5mongo13BackgroundJobENS_10shared_ptrINS7_9JobStatusEEEEENS2_5list2INS2_5valueIPS7_EENSD_ISA_EEEEEEE3runEv+0x7b) [0x6cd5bb]
mongo() [0x7474fb]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a) [0x7faff21f4e9a]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7faff10d6ccd]



 Comments   
Comment by Stennie Steneker (Inactive) [ 19/Mar/14 ]

Hi Andreas,

Please be advised I'm now closing this issue as we have been unable to reproduce the reported problem.

If you do have any further information that would help us reproduce this issue, please let us know.

Thanks,
Stephen

Comment by Daniel Pasette (Inactive) [ 15/Oct/13 ]

Can you say with what options you started your mongod and an example operation?

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