1--TEST-- 2invalid session.save_path should not cause a segfault 3--SKIPIF-- 4<?php 5if (!extension_loaded("session")) { 6 die("skip Session module not loaded"); 7} 8?> 9--INI-- 10session.save_path="123;:/really\\completely:::/invalid;;,23123;213" 11session.use_cookies=0 12session.cache_limiter= 13session.save_handler=files 14session.serialize_handler=php 15--FILE-- 16<?php 17error_reporting(E_ALL); 18 19session_start(); 20$HTTP_SESSION_VARS["test"] = 1; 21session_write_close(); 22print "I live\n"; 23?> 24--EXPECTF-- 25Warning: session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (123;:/really\completely:::/invalid;;,23123;213) in %s on line %d 26I live 27