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

Segfault on server startup

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.2.9
    • Component/s: Admin
    • Labels:
      None
    • Storage Execution

      Using 3.2.9, on OSX.

         2016-09-19T15:45:13.879-0400 I CONTROL  [initandlisten] MongoDB starting : pid=68945 port=26000 dbpath=/tmp/dbpath 64-bit host=Michaels-MacBook-Pro-5.local
         2016-09-19T15:45:13.879-0400 I CONTROL  [initandlisten] db version v3.2.9
         2016-09-19T15:45:13.879-0400 I CONTROL  [initandlisten] git version: 22ec9e93b40c85fc7cae7d56e7d6a02fd811088c
         2016-09-19T15:45:13.879-0400 I CONTROL  [initandlisten] OpenSSL version: OpenSSL 0.9.8zg 14 July 2015
         2016-09-19T15:45:13.879-0400 I CONTROL  [initandlisten] allocator: system
         2016-09-19T15:45:13.879-0400 I CONTROL  [initandlisten] modules: none
         2016-09-19T15:45:13.879-0400 I CONTROL  [initandlisten] build environment:
         2016-09-19T15:45:13.880-0400 I CONTROL  [initandlisten]     distarch: x86_64
         2016-09-19T15:45:13.880-0400 I CONTROL  [initandlisten]     target_arch: x86_64
         2016-09-19T15:45:13.880-0400 I CONTROL  [initandlisten] options: { net: { port: 26000 }, storage: { dbPath: "/tmp/dbpath" }, systemLog: { destination: "file", logAppend: true, path: "/tmp/dbpath/mongod.log" } }
         2016-09-19T15:45:13.880-0400 I STORAGE  [initandlisten] wiredtiger_open config: create,cache_size=9G,session_max=20000,eviction=(threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=   snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0),
         2016-09-19T15:45:14.335-0400 E STORAGE  [initandlisten] WiredTiger (2) [1474314314:335725][68945:0x7fff7a10b000], file:collection-0-6309514982269115712.wt, WT_SESSION.open_cursor: /tmp/dbpath/collection-0-6309514982269115712.wt: handle   -open: open: No such file or directory
         2016-09-19T15:45:14.335-0400 E STORAGE  [initandlisten] no cursor for uri: table:collection-0-6309514982269115712
         2016-09-19T15:45:14.335-0400 F -        [initandlisten] Invalid access at address: 0x58
         2016-09-19T15:45:14.369-0400 F -        [initandlisten] Got signal: 11 (Segmentation fault: 11).
      
          0x10119693a 0x10119646f 0x7fff9b37c52a 0x7fff991349cf 0x100f3358c 0x100f33ca8 0x100f2be45 0x100e99a4a 0x100e9c411 0x100f28420 0x100e7295b 0x10086c732 0x10086bb43 0x10087022c 0x10086bb24
         ----- BEGIN BACKTRACE -----
      

      Prior to this, I was getting an error when running "show dbs" from the shell:

      > show dbs
      2016-09-19T15:44:08.118-0400 E QUERY    [thread1] Error: listDatabases failed:{
      	"ok" : 0,
      	"errmsg" : "unable to open cursor at URI statistics:table:collection-0-6309514982269115712. reason: No such file or directory",
      	"code" : 43
      } :
      

      I then shut down the server cleanly, but now it can't come back up due to the segfault. This is the second time I've encountered this, so I may be able to reproduce it again, hopefully.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            mikeo@mongodb.com Michael O'Brien
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: