HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

HBA_LoadLibrary() is unable to load library in Aries

 
Kanagaraj M
Occasional Contributor

HBA_LoadLibrary() is unable to load library in Aries

Hi,

In one of the application which uses the HBA_LoadLibrary() is aborted while executing with following error:

unable to load library /usr/lib/pa20_64/libhbaapihp.sl
unable to load library /usr/lib/hpux32/libhbaapihp.so
unable to load library /usr/lib/hpux64/libhbaapihp.so
unable to load library /usr/lib/pa20_64/libhbaapifcd.sl
unable to load library /usr/lib/hpux32/libhbaapifcd.so
unable to load library /usr/lib/hpux64/libhbaapifcd.so
Aries ERROR:[pid=16929] Got masked synchronous signal. Aborting...

Can anyone help to solve this issue?

Thanks
Kanagaraj M
5 REPLIES

Re: HBA_LoadLibrary() is unable to load library in Aries

Something strange here. It seems to be loading both the PA and IPF versions of one shlib. Also 32 and 64 and .sl and .so.
Somebody is very persistent. :-)
Kanagaraj M
Occasional Contributor

Re: HBA_LoadLibrary() is unable to load library in Aries

suppose, Its the nature of the HBA_LoadLibrary(), a SNIA API. It will try to load all registered library in /etc/hba.conf file.

Any idea, on what scenario the error "Aries ERROR:[pid=xxxx] Got masked synchronous signal. Aborting..." occurs.

your help is very much value here !!

Re: HBA_LoadLibrary() is unable to load library in Aries

>Any idea, on what scenario the error "Aries ERROR:[pid=xxxx] Got masked synchronous signal. Aborting..." occurs.

It could be the case if you have blocked signals and then have gotten that signal. This results in an infinite loop. Later HP-UX versions will now abort you.

Make sure you have the latest Aries and linker/dld patches. What OS version are you using?
Rajesh K Chaurasia
Valued Contributor

Re: HBA_LoadLibrary() is unable to load library in Aries

Greetings,

HBA_LoadLibrary API should check the library being loaded against architecture, 32-bit/64-bit data model and load the matching one. The error is coming most likely due to failed library loading and reference to an invalid library handle by the application, HBA API library or the PA-RISC dld.

The error message from ARIES shows that application has blocked the signal (it could be in application code, HBA API library, dld). ARIES sees no point in continuing with synchronous exception if it cannot be delivered to application. Thus it kills the process with an error message.

Are you able to load the libraries from an Itanium native application? I wonder how will Itanium or PA-RISC dld can handle libraries of both architecture in same process.

Regards
-Rajesh
Rajesh K Chaurasia
Valued Contributor

Re: HBA_LoadLibrary() is unable to load library in Aries

Greetings,

HBA_LoadLibrary API should check the library being loaded against architecture, 32-bit/64-bit data model and load the matching one. The error is coming most likely due to failed library loading and reference to an invalid library handle by the application, HBA API library or the PA-RISC dld.

The error message from ARIES shows that application has blocked the signal (it could be in application code, HBA API library, dld). ARIES sees no point in continuing with synchronous exception if it cannot be delivered to application. Thus ARIES kills the process with an error message.

Are you able to load the libraries from an Itanium native application? I wonder how can Itanium or PA-RISC dld handle libraries of both architecture in same process.

Regards
-Rajesh