From:             chris at widexs dot nl
Operating system: linux 2.4.23
PHP version:      4CVS-2003-12-12 (stable)
PHP Bug Type:     Session related
Bug description:  segfault in php_session_initialize

Description:
------------
Getting segmentation fault in php_session_initialize

-apache 2.0.48
-php4-STABLE-200312120830
-gcc 3.3.2
-glibc 2.3.2
-zend optimizer 2.1.0

php compile options:
--with-apxs2=/usr/local/apache2/bin/apxs \
--disable-cgi \
--enable-safe-mode \
--with-openssl=/usr/local/ssl \
--with-pear \
--with-zlib \
--enable-bcmath \
--enable-calendar \
--with-curl=/usr/local/curl \
--enable-dba \
--enable-dbase \
--with-dom=/usr/local \
--with-dom-xslt=/usr/local \
--with-dom-exslt=/usr/local \
--enable-ftp \
--with-gd \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--with-ttf=/usr \
--with-freetype-dir=/usr \
--enable-gd-native-ttf \
--with-imap=../imap \
--with-imap-ssl=/usr/local/ssl \
--with-ldap \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr/local/mysql \
--with-pdflib \
--with-swf=../swf/dist/ \
--enable-wddx \
--enable-xslt \
--with-xslt-sablot=/usr/local \
--with-expat-dir=/usr/local \
--enable-exif \
--enable-memory-limit






Reproduce code:
---------------
n/a

Expected result:
----------------
n/a

Actual result:
--------------
#0  0x404ed36c in php_session_initialize (tsrm_ls=0x851c990) at
/root/apache2.new/php4-STABLE-200312120830/ext/session/session.c:598
598             if (PS(mod)->s_open(&PS(mod_data), PS(save_path),
PS(session_name) TSRMLS_CC) == FAILURE) {
(gdb) bt
#0  0x404ed36c in php_session_initialize (tsrm_ls=0x851c990) at
/root/apache2.new/php4-STABLE-200312120830/ext/session/session.c:598
#1  0x404eeb6b in php_session_start (tsrm_ls=0x851c990) at
/root/apache2.new/php4-STABLE-200312120830/ext/session/session.c:1047
#2  0x404f07b5 in zif_session_start (ht=0, return_value=0x8ecdc8c,
this_ptr=0x0, return_value_used=0, tsrm_ls=0x8bad198)
    at
/root/apache2.new/php4-STABLE-200312120830/ext/session/session.c:1486
#3  0x40e34e33 in zend_assign_to_variable_reference () from
/usr/local/Zend/lib/Optimizer_TS/php-4.3.x/ZendOptimizer.so


-- 
Edit bug report at http://bugs.php.net/?id=26599&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26599&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26599&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26599&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26599&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26599&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=26599&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=26599&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26599&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26599&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26599&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26599&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26599&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26599&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26599&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26599&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26599&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26599&r=float

Reply via email to