Page MenuHomePhabricator
Paste P5472

Indefinite call loop between SecureSessions extension and SessionManager
ActivePublic

Authored by Seb35 on May 21 2017, 1:26 PM.
Error log from nginx.
Some lines are missing, I do not know why, but it can be seen the call loop anyway. There are 256 lines with the same calls pattern.
PHP message: PHP Fatal error: Maximum function nesting level of '256' reached, aborting! in /srv/www/mediawiki/master/includes/user/User.php on line 1184
PHP message: PHP Stack trace:
PHP message: PHP 1. {main}() /srv/www/mediawiki/master/index.php:0
PHP message: PHP 2. MediaWiki->run() /srv/www/mediawiki/master/index.php:43
PHP message: PHP 3. MediaWiki->main() /srv/www/mediawiki/master/includes/MediaWiki.php:523
PHP message: PHP 4. MediaWiki->performRequest() /srv/www/mediawiki/master/includes/MediaWiki.php:862
PHP message: PHP 5. SpecialPageFactory::executePath() /srv/www/mediawiki/master/includes/Media
2017/05/21 15:19:32 [error] 5144#5144: *1213 FastCGI sent in stderr: "SessionBackend.php:687
PHP message: PHP 21. Hooks::run() /srv/www/mediawiki/master/includes/session/CookieSessionProvider.php:203
PHP message: PHP 22. SecureSessions->onUserSetCookies() /srv/www/mediawiki/master/includes/Hooks.php:186
PHP message: PHP 23. SecureSessions->updateSessionCache() /srv/www/mediawiki/master/extensions/SecureSessions/SecureSessions.hooks.php:171
PHP message: PHP 24. WebRequest->getSessionData() /srv/www/mediawiki/master/extensions/SecureSessions/SecureSessions.hooks.php:454
PHP message: PHP 25. WebRequest->getSession() /srv/www/mediawiki/master/includes/WebRequest.php:1033
PHP message: PHP 26. MediaWiki\Session\SessionManager->getSessionById() /srv/www/mediawiki/master/includes/WebRequest.php:729
PHP message: PHP 27. MediaWiki\Session\SessionManager->getSessionFromInfo() /srv/www/mediawiki/master/includes/session/SessionManager.php:213
PHP message: PHP 28. Wikimedia\ScopedCallback::consume() /srv/www/mediawiki/master/includes/session/SessionManager.php:885
PHP message: PHP 29. Wikimedia\ScopedCallback->__destruct() /srv/www/mediawiki/master/vendor/wikimedia/scoped-callback/src/ScopedCallback.php:56
PHP message: PHP 30. call_user_func_array:{/srv/www/mediawiki/master/vendor/wikimedia/scoped-callback/src/ScopedCallback.php:76}() /srv/www/mediawiki/master/vendor/wikimedia/scoped-callback/src/ScopedCallback.php:76
PHP message: PHP 31. MediaWiki\Session\SessionBackend->MediaWiki\Session\{closure}() /srv/www/mediawiki/master/vendor/wikimedia/scoped-callback/src/ScopedCallback.php:76
PHP message: PHP 32. MediaWiki\Session\SessionBackend->save() /srv/www/mediawiki/master/includes/session/SessionBackend.php:596
PHP message: PHP 33. MediaWiki\Session\CookieSessionProvider->persistSession() /srv/www/mediawiki/master/includes/session/SessionBackend.php:687
PHP message: PHP 34. Hooks::run() /srv/www/mediawiki/master/includes/session/CookieSessionProvider.php:203

Event Timeline

Seb35 created this paste.May 21 2017, 1:26 PM
Seb35 added a comment.May 21 2017, 1:29 PM

The lines correspond to MediaWiki 1.30-alpha Git ffcb34b.