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

2.6 mongod crashes with segfault when added to a 2.8 replica set with >= 12 nodes.

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.6.6
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
    • Fully Compatible
    • ALL
    • Hide

      Start a replica set with 12 nodes all in 2.8. Start node in 2.6 using same --replSet param. Re-configure to add the 2.6 node as the 13th node in the replica set. Above stack trace is logged as the 2.6 node crashes.

      Show
      Start a replica set with 12 nodes all in 2.8. Start node in 2.6 using same --replSet param. Re-configure to add the 2.6 node as the 13th node in the replica set. Above stack trace is logged as the 2.6 node crashes.

      No helpful error messages logged, just this:

      2014-11-11T16:06:02.983-0500 [rsStart] replSet can't get local.system.replset config from self or any seed (EMPTYCONFIG)
      ... (more of those)
      2014-11-11T16:06:03.984-0500 [rsStart] replSet can't get local.system.replset config from self or any seed (EMPTYCONFIG)
      2014-11-11T16:06:04.736-0500 [initandlisten] connection accepted from 127.0.0.1:50138 #1 (1 connection now open)
      2014-11-11T16:06:04.739-0500 [initandlisten] connection accepted from 127.0.0.1:50139 #2 (2 connections now open)
      2014-11-11T16:06:04.739-0500 [conn1] end connection 127.0.0.1:50138 (1 connection now open)
      2014-11-11T16:06:04.990-0500 [rsStart] trying to contact charlie-macbook-pro:41000
      2014-11-11T16:06:04.994-0500 [rsStart] SEVERE: Invalid access at address: 0x0
      2014-11-11T16:06:04.998-0500 [rsStart] SEVERE: Got signal: 11 (Segmentation fault: 11).
      Backtrace:0x109b0e58a 0x109b0e026 0x109b0e134 0x7fff8f8f1f1a 0x0 0x1098ad564 0x1098b205a 0x109b422c1 0x7fff8981f2fc 0x7fff8981f279 0x7fff8981d4b1 
       0   mongod                              0x0000000109b0e58a _ZN5mongo15printStackTraceERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEE + 58
       1   mongod                              0x0000000109b0e026 _ZN5mongo12_GLOBAL__N_110abruptQuitEi + 198
       2   mongod                              0x0000000109b0e134 _ZN5mongo12_GLOBAL__N_124abruptQuitWithAddrSignalEiP9__siginfoPv + 212
       3   libsystem_platform.dylib            0x00007fff8f8f1f1a _sigtramp + 26
       4   ???                                 0x0000000000000000 0x0 + 0
       5   mongod                              0x00000001098ad564 _ZN5mongo11ReplSetImpl4initERNS_14ReplSetCmdlineE + 308
       6   mongod                              0x00000001098b205a _ZN5mongo13startReplSetsEPNS_14ReplSetCmdlineE + 170
       7   mongod                              0x0000000109b422c1 _ZN5boost12_GLOBAL__N_112thread_proxyEPv + 177
       8   libsystem_pthread.dylib             0x00007fff8981f2fc _pthread_body + 131
       9   libsystem_pthread.dylib             0x00007fff8981f279 _pthread_body + 0
       10  libsystem_pthread.dylib             0x00007fff8981d4b1 thread_start + 13
      

        1. SERVER-16107.log
          22 kB
          Charlie Swanson

            Assignee:
            schwerin@mongodb.com Andy Schwerin
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: