Opened 12 years ago
Closed 12 years ago
#323 closed bug (fixed)
atKill after putting an object into a list
Reported by: | Oleksandr | Owned by: | hannes |
---|---|---|---|
Priority: | major | Milestone: | 3-1-3 and higher |
Component: | memory leak | Version: | 3-1-2 |
Keywords: | attrib, list | Cc: |
Description
attrib.list.tst 3. int R = 666; attrib.list.tst 5. intmat A[2][3]= // x y z attrib.list.tst 6. 1,-2, 1, attrib.list.tst 7. 1, 1, 0; attrib.list.tst 8> intmat T[2][1]= attrib.list.tst 9. 0, attrib.list.tst 10. 2; attrib.list.tst 12. string attrMgrad = "mgrad"; attrib.list.tst 13> string attrGradingGroup = "gradingGroup"; attrib.list.tst 14> attrib(R, attrMgrad, A); attrib.list.tst 15> attrib(R, attrGradingGroup, list(A, T)); attrib.list.tst 17. attrib(R); attr:gradingGroup, type list attr:mgrad, type intmat attrib.list.tst 20. ///////////!!!!!!!!!!!!!!!!!!!!!!!////////////// attrib.list.tst 21. // atKill:: BUG?? attrib.list.tst 22. list L = R; attrib.list.tst 23> L; [1]: 666 attrib.list.tst 24> L[1]; atKill: unknown type(list [449]) of attribute >>gradingGroup<< 666 attrib.list.tst 25> attrib(L[1]); attr:gradingGroup, type list attr:mgrad, type intmat attrib.list.tst 26> kill L; atKill: unknown type(list [449]) of attribute >>gradingGroup<<
Attachments (1)
Change History (4)
Changed 12 years ago by
Attachment: | attrib.list.tst added |
---|
comment:1 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
fixed with revision 13972
comment:2 Changed 12 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Please try the following modification:
echo = 3; ring R = 0,(x,y,z),dp; intmat A[2][3]= // x y z 1,-2, 1, 1, 1, 0; intmat T[2][1]= 0, 2; string attrMgrad = "mgrad"; string attrGradingGroup = "gradingGroup"; attrib(basering, attrMgrad, A); attrib(basering, attrGradingGroup, list(A, T)); attrib(R); ///////////!!!!!!!!!!!!!!!!!!!!!!!////////////// // atKill:: BUG?? list L = R; L; L[1]; attrib(L[1]); kill L; kill R; $$$
comment:3 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
did not occur in the optimized version. assumtion in debug version was too pessimistic. fixed in revision 14012
Note: See
TracTickets for help on using
tickets.
test