Code Monkey home page Code Monkey logo

Comments (5)

laiwei avatar laiwei commented on July 3, 2024

@niean

from graph.

niean avatar niean commented on July 3, 2024

把你panic的日志,贴一下~~

from graph.

huzhengchuan avatar huzhengchuan commented on July 3, 2024

2015/06/01 23:10:55 cfg.go:80: read config file: cfg.json successfully
2015/06/01 23:10:55 db.go:58: makeDbConn root:Wxt130506@tcp(127.0.0.1:3306)/graph?loc=Local&parseTime=true
2015/06/01 23:10:55 db.go:27: g.InitDB, ok
2015/06/01 23:10:55 index.go:14: index:Start, ok
2015/06/01 23:10:55 rpc.go:53: rpc listening 0.0.0.0:6070
2015/06/01 23:10:55 http.go:87: http listening 0.0.0.0:6071
2015/06/01 23:10:55 main.go:23: 3281 register signal notify
panic: runtime error: index out of range

goroutine 20 [running]:
runtime.panic(0x82c7fa0, 0x8649e57)
/usr/lib/go/src/pkg/runtime/panic.c:266 +0x9a
github.com/open-falcon/graph/store.(_GraphItemMap).First(0x1891c360, 0x189cc8a0, 0x20, 0x0)
/opt/devops/open-falcon/src/github.com/open-falcon/graph/store/store.go:70 +0x12f
github.com/open-falcon/graph/api.handleItems(0x189cb160, 0x56, 0x56)
/opt/devops/open-falcon/src/github.com/open-falcon/graph/api/graph.go:59 +0x111
created by github.com/open-falcon/graph/api.(_Graph).Send
/opt/devops/open-falcon/src/github.com/open-falcon/graph/api/graph.go:27 +0x3f

goroutine 1 [chan receive]:
main.start_signal(0xcd1, 0x1891cd50, 0x28, 0x189008e8, 0x4, ...)
/opt/devops/open-falcon/src/github.com/open-falcon/graph/main.go:27 +0x1b5
main.main()
/opt/devops/open-falcon/src/github.com/open-falcon/graph/main.go:82 +0x2a0

goroutine 3 [syscall]:
runtime.goexit()
/usr/lib/go/src/pkg/runtime/proc.c:1394

from graph.

niean avatar niean commented on July 3, 2024

遍历测试,问题没有复现。可能跟环境有关。私聊下吧。

from graph.

niean avatar niean commented on July 3, 2024

32位golang,uint32强转int为32、存在溢出问题。已修改代码中的问题。

from graph.

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.