- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- JVM Crashes on HPPA 64 Bit and HPIA 64 Bit
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
Discussions
Discussions
Forums
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
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
тАО05-01-2009 09:53 AM
тАО05-01-2009 09:53 AM
#1 0xc0000000000de5d0:1 in ENTER_PTHREAD_LIBRARY_FUNC+0x131 ()
at
/CLO/Components/JAVA_HOTSPOT/Src/src/share/vm/utilities/yieldingWorkgroup.cpp:
218
#2 0xc0000000001064e0:0 in pthread_num_processors_np+0xa0 ()
at
/CLO/Components/JAVA_HOTSPOT/Src/src/share/vm/utilities/yieldingWorkgroup.cpp:
218
#3 0xc00000000f6aabe0:0 in os::active_processor_count ()
at /CLO/Components/JAVA_HOTSPOT/Src/src/os/hp-ux/vm/os_hp-ux.cpp:834
#4 0xc000000010010400:0 in os::is_server_class_machine ()
at /CLO/Components/JAVA_HOTSPOT/Src/src/share/vm/runtime/os.cpp:944
#5 0xc00000001000fb30:0 in Arguments::set_ergonomics_flags ()
at
/CLO/Components/JAVA_HOTSPOT/Src/src/share/vm/runtime/arguments.cpp:1417
#6 0xc00000000fffef10:0 in Arguments::parse ()
at
/CLO/Components/JAVA_HOTSPOT/Src/src/share/vm/runtime/arguments.cpp:3110
#7 0xc00000000fff6670:0 in Threads::create_vm ()
at /CLO/Components/JAVA_HOTSPOT/Src/src/share/vm/runtime/thread.cpp:3388
#8 0x9fffffffe550a470:0 in JNI_CreateJavaVM ()
at /CLO/Components/JAVA_HOTSPOT/Src/src/share/vm/prims/jni.cpp:3291
I wrote one simple C program which uses JNI_CreateJavaVM(), this program is working fine for me.
Can anyone please help to know why that library is causing this problem?
I have rebuild this 3rd party library with same link options which I used for my C program but even now this library is crashing.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2009 09:58 AM - edited тАО09-03-2011 06:27 PM
тАО05-01-2009 09:58 AM - edited тАО09-03-2011 06:27 PM
Re: JVM Crashes on PA-RISC 64 Bit and IPF 64 Bit
What's at frame #0? What's the signal?
Are you in a thread? Do you have a thread stack overflow?
You'll probably need to contact the Response Center.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2009 10:15 AM
тАО05-01-2009 10:15 AM
Re: JVM Crashes on HPPA 64 Bit and HPIA 64 Bit
But how can simple JNI_CreateJavaVm works fine with this Java?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2009 10:21 AM
тАО05-01-2009 10:21 AM
SolutionAre you in gdb or is this being printed automatically?
Do you have a core file?
>But how can simple JNI_CreateJavaVm work fine with this Java?
As I mentioned, if you have a thread stack overflow, that may explain why it doesn't work on HP-UX.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2009 10:26 AM
тАО05-01-2009 10:26 AM
Re: JVM Crashes on HPPA 64 Bit and HPIA 64 Bit
yeah I am in GDB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2009 11:40 AM
тАО05-01-2009 11:40 AM
Re: JVM Crashes on HPPA 64 Bit and HPIA 64 Bit
Then gdb will show frame #0. And it should tell you the signal.
When you get a stack trace, does it go past frame #8?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2009 09:27 PM
тАО05-01-2009 09:27 PM
Re: JVM Crashes on HPPA 64 Bit and HPIA 64 Bit
Program received signal SIGSEGV, Segmentation fault
si_code: 2 - SEGV_ACCERR - Invalid Permissions for object.
0xc0000000000de5d0:1 in ENTER_PTHREAD_LIBRARY_FUNC+0x131 ()
at /CLO/Components/JAVA_HOTSPOT/Src/src/share/vm/utilities/yieldingWorkgroup.cpp:218
218 /CLO/Components/JAVA_HOTSPOT/Src/src/share/vm/utilities/yieldingWorkgroup.cpp: No such file or directory.
in /CLO/Components/JAVA_HOTSPOT/Src/src/share/vm/utilities/yieldingWorkgroup.cpp
(gdb) where
#0 0xc0000000000de5d0:1 in ENTER_PTHREAD_LIBRARY_FUNC+0x131 ()
at /CLO/Components/JAVA_HOTSPOT/Src/src/share/vm/utilities/yieldingWorkgroup.cpp:218
#1 0xc0000000001064e0:0 in pthread_num_processors_np+0xa0 ()
at /CLO/Components/JAVA_HOTSPOT/Src/src/share/vm/utilities/yieldingWorkgroup.cpp:218
#2 0xc00000000f6aabe0:0 in os::active_processor_count ()
at /CLO/Components/JAVA_HOTSPOT/Src/src/os/hp-ux/vm/os_hp-ux.cpp:834
#3 0xc000000010010400:0 in os::is_server_class_machine ()
at /CLO/Components/JAVA_HOTSPOT/Src/src/share/vm/runtime/os.cpp:944
#4 0xc00000001000fb30:0 in Arguments::set_ergonomics_flags ()
at /CLO/Components/JAVA_HOTSPOT/Src/src/share/vm/runtime/arguments.cpp:1417
#5 0xc00000000fffef10:0 in Arguments::parse ()
at /CLO/Components/JAVA_HOTSPOT/Src/src/share/vm/runtime/arguments.cpp:3110
#6 0xc00000000fff6670:0 in Threads::create_vm ()
at /CLO/Components/JAVA_HOTSPOT/Src/src/share/vm/runtime/thread.cpp:3388
#7 0xc00000000fff4470:0 in JNI_CreateJavaVM ()
at /CLO/Components/JAVA_HOTSPOT/Src/src/share/vm/prims/jni.cpp:3291
#8 0xc000000005ea5200:0 in pst_StartLibrary () at pStart:54
#9 0xc000000005972570:0 in psCreateJVM() at pJVM:87
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2009 12:41 AM
тАО05-03-2009 12:41 AM
Re: JVM Crashes on HPPA 64 Bit and HPIA 64 Bit
(gdb) disas $pc-16*12 $pc+16*4
(gdb) info reg
You can get the thread stack used by:
(gdb) p /x $sp_save = $sp
(gdb) frame 9 # the largest one
(gdb) p $sp-$sp_save
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2009 05:48 AM
тАО05-03-2009 05:48 AM
Re: JVM Crashes on HPPA 64 Bit and HPIA 64 Bit
Whats the back end version of Java/JVM?
Have you considered updating that, recompiling the application?
http://www.hp.com/go/java
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2009 06:36 AM
тАО05-03-2009 06:36 AM
Re: JVM Crashes on HPPA 64 Bit and HPIA 64 Bit
Regards,