Debian Bug report logs - #748649
php5-fpm: php-fpm segfaulting at zend_vm_execute.h

Package: src:php-apcu; Maintainer for src:php-apcu is Debian PHP PECL Maintainers <team+php-pecl@tracker.debian.org>;

Reported by: Markus Ziermann <markus@fullmotion.de>

Date: Mon, 19 May 2014 09:15:01 UTC

Severity: important

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#748649; Package php5-fpm. (Mon, 19 May 2014 09:15:06 GMT) (full text, mbox, link).


Acknowledgement sent to Markus Ziermann <markus@fullmotion.de>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Mon, 19 May 2014 09:15:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Markus Ziermann <markus@fullmotion.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: php5-fpm: php-fpm segfaulting at zend_vm_execute.h
Date: Mon, 19 May 2014 09:03:54 +0000
Package: php5-fpm
Version: 5.4.4-14+deb7u9
Severity: important

Dear Maintainer,

I'm running nginx with php5-fpm. Seemingly random I see 'Bad gateway' errors 
when browsing a wordpress based blog running on the server. According to 
syslog this is caused by php segfaulting.

My debugging skills are pretty limited, but this is what I got by following 
the guide on php.net:

Program terminated with signal 11, Segmentation fault.
#0  0x0000000000681d8a in do_bind_function (op_array=0x25a4100, 
    opline=0x7ffa5ecae850, function_table=0x1f83c10, compile_time=0 '\000')
    at /tmp/buildd/php5-5.4.4/Zend/zend_compile.c:4415
4415	/tmp/buildd/php5-5.4.4/Zend/zend_compile.c: No such file or directory.
(gdb) bt
#0  0x0000000000681d8a in do_bind_function (op_array=0x25a4100, 
    opline=0x7ffa5ecae850, function_table=0x1f83c10, compile_time=0 '\000')
    at /tmp/buildd/php5-5.4.4/Zend/zend_compile.c:4415
#1  0x00000000006d3e80 in ZEND_DECLARE_FUNCTION_SPEC_HANDLER (
    execute_data=0x7ffa70fa1c10)
    at /tmp/buildd/php5-5.4.4/Zend/zend_vm_execute.h:961
#2  0x00000000007001f7 in execute (op_array=0x334b508)
    at /tmp/buildd/php5-5.4.4/Zend/zend_vm_execute.h:410
#3  0x000000000069f89e in zend_execute_scripts (type=8, retval=0x7ffa70fcc540, 
    file_count=3) at /tmp/buildd/php5-5.4.4/Zend/zend.c:1302
#4  0x000000000063ec03 in php_execute_script (primary_file=0x6e65746e6f632d70)
    at /tmp/buildd/php5-5.4.4/main/main.c:2478
#5  0x0000000000431d80 in main (argc=1895415256, argv=0xdc46a0)
    at /tmp/buildd/php5-5.4.4/sapi/fpm/fpm/fpm_main.c:1897
(gdb) frame 2
#2  0x00000000007001f7 in execute (op_array=0x334b508)
    at /tmp/buildd/php5-5.4.4/Zend/zend_vm_execute.h:410
410	/tmp/buildd/php5-5.4.4/Zend/zend_vm_execute.h: No such file or directory.



-- System Information:
Debian Release: 7.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages php5-fpm depends on:
ii  dpkg              1.16.14
ii  libbz2-1.0        1.0.6-4
ii  libc6             2.13-38+deb7u1
ii  libcomerr2        1.42.5-1.1
ii  libdb5.1          5.1.29-5
ii  libgssapi-krb5-2  1.10.1+dfsg-5+deb7u1
ii  libk5crypto3      1.10.1+dfsg-5+deb7u1
ii  libkrb5-3         1.10.1+dfsg-5+deb7u1
ii  libmagic1         5.11-2+deb7u3
ii  libonig2          5.9.1-1
ii  libpcre3          1:8.30-5
ii  libqdbm14         1.8.78-2
ii  libssl1.0.0       1.0.1e-2+deb7u7
ii  libxml2           2.8.0+dfsg1-7+nmu3
ii  mime-support      3.52-1
ii  php5-common       5.4.4-14+deb7u9
ii  tzdata            2014c-0wheezy1
ii  ucf               3.0025+nmu3
ii  zlib1g            1:1.2.7.dfsg-13

php5-fpm recommends no packages.

Versions of packages php5-fpm suggests:
ii  php-pear  5.4.4-14+deb7u9

-- Configuration Files:
/etc/php5/fpm/pool.d/www.conf changed:
[www]
rlimit_core = unlimited
user = www-data
group = www-data
listen = /var/run/php5-fpm.sock
pm = dynamic
pm.max_children = 5
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3
chdir = /

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#748649; Package php5-fpm. (Thu, 22 May 2014 07:15:05 GMT) (full text, mbox, link).


Acknowledgement sent to markus@fullmotion.de:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Thu, 22 May 2014 07:15:05 GMT) (full text, mbox, link).


Message #10 received at 748649@bugs.debian.org (full text, mbox, reply):

From: Markus Ziermann <markus@fullmotion.de>
To: 748649@bugs.debian.org
Subject: php5-fpm: php-fpm segfaulting
Date: Thu, 22 May 2014 09:13:34 +0200
[Message part 1 (text/plain, inline)]
Turns out this doesn't happen when I turn off php-apc.
[Message part 2 (text/html, inline)]

Bug reassigned from package 'php5-fpm' to 'php-apc'. Request was from Ondřej Surý <ondrej@debian.org> to control@bugs.debian.org. (Wed, 28 May 2014 08:57:04 GMT) (full text, mbox, link).


No longer marked as found in versions php5/5.4.4-14+deb7u9. Request was from Ondřej Surý <ondrej@debian.org> to control@bugs.debian.org. (Wed, 28 May 2014 08:57:05 GMT) (full text, mbox, link).


Bug reassigned from package 'php-apc' to 'src:php-apcu'. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Wed, 19 Apr 2023 07:30:05 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 01:27:17 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.