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

uncaught exception in PortMessageServer::threadRun crash

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.9.0
    • Affects Version/s: 1.8.0-rc0
    • Component/s: None
    • None
    • Environment:
    • Linux

      mongos crashed:

      Wed Mar 2 00:31:48 [LockPinger] dist_lock pinged successfully for: retention1:1298640359:1804289383
      Wed Mar 2 00:36:49 [LockPinger] dist_lock pinged successfully for: retention1:1298640359:1804289383
      Wed Mar 2 00:41:49 [LockPinger] dist_lock pinged successfully for: retention1:1298640359:1804289383
      Wed Mar 2 00:46:49 [LockPinger] dist_lock pinged successfully for: retention1:1298640359:1804289383
      Wed Mar 2 00:51:49 [LockPinger] dist_lock pinged successfully for: retention1:1298640359:1804289383
      Wed Mar 2 00:56:49 [LockPinger] dist_lock pinged successfully for: retention1:1298640359:1804289383
      Received signal 6
      Backtrace: 0x531975 0x3027e302d0 0x3027e30265 0x3027e31d10 0x3027e296e6 0x69e56b 0x69dfab 0x579c26 0x57a536 0x5786b0 0x578bb1 0x6311ad 0x637d83 0x63d5f3 0x667f62 0x67b131 0x5819e2 0x6a1d90 0x302860673d 0x3027ed3f6d
      /home/david/mongodb/latest/bin/mongos(_ZN5mongo17printStackAndExitEi+0x75)[0x531975]
      /lib64/libc.so.6[0x3027e302d0]
      /lib64/libc.so.6(gsignal+0x35)[0x3027e30265]
      /lib64/libc.so.6(abort+0x110)[0x3027e31d10]
      /lib64/libc.so.6(__assert_fail+0xf6)[0x3027e296e6]
      /home/david/mongodb/latest/bin/mongos[0x69e56b]
      /home/david/mongodb/latest/bin/mongos[0x69dfab]
      /home/david/mongodb/latest/bin/mongos(_ZN5boost6detail8function17function_invoker4IPFbRN5mongo12DBClientBaseERKSsbiEbS5_S7_biE6invokeERNS1_15function_bufferES5_S7_bi+0x16)[0x579c26]
      /home/david/mongodb/latest/bin/mongos(_ZN5mongo17ClientConnections13checkVersionsERKSs+0x1c6)[0x57a536]
      /home/david/mongodb/latest/bin/mongos(_ZN5mongo15ShardConnection5_initEv+0x2d0)[0x5786b0]
      /home/david/mongodb/latest/bin/mongos(_ZN5mongo15ShardConnectionC1ERKNS_5ShardERKSs+0xa1)[0x578bb1]
      /home/david/mongodb/latest/bin/mongos(_ZN5mongo8Strategy7doWriteEiRNS_7RequestERKNS_5ShardEb+0x4d)[0x6311ad]
      /home/david/mongodb/latest/bin/mongos(_ZN5mongo13ShardStrategy7_deleteERNS_7RequestERNS_9DbMessageEN5boost10shared_ptrINS_12ChunkManagerEEE+0x263)[0x637d83]
      /home/david/mongodb/latest/bin/mongos(_ZN5mongo13ShardStrategy7writeOpEiRNS_7RequestE+0x1a3)[0x63d5f3]
      /home/david/mongodb/latest/bin/mongos(_ZN5mongo7Request7processEi+0x172)[0x667f62]
      /home/david/mongodb/latest/bin/mongos(_ZN5mongo21ShardedMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortE+0x141)[0x67b131]
      /home/david/mongodb/latest/bin/mongos(_ZN5mongo3pms9threadRunEPNS_13MessagingPortE+0x272)[0x5819e2]
      /home/david/mongodb/latest/bin/mongos(thread_proxy+0x80)[0x6a1d90]
      /lib64/libpthread.so.0[0x302860673d]
      /lib64/libc.so.6(clone+0x6d)[0x3027ed3f6d]
      ===
      Wed Mar 2 01:00:02 [conn6420] update failed b/c of StaleConfigException, retrying left:4 ns: sd.metricsArchive query:

      { _id: ObjectId('4d6a26d715fcab2769004698'), accId: 118, sId: 2 }

      Received signal 11
      Backtrace: 0x531975 0x3027e302d0 0x534ed0 0x578594 0x578bb1 0x6311ad 0x63c6fe 0x63d703 0x667f62 0x67b131 0x5819e2 0x6a1d90 0x302860673d 0x3027ed3f6d
      /home/david/mongodb/latest/bin/mongos(_ZN5mongo17printStackAndExitEi+0x75)[0x531975]
      /lib64/libc.so.6[0x3027e302d0]
      /home/david/mongodb/latest/bin/mongos(_ZN5mongo16DBConnectionPool11onHandedOutEPNS_12DBClientBaseE+0x20)[0x534ed0]
      /home/david/mongodb/latest/bin/mongos(_ZN5mongo15ShardConnection5_initEv+0x1b4)[0x578594]
      /home/david/mongodb/latest/bin/mongos(_ZN5mongo15ShardConnectionC1ERKNS_5ShardERKSs+0xa1)[0x578bb1]
      /home/david/mongodb/latest/bin/mongos(_ZN5mongo8Strategy7doWriteEiRNS_7RequestERKNS_5ShardEb+0x4d)[0x6311ad]
      /home/david/mongodb/latest/bin/mongos(_ZN5mongo13ShardStrategy7_updateERNS_7RequestERNS_9DbMessageEN5boost10shared_ptrINS_12ChunkManagerEEE+0xc8e)[0x63c6fe]
      /home/david/mongodb/latest/bin/mongos(_ZN5mongo13ShardStrategy7writeOpEiRNS_7RequestE+0x2b3)[0x63d703]
      /home/david/mongodb/latest/bin/mongos(_ZN5mongo7Request7processEi+0x172)[0x667f62]
      /home/david/mongodb/latest/bin/mongos(_ZN5mongo21ShardedMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortE+0x141)[0x67b131]
      /home/david/mongodb/latest/bin/mongos(_ZN5mongo3pms9threadRunEPNS_13MessagingPortE+0x272)[0x5819e2]
      /home/david/mongodb/latest/bin/mongos(thread_proxy+0x80)[0x6a1d90]
      /lib64/libpthread.so.0[0x302860673d]
      /lib64/libc.so.6(clone+0x6d)[0x3027ed3f6d]
      ===
      Wed Mar 2 01:00:02 CursorCache at shutdown - sharded: 0 passthrough: 25576
      Wed Mar 2 01:00:02 [conn6420] uncaught exception (call to empty boost::function)(boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::bad_function_call> >) in PortMessageServer::threadRun, closing connection
      Received signal 6
      Backtrace: 0x531975 0x3027e302d0 0x3027e30265 0x3027e31d10 0x302eebecb4 0x302eebcdb6 0x302eebcde3 0x302eebceca 0x54c3c9 0x57ae9b 0x57ba5c 0x6a0c41 0x6a1d98 0x302860673d 0x3027ed3f6d
      /home/david/mongodb/latest/bin/mongos(_ZN5mongo17printStackAndExitEi+0x75)[0x531975]
      /lib64/libc.so.6[0x3027e302d0]
      /lib64/libc.so.6(gsignal+0x35)[0x3027e30265]
      /lib64/libc.so.6(abort+0x110)[0x3027e31d10]
      /usr/lib64/libstdc++.so.6(ZN9gnu_cxx27_verbose_terminate_handlerEv+0x114)[0x302eebecb4]
      /usr/lib64/libstdc++.so.6[0x302eebcdb6]
      /usr/lib64/libstdc++.so.6[0x302eebcde3]
      /usr/lib64/libstdc++.so.6[0x302eebceca]
      /home/david/mongodb/latest/bin/mongos(ZN5boost15throw_exceptionINS_17bad_function_callEEEvRKT+0x1b9)[0x54c3c9]
      /home/david/mongodb/latest/bin/mongos(_ZN5mongo17ClientConnections7releaseERKSsPNS_12DBClientBaseE+0x7b)[0x57ae9b]
      /home/david/mongodb/latest/bin/mongos(_ZN5boost19thread_specific_ptrIN5mongo17ClientConnectionsEE11delete_dataclEPv+0xac)[0x57ba5c]
      /home/david/mongodb/latest/bin/mongos(tls_destructor+0xb1)[0x6a0c41]
      /home/david/mongodb/latest/bin/mongos(thread_proxy+0x88)[0x6a1d98]
      /lib64/libpthread.so.0[0x302860673d]
      /lib64/libc.so.6(clone+0x6d)[0x3027ed3f6d]
      ===

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            boxedice David Mytton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: