pageast
asked on
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.
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.
Does gdb ing the core say anything?
ASKER
Hi,
thanx for replying. Can u please tell me how to get the core. Can you please explain your question ..!!
thanx for replying. Can u please tell me how to get the core. Can you please explain your question ..!!
ASKER
Hi,
I have checked out for the core file that was supposed to be generated in the following locations:
/oracle10/app/oracle/admin /orac/cdum p (CORE_DUMP_DEST)
/oracle10/app/oracle/produ ct/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.
I have checked out for the core file that was supposed to be generated in the following locations:
/oracle10/app/oracle/admin
/oracle10/app/oracle/produ
and in complete /oracle10 mount point. There was no core file that has been generated for the Segmentation file error.
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.
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.
ASKER
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/produ ct/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.
make -f demo_proc.mk EXE=jobldgr OBJS=jobldgr.o build
We are executing this command in the location:
/oracle10/app/oracle/produ
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.