Giter Club home page Giter Club logo

Comments (5)

bmike78 avatar bmike78 commented on May 15, 2024 1

@apetruhin, @dtemir is working with me.. upgraded coroot to version 0.17.11 and haven't seen any panics in 10 minutes and don't see any panics in the logs, so I think we're good to go. Thanks!

from coroot.

def avatar def commented on May 15, 2024

It looks strange... Usually, in such cases, the full stack trace of the application is written to the log.
If you see it again, please copy the entire log.

from coroot.

dtemir avatar dtemir commented on May 15, 2024

Hi @def! Facing a similar issue. Here's what I can see in standard out

I0706 20:03:51.641696       1 db.go:42] using sqlite database
I0706 20:03:51.788698       1 cache.go:131] cache loaded from disk in 146.310516ms
I0706 20:03:51.788857       1 compaction.go:81] compaction worker started
I0706 20:03:51.891763       1 main.go:140] listening on :8080
I0706 20:03:52.789837       1 updater.go:60] worker iteration for hgc7bthb
I0706 20:03:55.167308       1 constructor.go:113] got 26 nodes, 329 services, 466 applications
panic: runtime error: index out of range [1] with length 1

goroutine 40 [running]:
github.com/coroot/coroot/constructor.getInstanceAndContainer(0xc00021f500, 0x0, 0xfad3bc?, {0x0?, 0x0?})
	/tmp/src/constructor/containers.go:26 +0x87c
github.com/coroot/coroot/constructor.loadContainers(0xc00021f500, 0xbd5ae5?, 0xc00021f500?, 0x2d?)
	/tmp/src/constructor/containers.go:63 +0x1b9a
github.com/coroot/coroot/constructor.(*Constructor).LoadWorld.func7()
	/tmp/src/constructor/constructor.go:105 +0x2c
github.com/coroot/coroot/constructor.(*Profile).stage(0xc00144cbe0?, {0xfafb32?, 0xc0002aa6c0?}, 0xc000580000?)
	/tmp/src/constructor/constructor.go:59 +0x132
github.com/coroot/coroot/constructor.(*Constructor).LoadWorld(0xc00aad4810, {0x1106de8, 0xc00a54dc20}, 0x649ed3ec, 0x649ee184, 0x78, 0x0)
	/tmp/src/constructor/constructor.go:105 +0x5f0
github.com/coroot/coroot/cache.(*recordingRulesProcessor).QueryRange(0xc000274040, {0x1106de8, 0xc00a54dc20}, {0xc0002d6c00, 0x25}, 0x8?, 0x649ee184, 0x20?)
	/tmp/src/cache/updater.go:284 +0x299
github.com/coroot/coroot/cache.(*Cache).download(0xe92ea0?, 0x64a71e28, {0x1102a58, 0xc000274040}, 0xc0001bc180, 0xc000042c00)
	/tmp/src/cache/updater.go:159 +0x1c2
github.com/coroot/coroot/cache.(*Cache).processRecordingRules(0xc0002b9a00, 0xc0005e6270?, 0xc0001bc180, 0x23?)
	/tmp/src/cache/updater.go:264 +0x29c
github.com/coroot/coroot/cache.(*Cache).updaterWorker(0xc0002b9a00, 0xc00071a000?, {0xc0005d42f0, 0x8})
	/tmp/src/cache/updater.go:143 +0x90
created by github.com/coroot/coroot/cache.(*Cache).updater
	/tmp/src/cache/updater.go:45 +0x34a

Running it in K8S and not sure if there is a straightforward way of attaching to the pod because it keeps crashing (the container starts, app breaks, pod gets in CrashLoopBackOff.

Do you have any advice?

from coroot.

def avatar def commented on May 15, 2024

@dtemir, it seems like you're using an outdated version according to the stack trace. Could you please update Coroot to the latest version? If the issue continues to persist even after updating, please provide us with a fresh stack trace. We'll be happy to fix this.

from coroot.

apetruhin avatar apetruhin commented on May 15, 2024

@gdevelek, @dtemir , we've fixed the panic. Please upgrade Coroot to the latest version (0.17.11).

from coroot.

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.