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

Hi,
We have recentely migrated from Oracle Database version 8.0.4 on HP-UX to Oracle 10g Release 2 (10.2.0.4) 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.
pageastAsked:
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?
0
pageastAuthor Commented:
Hi,
thanx for replying. Can u please tell me how to get the core. Can you please explain your question ..!!
0
pageastAuthor Commented:
Hi,
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)
/oracle10/app/oracle/product/10.2.0/db/precomp/demo/proc
and in complete /oracle10 mount point. There was no core file that has been generated for the Segmentation file error.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

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.
0
pageastAuthor Commented:
we are executing the following command :
make -f demo_proc.mk EXE=jobldgr OBJS=jobldgr.o build

We are executing this command in the location:
/oracle10/app/oracle/product/10.2.0/db/precomp/demo/proc
the executable file demo_proc.mk and the file jobldgr.pc are all located in the same folder.

But we cannot find any core file in that directory.
0
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.
0

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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.