Re: [Orbit-python-list] Problem with parsing of recursive structs in IDL
Status: Inactive
Brought to you by:
tack
From: Christian R. R. <ki...@as...> - 2001-08-29 03:44:44
|
On Tue, 28 Aug 2001, Brad Chapman wrote: > narrowing down, it appears as if this is a minimal IDL that will > cause the problem: > > struct RecursiveStruct { > sequence <RecursiveStruct> inner_struct; > }; > > interface ProblemInterface { > attribute RecursiveStruct problem_item; > }; Minimal, but 3vil. Do you have a simple test script I can integrate to the test-suite so we guarantee it's fixed and stays fixed over versions? > The idea is that you have a struct that has, as one of its member, a > list of itself (in the IDL that I'm working on this is used to descend > a sort of "tree" of items). When a struct like this is present inside > an interface, it will cause the problem. gdb gives a trace that looks > like: By list of itself you mean "list of things of the same type as it", right? Take care, -- Christian Reis, Senior Engineer, Async Open Source, Brazil. http://async.com.br/~kiko/ | [+55 16] 272 3330 | NMFL |