rderidder
asked on
Core Dumped with TKPROF
I get a Memory Fault - core dumped when I try running tkprof on a .trc file. Is there a problem with my istallation of the product or are there set up parameters that can be adjusted to fix this problem?
ASKER
My trc file is only 2k and despite the fact that I set the max_dump_file_size variable to a value substantially larger than 2k, I still received the same error.
ASKER
Sorry, by the way, this is on SCO UNIX.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Other tip to check out:
This article gives details on a problem reported in <Bug:376851>.
<Bug:376851> TKPROF utility segmentation fault (core dumps) on some platforms
~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~ ~~~
Versions Affected
~~~~~~~~~~~~~~~~~
This problem was introduced in Oracle7 release: 7.3.2.1
This problem is fixed in Oracle7 release: 7.3.3
Description
~~~~~~~~~~~
In Oracle 7.3, on some platforms, running the tkprof utility against SQL trace files generated from SQLPLUS will result in a segmentation fault.
Platforms affected
~~~~~~~~~~~~~~~~~~
Include the following:
Digital Unix IBM RS/6000 AIX IBM SP AIX
Sequent DYNIX/ptx Windows NT
Workaround/s
~~~~~~~~~~~~
To avoid this problem remove the APPNAME line from the trace file, which can be done as follows on Unix platforms:
grep -v APPNAME file.trc > newfile.trc
then use the tkprof utility on the newfile.trc in the usual way.
There are no patches available for this problem, the workaround described here should be used.
Please contact Oracle Worldwide Support to find out if 7.3.3 or higher is available for your platform.
This article gives details on a problem reported in <Bug:376851>.
<Bug:376851> TKPROF utility segmentation fault (core dumps) on some platforms
~~~~~~~~~~~~~~~~~~~~~~~~~~
Versions Affected
~~~~~~~~~~~~~~~~~
This problem was introduced in Oracle7 release: 7.3.2.1
This problem is fixed in Oracle7 release: 7.3.3
Description
~~~~~~~~~~~
In Oracle 7.3, on some platforms, running the tkprof utility against SQL trace files generated from SQLPLUS will result in a segmentation fault.
Platforms affected
~~~~~~~~~~~~~~~~~~
Include the following:
Digital Unix IBM RS/6000 AIX IBM SP AIX
Sequent DYNIX/ptx Windows NT
Workaround/s
~~~~~~~~~~~~
To avoid this problem remove the APPNAME line from the trace file, which can be done as follows on Unix platforms:
grep -v APPNAME file.trc > newfile.trc
then use the tkprof utility on the newfile.trc in the usual way.
There are no patches available for this problem, the workaround described here should be used.
Please contact Oracle Worldwide Support to find out if 7.3.3 or higher is available for your platform.
ASKER
Great stuff! Thanks muchly.
Good Morning!! I have Oracle 9 and i'm getting Memory fault when I try running tkprof on a .trc file. It's weird because before, I could generate the tkprof without any problem, but later the error started to appear and we don't know the reason. Thanks.
I searched for occurances of ",og=0", but the trace doesn't have that string. Thanks
On solaris there was an oracle bug with earlier versions of 7. Please call oracle.
also check the oracle_sid is set properly.