Thanks for writing this bug report and help making Ubuntu better.
I'd like to take a step back here and ask a few questions regarding the bug description. The errors you mentioned seem to be related to the $stopcond variable that gets created on line 884, like this:
my $stopcond = $state->{'stopconds'}[$stopcond_num];
And $stopcond_num is defined as:
my $stopcond_num = $i % $num_stopconds;
However, your proposed solution is refers to the another section of that function. I'm trying to understand if there are other errors you may have seen but haven't posted here, maybe?
Could you please provide a bit more details on the warning/error messages you're seeing here? Also, a reproducer would be really helpful. I spent some time reading the code in question and I could not find how $state->{'stopconds'} can be undefined in this case.
Anyway, sorry for taking long to reply and let me know if you're still experiencing this problem.
Thanks for writing this bug report and help making Ubuntu better.
I'd like to take a step back here and ask a few questions regarding the bug description. The errors you mentioned seem to be related to the $stopcond variable that gets created on line 884, like this:
my $stopcond = $state- >{'stopconds' }[$stopcond_ num];
And $stopcond_num is defined as:
my $stopcond_num = $i % $num_stopconds;
However, your proposed solution is refers to the another section of that function. I'm trying to understand if there are other errors you may have seen but haven't posted here, maybe?
Could you please provide a bit more details on the warning/error messages you're seeing here? Also, a reproducer would be really helpful. I spent some time reading the code in question and I could not find how $state- >{'stopconds' } can be undefined in this case.
Anyway, sorry for taking long to reply and let me know if you're still experiencing this problem.
Thanks in advance.