Orbit idl compiler questions



Orbit IDL compilers faults on:

interface test {

	typedef struct foo {
		long value;
		sequence<foo> chain;
	} tee; // CORBA spec 3-25
	void name (in tee bar);
};

#0  0x4010299e in malloc () from /lib/libc.so.6
#1  0x401040f5 in calloc () from /lib/libc.so.6
#2  0x4005747f in g_malloc0 () from /usr/lib/libglib-1.2.so.0
#3  0x804be7c in oidl_marshal_node_new (parent=0x8d7c348, type=MARSHAL_SET, name=0x0)
    at orbit-idl-genmarshal.c:13
#4  0x804c582 in marshal_populate (tree=0x806eaf0, parent=0x8d7c348, is_out=0, 
    pi=0xbffff0e8) at orbit-idl-genmarshal.c:332
#5  0x804c935 in marshal_populate (tree=0x806e980, parent=0x8d7c348, is_out=0, 
    pi=0xbffff0e8) at orbit-idl-genmarshal.c:397
... 

IMO standard allows this construct, but orbit-idl hangs in a recursion.

-- 
Ivica Loncar





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