Giter VIP home page Giter VIP logo

Comments (2)

miolini avatar miolini commented on May 17, 2024
WARNING: DATA RACE
Write by goroutine 11:
  sync/atomic.StoreInt32()
      /tmp/workdir/go/src/runtime/race_amd64.s:215 +0xb
  github.com/meshbird/meshbird/common.(*BaseService).SetStatus()
      /root/go/src/github.com/meshbird/meshbird/common/service.go:32 +0x42
  github.com/meshbird/meshbird/common.(*DiscoveryDHT).Stop()
      /root/go/src/github.com/meshbird/meshbird/common/discovery_dht.go:61 +0x41
  github.com/meshbird/meshbird/common.(*LocalNode).Stop()
      /root/go/src/github.com/meshbird/meshbird/common/localnode.go:97 +0x178
  main.actionJoin.func1()
      /root/go/src/github.com/meshbird/meshbird/main.go:138 +0x7f

Previous read by goroutine 19:
  github.com/meshbird/meshbird/common.(*DiscoveryDHT).Name()
      <autogenerated>:18 +0xc8
  github.com/meshbird/meshbird/common.(*LocalNode).Start.func1()
      /root/go/src/github.com/meshbird/meshbird/common/localnode.go:73 +0x89

Goroutine 11 (running) created at:
  main.actionJoin()
      /root/go/src/github.com/meshbird/meshbird/main.go:142 +0x3c5
  github.com/codegangsta/cli.Command.Run()
      /root/go/src/github.com/codegangsta/cli/command.go:160 +0x1848
  github.com/codegangsta/cli.(*App).Run()
      /root/go/src/github.com/codegangsta/cli/app.go:179 +0x1984
  main.main()
      /root/go/src/github.com/meshbird/meshbird/main.go:79 +0x918
  runtime.main()
      /tmp/workdir/go/src/runtime/proc.go:111 +0x246
  main.init()
      /root/go/src/github.com/meshbird/meshbird/main.go:150 +0x98

Goroutine 19 (running) created at:
  github.com/meshbird/meshbird/common.(*LocalNode).Start()
      /root/go/src/github.com/meshbird/meshbird/common/localnode.go:77 +0x526
  main.actionJoin()
      /root/go/src/github.com/meshbird/meshbird/main.go:144 +0x3d3
  github.com/codegangsta/cli.Command.Run()
      /root/go/src/github.com/codegangsta/cli/command.go:160 +0x1848
  github.com/codegangsta/cli.(*App).Run()
      /root/go/src/github.com/codegangsta/cli/app.go:179 +0x1984
  main.main()
      /root/go/src/github.com/meshbird/meshbird/main.go:79 +0x918
  runtime.main()
      /tmp/workdir/go/src/runtime/proc.go:111 +0x246
  main.init()
      /root/go/src/github.com/meshbird/meshbird/main.go:150 +0x98
==================
Found 1 data race(s)
exit status 66```

from meshbird.

digitalcrab avatar digitalcrab commented on May 17, 2024

Seems to be fixed.

from meshbird.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.