ID: 46444
Updated by: jani@php.net
Reported By: hostmaster at uuism dot net
-Status: Open
+Status: Feedback
-Bug Type: Reproducible crash
+Bug Type: Session related
Operating System: Fedora Core 4
-PHP Version: 5.2.6
+PHP Version: 5.2CVS-2008-10-31
New Comment:
Since it does not crash for me, can you provide a GDB backtrace of
the crash?
Previous Comments:
------------------------------------------------------------------------
[2008-11-01 04:14:29] hostmaster at uuism dot net
This test still produces a crash with php5.2-200810312330.
Thanks for looking into this problem.
Jim
------------------------------------------------------------------------
[2008-10-31 23:12:49] hostmaster at uuism dot net
Description:
------------
when I run test ext/session/tests/016.phpt, I still get a core dump
with PHP 5.2.6 and FC4 and Linux Kernel 2.6.20.1. The script run-tests
puts FAIL in front of the description.
This same problem was reported in Bug #43361 invalid session.save_path
test cause php crash
Here are the results:
# TEST_PHP_EXECUTABLE=sapi/cli/php sapi/cli/php run-tests.php
ext/session/tests/016.phpt
=====================================================================
PHP : sapi/cli/php
PHP_SAPI : cli
PHP_VERSION : 5.2.6
ZEND_VERSION: 2.2.0
PHP_OS : Linux - Linux host.uuserver.net 2.6.20.1 #16 SMP Thu Nov
8 14:19:44 EST 2007 i686
INI actual : /usr/local/src/php-5.2.6/sapi/cli/php.ini
More .INIs : /etc/php.d/mysql.ini,/etc/php.d/mysqli.ini
CWD : /usr/local/src/php-5.2.6
Extra dirs :
=====================================================================
Running selected tests.
FAIL invalid session.save_path should not cause a segfault
[ext/session/tests/016.phpt]
=====================================================================
Number of tests : 1 1
Tests skipped : 0 ( 0.0%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 1 (100.0%) (100.0%)
Tests passed : 0 ( 0.0%) ( 0.0%)
---------------------------------------------------------------------
Time taken : 1 seconds
=====================================================================
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
invalid session.save_path should not cause a segfault
[ext/session/tests/016.phpt]
=====================================================================
Reproduce code:
---------------
--INI--
session.save_path="123;:/really\\completely:::/invalid;;,23123;213"
session.use_cookies=0
session.cache_limiter=
session.save_handler=files
session.serialize_handler=php
--FILE--
<?php
error_reporting(E_ALL);
@session_start();
$HTTP_SESSION_VARS["test"] = 1;
@session_write_close();
print "I live\n";
?>
Expected result:
----------------
no core dump
Actual result:
--------------
core dump
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46444&edit=1