|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2001-06-23 17:34 UTC] sniper@php.net
  [2001-06-24 11:29 UTC] zork at pablosoft dot com dot pl
  [2001-06-24 11:59 UTC] sniper@php.net
  [2001-06-24 12:49 UTC] zork at pablosoft dot com dot pl
  [2001-06-24 13:16 UTC] sniper@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 00:00:01 2025 UTC | 
There is still problem in serialize/unserialize mechanism used to restore session variables(after closing #8676 bug which was supoused to correct the problem). Here is simplest script I can produce that does apache segfault on my machine: <? class Cscreen { var $page; var $frames; function Cscreen() { $this -> frames = array(); } }; class CError_handler { var $msg_error; function CError_handler() { $this -> msg_error = new CMessage(); } }; class CConnection_Table { var $data; function CConnection_table() { $this -> data = array(); } function mconnect($message,&$object,$method) { $data[0] = &$object; $data[1] = $method; $this -> data[$message -> msg_id][] = $data; } }; class CMessage { var $data; var $msg_id; function CMessage($data = 0) { global $__CMSGID_NEXT; $this -> msg_id = $__CMSGID_NEXT++; $this -> data = $data; } }; function MCONNECT(&$message,&$obj_name,$method_name) { global $__connection_table; $__connection_table -> mconnect($message,$obj_name,$method_name); }; session_start(); session_destroy(); $__connection_table = new CConnection_table; session_register("__connection_table"); $screen = new Cscreen(); session_register("screen"); $error_handler = new CError_handler($screen); MCONNECT($error_handler -> msg_error,$screen,"fatal_error"); session_register("error_handler"); echo "done"; exit();