Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-6807

couchbase server crashes in mapDoc at mapreduce.cc:184 (kernel: beam.smp[4552]: segfault ) if map view function produces run time errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 2.0
    • None
    • view-engine
    • Security Level: Public
    • None
    • Version: 2.0.0 community edition (build-1723)
      CentOS release 5.4 (Final)
      64-bit

    Description

      With a view that has a syntax error, I was able to crash the node by trying to execute it through the web UI. Once crashed, it never restarted.

      View code is:
      function (doc, meta) {
      if (jsonType == "player")

      { emit(doc.level, meta.id); }

      }

      Note that should have been doc.jsonType.

      Will attach logs shortly.

      Attachments

        1. gdb_a_a_bt.out-MB6807.txt
          23 kB
        2. OOW_node1.logs.txt.gz
          3.41 MB
        3. OOW-node2.logs.txt.gz
          9.44 MB
        4. OOW-node2-afterCrashing.logs.txt.gz
          9.46 MB
        5. OOW-node3.logs.txt.gz
          5.71 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            deepkaran.salooja Deepkaran Salooja
            ingenthr Matt Ingenthron
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty