Segmentation Fault while running the Pro*C reports in 10gR2 on RHEL 5.0

We have recentely migrated from Oracle Database version 8.0.4 on HP-UX to Oracle 10g Release 2 ( on RHEL 5.0. The database migration was successful. We are now trying to migrate the Pro*C reports which were succussfully running in 8.0.4 database on HP-UX and make them run on new 10gR2 (RHEL 5.0.) server.  They are succussfully compiling and the executable files are genertaing. But, when we are trying to run the executables, they are throwing 'Segmentation fault' error. These are running fine in previous 8.0.4 database.
Please help us to find the solution. If u need any further information, please reply back to us asap.

We are attaching a .pc file which contains the code.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SujithData ArchitectCommented:
Does gdb ing  the core say anything?
pageastAuthor Commented:
thanx for replying. Can u please tell me how to get the core. Can you please explain your question ..!!
pageastAuthor Commented:
I have checked out for the core file that was supposed to be generated in the following locations:
/oracle10/app/oracle/admin/orac/cdump (CORE_DUMP_DEST)
and in complete /oracle10 mount point. There was no core file that has been generated for the Segmentation file error.
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

SujithData ArchitectCommented:
core file should be there in the directory where you have the exe.

It is not generated by oracle, it is generated by the exe.

You have to check gdb to see how to debug the core, definitely it will point you out to the bug.
pageastAuthor Commented:
we are executing the following command :
make -f EXE=jobldgr OBJS=jobldgr.o build

We are executing this command in the location:
the executable file and the file jobldgr.pc are all located in the same folder.

But we cannot find any core file in that directory.
SujithData ArchitectCommented:
I guess you already have the executables generated.

You shoul look for the core file in the directory where you run the exe from.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.