ID: 34725
User updated by: david at tulloh dot id dot au
Reported By: david at tulloh dot id dot au
-Status: Feedback
+Status: Open
Bug Type: Scripting Engine problem
Operating System: Debian Linux
PHP Version: 5CVS-2005-10-04 (CVS)
New Comment:
./configure \
'--enable-cli' \
'--with-pear' \
'--disable-cgi' \
'--prefix=/usr'\
'--with-apxs2=/usr/bin/apxs2' \
'--with-config-file-path=/etc/php5' \
'--enable-memory-limit' \
'--enable-sysvsem' \
'--enable-sysvshm' \
'--enable-sysvmsg' \
'--enable-sockets' \
'--enable-bcmath' \
'--enable-calendar' \
'--enable-shmop' \
'--enable-libxml' \
'--enable-xml' \
'--enable-spl' \
'--with-layout=GNU' \
'--with-inifile' \
'--with-exec-dir=/usr/lib/php5/libexec' \
'--with-regex=php' \
'--with-libxml-dir=/usr' \
'--with-zlib' \
'--with-zlib-dir=/usr' \
'--with-gettext' \
'--with-kerberos=shared,/usr' \
'--with-mime-magic=/usr/share/php5/magic.mime' \
'--with-pcre-regex=shared,/usr' \
'--with-pgsql=shared,/usr' \
'--with-tidy' \
'--disable-rpath' \
'--disable-debug' \
'--disable-dbx' \
'--disable-filepro' \
'--disable-gd-native-ttf' \
'--disable-gd-jis-conv' \
'--disable-dom' \
'--disable-exif' \
'--disable-simplexml' \
'--disable-ftp' \
'--disable-pdo' \
'--without-mm' \
'--without-iconv' \
'--without-sqlite' \
'--without-mysql' \
'--without-sybase-ct' \
'--without-gdbm' \
'--without-db4' \
'--without-cdb' \
'--without-flatfile' \
"$@"
Previous Comments:
------------------------------------------------------------------------
[2005-10-04 08:41:05] [EMAIL PROTECTED]
What was the configure line you used?
------------------------------------------------------------------------
[2005-10-04 08:38:14] david at tulloh dot id dot au
Description:
------------
Using the 5.1 branch.
PHP segmentation faults at the end of running the simplest code.
Reproduce code:
---------------
<?php
echo 'hello world';
?>
(CLI)
Actual result:
--------------
hello world is printed perfectly, after the PHP program completes the
segmentation fault occurs:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1211463456 (LWP 25258)]
0xb7a88840 in ?? ()
(gdb) bt
#0 0xb7a88840 in ?? ()
#1 0x08131730 in tsrm_shutdown () at php-cvs-5.1/TSRM/TSRM.c:180
#2 0x081f425d in main (argc=2, argv=0xbffffb94)
at php-cvs-5.1/sapi/cli/php_cli.c:1152
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34725&edit=1