- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- libjsig.sl (JDK 1.6.0.04) causes code to crash.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2009 05:38 AM
10-12-2009 05:38 AM
libjsig.sl (JDK 1.6.0.04) causes code to crash.
To debug the issue further I wrote simple JNI program as mentioned at http://docs.hp.com/en/JAVAPROGUIDE/JNI_java2.html
I tested following 4 scenario:
Scenario 1:
When I set LD_PRELOAD=$JDK1.6.0.04_HOME/jre/lib/PA_RISC2.0W/libjvm.sl
Program works perfectly
libjvm.sl from JDK 1.6.0.04.
Scenario 2:
When I set LD_PRELOAD=$JDK1.6.0.04_HOME/jre/lib/PA_RISC2.0W/server/libjvm.sl:$JDK1.6.0.04_HOME/jdk/jre/lib/PA_RISC2.0W/libjsig.sl
Program terminated immediately after giving following error:
"bash-3.00$ ./loadjava
call_os_sigaction - cannot find libc: No such file or directory"
libjvm.sl and libjsig.sl are both from JDK 1.6.0.04.
Scenario 3:
When I set LD_PRELOAD=$JDK1.6.0.04_HOME/jdk/jre/lib/PA_RISC2.0W/server/libjvm.sl:$JDK1.6.0.02_HOME/jre/lib/PA_RISC2.0W/libjsig.sl
$JDK1.6.0.02_HOME/jre/lib/PA_RISC2.0W/libjsig.sl is from JDK 1.6.0.02
Program works perfectly.
libjvm.sl from JDK 1.6.0.04 and libjsig.sl from JDK 1.6.0.02.
Scenario 4:
When I set LD_PRELOAD=$JDK1.6.0.02_HOME/jdk/jre/lib/PA_RISC2.0W/server/libjvm.sl:$JDK1.6.0.02_HOME/jre/lib/PA_RISC2.0W/libjsig.sl
libjvm.sl and libjsig.sl are both from JDK 1.6.0.02
So culprit seems to be while specifying libjsig.sl.
Can someone please help me to get rid of following error while using libjsig.sl from JDK 1.6.0.04:
"bash-3.00$ ./loadjava
call_os_sigaction - cannot find libc: No such file or directory"
What does it mean specifically?
- Tags:
- Java
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2009 06:07 AM
10-12-2009 06:07 AM
Re: libjsig.sl (JDK 1.6.0.04) causes code to crash.
http://docs.hp.com/en/JAVAPROGUIDE/signals.html
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2009 07:12 AM
10-12-2009 07:12 AM
Re: libjsig.sl (JDK 1.6.0.04) causes code to crash.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2009 08:06 AM
10-12-2009 08:06 AM
Re: libjsig.sl (JDK 1.6.0.04) causes code to crash.
LD_PRELOAD_ONCE=$JDK1.6.0.04_HOME/jre/lib/PA_RISC2.0W/libjsig.sl
LD_PRELOAD=$JDK1.6.0.04_HOME/jdk/jre/lib/PA_RISC2.0W/server/libjvm.sl
and then try starting the app...
of course this pre-supposes you have the patches for LD_PRELOAD_ONCE (although they are pretty old so you probably do - check if its mentioned on the dld.sl man page)
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2009 08:29 AM
10-12-2009 08:29 AM
Re: libjsig.sl (JDK 1.6.0.04) causes code to crash.
I tried LD_PRELOAD_ONCE, but it didn't work.
The main point is how it is working with JDK 1.6.0.02 and not with 1.6.0.04? And the problem is only with one .sl file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2009 03:04 PM
10-12-2009 03:04 PM
Re: libjsig.sl (JDK 1.6.0.04) causes code to crash.
If you have problems with java, you should be contacting the Response Center.