ID: 32317
User updated by: ian_real at dominios dot net
Reported By: ian_real at dominios dot net
-Status: Feedback
+Status: Open
Bug Type: Session related
-Operating System: Sus 2.6.8-24-smp x86_64
+Operating System: Suse 2.6.8-24-smp x86_64
PHP Version: 4.3.10
New Comment:
I cant even compile php4-STABLE-200503160730
>make
gcc -Iext/session/ -I/temp/php4-STABLE-200503160730/ext/session/
-DPHP_ATOM_INC -I/temp/php4-STABLE-200503160730/include
-I/temp/php4-STABLE-200503160730/main -I/temp/php4-STABLE-200503160730
-I/temp/php4-STABLE-200503160730/Zend -g -Wall -c
/temp/php4-STABLE-200503160730/ext/session/session.c -o
ext/session/session.o && echo > ext/session/session.lo
In file included from
/temp/php4-STABLE-200503160730/Zend/zend_alloc.h:26,
from /temp/php4-STABLE-200503160730/Zend/zend.h:223,
from /temp/php4-STABLE-200503160730/main/php.h:34,
from
/temp/php4-STABLE-200503160730/ext/session/session.c:26:
/temp/php4-STABLE-200503160730/TSRM/TSRM.h:18:26: tsrm_config.h: No
such file or directory
In file included from
/temp/php4-STABLE-200503160730/ext/session/session.c:26:
/temp/php4-STABLE-200503160730/main/php.h:393:30: tsrm_virtual_cwd.h:
No such file or directory
/temp/php4-STABLE-200503160730/ext/session/session.c: In function
`php_session_create_id':
/temp/php4-STABLE-200503160730/ext/session/session.c:579: warning:
implicit declaration of function `VCWD_OPEN'
/temp/php4-STABLE-200503160730/ext/session/session.c: In function
`last_modified':
/temp/php4-STABLE-200503160730/ext/session/session.c:759: warning:
implicit declaration of function `VCWD_STAT'
make: *** [ext/session/session.lo] Error 1
Previous Comments:
------------------------------------------------------------------------
[2005-03-16 00:45:27] [EMAIL PROTECTED]
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Try using this snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
And this configure line:
# ./configure --disable-all --enable-session --enable-debug
And use the sapi/cli/php binary in your script.
------------------------------------------------------------------------
[2005-03-15 17:04:43] ian_real at dominios dot net
Description:
------------
The problem only happens on our systems with two nocona 64 bit CPUs
Configure Command => './configure' '--with-_lib=lib64'
'--enable-sockets' '--enable-pcntl' '--enable-sigchild' '--with-bz2'
'--enable-discard-path' '--with-mysql=/usr/local/mysql'
'--with-curl=/usr/local' '--with-dbase' '--disable-short-tags'
'--enable-track-vars' '--without-gd' '--enable-sysvshm'
'--enable-sysvsem' '--disable-debug' '--enable-magic-quotes'
'--enable-memory-limit' '--with-config-file-path=/usr/local/lib'
'--with-zlib'
Reproduce code:
---------------
#!/usr/local/bin/php-cli
<?php
session_id("abtest");
session_start();
?>
Expected result:
----------------
shouldnt produce any output
Actual result:
--------------
*** glibc detected *** double free or corruption: 0x000000000073d9a0
***
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32317&edit=1