#33755 [Fbk->Opn]: Segmentation fault when compiled
| From: | arnie at imagestate dot co dot uk | Date: | Tue, 19 Jul 2005 11:26:14 +0000 |
| Subject: | #33755 [Fbk->Opn]: Segmentation fault when compiled | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-82135@lists.php.net to get a copy of this message | ||
ID: 33755
User updated by: arnie at imagestate dot co dot uk
Reported By: arnie at imagestate dot co dot uk
-Status: Feedback
+Status: Open
Bug Type: Reproducible crash
Operating System: LINUX
PHP Version: 5.1.0b3
New Comment:
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
gdm bt below
[root@kylie bin]# gdb ./php ./core.520
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux"...
Core was generated by `./php'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /usr/local/pgsql/lib/libpq.so.3...done.
Loaded symbols for /usr/local/pgsql/lib/libpq.so.3
Reading symbols from
/usr/local/mysql/lib/mysql/libmysqlclient.so.12...done.
Loaded symbols for /usr/local/mysql/lib/mysql/libmysqlclient.so.12
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/i686/libm.so.6...done.
Loaded symbols for /lib/i686/libm.so.6
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /usr/lib/libxml2.so.2...done.
Loaded symbols for /usr/lib/libxml2.so.2
Reading symbols from /lib/i686/libpthread.so.0...done.
Loaded symbols for /lib/i686/libpthread.so.0
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from
/usr/local/Zend/lib/ZendExtensionManager.so...done.
Loaded symbols for /usr/local/Zend/lib/ZendExtensionManager.so
#0 0xeddce853 in ?? ()
(gdb) bt
#0 0xeddce853 in ?? ()
Cannot access memory at address 0x85d8b10
Previous Comments:
------------------------------------------------------------------------
[2005-07-18 19:29:11] sniper@php.net
Thank you for not reading the 'how-to-report' and wasting my time.
Remove the non-PHP extensions first. There is no such thing as
'--with-odbtp' in PHP. If the segfault still occurs, provide a gdb
backtrace of it. Also provide the versions of the related build tools,
such as GCC.
------------------------------------------------------------------------
[2005-07-18 19:27:08] derick@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
------------------------------------------------------------------------
[2005-07-18 19:22:52] arnie at imagestate dot co dot uk
I configured php as described here. After make installing, I tried to
run the cli, having previously failed to get apache to start. The
details are below.
Apache version 1.3.28
PHP 5.1.0b3
Postgresql 7.4.1
Mysql 4.0.21
ODBTP v 1.1.3
make install
Installing PHP SAPI module: apache
[activating module `php5' in /usr/local/apache/conf/httpd.conf]
cp libs/libphp5.so /usr/local/apache/libexec/libphp5.so
chmod 755 /usr/local/apache/libexec/libphp5.so
cp /usr/local/apache/conf/httpd.conf
/usr/local/apache/conf/httpd.conf.bak
cp /usr/local/apache/conf/httpd.conf.new
/usr/local/apache/conf/httpd.conf
rm /usr/local/apache/conf/httpd.conf.new
Installing PHP CLI binary: /usr/local/bin/
Installing PHP CLI man page: /usr/local/man/man1/
Installing PEAR environment: /usr/local/lib/php/
[PEAR] Archive_Tar - already installed: 1.1
[PEAR] Console_Getopt - already installed: 1.2
[PEAR] PEAR - already installed: 1.3.5
Wrote PEAR system config file at: /usr/local/etc/pear.conf
You may want to add: /usr/local/lib/php to your php.ini include_path
[PEAR] HTML_Template_IT- already installed: 1.1
[PEAR] Net_UserAgent_Detect- already installed: 2.0.1
[PEAR] XML_RPC - already installed: 1.3.1
Installing build environment: /usr/local/lib/php/build/
Installing header files: /usr/local/include/php/
Installing helper programs: /usr/local/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/man/man1/
page: phpize.1
page: php-config.1
[root@kylie php-5.1.0b3]# /usr/local/bin/php
Segmentation fault
------------------------------------------------------------------------
[2005-07-18 19:15:24] sniper@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2005-07-18 19:11:42] arnie at imagestate dot co dot uk
Description:
------------
5.1.0b3 - not in drop down
When compiled with the following configure, I get a segmentation fault
./configure --with-apxs=/usr/local/apache/bin/apxs
--with-mysql=/usr/local/mysql --with-pgsql=/usr/local/pgsql
--with-libxml-dir=/usr/lib --enable-soap --with-odbtp
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33755&edit=1