Debian Bug report logs - #772975
Random Segfault(11) php5-fpm when Overload

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

Reported by: Léo BERRY <leo@mezcalito.fr>

Date: Fri, 12 Dec 2014 16:39:02 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#772975; Package php5-fpm. (Fri, 12 Dec 2014 16:39:06 GMT) (full text, mbox, link).


Acknowledgement sent to Léo BERRY <leo@mezcalito.fr>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Fri, 12 Dec 2014 16:39:06 GMT) (full text, mbox, link).


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

From: Léo BERRY <leo@mezcalito.fr>
To: submit@bugs.debian.org
Subject: Random Segfault(11) php5-fpm when Overload
Date: Fri, 12 Dec 2014 17:36:17 +0100
[Message part 1 (text/plain, inline)]
Package: php5-fpm
Version: 5.4.35-0+deb7u2
Severity: Important

Dear maintainer,

We experience random php5-fpm process segfault on our
servers in high load situations. We use the official php5 Debian package
from stable Wheezy repository.

This issue seems to affect often the same fpm-pool/websites.
The service works again after a restart of the php5-fpm
service

I reproduce that bug in VM simulate lot of request with siege tools and
generate backtraces with php5-dbg and GDB (backtraces in attachment)

This issue seems to be related to apc, because
when I disable apc for a pool I don't get new segfault again for this
pool.

Best regards,
Léo

Environment:
Debian Wheezy - Linux mstest 3.2.0-4-amd64 #1 SMP Debian 3.2.63-2+deb7u2
x86_64 GNU/Linux

PHP 5.4.35-0+deb7u2 (cli) (built: Nov 19 2014 07:56:24)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies


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

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

Versions of packages php5-fpm depends on:
ii  dpkg              1.16.15
ii  libbz2-1.0        1.0.6-4
ii  libc6             2.13-38+deb7u6
ii  libcomerr2        1.42.5-1.1
ii  libdb5.1          5.1.29-5
ii  libgssapi-krb5-2  1.10.1+dfsg-5+deb7u2
ii  libk5crypto3      1.10.1+dfsg-5+deb7u2
ii  libkrb5-3         1.10.1+dfsg-5+deb7u2
ii  libmagic1         5.11-2+deb7u6
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+deb7u13
ii  libxml2           2.8.0+dfsg1-7+wheezy2
ii  mime-support      3.52-1
ii  php5-common       5.4.35-0+deb7u2
ii  tzdata            2014h-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:
pn  php-pear  <none>

-- no debconf information

/var/log/php5-fpm
[10-Dec-2014 09:43:07] WARNING: [notice] child 6948 exited on signal 11
(SIGSEGV - core dumped) after 126.995947 seconds from start
[10-Dec-2014 09:43:11] WARNING: [notice] child 6953 exited on signal 11
(SIGSEGV - core dumped) after 30.171278 seconds from start
[10-Dec-2014 09:44:02] WARNING: [notice] child 6955 exited on signal 11
(SIGSEGV - core dumped) after 50.704723 seconds from start
[10-Dec-2014 09:44:14] WARNING: [notice] child 6956 exited on signal 11
(SIGSEGV - core dumped) after 61.369326 seconds from start
[10-Dec-2014 09:45:23] WARNING: [notice] child 6965 exited on signal 11
(SIGSEGV - core dumped) after 61.521431 seconds from start

[6948-GDB_trace_CoreDump_php5-fpm (text/plain, attachment)]
[6953-GDB_trace_CoreDump_php5-fpm (text/plain, attachment)]
[6955-GDB_trace_CoreDump_php5-fpm (text/plain, attachment)]
[6956-GDB_trace_CoreDump_php5-fpm (text/plain, attachment)]
[6965-GDB_trace_CoreDump_php5-fpm (text/plain, attachment)]
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#772975; Package php5-fpm. (Mon, 15 Dec 2014 14:45:07 GMT) (full text, mbox, link).


Acknowledgement sent to Ondřej Surý <ondrej@sury.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>. (Mon, 15 Dec 2014 14:45:08 GMT) (full text, mbox, link).


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

From: Ondřej Surý <ondrej@sury.org>
To: Léo BERRY <leo@mezcalito.fr>, 772975@bugs.debian.org
Subject: Re: [php-maint] Bug#772975: Random Segfault(11) php5-fpm when Overload
Date: Mon, 15 Dec 2014 15:42:58 +0100
Control: reassing -1 php5-apc

So, why did you assign this to php5-fpm if you have diagnosed the bug to
be caused by APC?

Reassigning this to php5-apc.

Cheers,
Ondrej

