Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-1102

Mongodump Go stacktrace thrown

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: mongodump
    • Server Tools 12 (04/01/16), Server Tools 13 (04/22/16)

      runtime: unexpected return pc for runtime.cgocallbackg called from 0x0
      fatal error: unknown caller pc
      
      runtime stack:
      runtime.throw(0xcc0c91)
      	/usr/local/go/src/pkg/runtime/panic.c:520 +0x69 fp=0x7f4bc884a9d0 sp=0x7f4bc884a9b8
      runtime.gentraceback(0x40cb0c, 0x7f4bba58eaf8, 0x0, 0xc208148120, 0x10000000000, 0x0, 0x7fffffff, 0x4110c0, 0x7f4bc884abb8, 0x2285ff4bca890000)
      	/usr/local/go/src/pkg/runtime/traceback_x86.c:180 +0xba9 fp=0x7f4bc884aab8 sp=0x7f4bc884a9d0
      addstackroots(0xc208148120, 0x7f4bc884abb8)
      	/usr/local/go/src/pkg/runtime/mgc0.c:1692 +0x168 fp=0x7f4bc884ab48 sp=0x7f4bc884aab8
      markroot(0xc208016480, 0x51)
      	/usr/local/go/src/pkg/runtime/mgc0.c:1321 +0xbe fp=0x7f4bc884abc8 sp=0x7f4bc884ab48
      runtime.parfordo(0xc208016480)
      	/usr/local/go/src/pkg/runtime/parfor.c:103 +0x128 fp=0x7f4bc884ac40 sp=0x7f4bc884abc8
      gc(0x7f4bcb184a80)
      	/usr/local/go/src/pkg/runtime/mgc0.c:2407 +0x1d6 fp=0x7f4bc884ad70 sp=0x7f4bc884ac40
      mgc(0xc2080d66c0)
      	/usr/local/go/src/pkg/runtime/mgc0.c:2349 +0x2e fp=0x7f4bc884ad80 sp=0x7f4bc884ad70
      runtime.mcall(0x4091cc)
      	/usr/local/go/src/pkg/runtime/asm_amd64.s:181 +0x4b fp=0x7f4bc884ad90 sp=0x7f4bc884ad80
      
      goroutine 29 [garbage collection]:
      runtime.gc(0x7f4b00000000)
      	/usr/local/go/src/pkg/runtime/mgc0.c:2329 +0x1c6 fp=0x7f4bcb184a98 sp=0x7f4bcb184a68
      runtime.mallocgc(0x20, 0x737c80, 0x0)
      	/usr/local/go/src/pkg/runtime/malloc.goc:205 +0x1d6 fp=0x7f4bcb184b00 sp=0x7f4bcb184a98
      cnew(0x737c80, 0x1, 0xc200000000)
      	/usr/local/go/src/pkg/runtime/malloc.goc:836 +0xc1 fp=0x7f4bcb184b20 sp=0x7f4bcb184b00
      runtime.cnew(0x737c80)
      	/usr/local/go/src/pkg/runtime/malloc.goc:843 +0x3b fp=0x7f4bcb184b40 sp=0x7f4bcb184b20
      copyin(0x737c80, 0x7f4bcb184c28, 0x7f4bcb184bb0)
      	/usr/local/go/src/pkg/runtime/iface.goc:164 +0x67 fp=0x7f4bcb184b78 sp=0x7f4bcb184b40
      runtime.convT2E(0x737c80, 0x7f4bcb184c28, 0x737c80, 0x0)
      	/usr/local/go/src/pkg/runtime/iface.goc:207 +0x3d fp=0x7f4bcb184b98 sp=0x7f4bcb184b78
      gopkg.in/mgo%2ev2.func·014(0x0, 0x0, 0xc208cee4e0, 0x9, 0xc208238000, 0x1220, 0x1220)
      	/data/mci/shell/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/session.go:3879 +0x4d7 fp=0x7f4bcb184ca8 sp=0x7f4bcb184b98
      gopkg.in/mgo%2ev2.(*mongoSocket).readLoop(0xc208062620)
      	/data/mci/shell/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/socket.go:595 +0xf8d fp=0x7f4bcb184fa0 sp=0x7f4bcb184ca8
      runtime.goexit()
      	/usr/local/go/src/pkg/runtime/proc.c:1445 fp=0x7f4bcb184fa8 sp=0x7f4bcb184fa0
      created by gopkg.in/mgo%2ev2.newSocket
      	/data/mci/shell/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/socket.go:166 +0x2ee
      
      goroutine 16 [chan receive]:
      runtime.park(0x41bd80, 0xc2080d8590, 0xcc04ad)
      	/usr/local/go/src/pkg/runtime/proc.c:1369 +0x89 fp=0xc208111a08 sp=0xc2081119f8
      runtime.parkunlock(0xc2080d8590, 0xcc04ad)
      	/usr/local/go/src/pkg/runtime/proc.c:1385 +0x3b fp=0xc208111a28 sp=0xc208111a08
      chanrecv(0x739fc0, 0xc2080d8540, 0xc208111b50, 0x43fe01, 0x0)
      	/usr/local/go/src/pkg/runtime/chan.goc:268 +0x4e8 fp=0xc208111a88 sp=0xc208111a28
      runtime.chanrecv1(0x739fc0, 0xc2080d8540, 0xc208111b50)
      	/usr/local/go/src/pkg/runtime/chan.goc:352 +0x38 fp=0xc208111ab8 sp=0xc208111a88
      github.com/mongodb/mongo-tools/mongodump.(*MongoDump).DumpIntents(0xc20802b180, 0x0, 0x0)
      	/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongodump/mongodump.go:298 +0x261 fp=0xc208111b90 sp=0xc208111ab8
      github.com/mongodb/mongo-tools/mongodump.(*MongoDump).Dump(0xc20802b180, 0x0, 0x0)
      	/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongodump/mongodump.go:193 +0xb38 fp=0xc208111dd0 sp=0xc208111b90
      main.main()
      	/data/mci/shell/src/src/mongo-tools-repo/mongodump/main/mongodump.go:66 +0x649 fp=0xc208111f50 sp=0xc208111dd0
      runtime.main()
      	/usr/local/go/src/pkg/runtime/proc.c:247 +0x11a fp=0xc208111fa8 sp=0xc208111f50
      runtime.goexit()
      	/usr/local/go/src/pkg/runtime/proc.c:1445 fp=0xc208111fb0 sp=0xc208111fa8
      created by _rt0_go
      	/usr/local/go/src/pkg/runtime/asm_amd64.s:97 +0x120
      
      goroutine 17 [syscall]:
      runtime.notetsleepg(0x7f4bcb190f60, 0xdf8475800)
      	/usr/local/go/src/pkg/runtime/lock_futex.c:198 +0x46 fp=0x7f4bcb190f38 sp=0x7f4bcb190f08
      runtime.MHeap_Scavenger()
      	/usr/local/go/src/pkg/runtime/mheap.c:532 +0xa3 fp=0x7f4bcb190fa8 sp=0x7f4bcb190f38
      runtime.goexit()
      	/usr/local/go/src/pkg/runtime/proc.c:1445 fp=0x7f4bcb190fb0 sp=0x7f4bcb190fa8
      created by runtime.main
      	/usr/local/go/src/pkg/runtime/proc.c:207
      
      goroutine 18 [GC sweep wait]:
      runtime.park(0x41bd80, 0xcd6808, 0xcc3280)
      	/usr/local/go/src/pkg/runtime/proc.c:1369 +0x89 fp=0x7f4bcb18ef70 sp=0x7f4bcb18ef60
      runtime.parkunlock(0xcd6808, 0xcc3280)
      	/usr/local/go/src/pkg/runtime/proc.c:1385 +0x3b fp=0x7f4bcb18ef90 sp=0x7f4bcb18ef70
      bgsweep()
      	/usr/local/go/src/pkg/runtime/mgc0.c:1993 +0x9a fp=0x7f4bcb18efa8 sp=0x7f4bcb18ef90
      runtime.goexit()
      	/usr/local/go/src/pkg/runtime/proc.c:1445 fp=0x7f4bcb18efb0 sp=0x7f4bcb18efa8
      created by runtime.gc
      	/usr/local/go/src/pkg/runtime/mgc0.c:2268
      
      goroutine 19 [finalizer wait]:
      runtime.park(0x41bd80, 0xcd67f0, 0xcc3469)
      	/usr/local/go/src/pkg/runtime/proc.c:1369 +0x89 fp=0x7f4bcb18cf18 sp=0x7f4bcb18cf08
      runtime.parkunlock(0xcd67f0, 0xcc3469)
      	/usr/local/go/src/pkg/runtime/proc.c:1385 +0x3b fp=0x7f4bcb18cf38 sp=0x7f4bcb18cf18
      runfinq()
      	/usr/local/go/src/pkg/runtime/mgc0.c:2644 +0xcf fp=0x7f4bcb18cfa8 sp=0x7f4bcb18cf38
      runtime.goexit()
      	/usr/local/go/src/pkg/runtime/proc.c:1445 fp=0x7f4bcb18cfb0 sp=0x7f4bcb18cfa8
      created by runtime.gc
      	/usr/local/go/src/pkg/runtime/mgc0.c:2268
      
      goroutine 20 [syscall]:
      runtime.notetsleepg(0xcd8300, 0xffffffffffffffff)
      	/usr/local/go/src/pkg/runtime/lock_futex.c:198 +0x46 fp=0x7f4bcb18af40 sp=0x7f4bcb18af10
      runtime.signal_recv(0x0)
      	/usr/local/go/src/pkg/runtime/sigqueue.goc:110 +0xea fp=0x7f4bcb18af68 sp=0x7f4bcb18af40
      os/signal.loop()
      	/usr/local/go/src/pkg/os/signal/signal_unix.go:21 +0x1e fp=0x7f4bcb18afa8 sp=0x7f4bcb18af68
      runtime.goexit()
      	/usr/local/go/src/pkg/runtime/proc.c:1445 fp=0x7f4bcb18afb0 sp=0x7f4bcb18afa8
      created by os/signal.init·1
      	/usr/local/go/src/pkg/os/signal/signal_unix.go:27 +0x32
      
      goroutine 26 [select]:
      runtime.park(0x425d50, 0xc208104540, 0xcc0547)
      	/usr/local/go/src/pkg/runtime/proc.c:1369 +0x89 fp=0x7f4bcb188e48 sp=0x7f4bcb188e38
      selectgo(0x7f4bcb188ef8)
      	/usr/local/go/src/pkg/runtime/chan.goc:804 +0x3a0 fp=0x7f4bcb188ed8 sp=0x7f4bcb188e48
      runtime.selectgo(0xc208104540)
      	/usr/local/go/src/pkg/runtime/chan.goc:647 +0x12 fp=0x7f4bcb188ef8 sp=0x7f4bcb188ed8
      gopkg.in/mgo%2ev2.(*mongoCluster).syncServersLoop(0xc20802e400)
      	/data/mci/shell/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/cluster.go:391 +0x54e fp=0x7f4bcb188fa0 sp=0x7f4bcb188ef8
      runtime.goexit()
      	/usr/local/go/src/pkg/runtime/proc.c:1445 fp=0x7f4bcb188fa8 sp=0x7f4bcb188fa0
      created by gopkg.in/mgo%2ev2.newCluster
      	/data/mci/shell/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/cluster.go:76 +0x171
      
      goroutine 25 [chan receive]:
      runtime.park(0x41bd80, 0xc2080a0050, 0xcc04d4)
      	/usr/local/go/src/pkg/runtime/proc.c:1369 +0x89 fp=0x7f4bcb186e40 sp=0x7f4bcb186e30
      runtime.parkunlock(0xc2080a0050, 0xcc04d4)
      	/usr/local/go/src/pkg/runtime/proc.c:1385 +0x3b fp=0x7f4bcb186e60 sp=0x7f4bcb186e40
      chanrecv(0x73a260, 0xc2080a0000, 0x0, 0x1, 0x0)
      	/usr/local/go/src/pkg/runtime/chan.goc:298 +0x1d8 fp=0x7f4bcb186ec0 sp=0x7f4bcb186e60
      runtime.chanrecv1(0x73a260, 0xc2080a0000, 0x0)
      	/usr/local/go/src/pkg/runtime/chan.goc:352 +0x38 fp=0x7f4bcb186ef0 sp=0x7f4bcb186ec0
      github.com/mongodb/mongo-tools/common/signals.Handle()
      	/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/signals/signals_unix.go:16 +0x163 fp=0x7f4bcb186fa8 sp=0x7f4bcb186ef0
      runtime.goexit()
      	/usr/local/go/src/pkg/runtime/proc.c:1445 fp=0x7f4bcb186fb0 sp=0x7f4bcb186fa8
      created by main.main
      	/data/mci/shell/src/src/mongo-tools-repo/mongodump/main/mongodump.go:14 +0x31
      
      goroutine 17 [syscall]:
      runtime.goexit()
      	/usr/local/go/src/pkg/runtime/proc.c:1445 fp=0xc208015fb0 sp=0xc208015fa8
      
      goroutine 34 [syscall]:
      runtime.notetsleepg(0xcd8358, 0xb1e36f28)
      	/usr/local/go/src/pkg/runtime/lock_futex.c:198 +0x46 fp=0x7f4bc886bf58 sp=0x7f4bc886bf28
      timerproc()
      	/usr/local/go/src/pkg/runtime/time.goc:260 +0xda fp=0x7f4bc886bfa8 sp=0x7f4bc886bf58
      runtime.goexit()
      	/usr/local/go/src/pkg/runtime/proc.c:1445 fp=0x7f4bc886bfb0 sp=0x7f4bc886bfa8
      created by addtimer
      	/usr/local/go/src/pkg/runtime/time.goc:113
      
      goroutine 30 [sleep]:
      runtime.park(0x41bd80, 0xcd8340, 0xcbea20)
      	/usr/local/go/src/pkg/runtime/proc.c:1369 +0x89 fp=0x7f4bba5ead38 sp=0x7f4bba5ead28
      runtime.parkunlock(0xcd8340, 0xcbea20)
      	/usr/local/go/src/pkg/runtime/proc.c:1385 +0x3b fp=0x7f4bba5ead58 sp=0x7f4bba5ead38
      runtime.tsleep(0x12a05f200, 0xcbea20)
      	/usr/local/go/src/pkg/runtime/time.goc:97 +0x8a fp=0x7f4bba5eada0 sp=0x7f4bba5ead58
      time.Sleep(0x12a05f200)
      	/usr/local/go/src/pkg/runtime/time.goc:39 +0x31 fp=0x7f4bba5eadb8 sp=0x7f4bba5eada0
      gopkg.in/mgo%2ev2.(*mongoServer).pinger(0xc208062540, 0xc208062501)
      	/data/mci/shell/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/server.go:297 +0x11e fp=0x7f4bba5eaf98 sp=0x7f4bba5eadb8
      runtime.goexit()
      	/usr/local/go/src/pkg/runtime/proc.c:1445 fp=0x7f4bba5eafa0 sp=0x7f4bba5eaf98
      created by gopkg.in/mgo%2ev2.newServer
      	/data/mci/shell/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/server.go:90 +0xf1
      
      goroutine 258 [chan receive]:
      runtime.park(0x41bd80, 0xc2080beb90, 0xcc04ad)
      	/usr/local/go/src/pkg/runtime/proc.c:1369 +0x89 fp=0xc2081a58b8 sp=0xc2081a58a8
      runtime.parkunlock(0xc2080beb90, 0xcc04ad)
      	/usr/local/go/src/pkg/runtime/proc.c:1385 +0x3b fp=0xc2081a58d8 sp=0xc2081a58b8
      chanrecv(0x739f00, 0xc2080beb40, 0xc2081a5a68, 0x52f301, 0xc2081a5980)
      	/usr/local/go/src/pkg/runtime/chan.goc:268 +0x4e8 fp=0xc2081a5938 sp=0xc2081a58d8
      runtime.chanrecv2(0x739f00, 0xc2080beb40, 0xc2081a5a68, 0x0)
      	/usr/local/go/src/pkg/runtime/chan.goc:358 +0x3e fp=0xc2081a5968 sp=0xc2081a5938
      github.com/mongodb/mongo-tools/mongodump.(*MongoDump).dumpIterToWriter(0xc20802b180, 0xc2080a64b0, 0x7f4bcb3014b8, 0xc208034248, 0x7f4bcb308118, 0xc2080b5660, 0x0, 0x0)
      	/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongodump/mongodump.go:441 +0x184 fp=0xc2081a5a88 sp=0xc2081a5968
      github.com/mongodb/mongo-tools/mongodump.(*MongoDump).dumpQueryToWriter(0xc20802b180, 0xc208063ce0, 0xc2080d4460, 0x7f4bcb3014b8, 0xc208034248, 0x0, 0x0)
      	/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongodump/mongodump.go:406 +0x49b fp=0xc2081a5ba8 sp=0xc2081a5a88
      github.com/mongodb/mongo-tools/mongodump.(*MongoDump).DumpIntent(0xc20802b180, 0xc2080d4460, 0x0, 0x0)
      	/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongodump/mongodump.go:349 +0xc74 fp=0xc2081a5ef0 sp=0xc2081a5ba8
      github.com/mongodb/mongo-tools/mongodump.func·001(0x3)
      	/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongodump/mongodump.go:286 +0x1ed fp=0xc2081a5fa0 sp=0xc2081a5ef0
      runtime.goexit()
      	/usr/local/go/src/pkg/runtime/proc.c:1445 fp=0xc2081a5fa8 sp=0xc2081a5fa0
      created by github.com/mongodb/mongo-tools/mongodump.(*MongoDump).DumpIntents
      	/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongodump/mongodump.go:293 +0x1f3
      
      goroutine 257 [chan receive]:
      runtime.park(0x41bd80, 0xc2080be8f0, 0xcc04ad)
      	/usr/local/go/src/pkg/runtime/proc.c:1369 +0x89 fp=0xc2081998b8 sp=0xc2081998a8
      runtime.parkunlock(0xc2080be8f0, 0xcc04ad)
      	/usr/local/go/src/pkg/runtime/proc.c:1385 +0x3b fp=0xc2081998d8 sp=0xc2081998b8
      chanrecv(0x739f00, 0xc2080be8a0, 0xc208199a68, 0x52f301, 0xc208199980)
      	/usr/local/go/src/pkg/runtime/chan.goc:268 +0x4e8 fp=0xc208199938 sp=0xc2081998d8
      runtime.chanrecv2(0x739f00, 0xc2080be8a0, 0xc208199a68, 0x1600)
      	/usr/local/go/src/pkg/runtime/chan.goc:358 +0x3e fp=0xc208199968 sp=0xc208199938
      github.com/mongodb/mongo-tools/mongodump.(*MongoDump).dumpIterToWriter(0xc20802b180, 0xc2080a63c0, 0x7f4bcb3014b8, 0xc2081500b0, 0x7f4bcb308118, 0xc2080b52c0, 0x0, 0x0)
      	/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongodump/mongodump.go:441 +0x184 fp=0xc208199a88 sp=0xc208199968
      github.com/mongodb/mongo-tools/mongodump.(*MongoDump).dumpQueryToWriter(0xc20802b180, 0xc20814cd20, 0xc208019590, 0x7f4bcb3014b8, 0xc2081500b0, 0x0, 0x0)
      	/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongodump/mongodump.go:406 +0x49b fp=0xc208199ba8 sp=0xc208199a88
      github.com/mongodb/mongo-tools/mongodump.(*MongoDump).DumpIntent(0xc20802b180, 0xc208019590, 0x0, 0x0)
      	/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongodump/mongodump.go:349 +0xc74 fp=0xc208199ef0 sp=0xc208199ba8
      github.com/mongodb/mongo-tools/mongodump.func·001(0x2)
      	/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongodump/mongodump.go:286 +0x1ed fp=0xc208199fa0 sp=0xc208199ef0
      runtime.goexit()
      	/usr/local/go/src/pkg/runtime/proc.c:1445 fp=0xc208199fa8 sp=0xc208199fa0
      created by github.com/mongodb/mongo-tools/mongodump.(*MongoDump).DumpIntents
      	/data/mci/shell/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongodump/mongodump.go:293 +0x1f3
      

            Assignee:
            mikeo@mongodb.com Michael O'Brien
            Reporter:
            justin.cohler Justin Cohler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: