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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Component/s: view-engine
    • Security Level: Public
    • Labels:
      None
    • Environment:
      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              deepkaran.salooja Deepkaran Salooja
              Reporter:
              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