On Fri, Dec 12, 2014, at 17:36, Léo BERRY wrote:
> Package: php5-fpm
> Version: 5.4.35-0+deb7u2
> Severity: Important
> 
> Dear maintainer,
> 
> We experience random php5-fpm process segfault on our
> servers in high load situations. We use the official php5 Debian package
> from stable Wheezy repository.
> 
> This issue seems to affect often the same fpm-pool/websites.
> The service works again after a restart of the php5-fpm
> service
> 
> I reproduce that bug in VM simulate lot of request with siege tools and
> generate backtraces with php5-dbg and GDB (backtraces in attachment)
> 
> This issue seems to be related to apc, because
> when I disable apc for a pool I don't get new segfault again for this
> pool.
> 
> Best regards,
> Léo
> 
> Environment:
> Debian Wheezy - Linux mstest 3.2.0-4-amd64 #1 SMP Debian 3.2.63-2+deb7u2
> x86_64 GNU/Linux
> 
> PHP 5.4.35-0+deb7u2 (cli) (built: Nov 19 2014 07:56:24)
> Copyright (c) 1997-2014 The PHP Group
> Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
> 
> 
> -- System Information:
> Debian Release: 7.7
>   APT prefers stable-updates
>   APT policy: (500, 'stable-updates'), (500, 'stable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 3.2.0-4-amd64 (SMP w/3 CPU cores)
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages php5-fpm depends on:
> ii  dpkg              1.16.15
> ii  libbz2-1.0        1.0.6-4
> ii  libc6             2.13-38+deb7u6
> ii  libcomerr2        1.42.5-1.1
> ii  libdb5.1          5.1.29-5
> ii  libgssapi-krb5-2  1.10.1+dfsg-5+deb7u2
> ii  libk5crypto3      1.10.1+dfsg-5+deb7u2
> ii  libkrb5-3         1.10.1+dfsg-5+deb7u2
> ii  libmagic1         5.11-2+deb7u6
> 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+deb7u13
> ii  libxml2           2.8.0+dfsg1-7+wheezy2
> ii  mime-support      3.52-1
> ii  php5-common       5.4.35-0+deb7u2
> ii  tzdata            2014h-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:
> pn  php-pear  <none>
> 
> -- no debconf information
> 
> /var/log/php5-fpm
> [10-Dec-2014 09:43:07] WARNING: [notice] child 6948 exited on signal 11
> (SIGSEGV - core dumped) after 126.995947 seconds from start
> [10-Dec-2014 09:43:11] WARNING: [notice] child 6953 exited on signal 11
> (SIGSEGV - core dumped) after 30.171278 seconds from start
> [10-Dec-2014 09:44:02] WARNING: [notice] child 6955 exited on signal 11
> (SIGSEGV - core dumped) after 50.704723 seconds from start
> [10-Dec-2014 09:44:14] WARNING: [notice] child 6956 exited on signal 11
> (SIGSEGV - core dumped) after 61.369326 seconds from start
> [10-Dec-2014 09:45:23] WARNING: [notice] child 6965 exited on signal 11
> (SIGSEGV - core dumped) after 61.521431 seconds from start
> 
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint
> Email had 6 attachments:
> + 6948-GDB_trace_CoreDump_php5-fpm
>   7k (text/plain)
> + 6953-GDB_trace_CoreDump_php5-fpm
>   7k (text/plain)
> + 6955-GDB_trace_CoreDump_php5-fpm
>   7k (text/plain)
> + 6956-GDB_trace_CoreDump_php5-fpm
>   7k (text/plain)
> + 6965-GDB_trace_CoreDump_php5-fpm
>   5k (text/plain)
> + signature.asc
>   1k (application/pgp-signature)


-- 
Ondřej Surý <ondrej@sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server



Bug reassigned from package 'php5-fpm' to 'php5-apc'. Request was from Ondřej Surý <ondrej@debian.org> to control@bugs.debian.org. (Mon, 15 Dec 2014 15:00:09 GMT) (full text, mbox, link).


No longer marked as found in versions 5.4.35-0+deb7u2. Request was from Ondřej Surý <ondrej@debian.org> to control@bugs.debian.org. (Mon, 15 Dec 2014 15:00:10 GMT) (full text, mbox, link).


Bug reassigned from package 'php5-apc' to 'php5-apcu'. Request was from Andrei POPESCU <andreimpopescu@gmail.com> to control@bugs.debian.org. (Mon, 15 Dec 2014 20:54:10 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP PECL Maintainers <pkg-php-pecl@lists.alioth.debian.org>:
Bug#772975; Package php5-apcu. (Tue, 16 Dec 2014 09:33:08 GMT) (full text, mbox, link).


Acknowledgement sent to Ondřej Surý <ondrej@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP PECL Maintainers <pkg-php-pecl@lists.alioth.debian.org>. (Tue, 16 Dec 2014 09:33:08 GMT) (full text, mbox, link).


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

From: Ondřej Surý <ondrej@debian.org>
To: Andrei POPESCU <andreimpopescu@gmail.com>, 772975@bugs.debian.org
Subject: Re: Processed: reassign 772975 to php5-apc
Date: Tue, 16 Dec 2014 10:31:25 +0100
Control: reassign -1 php-apc

I didn't mean php5-apcu, I meant php-apc from stable :)

O.

On Mon, Dec 15, 2014, at 21:51, Andrei POPESCU wrote:
> reassign 772975 php5-apcu
> thanks
> 
> On Lu, 15 dec 14, 15:00:11, Debian Bug Tracking System wrote:
> > Processing commands for control@bugs.debian.org:
> > 
> > > reassign 772975 php5-apc
> > Bug #772975 [php5-fpm] Random Segfault(11) php5-fpm when Overload
> > Bug reassigned from package 'php5-fpm' to 'php5-apc'.
> > Warning: Unknown package 'php5-apc'
>           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> Assuming you meant php5-apcu.
> 
> Kind regards,
> Andrei
> -- 
> http://wiki.debian.org/FAQsFromDebianUser
> Offtopic discussions among Debian users and developers:
> http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
> http://nuvreauspam.ro/gpg-transition.txt
> Email had 1 attachment:
> + signature.asc
>   1k (application/pgp-signature)


-- 
Ondřej Surý <ondrej@sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server



Bug reassigned from package 'php5-apcu' to 'php-apc'. Request was from Ondřej Surý <ondrej@debian.org> to 772975-submit@bugs.debian.org. (Tue, 16 Dec 2014 09:33:08 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:06 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 00:44:22 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.