{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/17631","labels_url":"https://api.github.com/repos/owncloud/core/issues/17631/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/17631/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/17631/events","html_url":"https://github.com/owncloud/core/issues/17631","id":94868086,"number":17631,"title":"8.1 php ldap segfault when some users login","user":{"login":"benwilliams","id":2773867,"avatar_url":"https://avatars.githubusercontent.com/u/2773867?v=3","gravatar_id":"","url":"https://api.github.com/users/benwilliams","html_url":"https://github.com/benwilliams","followers_url":"https://api.github.com/users/benwilliams/followers","following_url":"https://api.github.com/users/benwilliams/following{/other_user}","gists_url":"https://api.github.com/users/benwilliams/gists{/gist_id}","starred_url":"https://api.github.com/users/benwilliams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benwilliams/subscriptions","organizations_url":"https://api.github.com/users/benwilliams/orgs","repos_url":"https://api.github.com/users/benwilliams/repos","events_url":"https://api.github.com/users/benwilliams/events{/privacy}","received_events_url":"https://api.github.com/users/benwilliams/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/app:user_ldap","name":"app:user_ldap","color":"02d7e1"},{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-07-14T04:54:58Z","updated_at":"2015-07-17T14:23:15Z","closed_at":null,"body":"Upgraded from 8.0.5 to 8.1 on Ubuntu 14.04.2 LTS using deb package from repo http://download.opensuse.org/repositories/isv:/ownCloud:/community/xUbuntu_14.04/\r\n\r\nNow when some users login the php process segfaults in the ldap library. Doesn't effect all users. When an effected user attempts to login, owncloud generates thousands of queries in a loop to the ldap server and CPU goes to 100% until the process segfaults.\r\n\r\n```\r\nJul 13 09:03:40 hostname kernel: [1567616.839869] php5-fpm[10623]: segfault at 7ffef0922b40 ip 00007fb6100d55e2 sp 00007ffef0922b10 error 6 in libldap_r-2.4.so.2.8.3[7fb6100c2000+4d000]\r\nJul 13 09:04:12 hostname kernel: [1567648.823291] php5-fpm[10637]: segfault at 7ffef0922b40 ip 00007fb6100d55e2 sp 00007ffef0922b10 error 6 in libldap_r-2.4.so.2.8.3[7fb6100c2000+4d000]\r\nJul 13 09:04:44 hostname kernel: [1567680.722195] php5-fpm[10599]: segfault at 7ffef0922b40 ip 00007fb6100d55e2 sp 00007ffef0922b10 error 6 in libldap_r-2.4.so.2.8.3[7fb6100c2000+4d000]\r\nJul 13 09:05:16 hostname kernel: [1567712.781160] php5-fpm[10608]: segfault at 7ffef0922b40 ip 00007fb6100d55e2 sp 00007ffef0922b10 error 6 in libldap_r-2.4.so.2.8.3[7fb6100c2000+4d000]\r\nJul 13 09:05:48 hostname kernel: [1567744.849465] php5-fpm[10653]: segfault at 7ffef0922b40 ip 00007fb6100d55e2 sp 00007ffef0922b10 error 6 in libldap_r-2.4.so.2.8.3[7fb6100c2000+4d000]\r\nJul 13 09:06:19 hostname kernel: [1567776.664817] php5-fpm[10661]: segfault at 7ffef0922b40 ip 00007fb6100d55e2 sp 00007ffef0922b10 error 6 in libldap_r-2.4.so.2.8.3[7fb6100c2000+4d000]\r\nJul 13 09:06:52 hostname kernel: [1567808.746284] php5-fpm[10673]: segfault at 7ffef0922b40 ip 00007fb6100d55e2 sp 00007ffef0922b10 error 6 in libldap_r-2.4.so.2.8.3[7fb6100c2000+4d000]\r\nJul 13 09:07:24 hostname kernel: [1567840.915549] php5-fpm[10681]: segfault at 7ffef0922b40 ip 00007fb6100d55e2 sp 00007ffef0922b10 error 6 in libldap_r-2.4.so.2.8.3[7fb6100c2000+4d000]\r\nJul 13 09:07:56 hostname kernel: [1567872.782323] php5-fpm[10683]: segfault at 7ffef0922b40 ip 00007fb6100d55e2 sp 00007ffef0922b10 error 6 in libldap_r-2.4.so.2.8.3[7fb6100c2000+4d000]\r\nJul 13 09:08:28 hostname kernel: [1567904.752068] php5-fpm[10690]: segfault at 7ffef0922b40 ip 00007fb6100d55e2 sp 00007ffef0922b10 error 6 in libldap_r-2.4.so.2.8.3[7fb6100c2000+4d000]\r\n```"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/122292809","html_url":"https://github.com/owncloud/core/issues/17631#issuecomment-122292809","issue_url":"https://api.github.com/repos/owncloud/core/issues/17631","id":122292809,"user":{"login":"blizzz","id":2184312,"avatar_url":"https://avatars.githubusercontent.com/u/2184312?v=3","gravatar_id":"","url":"https://api.github.com/users/blizzz","html_url":"https://github.com/blizzz","followers_url":"https://api.github.com/users/blizzz/followers","following_url":"https://api.github.com/users/blizzz/following{/other_user}","gists_url":"https://api.github.com/users/blizzz/gists{/gist_id}","starred_url":"https://api.github.com/users/blizzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blizzz/subscriptions","organizations_url":"https://api.github.com/users/blizzz/orgs","repos_url":"https://api.github.com/users/blizzz/repos","events_url":"https://api.github.com/users/blizzz/events{/privacy}","received_events_url":"https://api.github.com/users/blizzz/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T14:23:15Z","updated_at":"2015-07-17T14:23:15Z","body":"@ Everybody:\r\n\r\nwould it be possible for you to get a backtrace (e.g. using PHP's xdebug)?  So far I was not able to reproduce it :-(\r\n\r\n"}}