{"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":10,"created_at":"2015-07-14T04:54:58Z","updated_at":"2015-07-15T17:01:00Z","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/121680080","html_url":"https://github.com/owncloud/core/issues/17631#issuecomment-121680080","issue_url":"https://api.github.com/repos/owncloud/core/issues/17631","id":121680080,"user":{"login":"Nick-Lock","id":13352161,"avatar_url":"https://avatars.githubusercontent.com/u/13352161?v=3","gravatar_id":"","url":"https://api.github.com/users/Nick-Lock","html_url":"https://github.com/Nick-Lock","followers_url":"https://api.github.com/users/Nick-Lock/followers","following_url":"https://api.github.com/users/Nick-Lock/following{/other_user}","gists_url":"https://api.github.com/users/Nick-Lock/gists{/gist_id}","starred_url":"https://api.github.com/users/Nick-Lock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nick-Lock/subscriptions","organizations_url":"https://api.github.com/users/Nick-Lock/orgs","repos_url":"https://api.github.com/users/Nick-Lock/repos","events_url":"https://api.github.com/users/Nick-Lock/events{/privacy}","received_events_url":"https://api.github.com/users/Nick-Lock/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T17:01:00Z","updated_at":"2015-07-15T17:01:00Z","body":"apt-get dist-upgrade (!)\r\n\r\nHere's the list of packages that were updated:\r\n\r\nStart-Date: 2015-07-14  09:46:56\r\nCommandline: apt-get dist-upgrade\r\nInstall: owncloud-app-encryption:amd64 (8.1.0-2, automatic)\r\nUpgrade: bind9-host:amd64 (9.9.5.dfsg-3ubuntu0.2, 9.9.5.dfsg-3ubuntu0.3), liblwres90:amd64 (9.9.5.dfsg-3ubuntu0.2, 9.9.5.dfsg-3ubuntu0.3), owncloud-app-files-external:amd64 (8.0.4-1, 8.1.0-2), owncloud-app-files-locking:amd64 (8.0.4-1, 8.1.0-2), libdns100:amd64 (9.9.5.dfsg-3ubuntu0.2, 9.9.5.dfsg-3ubuntu0.3), python-samba:amd64 (4.1.6+dfsg-1ubuntu2.14.04.7, 4.1.6+dfsg-1ubuntu2.14.04.8), libisccfg90:amd64 (9.9.5.dfsg-3ubuntu0.2, 9.9.5.dfsg-3ubuntu0.3), libbind9-90:amd64 (9.9.5.dfsg-3ubuntu0.2, 9.9.5.dfsg-3ubuntu0.3), owncloud:amd64 (8.0.4-1, 8.1.0-2), owncloud-3rdparty:amd64 (8.0.4-1, 8.1.0-2), owncloud-app-user-external:amd64 (8.0.4-1, 8.1.0-2), owncloud-app-files-trashbin:amd64 (8.0.4-1, 8.1.0-2), owncloud-app-files-sharing:amd64 (8.0.4-1, 8.1.0-2), grub-common:amd64 (2.02~beta2-9ubuntu1.2, 2.02~beta2-9ubuntu1.3), dh-python:amd64 (1.20140128-1ubuntu8, 1.20140128-1ubuntu8.1), owncloud-app-firstrunwizard:amd64 (8.0.4-1, 8.1.0-2), owncloud-server:amd64 (8.0.4-1, 8.1.0-2), owncloud-app-files-pdfviewer:amd64 (8.0.4-1, 8.1.0-2), owncloud-app-activity:amd64 (8.0.4-1, 8.1.0-2), owncloud-app-files-texteditor:amd64 (8.0.4-1, 8.1.0-2), dnsutils:amd64 (9.9.5.dfsg-3ubuntu0.2, 9.9.5.dfsg-3ubuntu0.3), owncloud-app-provisioning-api:amd64 (8.0.4-1, 8.1.0-2), grub2-common:amd64 (2.02~beta2-9ubuntu1.2, 2.02~beta2-9ubuntu1.3), libnss3-nssdb:amd64 (3.17.4-0ubuntu0.14.04.1, 3.19.2-0ubuntu0.14.04.1), owncloud-app-user-webdavauth:amd64 (8.0.4-1, 8.1.0-2), owncloud-app-templateeditor:amd64 (8.0.4-1, 8.1.0-2), owncloud-app-files-versions:amd64 (8.0.4-1, 8.1.0-2), samba-common-bin:amd64 (4.1.6+dfsg-1ubuntu2.14.04.7, 4.1.6+dfsg-1ubuntu2.14.04.8), owncloud-app-files:amd64 (8.0.4-1, 8.1.0-2), samba-libs:amd64 (4.1.6+dfsg-1ubuntu2.14.04.7, 4.1.6+dfsg-1ubuntu2.14.04.8), libnss3:amd64 (3.17.4-0ubuntu0.14.04.1, 3.19.2-0ubuntu0.14.04.1), owncloud-app-gallery:amd64 (8.0.4-1, 8.1.0-2), owncloud-config-apache:amd64 (8.0.4-1, 8.1.0-2), grub-pc-bin:amd64 (2.02~beta2-9ubuntu1.2, 2.02~beta2-9ubuntu1.3), owncloud-app-external:amd64 (8.0.4-1, 8.1.0-2), grub-pc:amd64 (2.02~beta2-9ubuntu1.2, 2.02~beta2-9ubuntu1.3), smbclient:amd64 (4.1.6+dfsg-1ubuntu2.14.04.7, 4.1.6+dfsg-1ubuntu2.14.04.8), linux-firmware:amd64 (1.127.12, 1.127.13), owncloud-app-files-videoviewer:amd64 (8.0.4-1, 8.1.0-2), libwbclient0:amd64 (4.1.6+dfsg-1ubuntu2.14.04.7, 4.1.6+dfsg-1ubuntu2.14.04.8), owncloud-app-user-ldap:amd64 (8.0.4-1, 8.1.0-2), samba-common:amd64 (4.1.6+dfsg-1ubuntu2.14.04.7, 4.1.6+dfsg-1ubuntu2.14.04.8), libisccc90:amd64 (9.9.5.dfsg-3ubuntu0.2, 9.9.5.dfsg-3ubuntu0.3), libsmbclient:amd64 (4.1.6+dfsg-1ubuntu2.14.04.7, 4.1.6+dfsg-1ubuntu2.14.04.8), libisc95:amd64 (9.9.5.dfsg-3ubuntu0.2, 9.9.5.dfsg-3ubuntu0.3)\r\nRemove: owncloud-app-files-encryption:amd64 (8.0.4-1)\r\nEnd-Date: 2015-07-14  09:47:39\r\n"}}