Operating System - HP-UX
1753701 Members
4863 Online
108799 Solutions
New Discussion

Re: svc_tli_create just hangs.

 
cing2006
Occasional Advisor

svc_tli_create just hangs.

Hello all,
I am trying to make an rpc server which has to link to some shared libraries. When I do not attach the libraries, the server works fine. But when I attach the libraries, the svc_tli_create() call hangs and I have to kill the system. I am not able to generate any logs for this call too.

Further Information:
uname -a
HP-UX dhn1b203 B.11.11 U 9000/800 3196149707 unlimited-user license

================================
/develop/bsanar/rpc/vers/ver7/rpc_plugin$ swlist -l product | grep linker
PHSS_33033 1.0 ld(1) and linker tools cumulative patch
/develop/bsanar/rpc/vers/ver7/rpc_plugin$ swlist -l product | grep gcc
gcc 3.2 gcc
gnu ATTWS.10.21 GNU tools gcc gmake gtar gdb
==================================

/develop/bsanar/rpc/vers/ver7/rpc_plugin$ odump -sllibload server

Shared Library Load List for server:

Order Name

0 server
1 ^ /usr/lib/libnsl.1
2 ^ ^ /usr/lib/libxti.2
3 ^ ../include/libcache.sl
4 ^ ^ /apps/oracle/product/9.2.0.6/lib32/libclntsh.sl.9.0
5 ^ ^ ^ /apps/oracle/product/9.2.0.6/lib32/libwtc9.sl
6 ^ ^ ^ /usr/lib/librt.2
7 ^ ^ ^ /usr/lib/libpthread.1
8 ^ ^ ^ /usr/lib/libnss_dns.1
9 ^ ^ ^ ^ /usr/lib/libdld.2
10 ^ ^ ^ /usr/lib/libdld.2
11 ^ ^ ^ /usr/lib/libm.2
12 ^ ^ ^ /usr/lib/libc.2
13 ^ ^ ^ ^ /usr/lib/libdld.2
14 ^ ^ ^ /usr/lib/libcl.2
15 ^ ^ ^ ^ /usr/lib/libdld.2
16 ^ ^ ^ ^ /usr/lib/libisamstub.1
17 ^ ^ /home/bsanar/fusionworks/OPENET/lib/libdsd.sl
18 ^ ^ ^ /usr/lib/libxti.2
19 ^ ^ ^ /usr/lib/libdld.2
20 ^ ^ ^ /usr/lib/libpthread.1
21 ^ ^ ^ /usr/lib/librt.2
22 ^ ^ ^ /usr/lib/libnsl.1
23 ^ ^ ^ ^ /usr/lib/libxti.2
24 ^ ^ ^ /home/bsanar/fusionworks/OPENET/lib/libon.sl
25 ^ ^ ^ ^ /usr/lib/libxti.2
26 ^ ^ ^ ^ /usr/lib/libdld.2
27 ^ ^ ^ ^ /usr/lib/libpthread.1
28 ^ ^ ^ ^ /usr/lib/librt.2
29 ^ ^ ^ ^ /usr/lib/libnsl.1
30 ^ ^ ^ ^ ^ /usr/lib/libxti.2
31 ^ ^ /usr/lib/libstd.2
32 ^ ^ /usr/lib/libstream.2
33 ^ ^ /usr/lib/libCsup.2
34 ^ /usr/lib/libc.2
35 ^ ^ /usr/lib/libdld.2

With the above libraries linked together, it does not work.

But with the following libraries linked, it works:
/develop/bsanar/rpc/vers/ver7/rpc_plugin$ odump -sllibload server

Shared Library Load List for server:

Order Name

0 server
1 ^ /usr/lib/libnsl.1
2 ^ ^ /usr/lib/libxti.2
3 ^ /usr/lib/libc.2
4 ^ ^ /usr/lib/libdld.2


I have no idea why it does not work.

I know that the svc_tli_create hangs using gdb on server.

Help me solve this hung function.
Thanks
Banu
1 REPLY 1
Kent Ostby
Honored Contributor

Re: svc_tli_create just hangs.

Not sure if this is your issue but it sounds similar:

http://www1.itrc.hp.com/service/cki/search.do?category=c0&&mode=id&searchCrit=allwords&docType=EngineerNotes&searchString=KBRC00017769

certified document: KBRC00017769
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"