Burrow pegs 100% CPU, never returns, stops responding.
slavitch opened this issue · 1 comments
slavitch commented
I'm seeing a 100% CPU issue. Burrow 0.29.5, pegs 100% CPU when running a search through smart contracts, as follows:
function list_TA_Email(string memory _TA_Email) view public returns (string memory List) {
string memory d = '{';
uint c = 0;
while (contracts[c].init){
if (JsmnSolLib.strCompare(_TA_Email,contracts[c].TA_Email) == 0){
ContractTemplate storage con = contracts[c];
string memory i = '';
i = JSONish_string_append(i,'"',JsmnSolLib.uint2str(c),'":');
d = JSONish_string_append(d,i,con.JSON_RAW,'');
c+=1;
if (contracts[c].init){
d = JSONish_string_append(d,',','','');
}
}
}
d = JSONish_string_append(d,'}','','');
return(d);
}
The behavior only happens with a long-lived burrow session, over 24 hours.
slavitch commented
Closing as it's an infinite loop issue.