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

mongoexport fails on mac os 10.12.3

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.2.4
    • Component/s: mongoexport
    • Labels:
      None
    • Environment:
      mac os 10.12.3

      mongoexport fails on mac


      error:
      2017-02-13T12:16:57.071+0530 [........................] <XXXX.XXXXX> 0/453 (0.0%)
      failed MSpanList_Insert 0x52e038 0xc49fc6bb4e59 0x0
      fatal error: MSpanList_Insert

      runtime stack:
      runtime.MSpanList_Insert(0x479068, 0x52e038)
      /usr/local/go/src/runtime/mheap.c:692 +0x8f
      runtime.MHeap_FreeStack(0x475c60, 0x52e038)
      /usr/local/go/src/runtime/mheap.c:518 +0x9f

      goroutine 1 [stack growth]:
      gopkg.in/mgo.v2/bson.(*decoder).readElemTo(0xc2081045a0, 0x232e20, 0xc208196770, 0xd4, 0xc208196708, 0xd4)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:440 fp=0xc2081b4368 sp=0xc2081b4360
      gopkg.in/mgo.v2/bson.func- 001(0xc208104508, 0xc2080b2ae9, 0x5)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:378 +0x150 fp=0xc2081b4458 sp=0xc2081b4368
      gopkg.in/mgo.v2/bson.(*decoder).readDocWith(0xc2081045a0, 0xc2081b4550)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:417 +0x14c fp=0xc2081b44b0 sp=0xc2081b4458
      gopkg.in/mgo.v2/bson.(*decoder).readDocElems(0xc2081045a0, 0x518898, 0x29ae40, 0x0, 0x0, 0x0)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:381 +0x125 fp=0xc2081b4570 sp=0xc2081b44b0
      gopkg.in/mgo.v2/bson.(*decoder).readDocTo(0xc2081045a0, 0x29ae40, 0xc208196720, 0xd7)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:217 +0x14dd fp=0xc2081b4828 sp=0xc2081b4570
      gopkg.in/mgo.v2/bson.(*decoder).readElemTo(0xc2081045a0, 0x232e20, 0xc208196710, 0xd4, 0xc208196703, 0x0)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:450 +0x150 fp=0xc2081b4c10 sp=0xc2081b4828
      gopkg.in/mgo.v2/bson.func- 001(0xc208104503, 0xc2080b2b00, 0xd)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:378 +0x150 fp=0xc2081b4d00 sp=0xc2081b4c10
      gopkg.in/mgo.v2/bson.(*decoder).readDocWith(0xc2081045a0, 0xc2081b4df8)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:417 +0x14c fp=0xc2081b4d58 sp=0xc2081b4d00
      gopkg.in/mgo.v2/bson.(*decoder).readDocElems(0xc2081045a0, 0x518898, 0x29ae40, 0x0, 0x0, 0x0)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:381 +0x125 fp=0xc2081b4e18 sp=0xc2081b4d58
      gopkg.in/mgo.v2/bson.(*decoder).readDocTo(0xc2081045a0, 0x29ae40, 0xc2081963c0, 0xd7)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:217 +0x14dd fp=0xc2081b50d0 sp=0xc2081b4e18
      gopkg.in/mgo.v2/bson.(*decoder).readElemTo(0xc2081045a0, 0x232e20, 0xc2081963b0, 0xd4, 0xc208196303, 0x0)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:450 +0x150 fp=0xc2081b54b8 sp=0xc2081b50d0
      gopkg.in/mgo.v2/bson.func- 001(0xc208104503, 0xc2080b28d0, 0xa)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:378 +0x150 fp=0xc2081b55a8 sp=0xc2081b54b8
      gopkg.in/mgo.v2/bson.(*decoder).readDocWith(0xc2081045a0, 0xc2081b56a0)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:417 +0x14c fp=0xc2081b5600 sp=0xc2081b55a8
      gopkg.in/mgo.v2/bson.(*decoder).readDocElems(0xc2081045a0, 0x518898, 0x29ae40, 0x0, 0x0, 0x0)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:381 +0x125 fp=0xc2081b56c0 sp=0xc2081b5600
      gopkg.in/mgo.v2/bson.(*decoder).readDocTo(0xc2081045a0, 0x29ae40, 0xc208196340, 0xd7)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:217 +0x14dd fp=0xc2081b5978 sp=0xc2081b56c0
      gopkg.in/mgo.v2/bson.(*decoder).readElemTo(0xc2081045a0, 0x232e20, 0xc2080b28a0, 0xd4, 0xc2080b2803, 0x0)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:450 +0x150 fp=0xc2081b5d60 sp=0xc2081b5978
      gopkg.in/mgo.v2/bson.(*decoder).readSliceDoc(0xc2081045a0, 0x518898, 0x229fa0, 0x0, 0x0)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:348 +0x38e fp=0xc2081b5f40 sp=0xc2081b5d60
      gopkg.in/mgo.v2/bson.(*decoder).readElemTo(0xc2081045a0, 0x232e20, 0xc208196330, 0xd4, 0xc208196304, 0x0)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:496 +0x2e37 fp=0xc2081b6328 sp=0xc2081b5f40
      gopkg.in/mgo.v2/bson.func- 001(0xc208104504, 0xc2080b2878, 0x8)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:378 +0x150 fp=0xc2081b6418 sp=0xc2081b6328
      gopkg.in/mgo.v2/bson.(*decoder).readDocWith(0xc2081045a0, 0xc2081b6510)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:417 +0x14c fp=0xc2081b6470 sp=0xc2081b6418
      gopkg.in/mgo.v2/bson.(*decoder).readDocElems(0xc2081045a0, 0x518898, 0x29ae40, 0x0, 0x0, 0x0)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:381 +0x125 fp=0xc2081b6530 sp=0xc2081b6470
      gopkg.in/mgo.v2/bson.(*decoder).readDocTo(0xc2081045a0, 0x29ae40, 0xc2081962a0, 0xd7)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:217 +0x14dd fp=0xc2081b67e8 sp=0xc2081b6530
      gopkg.in/mgo.v2/bson.(*decoder).readElemTo(0xc2081045a0, 0x232e20, 0xc208196290, 0xd4, 0xc208196203, 0x0)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:450 +0x150 fp=0xc2081b6bd0 sp=0xc2081b67e8
      gopkg.in/mgo.v2/bson.func- 001(0xc208104503, 0xc2080b2860, 0xc)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:378 +0x150 fp=0xc2081b6cc0 sp=0xc2081b6bd0
      gopkg.in/mgo.v2/bson.(*decoder).readDocWith(0xc2081045a0, 0xc2081b6db8)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:417 +0x14c fp=0xc2081b6d18 sp=0xc2081b6cc0
      gopkg.in/mgo.v2/bson.(*decoder).readDocElems(0xc2081045a0, 0x518898, 0x29ae40, 0x0, 0x0, 0x0)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:381 +0x125 fp=0xc2081b6dd8 sp=0xc2081b6d18
      gopkg.in/mgo.v2/bson.(*decoder).readDocTo(0xc2081045a0, 0x29ae40, 0xc2081961e0, 0xd7)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:217 +0x14dd fp=0xc2081b7090 sp=0xc2081b6dd8
      gopkg.in/mgo.v2/bson.(*decoder).readElemTo(0xc2081045a0, 0x232e20, 0xc2081961d0, 0xd4, 0xc208196103, 0x0)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:450 +0x150 fp=0xc2081b7478 sp=0xc2081b7090
      gopkg.in/mgo.v2/bson.func- 001(0xc208104503, 0xc2080b2840, 0x4)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:378 +0x150 fp=0xc2081b7568 sp=0xc2081b7478
      gopkg.in/mgo.v2/bson.(*decoder).readDocWith(0xc2081045a0, 0xc2081b7660)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:417 +0x14c fp=0xc2081b75c0 sp=0xc2081b7568
      gopkg.in/mgo.v2/bson.(*decoder).readDocElems(0xc2081045a0, 0x518898, 0x29ae40, 0x0, 0x0, 0x0)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:381 +0x125 fp=0xc2081b7680 sp=0xc2081b75c0
      gopkg.in/mgo.v2/bson.(*decoder).readDocTo(0xc2081045a0, 0x29ae40, 0xc208102260, 0xd7)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/decode.go:217 +0x14dd fp=0xc2081b7938 sp=0xc2081b7680
      gopkg.in/mgo.v2/bson.Unmarshal(0xc208164000, 0x6cb3, 0x6cb3, 0x2931c0, 0xc208102260, 0x0, 0x0)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/bson/bson.go:523 +0x27a fp=0xc2081b79f8 sp=0xc2081b7938
      gopkg.in/mgo%2ev2.(*Iter).Next(0xc208154000, 0x2931c0, 0xc208102260, 0x10)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/session.go:3465 +0x58c fp=0xc2081b7b60 sp=0xc2081b79f8
      github.com/mongodb/mongo-tools/mongoexport.(*MongoExport).exportInternal(0xc2081500b0, 0x518ba0, 0xc20803e088, 0x0, 0x0, 0x0)
      /data/mci/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoexport/mongoexport.go:321 +0x873 fp=0xc2081b7cf0 sp=0xc2081b7b60
      github.com/mongodb/mongo-tools/mongoexport.(*MongoExport).Export(0xc2081500b0, 0x518ba0, 0xc20803e088, 0x518ba0, 0x0, 0x0)
      /data/mci/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/mongoexport/mongoexport.go:349 +0x4e fp=0xc2081b7d28 sp=0xc2081b7cf0
      main.main()
      /data/mci/src/src/mongo-tools-repo/mongoexport/main/mongoexport.go:131 +0xf63 fp=0xc2081b7f98 sp=0xc2081b7d28
      runtime.main()
      /usr/local/go/src/runtime/proc.go:63 +0xf3 fp=0xc2081b7fe0 sp=0xc2081b7f98
      runtime.goexit()
      /usr/local/go/src/runtime/asm_amd64.s:2232 +0x1 fp=0xc2081b7fe8 sp=0xc2081b7fe0

      goroutine 5 [syscall]:
      os/signal.loop()
      /usr/local/go/src/os/signal/signal_unix.go:21 +0x1f
      created by os/signal.init- 1
      /usr/local/go/src/os/signal/signal_unix.go:27 +0x35

      goroutine 6 [chan receive]:
      github.com/mongodb/mongo-tools/common/signals.Handle()
      /data/mci/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/signals/signals_unix.go:16 +0x209
      created by main.main
      /data/mci/src/src/mongo-tools-repo/mongoexport/main/mongoexport.go:17 +0x34

      goroutine 7 [select]:
      gopkg.in/mgo%2ev2.(*mongoCluster).syncServersLoop(0xc2080a6000)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/cluster.go:394 +0x606
      created by gopkg.in/mgo%2ev2.newCluster
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/cluster.go:78 +0x20b

      goroutine 8 [sleep]:
      gopkg.in/mgo%2ev2.(*mongoServer).pinger(0xc2080a80e0, 0x1)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/server.go:296 +0x169
      created by gopkg.in/mgo%2ev2.newServer
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/server.go:89 +0x194

      goroutine 33 [sleep]:
      gopkg.in/mgo%2ev2.(*mongoServer).pinger(0xc2080d0000, 0x1)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/server.go:296 +0x169
      created by gopkg.in/mgo%2ev2.newServer
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/server.go:89 +0x194

      goroutine 34 [IO wait]:
      net.(*pollDesc).Wait(0xc2080f0060, 0x72, 0x0, 0x0)
      /usr/local/go/src/net/fd_poll_runtime.go:84 +0x47
      net.(*pollDesc).WaitRead(0xc2080f0060, 0x0, 0x0)
      /usr/local/go/src/net/fd_poll_runtime.go:89 +0x43
      net.(*netFD).Read(0xc2080f0000, 0xc2080984b0, 0x24, 0x24, 0x0, 0x518af8, 0xc20810a300)
      /usr/local/go/src/net/fd_unix.go:242 +0x40f
      net.(*conn).Read(0xc2080f4000, 0xc2080984b0, 0x24, 0x24, 0x0, 0x0, 0x0)
      /usr/local/go/src/net/net.go:121 +0xdc
      gopkg.in/mgo%2ev2.fill(0x51bd60, 0xc2080f4000, 0xc2080984b0, 0x24, 0x24, 0x0, 0x0)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/socket.go:530 +0x75
      gopkg.in/mgo%2ev2.(*mongoSocket).readLoop(0xc2080d00e0)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/socket.go:547 +0x126
      created by gopkg.in/mgo%2ev2.newSocket
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/socket.go:194 +0x3d3

      goroutine 65 [IO wait]:
      net.(*pollDesc).Wait(0xc2080108b0, 0x72, 0x0, 0x0)
      /usr/local/go/src/net/fd_poll_runtime.go:84 +0x47
      net.(*pollDesc).WaitRead(0xc2080108b0, 0x0, 0x0)
      /usr/local/go/src/net/fd_poll_runtime.go:89 +0x43
      net.(*netFD).Read(0xc208010850, 0xc20820369e, 0x4512, 0x4512, 0x0, 0x518af8, 0xc20810a020)
      /usr/local/go/src/net/fd_unix.go:242 +0x40f
      net.(*conn).Read(0xc208106000, 0xc20820369e, 0x4512, 0x4512, 0x0, 0x0, 0x0)
      /usr/local/go/src/net/net.go:121 +0xdc
      gopkg.in/mgo%2ev2.fill(0x51bd60, 0xc208106000, 0xc208202004, 0x5bac, 0x5bac, 0x0, 0x0)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/socket.go:533 +0x11c
      gopkg.in/mgo%2ev2.(*mongoSocket).readLoop(0xc20810c000)
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/socket.go:606 +0xd56
      created by gopkg.in/mgo%2ev2.newSocket
      /data/mci/src/src/mongo-tools-repo/vendor/src/gopkg.in/mgo.v2/socket.go:194 +0x3d3

      goroutine 12 [select]:
      github.com/mongodb/mongo-tools/common/progress.(*Manager).start(0xc20809c4c0)
      /data/mci/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/progress/manager.go:126 +0x140
      created by github.com/mongodb/mongo-tools/common/progress.(*Manager).Start
      /data/mci/src/src/mongo-tools-repo/.gopath/src/github.com/mongodb/mongo-tools/common/progress/manager.go:115 +0xc7

            Assignee:
            Unassigned Unassigned
            Reporter:
            zoli vinesh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: