[bug #26085] infinite recursion in nested structure
Jaroslav Hajek
highegg at gmail.com
Sat Apr 4 14:29:33 CDT 2009
On Sat, Apr 4, 2009 at 3:56 PM, Thorsten Meyer <INVALID.NOREPLY at gnu.org> wrote:
>
> Details:
>
> In todays tip (4218f9515258) I have found a bug reproducible by the example
> below. Apparently, the lazy copying scheme produces an infinite recursion in
> the assignment in line 12.
A fix is uploaded to Savannah. This was caused by the optimizations in
octave_struct::subsasgn aiming to avoid useless copying of field
values in nested assignments. Hopefully it's correct now (it seems
simpler).
It would be nice to have more tests like this one.
> Also, I try the savannah bug tracker with this. I have added the maintainers
> mailing list in the mail cc field. Is that the right way to do it as long as
> we haven't switched to the bug tracker completely?
I can't remember my Savannah password now, so I'll update the tracker
item later. Or do it yourself if you please.
> regards
>
> Thorsten
>
--
RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz
More information about the Bug-octave
mailing list