#32317 [Fbk->Opn]: glibc detected double free or corruption in session_start()
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 Expected result: shouldnt produce any output Actual result: -- *** glibc detected *** double free or corruption: 0x0073d9a0 *** -- Edit this bug report at http://bugs.php.net/?id=32317&edit=1
#32317 [NEW]: glibc detected double free or corruption in session_start()
From: ian_real at dominios dot net Operating system: Sus 2.6.8-24-smp x86_64 PHP version: 4.3.10 PHP Bug Type: Session related Bug description: glibc detected double free or corruption in session_start() 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 Expected result: shouldnt produce any output Actual result: -- *** glibc detected *** double free or corruption: 0x0073d9a0 *** -- Edit bug report at http://bugs.php.net/?id=32317&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32317&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32317&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32317&r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=32317&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=32317&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32317&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32317&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32317&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32317&r=support Expected behavior: http://bugs.php.net/fix.php?id=32317&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32317&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32317&r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=32317&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32317&r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=32317&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32317&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32317&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32317&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32317&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32317&r=mysqlcfg
#31213 [Com]: Fix for #29493 seem to have caused other errors
ID: 31213 Comment by: ian_real at dominios dot net Reported By: mikael at SPAMMENOTchl dot chalmers dot se Status: Assigned Bug Type: Scripting Engine problem Operating System: Linux PHP Version: 4.3.9 Assigned To: moriyoshi New Comment: This seemed to be fixed on 4.3.10, but is now failing on STABLE-200503201730 EXPECTED OUTPUT int(1) int(1) int(1) int(2) int(2) int(2) array(2) { ["_a"]=> &int(2) ["_b"]=> &int(2) } int(1) int(1) int(1) int(2) int(2) int(2) array(2) { ["_a"]=> &int(2) ["_b"]=> &int(2) } ACTUAL OUTPUT int(1) int(1) int(1) int(2) int(2) int(2) array(2) { ["_a"]=> &int(2) ["_b"]=> &int(2) } int(1) int(1) int(2) int(2) int(2) int(2) array(2) { ["_a"]=> &int(2) ["_b"]=> &int(2) } FAILED Previous Comments: [2005-01-19 22:11:51] [EMAIL PROTECTED] See also bug #31217 and bug #30074 [2004-12-21 00:11:04] mikael at SPAMMENOTchl dot chalmers dot se Description: In regard to bug #29493 (would have added a comment to it if I could) -- This fix seems to have been backported to PHP 4.3.9, now we get other errors. In the example below $acopy is a reference to $arr['acopy'] and $a is also a reference to $arr['acopy'], when actually $a should have been separated from $arr['acopy'] when extract() makes the $acopy reference to $arr['acopy'] since the array is created with 'acopy' => $a $b, $arr['bref'] and $bref should and does however all point to the same value as they should since the array is created with 'bref' => &$b Reproduce code: Reproduce code: --- $a = 1; $b = 1; $arr = array('acopy' => $a, 'bref' => &$b); extract($arr, EXTR_REFS); $acopy++; $bref++; debug_zval_dump($a, $b, $arr, $acopy, $bref); Expected result: (As seen on PHP < 4.3.9): $a: long(1) refcount(2) $b: long(2) refcount(1) $arr: array(2) refcount(2){ ["acopy"]=> &long(2) refcount(2) ["bref"]=> &long(2) refcount(3) } $acopy: long(2) refcount(1) $bref: long(2) refcount(1) Note: Shouldn't the refcount of $a be == 1 instead of 2. $a should be a separate zval while $arr['acopy'] and $acopy should be references to the same value as indicated by the refcount of 2 Actual result: -- $a is now == 2, when it should be == 1. Only $arr['acopy'] should be == 2 $a: long(2) refcount(1) $b: long(2) refcount(1) $arr: array(2) refcount(2){ ["acopy"]=> &long(2) refcount(3) ["bref"]=> &long(2) refcount(3) } $acopy: long(2) refcount(1) $bref: long(2) refcount(1) -- Edit this bug report at http://bugs.php.net/?id=31213&edit=1
#32386 [NEW]: Sablotron error on line 1: XML parser error 3
From: ian_real at dominios dot net Operating system: Suse 9.2 2.6.8-24-smp x86_64 PHP version: 4CVS-2005-03-20 (stable) PHP Bug Type: XSLT related Bug description: Sablotron error on line 1: XML parser error 3 Description: XSLT test fails Sablotron version is 1.0.2 /temp/php4-STABLE-200503201730/ext/xslt/tests/xslt_set_object.phpt EXPECTED OUTPUT OK OK ACTUAL OUTPUT Warning: Sablotron error on line 1: XML parser error 3: no element found in /temp/php4-STABLE-200503201730/ext/xslt/tests/xslt_set_$ Warning: Sablotron error on line 1: XML parser error 3: no element found in /temp/php4-STABLE-200503201730/ext/xslt/tests/xslt_set_$ OK OK FAILED -- Edit bug report at http://bugs.php.net/?id=32386&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32386&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32386&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32386&r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=32386&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=32386&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32386&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32386&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32386&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32386&r=support Expected behavior: http://bugs.php.net/fix.php?id=32386&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32386&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32386&r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=32386&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32386&r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=32386&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32386&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32386&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32386&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32386&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32386&r=mysqlcfg
#32369 [NEW]: configure: error: libjpeg.(a|so) not found
From: ian_real at dominios dot net Operating system: Suse 9.2 2.6.8-24-smp x86_64 PHP version: 4.3.10 PHP Bug Type: Compile Failure Bug description: configure: error: libjpeg.(a|so) not found Description: configure wont find the jpeg libraries in /usr/lib64 CFLAGS="-O3 -march=nocona" CXX=gcc CXXFLAGS="-O3 -march=nocona" \ ./configure --with-_lib=lib64 --libdir=/usr/lib64 --enable-cli \ --with-apxs=/usr/local/etc/httpd/bin/apxs \ --enable-xslt --with-xslt-sablot --with-bz2 \ --enable-sockets --with-curl=/usr/local --with-dbase \ --disable-short-tags --enable-track-vars --with-gd \ --with-zlib --with-png-dir=/usr --with-jpeg-dir=/usr \ --enable-sysvshm --enable-sysvsem --disable-debug \ --enable-magic-quotes --enable-memory-limit \ --with-config-file-path=/usr/local/lib --with-mysql=/usr/local/mysql/ ... configure: error: libjpeg.(a|so) not found -- Edit bug report at http://bugs.php.net/?id=32369&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32369&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32369&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32369&r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=32369&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=32369&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32369&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32369&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32369&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32369&r=support Expected behavior: http://bugs.php.net/fix.php?id=32369&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32369&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32369&r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=32369&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32369&r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=32369&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32369&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32369&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32369&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32369&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32369&r=mysqlcfg
#32317 [Opn]: glibc detected double free or corruption in session_start()
ID: 32317 User updated by: ian_real at dominios dot net Reported By: ian_real at dominios dot net Status: Open Bug Type: Session related Operating System: Suse 2.6.8-24-smp x86_64 PHP Version: 4.3.10 New Comment: can you tell me which part of the code you changed, so I can patch it on 4.3.10? Thanks Previous Comments: [2005-03-17 12:48:24] [EMAIL PROTECTED] Hello, Please do not mix topics :) If you find other bugs not related to this one, open new ones. Thanks. For the record, about gd tests, it seems that the md5 signatures of result images differ but the tests work. --Pierre [2005-03-17 12:40:55] ian_real at dominios dot net It works now, thanks! Just the snapshot version seems to have even more bugs... Bug #22544 (TrueColor transparency in PNG images). [ext/gd/tests/bug22544.phpt] Bug #24155 (gdImageRotate270 rotation problem). [ext/gd/tests/bug24155.phpt] gdimagefill() function (Bug #19366 (fixed in bundled libgd)) [ext/gd/tests/bug27582_1.phpt] Bug #31213 (Sideeffects caused by bug #29493) [ext/standard/tests/array/bug31213.phpt] xslt_set_object function [ext/xslt/tests/xslt_set_object.phpt] Any idea when 4.3.11 will be released? [2005-03-17 09:45:15] [EMAIL PROTECTED] Try again. I broke the build with bad commit. (I fixed it just a few minutes ago though :) [2005-03-16 09:47:57] ian_real at dominios dot net 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 [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. 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/32317 -- Edit this bug report at http://bugs.php.net/?id=32317&edit=1
#32317 [Fbk->Opn]: glibc detected double free or corruption in session_start()
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: Suse 2.6.8-24-smp x86_64 PHP Version: 4.3.10 New Comment: It works now, thanks! Just the snapshot version seems to have even more bugs... Bug #22544 (TrueColor transparency in PNG images). [ext/gd/tests/bug22544.phpt] Bug #24155 (gdImageRotate270 rotation problem). [ext/gd/tests/bug24155.phpt] gdimagefill() function (Bug #19366 (fixed in bundled libgd)) [ext/gd/tests/bug27582_1.phpt] Bug #31213 (Sideeffects caused by bug #29493) [ext/standard/tests/array/bug31213.phpt] xslt_set_object function [ext/xslt/tests/xslt_set_object.phpt] Any idea when 4.3.11 will be released? Previous Comments: [2005-03-17 09:45:15] [EMAIL PROTECTED] Try again. I broke the build with bad commit. (I fixed it just a few minutes ago though :) [2005-03-16 09:47:57] ian_real at dominios dot net 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 [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 Expected result: shouldnt produce any output Actual result: -- *** glibc detected *** double free or corruption: 0x0073d9a0 *** -- Edit this bug report at http://bugs.php.net/?id=32317&edit=1