Hello,

for one of our customers we've enhanced MICO 2.3.12 to support HP-UX well. I've tested 2.3.12 release on:

bash-2.04$ uname -a
HP-UX td192 B.11.11 U 9000/800 1839940656 unlimited-user license

with:

bash-2.04$ aCC -V
aCC: HP ANSI C++ B3910B A.03.67

and it runs quite well. (I don't consider using diff -u in testsuite as a critical bug)

as you can see here:

bash-2.04$ ls -la coss/property/*
-rw-r--r--   1 kgardas    nis            707 Nov 25 06:15 coss/property/CHANGES
-rw-r--r--   1 kgardas    nis           2299 Nov 25 06:15 coss/property/Makefile
-rw-r--r--   1 kgardas    nis           1792 Nov 25 06:15 
coss/property/Makefile.win32
-rw-r--r--   1 kgardas    nis         218512 Feb  6 05:54 
coss/property/PropertyService.cc
-rw-r--r--   1 kgardas    nis          55094 Feb  6 05:54 
coss/property/PropertyService.h
-rw-r--r--   1 kgardas    nis         573504 Feb  6 05:55 
coss/property/PropertyService.o
-rw-r--r--   1 kgardas    nis         608424 Feb  6 05:55 
coss/property/PropertyService.pic.o
-rw-r--r--   1 kgardas    nis          40155 Nov 25 06:15 
coss/property/PropertyService_impl.cc
-rw-r--r--   1 kgardas    nis         207068 Feb  6 05:55 
coss/property/PropertyService_impl.o
-rw-r--r--   1 kgardas    nis         219908 Feb  6 05:55 
coss/property/PropertyService_impl.pic.o
-rw-r--r--   1 kgardas    nis           4995 Nov 25 06:15 coss/property/README
-rw-r--r--   1 kgardas    nis           4916 Nov 25 06:15 coss/property/main.cc
-rw-r--r--   1 kgardas    nis         163156 Feb  6 05:56 coss/property/main.o
-rwxr-xr-x   1 kgardas    nis         200704 Feb  6 05:56 
coss/property/propertyd


property service is compiled too.

Please try to use more up-to-date compiler and let us know if it helps.

Cheers,
Karel
--
Karel Gardas                  [EMAIL PROTECTED]
ObjectSecurity Ltd.           http://www.objectsecurity.com
---
Need experienced, fast, reliable technical MICO support?
---> http://www.objectsecurity.com/mico_commsup_referral.html <---
---


On Wed, 15 Feb 2006, [EMAIL PROTECTED] wrote:

Hi there,

The build of mico (2.3.12) on HPUX11
- HP-UX lea B.11.00 U 9000/800 140901597 unlimited-user license,
- aCC: HP ANSI C++ B3910B A.03.31
runs into a segmentation fault:

SCHNIPPEL<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
<<<<<<<<<<<<<<<<<<<
gmake[2]: Entering directory
`/tmp_mnt/home/wag/MICO_HPUX11/mico/coss/property'
/home/wag/MICO_HPUX11/mico/./idl/idl -B../.. --any --name
PropertyService \
      ../../include/coss/PropertyService.idl
gmake[2]: *** [PropertyService.cc] Segmentation fault (core dumped)
gmake[2]: Leaving directory
`/tmp_mnt/home/wag/MICO_HPUX11/mico/coss/property'
gmake[1]: *** [idlcompile] Error 1
gmake[1]: Leaving directory `/tmp_mnt/home/wag/MICO_HPUX11/mico/coss'
gmake: *** [system] Error 1
->$ gdb /home/wag/MICO_HPUX11/mico/./idl/idl
gHP gdb 3.1.1 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 3.1.1 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for
warranty/support.
..(no debugging symbols found)...
(gdb) core-file ./coss/property/core
Core was generated by `idl'.
Program terminated with signal 11, Segmentation fault.
warning: The shared libraries were not privately mapped; setting a
breakpoint in a shared library will not work until you rerun the
program.

(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
#0  0xc01894fc in free+0x12c () from /usr/lib/libc.2
(gdb) bt
#0  0xc01894fc in free+0x12c () from /usr/lib/libc.2
#1  0xc3cf48c4 in operator delete []+0x30 () from /usr/lib/libCsup_v2.2
#2  0xc657a958 in CORBA::string_free+0x18 () from
/home/wag/MICO_HPUX11/mico/./libs/libmico2.3.12.sl
#3  0xc657a478 in CORBA::String_var::operator=+0x38 () from
/home/wag/MICO_HPUX11/mico/./libs/libmico2.3.12.sl
#4  0x1ca32c in
__as__Q2_3std6vectorXTQ2_5CORBA10String_varTQ2_3std9allocatorXTQ2_5CORBA
10String_var__FRCQ2_3std6vectorXTQ2_5CORBA10String_varTQ2_3std9allocator
XTQ2_5CORBA10String_var__+0x578 ()
#5  0xc53bdbd0 in
members__12EnumDef_implFRC18StringSequenceTmplXTQ2_5CORBA10String_var_+0
x268 ()
  from /home/wag/MICO_HPUX11/mico/./libs/libmicoir2.3.12.sl
#6  0xc67bc474 in
members__Q2_5CORBA16EnumDef_stub_clpFRC18StringSequenceTmplXTQ2_5CORBA10
String_var_+0x74 ()
  from /home/wag/MICO_HPUX11/mico/./libs/libmico2.3.12.sl
#7  0xe30d4 in IDLParser::collectEnumMembers+0x150 ()
#8  0xe317c in IDLParser::collectEnumMembers+0x1f8 ()
#9  0xe319c in IDLParser::collectEnumMembers+0x218 ()
#10 0xe319c in IDLParser::collectEnumMembers+0x218 ()
#11 0xe319c in IDLParser::collectEnumMembers+0x218 ()
#12 0xe2ef4 in IDLParser::collectEnum+0xcc ()
#13 0xbda08 in IDLParser::scan+0x2d0 ()
#14 0xbd87c in IDLParser::scan+0x144 ()
#15 0xbd898 in IDLParser::scan+0x160 ()
#16 0xbd898 in IDLParser::scan+0x160 ()
#17 0xc2c44 in IDLParser::collectModule+0x25c ()
#18 0xbd8b0 in IDLParser::scan+0x178 ()
#19 0xbd87c in IDLParser::scan+0x144 ()
#20 0xbd898 in IDLParser::scan+0x160 ()
#21 0xbd898 in IDLParser::scan+0x160 ()
#22 0xbd898 in IDLParser::scan+0x160 ()
#23 0xbd898 in IDLParser::scan+0x160 ()
#24 0xbd898 in IDLParser::scan+0x160 ()
#25 0xbd898 in IDLParser::scan+0x160 ()
#26 0xbb0e4 in IDLParser::collect+0x18c ()
#27 0x9d660 in main+0x1620 ()
SCHNAPPEL<<<<<<<<<<<<<<<<<<<<<<<<<<
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<


Due to a fomer compile error, I 've patched codegen-wsdl.h:

codegen-wsdl.h
NEW<<<<<<<<<<<<<<<<<<<<<<<<
private:
 typedef std::string Identifier; // IDL qualified form
 typedef Identifier Interface; // XML qualified form
 typedef Identifier Message; // XML qualified form

 typedef std::list<Message> Inputs;
 typedef std::list<Message> Outputs;
 typedef std::list<Message> Exceptions;

struct Operation
 {
    // WAG Patch see code-gen-wsdl.h.original
  std::string name;
  std::list<std::string> inputs;
  std::list<std::string> outputs;
  std::list<std::string> faults;
 };
OLD <<<<<<<<<<<<<<<<<<<<<<<<<
private:
 typedef std::string Identifier; // IDL qualified form
 typedef Identifier Interface; // XML qualified form
 typedef Identifier Message; // XML qualified form

 typedef std::list<Message> Inputs;
 typedef std::list<Message> Outputs;
 typedef std::list<Message> Exceptions;
struct Operation
 {
  Identifier name; // unqualified
  Inputs  inputs;
  Outputs  outputs;
  Exceptions faults;
 };
END<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Is this patch bullshit (I am assembler programmer)?
Any idea?
Did somebody compile, link (using native compiler) and run mico on
HPUX11 before?

Thanks in advance and best regards .. claus


--
Karel Gardas                  [EMAIL PROTECTED]
ObjectSecurity Ltd.           http://www.objectsecurity.com
_______________________________________________
Mico-devel mailing list
Mico-devel@mico.org
http://www.mico.org/mailman/listinfo/mico-devel

Reply via email to