recursive IDL datatype problem



Hi,
I'm using ORBit 0.5.0, perl 5.005_03 and CORBA::ORBit 0.4.3 on RedHat Linux
2.2.14-6.1.1smp.  If the following idl is loaded by CORBA::ORBit::load_idl,
perl seg faults.  If the recursive element of the ExpressionTree union is
removed, perl no longer seg faults.

Is this a known problem?  If so, are there any solutions/workarounds?

Many thanks in advance,
Peter.

START OF IDL===================


#ifndef _FILTERTEST_IDL
#define _FILTERTEST_IDL

#pragma prefix "anvil.com"

module ate {

    enum ExpressionTreeNodeType {
        NT_NADIC,
        NT_NILADIC
    };

    union ExpressionTree switch (ExpressionTreeNodeType) {
    case NT_NADIC:
        struct NadicItem {
            sequence<ExpressionTree> operands;
        } nadic;

    case NT_NILADIC:
        long x;
    };

};
#endif





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]