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

SEGFAULT doing query

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.0.1
    • Component/s: None
    • Labels:
      None
    • Environment:
      CentOS 64-bit
    • Linux

      Out of the blue, the PRIMARY crashed and left itself listening for connections but not replying to anything, causing automatic fail over to not work.

      Tue Nov  1 17:04:04 [conn16097] warning: no _id index on $snapshot query, ns:locos_production.data_visualization.conversations.content_set_report.active_path_funnel_forks.$_id_
      Tue Nov  1 17:04:04 [conn16097] Assertion: 10334:Invalid BSONObj size: 93741056 (0x00609605) first element: : 5.432309222341481e-312
      0x588cb2 0x5077a1 0x86a40f 0x86a5b8 0x970a82 0x8c4f56 0x8d4a90 0x8d50e6 0x8d891e 0x8da333 0x8db607 0x964369 0x882407 0x888c2c 0xa9c576 0x638937 0x32544077e1 0x3253ce18ed 
       /usr/local/mongodb/bin/mongod(_ZN5mongo11msgassertedEiPKc+0x112) [0x588cb2]
       /usr/local/mongodb/bin/mongod(_ZNK5mongo7BSONObj14_assertInvalidEv+0x471) [0x5077a1]
       /usr/local/mongodb/bin/mongod(_ZN5mongo19CoveredIndexMatcher7matchesERKNS_7BSONObjERKNS_7DiskLocEPNS_12MatchDetailsEb+0x15f) [0x86a40f]
       /usr/local/mongodb/bin/mongod(_ZN5mongo19CoveredIndexMatcher14matchesCurrentEPNS_6CursorEPNS_12MatchDetailsE+0xa8) [0x86a5b8]
       /usr/local/mongodb/bin/mongod(_ZN5mongo11UserQueryOp4nextEv+0x262) [0x970a82]
       /usr/local/mongodb/bin/mongod(_ZN5mongo12QueryPlanSet6Runner6nextOpERNS_7QueryOpE+0x56) [0x8c4f56]
       /usr/local/mongodb/bin/mongod(_ZN5mongo12QueryPlanSet6Runner4nextEv+0x110) [0x8d4a90]
       /usr/local/mongodb/bin/mongod(_ZN5mongo12QueryPlanSet6Runner22runUntilFirstCompletesEv+0x56) [0x8d50e6]
       /usr/local/mongodb/bin/mongod(_ZN5mongo12QueryPlanSet5runOpERNS_7QueryOpE+0x11e) [0x8d891e]
       /usr/local/mongodb/bin/mongod(_ZN5mongo16MultiPlanScanner9runOpOnceERNS_7QueryOpE+0x523) [0x8da333]
       /usr/local/mongodb/bin/mongod(_ZN5mongo16MultiPlanScanner5runOpERNS_7QueryOpE+0x17) [0x8db607]
       /usr/local/mongodb/bin/mongod(_ZN5mongo8runQueryERNS_7MessageERNS_12QueryMessageERNS_5CurOpES1_+0xa79) [0x964369]
       /usr/local/mongodb/bin/mongod() [0x882407]
       /usr/local/mongodb/bin/mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0x55c) [0x888c2c]
       /usr/local/mongodb/bin/mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0x76) [0xa9c576]
       /usr/local/mongodb/bin/mongod(_ZN5mongo3pms9threadRunEPNS_13MessagingPortE+0x287) [0x638937]
       /lib64/libpthread.so.0() [0x32544077e1]
       /lib64/libc.so.6(clone+0x6d) [0x3253ce18ed]
      

      I'm either misreading the log or it's confused about the _id index on "data_visualization.conversations.content_set_report.active_path_funnel_forks" because db.data_visualization.conversations.content_set_report.active_path_funnel_forks.getIndexes() returns

      [
      	{
      		"v" : 1,
      		"key" : {
      			"_id" : 1
      		},
      		"ns" : "locos_production.data_visualization.conversations.content_set_report.active_path_funnel_forks",
      		"name" : "_id_"
      	}
      ]
      

      Full log attached.

            Assignee:
            aaron Aaron Staple
            Reporter:
            myerscarpenter Myers Carpenter
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: