Edit report at http://bugs.php.net/bug.php?id=32330&edit=1

 ID:               32330
 Updated by:       mfisc...@php.net
 Reported by:      mfisc...@php.net
 Summary:          session_destroy,  "Failed to initialize storage
                   module", custom session handler
 Status:           Closed
 Type:             Bug
 Package:          Session related
 Operating System: *
 PHP Version:      6CVS, 5CVS, 5.2.5, 4CVS (2005-03-17)
-Assigned To:      
+Assigned To:      mfischer

 New Comment:

It's painful to find such old revisions in SVN, I know.



I cloned the git mirror from http://github.com/php/php-src/ and searched
for the bug id and found it at
http://github.com/php/php-src/commit/0b6c36990600898768861ac83c5809ce89912b62
.



You can get it as diff with
http://github.com/php/php-src/commit/0b6c36990600898768861ac83c5809ce89912b62.diff



HTH


Previous Comments:
------------------------------------------------------------------------
[2010-07-15 21:00:51] dave at redterror dot net

Any chance the fix could be backported to 5.2, or I can get a reference
to the fix that was applied?  I didn't see this bug number in the
changelog.



I am still seeing the problem on 5.2.12, which was released almost 2
years after the fix was reported to have gone in.

------------------------------------------------------------------------
[2008-07-02 10:11:21] j...@php.net

Note: This fix will be in PHP 5.3 and upwards.

------------------------------------------------------------------------
[2008-03-07 23:21:44] gwy...@php.net

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.



------------------------------------------------------------------------
[2008-02-23 06:43:59] fxmulder at gmail dot com

The problem is both mod_data getting set to NULL and
zval_ptr_dtor(&mdata->names[i]); for each of the functions in
ext/session/mod_user.c:PS_CLOSE_FUNC.  If the deconstructor calls are
removed as well as the NULL replacements and efree() call on mdata then
it works, except then the containing classes are never deconstructed. 
This could possibly be moved to a location when the script is exiting,
and/or another call to session_set_save_handler is made.

------------------------------------------------------------------------
[2008-01-22 05:43:48] gwy...@php.net

This bug still exists in PHP 5.2.5 release and current (as of this
comment) PHP 6CVS. Using a fresh call to session_set_save_handler() does
work, but as previously noted by others, this isn't a desirable
behavior.

------------------------------------------------------------------------


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/bug.php?id=32330


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=32330&edit=1

Reply via email to