Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

memory fault (coredump) error when I run a perl script

Status
Not open for further replies.

mark1110

Programmer
Apr 20, 2005
85
0
0
US
Hi,

I am migrating from hp unix to aix unix (version 5.8). When I run one particular perl script I am getting a memory fault (coredump) error. The only thing that I changed in the script was:

current (hp unix) - #!/sbin/sh

new (aix unix) - #!/bin/sh

I am also using DBI instead of CT_LIB to connect to a Sybase database.

I don't know that much about the sh binary file. Is it possible that this is the cause? I commented out that line in the script and I still get the same error message. Is there a utility that will help me find out which line of code is causing the memory fault error?

Thanks,

Mark
 
Why isn't your #! pointing to a perl binary?

like #!/usr/bin/perl ??
Are you sure it's a perl script?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[noevil]
Travis - Those who say it cannot be done are usually interrupted by someone else doing it; Give the wrong symptoms, get the wrong solutions;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top