[omniORB] omniORBpy tests example

Ioulia Passynkova ioulia.passynkova@nettest.com
Thu, 25 Oct 2001 13:20:22 -0400


Hi!

I just compiled omniORBpy 1.4 on our Linux (Red Hat Linux 7.1 2) and
started to run examples in omniORBpy distributive. Running  tserver.py
and tclient.py in tests=20
directory I got python crush. It's happened just after receiving
exception. Do you have any idea what is the problem ?

[ipassynk@tocbe1lx P]$ python ./tserver.py=20
IOR:010000001300000049444c3a54797065546573742f493a312e300000010000000000
000026000000010100000a0000003132372e302e302e310099a00e000000fef448d83b00
003b420000000000Abort

[ipassynk@tocbe1lx P]$ python tclient.py
IOR:010000001300000049444c3a54797065546573742f493a312e300000010000000000
000026000000010100000a0000003132372e302e302e310099a00e000000fef448d83b00
003b420000000000
Void:   pass
Oneway:   pass
Short:   pass
UShort:   pass
Long:   pass
ULong with long:   pass
ULong with int:   pass
Float with float: 1.23399996758  pass
Float with int:   pass
Double with float:   pass
Double with int:   pass
Boolean:   pass
Char:   pass
Octet:   pass
Invalid arguments: +Abort


[ipassynk@tocbe1lx P]$ gdb python core
GNU gdb 5.0rh-5 Red Hat Linux 7.1
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux"...
(no debugging symbols found)...
Core was generated by `python ./tserver.py'.
Program terminated with signal 6, Aborted.
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/i686/libpthread.so.0...done.

warning: Unable to set global thread event mask: generic error
[New Thread 1024 (LWP 15170)]
Error while reading shared library symbols:
Can't attach LWP 15170: No such process
Reading symbols from /lib/i686/libm.so.6...done.
Loaded symbols for /lib/i686/libm.so.6
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from
/usr/lib/python1.5/lib-dynload/timemodule.so...done.
Loaded symbols for /usr/lib/python1.5/lib-dynload/timemodule.so
Reading symbols from
/usr/lib/python1.5/lib-dynload/stropmodule.so...done.
Loaded symbols for /usr/lib/python1.5/lib-dynload/stropmodule.so
Reading symbols from
/usr/central/omniORBpy/lib/i586_linux_2.0_glibc2.1/_omnipym
odule.so...done.
Loaded symbols for
/usr/central/omniORBpy/lib/i586_linux_2.0_glibc2.1/_omnipymod
ule.so
Reading symbols from
/usr/central/omniORBpy/lib/i586_linux_2.0_glibc2.1/libomniO
RB3.so.0...done.
Loaded symbols for
/usr/central/omniORBpy/lib/i586_linux_2.0_glibc2.1/libomniORB
3.so.0
Reading symbols from
/usr/central/omniORBpy/lib/i586_linux_2.0_glibc2.1/libtcpwr
apGK.so.2...done.
Loaded symbols for
/usr/central/omniORBpy/lib/i586_linux_2.0_glibc2.1/libtcpwrap
GK.so.2
---Type <return> to continue, or q <return> to quit---
Reading symbols from
/usr/central/omniORBpy/lib/i586_linux_2.0_glibc2.1/libomnithread.so.2...
done.
Loaded symbols for
/usr/central/omniORBpy/lib/i586_linux_2.0_glibc2.1/libomnithread.so.2
Reading symbols from /usr/lib/libstdc++-libc6.1-1.so.2...done.
Loaded symbols for /usr/lib/libstdc++-libc6.1-1.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
#0  0x4013d0a2 in __libc_accept () from /lib/i686/libc.so.6
(gdb) bt
#0  0x4013d0a2 in __libc_accept () from /lib/i686/libc.so.6
#1  0x40026ec3 in accept (fd=3D6, addr=3D
      {__sockaddr__ =3D 0x40b1aad8, __sockaddr_at__ =3D 0x40b1aad8,
__sockaddr_ax25__ =3D 0x40b1aad8, __sockaddr_dl__ =3D 0x40b1aad8,
__sockaddr_eon__ =3D 0x40b1aad8, __sockaddr_in__ =3D 0x40b1aad8,
__sockaddr_in6__ =3D 0x40b1aad8, __sockaddr_inarp__ =3D 0x40b1aad8,
__sockaddr_ipx__ =3D 0x40b1aad8, __sockaddr_iso__ =3D 0x40b1aad8,
__sockaddr_ns__ =3D 0x40b1aad8, __sockaddr_un__ =3D 0x40b1aad8,
__sockaddr_x25__ =3D 0x40b1aad8}, addr_len=3D0x40b1aa4c) at
wrapsyscall.c:187
#2  0x4027a0b0 in tcpSocketRendezvouser::run_undetached ()
   from
/usr/central/omniORBpy/lib/i586_linux_2.0_glibc2.1/libomniORB3.so.0
#3  0x402cb874 in omni_thread_wrapper ()
   from
/usr/central/omniORBpy/lib/i586_linux_2.0_glibc2.1/libomnithread.so.2
#4  0x40022bfd in pthread_start_thread (arg=3D0x40b1ac00) at =
manager.c:262
(gdb)=20

Ioulia Passynkova | Developer Engineer, Software
email ioulia.passynkova@nettest.com | dir 905 948 7595=20
NetTest Canada | 55 Renfrew Drive, Markham, ON L3R 8H3 | Canada
web www.nettest.com | tel 905 479 8090 | fax 905 475 6524