Giter VIP home page Giter VIP logo

e12bot's People

Contributors

blang avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

e12bot's Issues

Panic: Index out of range

Index out of bounds panic
https://github.com/blang/e12bot/blob/master/bot.go#L268

panic: runtime error: index out of range

goroutine 316679 [running]:
runtime.panic(0x6c2e40, 0x88dbbc)
        /home/ben/goruntime/go/src/pkg/runtime/panic.c:279 +0xf5
main.HTTPGet(0xc2081411a0, 0x30, 0x0, 0x0, 0x0, 0x0, 0x0)
        /home/ben/goprojects/src/github.com/blang/e12bot/bot.go:268 +0x332
main.processTopic(0xc2080d59a0)
        /home/ben/goprojects/src/github.com/blang/e12bot/bot.go:149 +0x46e
created by main.processTopics
        /home/ben/goprojects/src/github.com/blang/e12bot/bot.go:104 +0x420

goroutine 16 [semacquire]:
sync.runtime_Semacquire(0xc2080b4f10)
        /home/ben/goruntime/go/src/pkg/runtime/sema.goc:199 +0x30
sync.(*WaitGroup).Wait(0x892c90)
        /home/ben/goruntime/go/src/pkg/sync/waitgroup.go:129 +0x14b
main.main()
        /home/ben/goprojects/src/github.com/blang/e12bot/bot.go:65 +0xab

goroutine 19 [finalizer wait, 52800 minutes]:
runtime.park(0x416530, 0x891bd8, 0x88fe69)
        /home/ben/goruntime/go/src/pkg/runtime/proc.c:1369 +0x89
runtime.parkunlock(0x891bd8, 0x88fe69)
        /home/ben/goruntime/go/src/pkg/runtime/proc.c:1385 +0x3b
runfinq()
        /home/ben/goruntime/go/src/pkg/runtime/mgc0.c:2644 +0xcf
runtime.goexit()
        /home/ben/goruntime/go/src/pkg/runtime/proc.c:1445

goroutine 20 [IO wait, 52800 minutes]:
net.runtime_pollWait(0x7f59def53878, 0x72, 0x0)
        /home/ben/goruntime/go/src/pkg/runtime/netpoll.goc:146 +0x66
net.(*pollDesc).Wait(0xc20802b090, 0x72, 0x0, 0x0)
        /home/ben/goruntime/go/src/pkg/net/fd_poll_runtime.go:84 +0x46
net.(*pollDesc).WaitRead(0xc20802b090, 0x0, 0x0)
        /home/ben/goruntime/go/src/pkg/net/fd_poll_runtime.go:89 +0x42
net.(*netFD).accept(0xc20802b030, 0x789880, 0x0, 0x7f59def52418, 0xb)
        /home/ben/goruntime/go/src/pkg/net/fd_unix.go:419 +0x343
net.(*TCPListener).AcceptTCP(0xc20803a040, 0x7f59dedcbdd8, 0x0, 0x0)
        /home/ben/goruntime/go/src/pkg/net/tcpsock_posix.go:234 +0x5d
net/http.tcpKeepAliveListener.Accept(0xc20803a040, 0x0, 0x0, 0x0, 0x0)
        /home/ben/goruntime/go/src/pkg/net/http/server.go:1947 +0x4b
net/http.(*Server).Serve(0xc208004360, 0x7f59def53928, 0xc20803a040, 0x0, 0x0)
        /home/ben/goruntime/go/src/pkg/net/http/server.go:1698 +0x91
net/http.(*Server).ListenAndServe(0xc208004360, 0x0, 0x0)
        /home/ben/goruntime/go/src/pkg/net/http/server.go:1688 +0x14d
net/http.ListenAndServe(0x7fff10fd975a, 0x5, 0x0, 0x0, 0x0, 0x0)
        /home/ben/goruntime/go/src/pkg/net/http/server.go:1778 +0x79
main.startServer()
        /home/ben/goprojects/src/github.com/blang/e12bot/bot.go:76 +0x67
created by main.main
        /home/ben/goprojects/src/github.com/blang/e12bot/bot.go:59 +0x2b

goroutine 316677 [select]:
net/http.(*persistConn).writeLoop(0xc208042370)
        /home/ben/goruntime/go/src/pkg/net/http/transport.go:885 +0x38f
created by net/http.(*Transport).dialConn
        /home/ben/goruntime/go/src/pkg/net/http/transport.go:601 +0x957

goroutine 17 [syscall, 52800 minutes]:
runtime.goexit()
        /home/ben/goruntime/go/src/pkg/runtime/proc.c:1445

goroutine 316676 [IO wait]:
net.runtime_pollWait(0x7f59def53508, 0x72, 0x0)
        /home/ben/goruntime/go/src/pkg/runtime/netpoll.goc:146 +0x66
net.(*pollDesc).Wait(0xc2080c46f0, 0x72, 0x0, 0x0)
        /home/ben/goruntime/go/src/pkg/net/fd_poll_runtime.go:84 +0x46
net.(*pollDesc).WaitRead(0xc2080c46f0, 0x0, 0x0)
        /home/ben/goruntime/go/src/pkg/net/fd_poll_runtime.go:89 +0x42
net.(*netFD).Read(0xc2080c4690, 0xc20812e000, 0x1000, 0x1000, 0x0, 0x7f59def52418, 0xb)
        /home/ben/goruntime/go/src/pkg/net/fd_unix.go:242 +0x34c
net.(*conn).Read(0xc20803a098, 0xc20812e000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
        /home/ben/goruntime/go/src/pkg/net/net.go:122 +0xe7
net/http.noteEOFReader.Read(0x7f59def539e8, 0xc20803a098, 0xc2080423c8, 0xc20812e000, 0x1000, 0x1000, 0x8a3b40, 0x0, 0x0)
        /home/ben/goruntime/go/src/pkg/net/http/transport.go:1203 +0x72
net/http.(*noteEOFReader).Read(0xc2080fc600, 0xc20812e000, 0x1000, 0x1000, 0xc20804e200, 0x0, 0x0)
        <autogenerated>:124 +0xca
bufio.(*Reader).fill(0xc208004960)

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.