{"action":"opened","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/8511","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/8511/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/8511/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/8511/events","html_url":"https://github.com/yiisoft/yii2/issues/8511","id":79047324,"number":8511,"title":"DbSession fails","user":{"login":"vskvortsov","id":4839477,"avatar_url":"https://avatars.githubusercontent.com/u/4839477?v=3","gravatar_id":"","url":"https://api.github.com/users/vskvortsov","html_url":"https://github.com/vskvortsov","followers_url":"https://api.github.com/users/vskvortsov/followers","following_url":"https://api.github.com/users/vskvortsov/following{/other_user}","gists_url":"https://api.github.com/users/vskvortsov/gists{/gist_id}","starred_url":"https://api.github.com/users/vskvortsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vskvortsov/subscriptions","organizations_url":"https://api.github.com/users/vskvortsov/orgs","repos_url":"https://api.github.com/users/vskvortsov/repos","events_url":"https://api.github.com/users/vskvortsov/events{/privacy}","received_events_url":"https://api.github.com/users/vskvortsov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-21T15:36:07Z","updated_at":"2015-05-21T15:36:07Z","closed_at":null,"body":"Just created a fresh advanced app. \r\nUpdated default session to yii\\web\\DbSession\r\n\r\nOn the second page load a got 502 (if i delete phpsessid - the first page load is ok)\r\nI found that my php-fpm ( 5.4.40-1~dotdeb+wheezy.1) crashes with SIGSEGV\r\nStarting XDEBUG i can avoid the crash and got this in my log files:\r\n\r\n2015/05/21 18:32:59 [error] 6718#0: *228 FastCGI sent in stderr: \"PHP message: PHP Fatal error:  Access to undeclared static property: Yii::$classMap in /media/sf_plusplus-source/vendor/yiisoft/yii2/BaseYii.php on line 274\r\nPHP message: PHP Stack trace:\r\nPHP message: PHP   1. yii\\web\\DbSession->writeSession($id = *uninitialized*, $data = *uninitialized*) /media/sf_plusplus-source/vendor/yiisoft/yii2/web/DbSession.php:0\r\nPHP message: PHP   2. yii\\BaseYii::autoload($className = *uninitialized*) /media/sf_plusplus-source/vendor/yiisoft/yii2/web/DbSession.php:171\" while reading upstream, client: 192.168.1.5, server: plus-plus.dev, request: \"GET /index.php?r=site%2Findex HTTP/1.1\", upstream: \"fastcgi://127.0.0.1:9000\", host: \"plus-plus.dev\", referrer: \"http://plus-plus.dev/index.php?r=site%2Fcontact\"\r\n\r\n\r\nIt crashes right after it enters writeSession for the second time, this line: (DbSession.php, line: 171)\r\n$expire = time() + $this->getTimeout();\r\n"}}