Summary: | bounded sequence allocation problem | ||
---|---|---|---|
Product: | TAO | Reporter: | Stanislaw Trytek <tryteks> |
Component: | other | Assignee: | DOC Center Support List (internal) <tao-support> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | P1 | ||
Version: | 1.5.9 | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | regression test |
Description
Stanislaw Trytek
2007-08-14 06:41:41 CDT
please provide an automated regression test as reproducer. Use one of the existing tests as base and don't use anything like stl, streams. Created attachment 845 [details]
regression test
This test creates very simple recursive bounded sequence and exits with SEGV fault
thanks for the regression test, I will have a look Wed Aug 15 11:21:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl> * tao/Bounded_Array_Allocation_Traits_T.h: * tao/Bounded_Reference_Allocation_Traits_T.h: * tao/Bounded_Value_Allocation_Traits_T.h: * tao/Valuetype/Bounded_Valuetype_Allocation_Traits_T.h: Don't preallocate all sequence members when using bound sequences, this could lead to a stack overflow when using recursive types as described in bugzilla 3042. Thanks to Stanislaw Trytek <tryteks at pit dot edu dot pl> for reporting this. * tests/Bug_3042_Regression/*: New regression test for bug 3042, thanks to Stanislaw Trytek <tryteks at pit dot edu dot pl> for creating this one |