Operating System - HP-UX
1753868 Members
7459 Online
108809 Solutions
New Discussion

Re: threaded C Program hanging in dld.so

 
Maddy_81
Visitor

C Program hanging in dld.so

Hi,

 

I have a C program which is hanging intermittently with the below stacktrace.

 

(gdb) where

#0 0xc000000000081a50:0 in __siginhibit+0x50 () from /usr/lib/hpux64/dld.so

#1 0xc000000000081d50:0 in apply_lazy_iplt_reloc+0xe0 ()

from /usr/lib/hpux64/dld.so

(gdb)

 

It is running on HP-UX 11.31 ia64. Does anyone have any suggestions please?

 

Thanks

 

 

 

P.S. This thread has been moved from HP-UX > System Administration to HP-UX > languages. - Hp Forum Moderator

7 REPLIES 7
Dennis Handly
Acclaimed Contributor

Re: threaded C Program hanging in dld.so

Do you have the latest linker/dld patches?

Have you contacted Support?

Maddy_81
Visitor

Re: C Program hanging in dld.so

Thanks a lot Dennis for replying back.

Can you please let me know if there is any specific linker/dld patch which is proven to resolve this issue?

ShridharJoshi
Visitor

Re: C Program hanging in dld.so

what linker/dld patch you are using? ($what /usr/lib/hpux32/dld.so). Check using the latest linker/dld patch.

does the application hangs permanantly or hangs for some time and recovers?

Is it multithreaded?

can you corner out the issue in test case?

Maddy_81
Visitor

Re: C Program hanging in dld.so

I am using the below patch.

92453-07 linker dld HP Itanium(R) B.12.58

REL Tue Jun 12 09:16:29 2012 PDT

 

Yes, it is a multithreaded application.The application doesn't recover. It just hangs there.I am not able to go beyond the error on dld.so however i tried. So wanted to check if it is a known issue for which there is a fix available.

ShridharJoshi
Visitor

Re: C Program hanging in dld.so

B.12.58 is older patch. Check if the issue reproduces with latest linker patch.

Maddy_81
Visitor

Re: C Program hanging in dld.so

Hi,

 

Thanks for your reply about the linker patch. As suggested, we have installed the below B.12.62 patch. But it didn't help. I am still facing the same issue.

 

       92453-07 linker dld HP Itanium(R) B.12.62
        REL Mon Aug 18 04:59:47 2014 PDT

 

Any suggestions please?

Dennis Handly
Acclaimed Contributor

Re: threaded C Program hanging in dld.so

>Any suggestions?

 

Again, have you contacted Support?

 

You could always use bind immediate which stops doing BORs (at the cost of slower startups and possible unsats):

chatr -B immediate executable