#27254 [NEW]: PHP segfault on certain script
| From: | ericn at ionws dot com | Date: | Sat, 14 Feb 2004 20:46:59 +0000 |
| Subject: | #27254 [NEW]: PHP segfault on certain script | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-54912@lists.php.net to get a copy of this message | ||
From: ericn at ionws dot com
Operating system: Linux 2.4.20-8smp i686
PHP version: 4.3.4
PHP Bug Type: Reproducible crash
Bug description: PHP segfault on certain script
Description:
------------
Configure line: ./configure --with-mysql=/usr/local/mysql
--with-mysql-sock=/var/lib/mysql/mysql.sock --enable-debug
--enable-sockets --with-gd --with-jpeg-dir=/usr/local
--with-png-dir=/usr/local --with-zlib-dir=/usr/local
--with-apxs2=/usr/local/apache2/bin/apxs
PHP is segfaulting when I tell it to run my (home-grown) content
management system, Atomic. It's too large (and I can't tell what part of
it is actually causing the trouble) to give a relevant code sample. Maybe
someone can help me figure out what is going wrong.
This bug is also occuring when PHP is configured as:
./configure --with-mysql=/usr/local/mysql
--with-apxs2=/usr/local/apache2/bin/apxs
./configure --with-mysql=/usr/local/mysql
./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs
./configure --with-mysql
./configure
Expected result:
----------------
I expect the script to execute as it normally should... make necessary
MySQL connections, include required files, display output, etc.
Actual result:
--------------
Backtrace: http://atomic.ionws.com/atom_bt.txt
Server replies with an empty document when viewing over web.
Running via PHP CLI simply produces "Segmentation Fault".
--
Edit bug report at http://bugs.php.net/?id=27254&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27254&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27254&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=27254&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=27254&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27254&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=27254&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=27254&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=27254&r=support
Expected behavior: http://bugs.php.net/fix.php?id=27254&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=27254&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=27254&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=27254&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27254&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=27254&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=27254&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=27254&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27254&r=float