hello,
 
i tried to build mico 2.3.11 RC3 on AIX 4.3.3 with g++ 3.3.1 and got the following error message
 
gmake[2]: Entering directory `/home/temp/mico/coss/naming'
/home/temp/mico/./idl/idl --c++-skel --name CosNaming \
        ../../include/coss/CosNaming.idl
gmake[2]: *** [CosNaming.cc] Segmentation fault (core dumped)
gmake[2]: *** Deleting file `CosNaming.cc'
gmake[2]: Leaving directory `/home/temp/mico/coss/naming'
gmake[1]: *** [idlcompile] Error 1
gmake[1]: Leaving directory `/home/temp/mico/coss'
gmake: *** [system] Error 1

I tried an older mico version 2.3.6 and got the same result.

gdb gave some additional information

Core was generated by `idl'.
Program terminated with signal 11, Segmentation fault.
(no debugging symbols found)...
#0  0xd03cf330 in _ZNSt24__default_alloc_templateILb1ELi0EE10deallocateEPvm (
    __p=<incomplete type>, __n=<incomplete type>) at  _start_ :442

I localized that os-unix.cc was causing the segmentation violation. I recompiled and linked it with -g

and got some more information

#0  0xd03cf330 in _ZNSt24__default_alloc_templateILb1ELi0EE10deallocateEPvm (
    __p=<incomplete type>, __n=<incomplete type>) at  _start_ :442
#1  0xd2f462d0 in _ZNSt10_List_baseIPN4MICO11UnixProcessESaIS2_EE7__clearEv (
    this=<incomplete type>) at /usr/local/include/c++/3.3/bits/stl_alloc.h:242
#2  0xd2f462d0 in _ZNSt10_List_baseIPN4MICO11UnixProcessESaIS2_EE7__clearEv (
    this=<incomplete type>) at /usr/local/include/c++/3.3/bits/stl_alloc.h:242
#3  0xd2f4605c in _Z41__static_initialization_and_destruction_0ii (
    __initialize_p=0, __priority=-257165284)
    at /usr/local/include/c++/3.3/bits/stl_list.h:312
#4  0xd2e17a3c in _GLOBAL__FD_libmicoir2_3_11_so ()
#5  0xd018cd54 in mod_fini1 ()
#6  0xd018cca0 in modfini ()
#7  0xd018d2c0 in __modfini ()
#8  0xd0186238 in exit ()
#9  0x100001cc in __start ()

 
Are there any hints to solve the problem ?

 

Mit freundlichem Gruß

Bernhard Hochstetter

PSI-BT GmbH
Dircksenstr. 42-44
10178 Berlin
email: [EMAIL PROTECTED]
Tel.: ++49(30)2801-1847
FAX: ++49(30)2801-1020
Internet: www.psi-bt.de

 
_______________________________________________
Mico-devel mailing list
[email protected]
http://www.mico.org/mailman/listinfo/mico-devel

Reply via email to