ORBit2 compile problem / segfault in orbit-idl-2
- From: Andreas Haumer <andreas xss co at>
- To: orbit-list gnome org
- Subject: ORBit2 compile problem / segfault in orbit-idl-2
- Date: Sun, 08 Jan 2006 14:38:13 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
When compiling ORBit2-2.12.4 I sometimes see a segfault
in orbit-idl-2 and the build terminates as follows:
[...]
Making all in orb-core
make[8]: Entering directory `/work/genesis/rpm/BUILD/ORBit2-2.12.4/include/orbit/orb-core'
(rm -f corba-defs.h corba-defs-stubs.c corba-defs-skels.c corba-defs-common.c corba-defs-imodule.c corba-defs-skelimpl.c || true) > /dev/null
(rm -f iop-defs.h iop-defs-stubs.c iop-defs-skels.c iop-defs-common.c iop-defs-imodule.c iop-defs-skelimpl.c || true) > /dev/null
../../../src/idl-compiler/orbit-idl-2 -I../../../src/idl/CORBA_PIDL -I../../../src/idl/CORBA -I../../../src/idl/interop -I../../../src/orb/orb-core --noskels --nodefskels --nostubs --noidata --nocomm
on --showcpperrors --define=Object=OObject --define=TypeCode=TTypeCode --deps ./.deps/iop-defs.idl.P ../../../src/orb/orb-core/iop-defs.idl
../../../src/idl-compiler/orbit-idl-2 -I../../../src/idl/CORBA_PIDL -I../../../src/idl/CORBA -I../../../src/idl/interop -I../../../src/orb/orb-core --noskels --nodefskels --nostubs --noidata --nocomm
on --showcpperrors --define=Object=OObject --define=TypeCode=TTypeCode --deps ./.deps/corba-defs.idl.P ../../../src/orb/orb-core/corba-defs.idl
orbit-idl-2 2.12.4 compiling
mode, show preprocessor errors, passes: headers
for I in iop-defs.h iop-defs-stubs.c iop-defs-skels.c iop-defs-common.c iop-defs-imodule.c iop-defs-skelimpl.c; do \
if test -f $I; then \
sed -e 's,OObject,Object,g' -e 's,TTypeCode,TypeCode,g' $I > $I.out; \
mv $I.out $I ; \
fi; \
done
** (process:11061): WARNING **: failed to create '.deps' directory 'File exists'
** (process:11061): CRITICAL **: orbit_idl_output_c_deps: assertion `ci->fh != NULL' failed
make[8]: *** [corba-defs.h] Segmentation fault
make[8]: *** Deleting file `corba-defs.h'
make[8]: *** Waiting for unfinished jobs....
make[8]: Leaving directory `/work/genesis/rpm/BUILD/ORBit2-2.12.4/include/orbit/orb-core'
[...]
This error does not occur every time but about in one out
of ten compile attempts on all SMP machines I have tested
(Dual Xeon, Dual Opteron, Hyperthreaded Pentium4).
The build systems are all running Linux (kernel 2.4.31) with
glibc-2.3.5, gcc-3.3.4 and make-3.80
I'm using parallel builds ("make -j2") and looking at the
messages I think this might be the initial trigger for the
problem:
a) "make" decides to start two orbit-idl-2 jobs in parallel
b) depending on some random timing issue, one of the
orbit-idl-2 jobs has a problem with a ".deps" directory
created by the other orbit-idl-2 job (see WARNING)
c) This leads to an assertion failure and the orbit-idl-2
process segfaults
I think there are two problems (I'm not sure if I should
call it a "bug"):
1) The Makefile in orb-core is not "parallel build" ready
due to some missing dependency.
2) orbit-idl-2 segfaults when it finds some unusual situation
It's not a big problem, but I figured I'd report it anyway.
Regards,
- - andreas
- --
Andreas Haumer | mailto:andreas xss co at
*x Software + Systeme | http://www.xss.co.at/
Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0
A-1100 Vienna, Austria | Fax: +43-1-6060114-71
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDwRXBxJmyeGcXPhERAlbTAKC1juEdfD9yYnPWbjrbR8nGjtPe8QCgipQm
LAqy346+uXpUoSsD+4CkpCg=
=VFaQ
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]