Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-11096

Mutex assertion in mongo shell fails

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.4.5
    • Component/s: Shell
    • Labels:
      None
    • Environment:
      Ubuntu 12.04
    • Linux
    • Hide

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

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

      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]

            Assignee:
            Unassigned Unassigned
            Reporter:
            aheck Andreas Heck
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: