{"action":"created","issue":{"url":"https://api.github.com/repos/doctrine/DoctrineMongoDBBundle/issues/294","labels_url":"https://api.github.com/repos/doctrine/DoctrineMongoDBBundle/issues/294/labels{/name}","comments_url":"https://api.github.com/repos/doctrine/DoctrineMongoDBBundle/issues/294/comments","events_url":"https://api.github.com/repos/doctrine/DoctrineMongoDBBundle/issues/294/events","html_url":"https://github.com/doctrine/DoctrineMongoDBBundle/issues/294","id":71594910,"number":294,"title":"schema:update on uninitialized database leads to segmentation fault","user":{"login":"peterrehm","id":2010989,"avatar_url":"https://avatars.githubusercontent.com/u/2010989?v=3","gravatar_id":"","url":"https://api.github.com/users/peterrehm","html_url":"https://github.com/peterrehm","followers_url":"https://api.github.com/users/peterrehm/followers","following_url":"https://api.github.com/users/peterrehm/following{/other_user}","gists_url":"https://api.github.com/users/peterrehm/gists{/gist_id}","starred_url":"https://api.github.com/users/peterrehm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterrehm/subscriptions","organizations_url":"https://api.github.com/users/peterrehm/orgs","repos_url":"https://api.github.com/users/peterrehm/repos","events_url":"https://api.github.com/users/peterrehm/events{/privacy}","received_events_url":"https://api.github.com/users/peterrehm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/doctrine/DoctrineMongoDBBundle/labels/bug","name":"bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-04-28T13:46:09Z","updated_at":"2015-05-01T16:39:09Z","closed_at":"2015-04-28T18:26:48Z","body":"Since the latest update there are Segmentation faults occuring if you run an schema:update if the database has not been created previously.\r\n\r\n````php\r\n$ app/console doctrine:mongodb:schema:update\r\nSegmentation fault (core dumped)\r\n$ app/console doctrine:mongodb:schema:drop\r\nDropped indexes for all classes\r\nDropped collections for all classes\r\nDropped dbs for all classes\r\n$ app/console doctrine:mongodb:schema:create\r\nCreated dbs for all classes\r\nCreated collections for all classes\r\nCreated indexes for all classes\r\n$ app/console doctrine:mongodb:schema:update\r\nUpdated indexes for all classes\r\n$ app/console doctrine:mongodb:schema:drop\r\nDropped indexes for all classes\r\nDropped collections for all classes\r\nDropped dbs for all classes\r\n$ app/console doctrine:mongodb:schema:update\r\nSegmentation fault (core dumped)\r\n````\r\n\r\nIs this the intended behaviour?"},"comment":{"url":"https://api.github.com/repos/doctrine/DoctrineMongoDBBundle/issues/comments/98174337","html_url":"https://github.com/doctrine/DoctrineMongoDBBundle/issues/294#issuecomment-98174337","issue_url":"https://api.github.com/repos/doctrine/DoctrineMongoDBBundle/issues/294","id":98174337,"user":{"login":"peterrehm","id":2010989,"avatar_url":"https://avatars.githubusercontent.com/u/2010989?v=3","gravatar_id":"","url":"https://api.github.com/users/peterrehm","html_url":"https://github.com/peterrehm","followers_url":"https://api.github.com/users/peterrehm/followers","following_url":"https://api.github.com/users/peterrehm/following{/other_user}","gists_url":"https://api.github.com/users/peterrehm/gists{/gist_id}","starred_url":"https://api.github.com/users/peterrehm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterrehm/subscriptions","organizations_url":"https://api.github.com/users/peterrehm/orgs","repos_url":"https://api.github.com/users/peterrehm/repos","events_url":"https://api.github.com/users/peterrehm/events{/privacy}","received_events_url":"https://api.github.com/users/peterrehm/received_events","type":"User","site_admin":false},"created_at":"2015-05-01T16:39:09Z","updated_at":"2015-05-01T16:39:09Z","body":"Thanks, it fixed the issue as expected."}}