jandelgado/rabtap

rabtap info: runtime: goroutine stack exceeds 1000000000-byte limit

JaSei opened this issue · 5 comments

JaSei commented

Hi, it looks like on bigger cluster rabtap info crash (both variant - text in dot format)
rabtap v1.22

in our cluster is 475 exchanges and 551 queues

I tried filter command (like --filter "queue.Consumers > 30") but it doesn't help.

stacktrace example:

rabtap info --show-default -k --format dot
runtime: goroutine stack exceeds 1000000000-byte limit
fatal error: stack overflow

runtime stack:
runtime.throw(0x85df9a, 0xe)
	/home/travis/.gimme/versions/go1.12.16.linux.amd64/src/runtime/panic.go:617 +0x72
runtime.newstack()
	/home/travis/.gimme/versions/go1.12.16.linux.amd64/src/runtime/stack.go:1041 +0x6f0
runtime.morestack()
	/home/travis/.gimme/versions/go1.12.16.linux.amd64/src/runtime/asm_amd64.s:429 +0x8f

goroutine 1 [running]:
runtime.heapBitsSetType(0xc01a506450, 0x10, 0x10, 0x804c60)
	/home/travis/.gimme/versions/go1.12.16.linux.amd64/src/runtime/mbitmap.go:938 +0xa56 fp=0xc028000348 sp=0xc028000340 pc=0x415cd6
runtime.mallocgc(0x10, 0x804c60, 0x1, 0x0)
	/home/travis/.gimme/versions/go1.12.16.linux.amd64/src/runtime/malloc.go:969 +0x51c fp=0xc0280003e8 sp=0xc028000348 pc=0x40ba1c
runtime.newobject(0x804c60, 0x0)
	/home/travis/.gimme/versions/go1.12.16.linux.amd64/src/runtime/malloc.go:1068 +0x38 fp=0xc028000418 sp=0xc0280003e8 pc=0x40c078
github.com/Knetic/govaluate.EvaluableExpression.Eval(0x8665b3, 0x22, 0x1, 0xc000176d80, 0x1, 0x1, 0xc0000a9810, 0xc00002618b, 0x4, 0x8e8fc0, ...)
	/home/travis/gopath/pkg/mod/github.com/!knetic/govaluate@v0.0.0-20171022003610-9aa49832a739/EvaluableExpression.go:158 +0x10d fp=0xc0280004a8 sp=0xc028000418 pc=0x75972d
github.com/Knetic/govaluate.EvaluableExpression.Evaluate(0x8665b3, 0x22, 0x1, 0xc000176d80, 0x1, 0x1, 0xc0000a9810, 0xc00002618b, 0x4, 0xc0185bcc90, ...)
	/home/travis/gopath/pkg/mod/github.com/!knetic/govaluate@v0.0.0-20171022003610-9aa49832a739/EvaluableExpression.go:137 +0x8b fp=0xc028000530 sp=0xc0280004a8 pc=0x75953b
main.PredicateExpression.Eval(0xc0000a97c0, 0xc0185bcc90, 0xc028000690, 0xc0185b5ce0, 0xc018609e60)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/predicate.go:44 +0xb8 fp=0xc0280005f8 sp=0xc028000530 pc=0x77fa38
main.(*PredicateExpression).Eval(0xc0001a60b8, 0xc0185bcc90, 0x85c070, 0x8, 0xc018609f08)
	<autogenerated>:1 +0x46 fp=0xc028000630 sp=0xc0280005f8 pc=0x784016
