Date: 07/27/00
- Next message: Hartmut Holzgraefe: "Re: [PHP-DEV] Annotated manual under mirror tree"
- Previous message: m.duss <email protected>: "[PHP-DEV] PHP 4.0 Bug #5818: Session Data Files contain no data !"
- In reply to: Khimenko Victor: "[PHP-DEV] PHP 4.0 Bug #5102 : segfault on request shutdown"
- Next in thread: Khimenko Victor: "Re: [PHP-DEV] PHP 4.0 Bug #5102 : segfault on request shutdown"
- Reply: Khimenko Victor: "Re: [PHP-DEV] PHP 4.0 Bug #5102 : segfault on request shutdown"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
KV>>
KV>> Looks like I catched problem. It's in session.c handling of ini
KV>> entries. There you have variables like entropy_file. Such
KV>> variables are initialized TWICE! Once in
KV>> PHP_MINIT_FUNCTION(session) (REGISTER_INI_ENTRIES(); is called
KV>> there) and in php_rinit_session_globals... Deallocation is also
KV>> done two times: in PHP_MSHUTDOWN_FUNCTION(session)
KV>> (UNREGISTER_INI_ENTRIES(); is called there) and in
KV>> php_rshutdown_session_globals... With this patch all works Ok
KV>> (on first glance) but I'm not sure if it's correct fix: ---
The weird thing here is that if it was just freed twice, it'd crash every
time, but I never saw it crash in my setup. Why?
-- Stanislav Malyshev stas <email protected> +972-3-6139665 ext.106-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Hartmut Holzgraefe: "Re: [PHP-DEV] Annotated manual under mirror tree"
- Previous message: m.duss <email protected>: "[PHP-DEV] PHP 4.0 Bug #5818: Session Data Files contain no data !"
- In reply to: Khimenko Victor: "[PHP-DEV] PHP 4.0 Bug #5102 : segfault on request shutdown"
- Next in thread: Khimenko Victor: "Re: [PHP-DEV] PHP 4.0 Bug #5102 : segfault on request shutdown"
- Reply: Khimenko Victor: "Re: [PHP-DEV] PHP 4.0 Bug #5102 : segfault on request shutdown"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

