Upstream fixed this in https://github.com/facebook/hhvm/issues/5072, we just need it on the cluster for T91699.
Description
Description
Details
Details
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
operations/debs/hhvm | master | +141 -0 | Perserve session handler on session_destroy |
Status | Subtype | Assigned | Task | |
---|---|---|---|---|
· · · | ||||
Resolved | Anomie | T91699 Create AuthManager framework and core classes | ||
Resolved | Joe | T97675 Custom session handler corrupted by session_destroy, "Failed to initialize storage module" | ||
Resolved | Joe | T106483 Create new HHVM package for HHVM 3.6.5 + patches | ||
Resolved | hashar | T106699 Upgrade HHVM related packages on Trusty Jenkins slaves | ||
· · · |
Event Timeline
Comment Actions
@Joe is this upstream patch by any chance in the latest HHVM builds you have been testing?
Comment Actions
Already discussed on IRC, but for posterity: Error occurs on both mw1017 (3.6.1) and mw1050 (3.3.1) using either the test script in the upstream bug report or the following variant that uses SessionHandlerInterface:
<?php echo PHP_VERSION . "\n"; // These implement a do-nothing session handler class S implements SessionHandlerInterface { function open( $path, $name ){ return true; } function close(){ return true; } function read( $id ){ return ''; } function write( $id, $data ){ return true; } function destroy( $id ){ return true; } function gc( $t ){ return true; } } session_set_save_handler(new S(), true); // Test echo "start\n"; session_start(); session_destroy(); session_start(); echo "ok\n";
Comment Actions
@Joe do we have a "next HHVM build" tracking bug that we can attach this too so it doesn't get lost?
Comment Actions
Change 226286 had a related patch set uploaded (by Giuseppe Lavagetto):
Perserve session handler on session_destroy
Comment Actions
Change 226286 merged by Giuseppe Lavagetto:
Perserve session handler on session_destroy