ID:               46444
 User updated by:  hostmaster at uuism dot net
 Reported By:      hostmaster at uuism dot net
-Status:           Feedback
+Status:           Open
 Bug Type:         Session related
 Operating System: Fedora Core 4
 PHP Version:      5.2CVS-2008-10-31
 New Comment:

Modules:  mbstring.so; mysql.so; mysqli.so; soap.so; and xmlrpc.so

I reran the test without any modules and the results were the same.

Configuration string:

--build=i386-redhat-linux --host=i386-redhat-linux
--target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include
--libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var
--sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info --cache-file=../config.cache --with-libdir=lib
--with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d
--disable-debug --with-pic --disable-rpath --with-bz2 --with-curl
--with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr
--enable-gd-native-ttf --without-gdbm --with-gettext --with-gmp
--with-iconv --with-jpeg-dir=/usr --with-openssl --with-pspell
--with-pcre-regex=/usr/local --with-zlib --with-layout=GNU --enable-exif
--enable-ftp --enable-magic-quotes --enable-sockets --enable-sysvsem
--enable-sysvshm --enable-sysvmsg --enable-wddx
--with-pear=/usr/share/pear --with-kerberos --enable-ucd-snmp-hack
--with-unixODBC=shared,/usr --enable-shmop --enable-calendar
--with-mime-magic=/etc/httpd/conf/magic --without-sqlite
--with-libxml-dir=/usr/local --enable-force-cgi-redirect --enable-pcntl
--with-imap=shared --with-imap-ssl --enable-mbstring=shared
--enable-mbregex --with-ncurses=shared --with-gd=shared
--enable-bcmath=shared --enable-dba=shared --with-db4=/usr
--with-xmlrpc=shared --with-ldap=shared --with-mysql=shared,/usr
--with-mysqli=shared,/usr/bin/mysql_config --enable-dom=shared
--with-pgsql=shared --with-snmp=shared,/usr --enable-soap=shared
--with-xsl=shared,/usr --enable-fastcgi --with-pcre-dir=/usr/local
--enable-xmlreader=shared --with-mcrypt --with-mhash
--with-config-file-path=/etc/php-5.2.6
--with-config-file-scan-dir=/etc/php-5.2.6/php.d

Should it make any difference that I used --disable-debug?

I went back and ran configure again with --enable-debug and all the
same other parameters.  This time the test PASSED.

I don't understand.

Jim




Jim


Previous Comments:
------------------------------------------------------------------------

[2008-11-01 23:21:35] [EMAIL PROTECTED]

And what was the configure line you used to compile PHP?

------------------------------------------------------------------------

[2008-11-01 23:20:54] [EMAIL PROTECTED]

Are you loading any shared extensions? 

------------------------------------------------------------------------

[2008-11-01 22:49:16] hostmaster at uuism dot net

I ran the test again with the php.ini-recommended and only the
extension_dir changed.  Same results.

Jim

------------------------------------------------------------------------

[2008-11-01 22:37:17] hostmaster at uuism dot net

I ran the test again with php.ini-dist (only changed extension_dir) 
and got the same results:

[snip]
Core was generated by `sapi/cli/php -d output_handler= -d open_basedir=
-d safe_mode=0 -d disable_func'.
Program terminated with signal 11, Segmentation fault.
#0  php_session_start () at
/usr/local/src/php5.2-200810312330/ext/session/session.c:621
621             if (PG(register_long_arrays)) {
(gdb) bt
#0  php_session_start () at
/usr/local/src/php5.2-200810312330/ext/session/session.c:621
#1  0x08190520 in zif_session_start (ht=0, return_value=0xb7ca107c,
return_value_ptr=0x0, this_ptr=0x0, return_value_used=0)
    at /usr/local/src/php5.2-200810312330/ext/session/session.c:1824
#2  0x082b8f5a in zend_do_fcall_common_helper_SPEC
(execute_data=0xbf9b735c)
    at /usr/local/src/php5.2-200810312330/Zend/zend_vm_execute.h:200
#3  0x082a894f in execute (op_array=0xb7ca1544) at
/usr/local/src/php5.2-200810312330/Zend/zend_vm_execute.h:92
#4  0x08287eb0 in zend_execute_scripts (type=8, retval=0x0,
file_count=3)
    at /usr/local/src/php5.2-200810312330/Zend/zend.c:1134
#5  0x08240d23 in php_execute_script (primary_file=0xbf9b9758) at
/usr/local/src/php5.2-200810312330/main/main.c:2011
#6  0x0831013b in main (argc=59, argv=0xbf9b9874) at
/usr/local/src/php5.2-200810312330/sapi/cli/php_cli.c:1134
(gdb) quit

[EMAIL PROTECTED] php5.2-200810312330]# diff php.ini-dist
/etc/php-5.2.6/php.ini | more
486c486
< extension_dir = "./"
---
> extension_dir = "/usr/local/src/php5.2-200810312330/modules"

Jim

------------------------------------------------------------------------

[2008-11-01 21:07:55] [EMAIL PROTECTED]

How does your php.ini differ from the php.ini-dist (or php.ini-
recommended, whichever you used) ?

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/46444

-- 
Edit this bug report at http://bugs.php.net/?id=46444&edit=1

Reply via email to