[omniORB] omniORB possibly looping

Kelly Burkhart kburk@sky.net
Wed, 24 Feb 1999 20:43:50 -0600 (CST)


I have run into a bit of a snag while trying to create an omniORB
server which connects to Oracle 8 using OCI.  When the server process
attempts to connect the process appears to hang.

While trying to create a small program that reproduces the error, I found
that I could reproduce the problem with a simple program that attempts to
log in to Oracle and contains no omniORB calls at all.  The program when
linked normally works fine, when linked to omniORB libraries the process
hangs when attempting to connect to Oracle.

I ran the program under strace and realized that the program forks a
child, and blocks attempting to read from what must be the new child's 
stdout.

I then attached to the child program with gdb, looked at the stack
trace and it looked like the process was looping somewhere in
libtcpwrapGK.

I'm currently doing a debug compile of omniORB and will attempt to
sniff around a bit more tomorrow.  I am hoping in the mean time that
one of you will recognise this problem and point me to a fix by the
time I read my mail tomorrow evening ;-)

If anyone has some insight please post.  Otherwise I will resume my
search tomorrow.

-K