Segmentation fault on CentOS 5.6

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Critical - P2
    • None
    • Affects Version/s: 2.0.0
    • Component/s: Stability
    • Environment:
      CentOS 5.6 64bit
    • Linux
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Made a clean install of mongodb 2.0.0 (e.g. removed all database files of an existing 1.8.3 installation prior try running the server). However the server instantly dies instantaneously

      Tue Sep 13 01:04:42 BackgroundJob starting: DataFileSync
      Tue Sep 13 01:04:42 isInRangeTest passed
      Tue Sep 13 01:04:42 shardKeyTest passed
      Tue Sep 13 01:04:42 shardObjTest passed
      Tue Sep 13 01:04:42 versionCmpTest passed
      Tue Sep 13 01:04:42 versionArrayTest passed
      Tue Sep 13 01:04:42 [initandlisten] MongoDB starting : pid=30432 port=27017 dbpath=/var/mongodb 64-bit host=Jeeves
      Tue Sep 13 01:04:42 [initandlisten] db version v2.0.0, pdfile version 4.5
      Tue Sep 13 01:04:42 [initandlisten] git version: nogitversion
      Tue Sep 13 01:04:42 [initandlisten] build info: Linux Jeeves 2.6.18-238.19.1.el5 #1 SMP Fri Jul 15 07:31:24 EDT 2011 x86_64 BOOST_LIB_VERSION=1_33_1
      Tue Sep 13 01:04:42 [initandlisten] options:

      { bind_ip: "127.0.0.1", config: "/var/mongodb/mongod.conf", dbpath: "/var/mongodb", fork: "true", logappend: "true", logpath: "/var/log/mongodb/mongod.log", vvvv: true }

      Tue Sep 13 01:04:42 [initandlisten] flushing directory /var/mongodb
      Tue Sep 13 01:04:42 [initandlisten] journal dir=/var/mongodb/journal
      Tue Sep 13 01:04:42 [initandlisten] recover : no journal files present, no recovery needed
      Tue Sep 13 01:04:42 Invalid access at address: 0x10

      Tue Sep 13 01:04:42 Got signal: 11 (Segmentation fault).

      Tue Sep 13 01:04:42 Backtrace:
      0xa58bf9 0xa591d0 0x3265a0eb10 0x72c971 0x738ebe 0x727baa 0xa5c8c9 0xa5d38a 0xa6546f 0x326461d994 0x4db589
      mongod(_ZN5mongo10abruptQuitEi+0x399) [0xa58bf9]
      mongod(_ZN5mongo24abruptQuitWithAddrSignalEiP7siginfoPv+0x220) [0xa591d0]
      /lib64/libpthread.so.0 [0x3265a0eb10]
      mongod(_ZN5mongo9writelockD1Ev+0x151) [0x72c971]
      mongod(_ZN5mongo3dur7recoverEv+0x8e) [0x738ebe]
      mongod(_ZN5mongo3dur7startupEv+0x2a) [0x727baa]
      mongod(_ZN5mongo14_initAndListenEi+0x3d9) [0xa5c8c9]
      mongod(_ZN5mongo13initAndListenEi+0x2a) [0xa5d38a]
      mongod(main+0x79cf) [0xa6546f]
      /lib64/libc.so.6(__libc_start_main+0xf4) [0x326461d994]
      mongod(__gxx_personality_v0+0x459) [0x4db589]

      Logstream::get called in uninitialized state
      Tue Sep 13 01:04:42 ERROR: Client::shutdown not called: initandlisten

      I've attached the strace of running
      'strace -s 100 mongod --port 9999 --dbpath /tmp/does_not_exist 2>mongod.strace'

      An 1.8.3 installation on the same server runs without any problems using the same configuration.

        1. mongod-jeeves.strace
          16 kB
        2. mongod.conf
          2 kB

            Assignee:
            Mathias Stearn
            Reporter:
            Stefan Huber
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: