| Summary: | herdstat consumes all cpu/memory | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Rob Cakebread (RETIRED) <pythonhead> |
| Component: | New packages | Assignee: | Aaron Walker (RETIRED) <ka0ttic> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Rob Cakebread (RETIRED)
2005-08-28 20:44:11 UTC
ewww. that was the last set of command-line options I was expecting to see when reading the summary (since it's not at all cpu/mem intensive like the -p option). I am able to reproduce it here though, so that's good. Just got home from work, so I'll have a closer look in a bit. Here's our culprit (line 36 of postgis-1.0.1_p20050805.ebuild):
xslv="$(echo ${xslv} | cut -d'-' -f1 )-$(echo ${xslv} | cut -d'-' -f2 )-$(echo
${xslv} | cut -d'-' -f3)"
herdstat tries to do /very/ simple variable substitution so that stuff like
HOMEPAGE="...${PV}..."
etc, get substituted and displayed to the user correctly. For some reason, in
this particular case, the recursion depth safeguard I had in place didn't do
what is was supposed to (break out of the loop if it cannot resolve the variable
after recursing a certain number of times), thus the inf. loop.
I'll do a 1.1.1_p6 some time today.
1.1.1_p6 in cvs. Assuming fixed, closing. |