1753809 Members
8541 Online
108805 Solutions
New Discussion юеВ

Re: SIGSEGV in libjvm.sl

 
madhavabk
Regular Advisor

SIGSEGV in libjvm.sl

Hi All,

My program runs with java1.5.
And my program initiates java daemon properly.
But when i attached to GDB i found following piece of information.

Program received signal SIGSEGV, Segmentation fault
si_code: 0 - SEGV_UNKNOWN - Unknown Error.
[Switching to process 6302]
0x7aaf7fc0 in os::Hpux::generate_page_zero_trap+0 ()
from /opt/java1.5/jre/lib/PA_RISC2.0/server/libjvm.sl
(gdb) next
Single stepping until exit from function generate_page_zero_trap__Q2_2os4HpuxSFv,
which has no line number information.
0x7aaf4580 in os::init_2+0x358 () from /opt/java1.5/jre/lib/PA_RISC2.0/server/libjvm.sl
(gdb)
Single stepping until exit from function init_2__2osSFv,
which has no line number information.
0x7aaf45b0 in os::init_2+0x388 () from /opt/java1.5/jre/lib/PA_RISC2.0/server/libjvm.sl

Could any one tell what could be the consequence of this?
And what is the problem for segmentation fault.

Thanks in advance.

Madhava
4 REPLIES 4
Dennis Handly
Acclaimed Contributor

Re: SIGSEGV in libjvm.sl

I've noticed that Java always gets that Signal 11 at the start. You should just continue after that first signal 11 in generate_page_zero_trap.
madhavabk
Regular Advisor

Re: SIGSEGV in libjvm.sl

Hi,

does it mean that there will be no problems to the functionalities of application right?

And will such things cause any problems to the application that gets started at system boot time?

Thanks,
Madhava
Dennis Handly
Acclaimed Contributor

Re: SIGSEGV in libjvm.sl

>Madhava: does it mean that there will be no problems to the functionalities of application right? And will such things cause any problems to the application that gets started at system boot time?

Yes. No, that one signal is the normal operation of the JVM.
madhavabk
Regular Advisor

Re: SIGSEGV in libjvm.sl

There is no solution for this,.