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

potential mongod crash in profiling, 2.2

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.2.2, 2.3.1
    • Affects Version/s: 2.2.0
    • Component/s: Storage
    • None
    • ALL

      My mongodb version 2.2 production environment occasional error, this error led to mongodb process hang, and look forward to your reply, thank you; contents of the log is as follows:

      Tue Sep 25 12:13:53 [conn12903] query DbAmsBizOffer201209_Day_2.TbAmsBizOffer201209_Day_4 query: { $query: { UserId: "USxx" }, $orderby: { CreateTime: -1 } } ntoreturn:10 ntoskip:0 nscanned:18 scanAndOrder:1 keyUpdates:0 locks(micros) r:61178 nreturned:10 reslen:7025 61ms
      Tue Sep 25 12:13:55 [conn13013] end connection 192.168.x.x:53020 (24 connections now open)
      Tue Sep 25 12:13:55 [initandlisten] connection accepted from 192.168.2.167:53026 #13018 (25 connections now open)
      Tue Sep 25 12:13:56 [conn12945] query DbAmsBizOffer201209_Day_2.TbAmsBizOffer201209_Day_4 query: { $query: { UserId: "USxx" }, $orderby: { CreateTime: -1 } } ntoreturn:20 ntoskip:0 nscanned:417 scanAndOrder:1 keyUpdates:0 locks(micros) r:30291 nreturned:20 reslen:13480 30ms
      Tue Sep 25 12:14:04 [conn13014] end connection 192.168.x.x:43644 (24 connections now open)
      Tue Sep 25 12:14:04 [initandlisten] connection accepted from 192.168.x.x:43656 #13019 (25 connections now open)
      Tue Sep 25 12:14:06 [conn12790] query DbAmsBizOffer201209_Day_2.TbAmsBizOffer201209_Day_4 query: { $query: { UserId: "USxx" }, $orderby: { CreateTime: -1 } } ntoreturn:10 ntoskip:0 nscanned:10793 scanAndOrder:1 keyUpdates:0 numYields: 21 locks(micros) r:179246 nreturned:10 reslen:6128 91ms
      Tue Sep 25 12:14:07 Invalid access at address: 0x2b724c83a000 from thread: conn11726
      
      Tue Sep 25 12:14:07 Got signal: 11 (Segmentation fault).
      
      Tue Sep 25 12:14:07 Backtrace:
      0xade6e1 0x5582d9 0x558862 0x390be0eb10 0x390b67c241 0x70f452 0xb5db70 0x56fa52 0x5dbf11 0x390be0673d 0x390b6d3d1d 
       /usr/local/mongodb-linux-x86_64-2.2.0/bin/mongod(_ZN5mongo15printStackTraceERSo+0x21) [0xade6e1]
       /usr/local/mongodb-linux-x86_64-2.2.0/bin/mongod(_ZN5mongo10abruptQuitEi+0x399) [0x5582d9]
       /usr/local/mongodb-linux-x86_64-2.2.0/bin/mongod(_ZN5mongo24abruptQuitWithAddrSignalEiP7siginfoPv+0x262) [0x558862]
       /lib64/libpthread.so.0 [0x390be0eb10]
       /lib64/libc.so.6(memcpy+0x3a1) [0x390b67c241]
       /usr/local/mongodb-linux-x86_64-2.2.0/bin/mongod(_ZN5mongo7profileERKNS_6ClientERNS_5CurOpE+0x9a2) [0x70f452]
       /usr/local/mongodb-linux-x86_64-2.2.0/bin/mongod(_ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0xec0) [0xb5db70]
       /usr/local/mongodb-linux-x86_64-2.2.0/bin/mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0x82) [0x56fa52]
       /usr/local/mongodb-linux-x86_64-2.2.0/bin/mongod(_ZN5mongo3pms9threadRunEPNS_13MessagingPortE+0x411) [0x5dbf11]
       /lib64/libpthread.so.0 [0x390be0673d]
       /lib64/libc.so.6(clone+0x6d) [0x390b6d3d1d]
      

            Assignee:
            milkie@mongodb.com Eric Milkie
            Reporter:
            bingyang136@163.com bingyang bingyang
            Votes:
            1 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: