{"action":"created","issue":{"url":"https://api.github.com/repos/docker-library/php/issues/275","repository_url":"https://api.github.com/repos/docker-library/php","labels_url":"https://api.github.com/repos/docker-library/php/issues/275/labels{/name}","comments_url":"https://api.github.com/repos/docker-library/php/issues/275/comments","events_url":"https://api.github.com/repos/docker-library/php/issues/275/events","html_url":"https://github.com/docker-library/php/issues/275","id":168294345,"number":275,"title":"SIGSEGV in php-fpm","user":{"login":"abalage","id":6349914,"avatar_url":"https://avatars.githubusercontent.com/u/6349914?v=3","gravatar_id":"","url":"https://api.github.com/users/abalage","html_url":"https://github.com/abalage","followers_url":"https://api.github.com/users/abalage/followers","following_url":"https://api.github.com/users/abalage/following{/other_user}","gists_url":"https://api.github.com/users/abalage/gists{/gist_id}","starred_url":"https://api.github.com/users/abalage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abalage/subscriptions","organizations_url":"https://api.github.com/users/abalage/orgs","repos_url":"https://api.github.com/users/abalage/repos","events_url":"https://api.github.com/users/abalage/events{/privacy}","received_events_url":"https://api.github.com/users/abalage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-29T10:16:46Z","updated_at":"2016-08-10T07:33:52Z","closed_at":null,"body":"Hello,\r\n\r\nI'd like to get some help troubleshooting and fixing this issue I have.\r\nAs a base image I am using the '5-fpm-alpine' variant of the images, latest version as of today.\r\nI have added several core and pecl modules with the way as it is described in it's docker hub page.\r\n\r\nphp-fpm servs - among others - an ownCloud installation which is constantly causing php-fpm to fail with SIGSEGV.\r\n\r\nI managed to get core files - however even though I recompiled php with --enable-debug and skipped stripping the symbols from the binaries - but gdb shows nothing useful for me. (I am not a developer)\r\n\r\n----------------------------------\r\nbash-4.3# gdb -c coredump-php-fpm.11 /usr/local/sbin/php-fpm \r\nGNU gdb (GDB) 7.11\r\nCopyright (C) 2016 Free Software Foundation, Inc.\r\nLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\r\nThis is free software: you are free to change and redistribute it.\r\nThere is NO WARRANTY, to the extent permitted by law.  Type \"show copying\"\r\nand \"show warranty\" for details.\r\nThis GDB was configured as \"x86_64-alpine-linux-musl\".\r\nType \"show configuration\" for configuration details.\r\nFor bug reporting instructions, please see:\r\n<http://www.gnu.org/software/gdb/bugs/>.\r\nFind the GDB manual and other documentation resources online at:\r\n<http://www.gnu.org/software/gdb/documentation/>.\r\nFor help, type \"help\".\r\nType \"apropos word\" to search for commands related to \"word\"...\r\nReading symbols from /usr/local/sbin/php-fpm...done.\r\n[New LWP 11]\r\n\r\nwarning: Can't read pathname for load map: No error information.\r\nCore was generated by `php-fpm:'.\r\nProgram terminated with signal SIGSEGV, Segmentation fault.\r\n#0  0x00007ffa3365e80f in free () from /lib/ld-musl-x86_64.so.1\r\n(gdb) bt\r\n#0  0x00007ffa3365e80f in free () from /lib/ld-musl-x86_64.so.1\r\n#1  0x0000000000000020 in ?? ()\r\n#2  0x00007ffa3365f0e8 in memalign () from /lib/ld-musl-x86_64.so.1\r\n#3  0x00005647f095a0a0 in ?? ()\r\n#4  0x00005647f0899680 in ?? ()\r\n#5  0x00005647f0959fc0 in ?? ()\r\n#6  0x0000000000000001 in ?? ()\r\n#7  0x0000000000000000 in ?? ()\r\n(gdb)\r\n----------------------------------\r\n\r\ndmesg:\r\n\r\n[403674.575650] traps: php-fpm[7246] general protection ip:7ffa3365e80f sp:7ffeca2ed950 error:0 in ld-musl-x86_64.so.1[7ffa3363b000+88000]\r\n[403675.578962] traps: php-fpm[7247] general protection ip:7ffa3365e80f sp:7ffeca2ed950 error:0 in ld-musl-x86_64.so.1[7ffa3363b000+88000]\r\n\r\n---------------------------------\r\nsyslog:\r\n\r\nJul 29 11:50:36 localhost docker/balagedocker_php5-fpm_1[15585]: [29-Jul-2016 09:50:36] WARNING: [pool www] child 11 exited on signal 11 (SIGSEGV - core dumped) after 81.363321 seconds from start\r\nJul 29 11:50:36 localhost docker/balagedocker_php5-fpm_1[15585]: [29-Jul-2016 09:50:36] NOTICE: [pool www] child 27 started\r\nJul 29 11:50:37 localhost docker/balagedocker_php5-fpm_1[15585]: [29-Jul-2016 09:50:37] WARNING: [pool www] child 12 exited on signal 11 (SIGSEGV - core dumped) after 82.337205 seconds from start\r\nJul 29 11:50:37 localhost docker/balagedocker_php5-fpm_1[15585]: [29-Jul-2016 09:50:37] NOTICE: [pool www] child 28 started\r\n\r\nThat's all I got.\r\n\r\nI am attaching the Dockerfile I used to build the image. Also some core files if\r\n\r\n[cores.zip](https://github.com/docker-library/php/files/390309/cores.zip)\r\n[supervisord.txt](https://github.com/docker-library/php/files/390316/supervisord.txt)\r\n[Dockerfile.txt](https://github.com/docker-library/php/files/390312/Dockerfile.txt)\r\n\r\nHost is openSUSE Leap 42.1 x86_64 (kernel 4.1.27-27-default)\r\n\r\nAny help is appreciated.\r\n"},"comment":{"url":"https://api.github.com/repos/docker-library/php/issues/comments/238788403","html_url":"https://github.com/docker-library/php/issues/275#issuecomment-238788403","issue_url":"https://api.github.com/repos/docker-library/php/issues/275","id":238788403,"user":{"login":"abalage","id":6349914,"avatar_url":"https://avatars.githubusercontent.com/u/6349914?v=3","gravatar_id":"","url":"https://api.github.com/users/abalage","html_url":"https://github.com/abalage","followers_url":"https://api.github.com/users/abalage/followers","following_url":"https://api.github.com/users/abalage/following{/other_user}","gists_url":"https://api.github.com/users/abalage/gists{/gist_id}","starred_url":"https://api.github.com/users/abalage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abalage/subscriptions","organizations_url":"https://api.github.com/users/abalage/orgs","repos_url":"https://api.github.com/users/abalage/repos","events_url":"https://api.github.com/users/abalage/events{/privacy}","received_events_url":"https://api.github.com/users/abalage/received_events","type":"User","site_admin":false},"created_at":"2016-08-10T07:33:52Z","updated_at":"2016-08-10T07:33:52Z","body":"Created a bugreport on Alpine: https://bugs.alpinelinux.org/issues/6021"}}
{"actor":{"display_login":"abalage"}}