I am trying to create a core dump file in order to submit a PHP bug
I am following instructions at:
http://bugs.php.net/bugs-generating-backtrace.php
i configure for debug and then build
# ./configure --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --enable-debug > configureOutput.txt
# make
# make install
# libtool --finish /usr/local/php-5.0.0RC1/libs
i remove limits on core dump size from shell
# ulimit -c unlimited
I open all permissions to /usr/local/apache/bin/
# chmod 777 /usr/local/apache/bin
then run httpd
cd /usr/local/apache/bin
#./httpd -X
Then i access a php page
"Segmentation Fault" appears in the shell (this is the error i'm trying to trace), but I should see a file name 'core' in /usr/local/apache/bin
but I don't
If i then follow the instructions for "If you can't get a core file", i get the message:
Couldn't get registers: Operation not permitted.
What can i do to get a core dump file?
can't create core dump file
Moderator: General Moderators
-
allelopath
- Forum Commoner
- Posts: 34
- Joined: Tue Mar 16, 2004 5:21 am
-
allelopath
- Forum Commoner
- Posts: 34
- Joined: Tue Mar 16, 2004 5:21 am