Operating System - HP-UX
1826235 Members
2781 Online
109692 Solutions
New Discussion

Re: Memory fault(coredump)

 
SOLVED
Go to solution
sandesh K
New Member

Memory fault(coredump)

Hi,

We have built a Perl Binary using PAR Packager. The Binary works fine in the system in which i have built the binary. But it gives Memory fault(coredump) in the test machine.

The System configurations for both the machines are as follows.
Build Machine: HP-UX B.11.31 U ia64 0155957638 & Perl 5.8.3

Test Machine : HP-UX B.11.23 U ia64 0568051767 & Perl 5.8.8

After debugging the code on where it takes core dump, i came to know it is failing in the below line of code.

my $r = $self->SUPER::call($method, @soapargs);
which uses SOAP::Lite perl module.

Script runs fine at both systems. But, the binary is running only in build system (perl 5.8.3) but hitting with MemoryFault(Core dump) in the test system (perl 5.8.8).

What could be the problem causing the Perl binary to give Memory fault(coredump)? Is it to do with the Perl versions or HPUX different versions or some issue with SOAP::Lite perl module itself?

Please help me with suggestions or any pointers.
5 REPLIES 5
Dennis Handly
Acclaimed Contributor
Solution

Re: Memory fault(coredump)

You can NOT expect to build on 11.31 and expect it to run on 11.23. HP-UX is only forward compatible.

>Is it to do with the Perl versions or HP-UX different versions

It could be either or both.
sandesh K
New Member

Re: Memory fault(coredump)


Some confusion with the System configurations.

Build Machine :B.11.23 U ia64 0568051767 & Perl 5.8.3
Test Machine :B.11.31 U ia64 0155957638 & Perl 5.8.8
Dennis Handly
Acclaimed Contributor

Re: Memory fault(coredump)

>Some confusion with the System configurations.

Ok, in this case, it is either the newer perl or some type of latent bug in your perl program that only just happens to work at all.
Rajagopal S
New Member

Re: Memory fault(coredump)

I'm Sandesh's teammate.

At source we could run soap calls without coredump or any glitch of failure. This issue happens only in the test system with perl 5.8.8 I'd expect the perl as well as HP-UX to be forward compatible as they are between our build and perl versions.
James R. Ferguson
Acclaimed Contributor

Re: Memory fault(coredump)

Hi:

> Script runs fine at both systems. But, the binary is running only in build system (perl 5.8.3) but hitting with MemoryFault(Core dump) in the test system (perl 5.8.8).

I suggest that you upgrade your "build" machine to Perl 5.8.8 which is a stable, current Perl. Perl 5.8.3 was released about 2-years earlier than 5.8.8.

I presume that the module verion of SOAP::Lite is the same in both environments. If not, you need to elimiminate that difference too.

Regards!

...JRF...