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

[system test windows] Indexer crashes with "runtime error: invalid memory address or nil pointer dereference"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 4.1.0
    • 4.0.0
    • secondary-index
    • Security Level: Public
    • 400-4047
      Windows 2012
    • Untriaged
    • Unknown

    Description

      1. Create cluster + indexes
      2. Load 5M data and 50 warehouses
      3. Query
      4. Failover 1 node and rebalance out, seeing Indexer exists with runtime error: invalid memory address or nil pointer dereference

        2967 panic: runtime error: invalid memory address or nil pointer dereference
        2968 [signal 0xc0000005 code=0x0 addr=0x30 pc=0x47064d]
        2969 
        2970 goroutine 19 [running]:
        2971 github.com/couchbase/indexing/secondary/common.(*TsVbuuid).GetVbnos(0x0, 0x0, 0x0, 0x0)
        2972   C:/Jenkins/workspace/sherlock-windows/couchbase/goproj/src/github.com/couchbase/indexing/secondary/common/timestamp.go:85 +0x5d
        2973 github.com/couchbase/indexing/secondary/indexer.(*StreamState).adjustNonSnapAlignedVbs(0xc0820801c0, 0x0, 0xc0c1c40001, 0xc0c1c4b500, 0x5, 0x0, 0x0, 0x0, >
        2974   C:/Jenkins/workspace/sherlock-windows/couchbase/goproj/src/github.com/couchbase/indexing/secondary/indexer/stream_state.go:563 +0x5f
        2975 github.com/couchbase/indexing/secondary/indexer.(*timekeeper).initiateRecovery(0xc082007500, 0xc086670001, 0xc0c1c4b500, 0x5)
        2976   C:/Jenkins/workspace/sherlock-windows/couchbase/goproj/src/github.com/couchbase/indexing/secondary/indexer/timekeeper.go:2200 +0x1a2
        2977 github.com/couchbase/indexing/secondary/indexer.(*timekeeper).handlePrepareDone(0xc082007500, 0x2dc403ac0, 0xc0d25a47c0)
        2978   C:/Jenkins/workspace/sherlock-windows/couchbase/goproj/src/github.com/couchbase/indexing/secondary/indexer/timekeeper.go:315 +0x4ba
        2979 github.com/couchbase/indexing/secondary/indexer.(*timekeeper).handleSupervisorCommands(0xc082007500, 0x2dc403ac0, 0xc0d25a47c0)
        2980   C:/Jenkins/workspace/sherlock-windows/couchbase/goproj/src/github.com/couchbase/indexing/secondary/indexer/timekeeper.go:180 +0x3d8
        2981 github.com/couchbase/indexing/secondary/indexer.(*timekeeper).run(0xc082007500)
        2982   C:/Jenkins/workspace/sherlock-windows/couchbase/goproj/src/github.com/couchbase/indexing/secondary/indexer/timekeeper.go:117 +0x1a0
        2983 created by github.com/couchbase/indexing/secondary/indexer.NewTimekeeper
        2984   C:/Jenkins/workspace/sherlock-windows/couchbase/goproj/src/github.com/couchbase/indexing/secondary/indexer/timekeeper.go:94 +0x276
      ..
      ...
      

      attached logs from the index node 69

      Attachments

        For Gerrit Dashboard: MB-16172
        # Subject Branch Project Status CR V

        Activity

          People

            ketaki Ketaki Gangal (Inactive)
            ketaki Ketaki Gangal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty