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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ksh shell script error: Segmentation fault(coredump)???

Status
Not open for further replies.

wellster34

Programmer
Sep 4, 2001
113
CA
Hi,

We are running a ksh script from the command on a unix box. It fails with the following:

postrans_tmp_tchqf.bat[86]: 172570 Segmentation fault(coredump)

After checking the script at line 86, we found another command which executes another script.

. sql_plus.bat

The sql_plus.bat exists in the same directory as the postrans script. I had this error before but it was a very long time ago.

Does anyone have any ideas to try or have experienced this error before?

Thanks for your time
 
what's in the sql_plus.bat file?
 
It is another ksh script that executes sqlplus against an Oracle database.
 
something dumps core. You might have a 'core' file in the same directory. Find a dumped 'core' file and find out how's dumping it by:
file core

vlad
+----------------------------+
| #include<disclaimer.h> |
+----------------------------+
 
Have you tried just running the sql_plus.bat file? Do you get a core dump when just that is run? What happens when you run the commands that are in sql_plus.bat manually against the database?
 
Can you believe it... I changed the name of the script and it worked successfully. Why did the file name cause a coredump???

I changed it

FROM postrans_tmp_tchqf.bat

TO postrans_tmp_qf.bat

3 less characters... and it worked successfully. How Bizzare?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top