Comment 4 for bug 1903202

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 1903202] Re: juju machine agent runtime panic

It happens if we get an error will issuing a removeAll command. It is
possible that the list of transactions has gotten large enough it is
causing problems for pruning to clean it up, or there is some other sort of
interaction that is causing more problems.

On Fri, Nov 6, 2020 at 3:45 PM Colin Misare <email address hidden>
wrote:

> We saw a second instance of this issue on a different machine in the
> same environment. Is it possible something in this environment is
> exacerbating the transaction behavior causing these nil pointers to
> appear more frequently?
>
>
> 2020-11-06 18:51:01 ERROR juju.worker.dependency engine.go:671
> "firewaller" manifold worker returned unexpected error: machine 5 not
> provisioned
> panic: runtime error: invalid memory address or nil pointer dereference
> [signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0xdbd38d]
>
> goroutine 27078232 [running]:
> github.com/juju/txn.(*IncrementalPruner).removeTxns.func1(0xc00cd80c90,
> 0xc011a7a000, 0x3e8, 0x3e8, 0xc010992780, 0xc01ac30fc0, 0xc0114cd0e0,
> 0xc00c522200)
> /workspace/_build/src/
> github.com/juju/juju/vendor/github.com/juju/txn/incrementalprune.go:722
> +0x1ed
> created by github.com/juju/txn.(*IncrementalPruner).removeTxns
> /workspace/_build/src/
> github.com/juju/juju/vendor/github.com/juju/txn/incrementalprune.go:717
> +0x161
> 2020-11-06 18:51:13 INFO juju.cmd supercommand.go:54 running jujud [2.8.3
> 0 ab69570b38fbc746e54184e4c3274612bcbb8327 gc go1.14.9]
> 2020-11-06 18:51:13 DEBUG juju.cmd supercommand.go:55 args:
> []string{"/var/lib/juju/tools/machine-2/jujud", "machine", "--data-dir",
> "/var/lib/juju", "--machine-id", "2", "--debug"}
> 2020-11-06 18:51:13 DEBUG juju.utils gomaxprocs.go:24 setting GOMAXPROCS
> to 4
> 2020-11-06 18:51:13 DEBUG juju.agent agent.go:583 read agent config,
> format "2.0"
> 2020-11-06 18:51:13 INFO juju.cmd.jujud agent.go:138 setting logging
> config to "<root>=WARNING;unit=DEBUG"
>
> --
> You received this bug notification because you are a bug assignee.
> Matching subscriptions: juju bugs
> https://bugs.launchpad.net/bugs/1903202
>
> Title:
> juju machine agent runtime panic
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1903202/+subscriptions
>