main.defaultBrokerInfoTreeBuilder.shouldDisplayQueue(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:144 +0x270 fp=0xc0280008f0 sp=0xc028000630 pc=0x76faf0
main.defaultBrokerInfoTreeBuilder.createQueueNodeFromBinding(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc000248990, 0xf, 0xc000248986, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:199 +0x1e0 fp=0xc028001038 sp=0xc0280008f0 pc=0x7705b0
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:237 +0x3d1 fp=0xc0280014f8 sp=0xc028001038 pc=0x770d41
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc0280019b8 sp=0xc0280014f8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028001e78 sp=0xc0280019b8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028002338 sp=0xc028001e78 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc0280027f8 sp=0xc028002338 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028002cb8 sp=0xc0280027f8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028003178 sp=0xc028002cb8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028003638 sp=0xc028003178 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028003af8 sp=0xc028003638 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028003fb8 sp=0xc028003af8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028004478 sp=0xc028003fb8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028004938 sp=0xc028004478 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028004df8 sp=0xc028004938 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc0280052b8 sp=0xc028004df8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028005778 sp=0xc0280052b8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028005c38 sp=0xc028005778 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc0280060f8 sp=0xc028005c38 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc0280065b8 sp=0xc0280060f8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028006a78 sp=0xc0280065b8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028006f38 sp=0xc028006a78 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc0280073f8 sp=0xc028006f38 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc0280078b8 sp=0xc0280073f8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028007d78 sp=0xc0280078b8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028008238 sp=0xc028007d78 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc0280086f8 sp=0xc028008238 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028008bb8 sp=0xc0280086f8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028009078 sp=0xc028008bb8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028009538 sp=0xc028009078 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc0280099f8 sp=0xc028009538 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028009eb8 sp=0xc0280099f8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc02800a378 sp=0xc028009eb8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc02800a838 sp=0xc02800a378 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc02800acf8 sp=0xc02800a838 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc02800b1b8 sp=0xc02800acf8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc02800b678 sp=0xc02800b1b8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc02800bb38 sp=0xc02800b678 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc02800bff8 sp=0xc02800bb38 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc02800c4b8 sp=0xc02800bff8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc02800c978 sp=0xc02800c4b8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc02800ce38 sp=0xc02800c978 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc02800d2f8 sp=0xc02800ce38 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc02800d7b8 sp=0xc02800d2f8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc02800dc78 sp=0xc02800d7b8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc02800e138 sp=0xc02800dc78 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc02800e5f8 sp=0xc02800e138 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc02800eab8 sp=0xc02800e5f8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc02800ef78 sp=0xc02800eab8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc02800f438 sp=0xc02800ef78 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc02800f8f8 sp=0xc02800f438 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc02800fdb8 sp=0xc02800f8f8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028010278 sp=0xc02800fdb8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028010738 sp=0xc028010278 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028010bf8 sp=0xc028010738 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc0280110b8 sp=0xc028010bf8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028011578 sp=0xc0280110b8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028011a38 sp=0xc028011578 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028011ef8 sp=0xc028011a38 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc0280123b8 sp=0xc028011ef8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028012878 sp=0xc0280123b8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028012d38 sp=0xc028012878 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc0280131f8 sp=0xc028012d38 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc0280136b8 sp=0xc0280131f8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028013b78 sp=0xc0280136b8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028014038 sp=0xc028013b78 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc0280144f8 sp=0xc028014038 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc0280149b8 sp=0xc0280144f8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028014e78 sp=0xc0280149b8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028015338 sp=0xc028014e78 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc0280157f8 sp=0xc028015338 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028015cb8 sp=0xc0280157f8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028016178 sp=0xc028015cb8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028016638 sp=0xc028016178 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028016af8 sp=0xc028016638 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028016fb8 sp=0xc028016af8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028017478 sp=0xc028016fb8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028017938 sp=0xc028017478 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028017df8 sp=0xc028017938 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc0280182b8 sp=0xc028017df8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028018778 sp=0xc0280182b8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028018c38 sp=0xc028018778 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc0280190f8 sp=0xc028018c38 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc0280195b8 sp=0xc0280190f8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028019a78 sp=0xc0280195b8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc028019f38 sp=0xc028019a78 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc02801a3f8 sp=0xc028019f38 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc02801a8b8 sp=0xc02801a3f8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc02801ad78 sp=0xc02801a8b8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc02801b238 sp=0xc02801ad78 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc02801b6f8 sp=0xc02801b238 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc02801bbb8 sp=0xc02801b6f8 pc=0x770eaa
main.defaultBrokerInfoTreeBuilder.createExchangeNode(0xc000024371, 0xa, 0x1, 0x8e8720, 0xc0001a60b8, 0x0, 0xc0001a0360, 0xf, 0xc0001a0350, 0x7, ...)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/broker_info_tree_builder.go:231 +0x53a fp=0xc02801c078 sp=0xc02801bbb8 pc=0x770eaa
...additional frames elided...

goroutine 5 [syscall]:
os/signal.signal_recv(0x0)
	/home/travis/.gimme/versions/go1.12.16.linux.amd64/src/runtime/sigqueue.go:139 +0x9c
os/signal.loop()
	/home/travis/.gimme/versions/go1.12.16.linux.amd64/src/os/signal/signal_unix.go:23 +0x22
created by os/signal.init.0
	/home/travis/.gimme/versions/go1.12.16.linux.amd64/src/os/signal/signal_unix.go:29 +0x41

goroutine 7 [select]:
main.main.func2(0xc00001f4a0, 0xc0001a2700, 0x8ef960, 0xc0001a4300)
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/main.go:219 +0xb7
created by main.main
	/home/travis/gopath/src/github.com/jandelgado/rabtap/cmd/rabtap/main.go:218 +0x3a9

Thanks for the report!

This looks like an endless-recursion problem. Could it be that you have an exchange-to-exchange binding where an exchange is bound to iteself or a binding that yields to a cycle? Anyhow I'll do some research on the problem and provide a fix.

I did a quick check: it's possible to bind an exchange to itself. This in deed would lead to the above described error. Will provide a fix after the weekend.

check the mentioned branch for a fix. Release will follow

@JaSei , were you able do to a retest with the new version?

JaSei commented

Hi, @jandelgado works with charm, thank you for the quick fix.

I don't found recursing exchange binding, but there is a lot of exchanges. I hope rabtap info help mi with exposed problematics bindings 😄