a bug in the compiler's backend?



Hello,

The compiler locks up when it is given a sequence of arrays.  See
the test IDL file below.  

I updated to the latest glib, libIDL, ORBit2, orbitcpp from CVS,
but the bug occured again.

Is this a known issue?  Thanks,

-- 
Ilguiz Latypov

programmer at DiskStream
Waterloo, Ontario, Canada

===================================================================
$ cat > testarrayseq.idl <<"EOT"
module testarrayseq
{
    typedef octet UUIDArray[16];

    // This will trigger a bug in orbit-idl-2 with the sequence of arrays.
    typedef UUIDArray UUID;

    // This is a work-around to a bug in orbit-idl-2.
    struct UUIDStruct
    {
        UUIDArray arr;
    };
    // typedef UUIDStruct UUID;

    typedef sequence<UUID> Element;
    typedef sequence<Element> Group;
};
EOT

$ orbit-idl-2 --lang=cpp testarrayseq.idl
orbit-idl-2 2.13.0 compiling
  mode, hide preprocessor errors, passes: stubs skels common headers

*** glibc detected *** orbit-idl-2: free(): invalid pointer: 0xbfa5850c ***

===================================================================




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