Your message dated Sun, 19 Aug 2018 12:14:01 +0000
with message-id <e1frman-0007i1...@fasolo.debian.org>
and subject line Bug#906274: fixed in php-apcu 5.1.12+4.0.11-1
has caused the Debian Bug report #906274,
regarding php-apcu broken. apcu_entry() hangs, crashing the php interpreter.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
906274: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906274
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: php-apcu
Version: 5.1.8+4.0.11-1
Severity: grave
Tags: patch fixed-upstream

I had originally reported this to ubuntu because we first noticed it on a 
machine running ubuntu, however, ubuntu doesnt seem to maintain this pkg so
therefore I am reporting this here.

After upgrading our testing server to bionic, our web application stopped
responding entirely after the second request. We traced this to a problem in 
php-apcu where it would block upon the second call to apcu_entry and completely
lock up the php processes causing the server to become unresponsive to any 
further requests.

This issue was already reported and fixed upstream (release 5.1.11) and I
have attached the diff for the corresponding commit, though I would like to
note that there have been 3 bugfix releases since the packaged version (5.1.9).

Upstream issue: https://github.com/krakjoe/apcu/issues/246

Affected systems: Anything running apcu with either php-fpm or apache with
                  mod-php.


diff --git a/apc_cache.c b/apc_cache.c
index 3892c9e..8605525 100644
--- a/apc_cache.c
+++ b/apc_cache.c
@@ -1910,7 +1910,7 @@ PHP_APCU_API void apc_cache_entry(apc_cache_t *cache, zval *key, zend_fcall_info
 				}
 			}
 		} else apc_cache_fetch_internal(cache, Z_STR_P(key), entry, now, &return_value);
-	}, apc_cache_entry_try_begin());
+	}, apc_cache_entry_try_end());
 }/*}}}*/
 #undef apc_cache_entry_try_begin
 #undef apc_cache_entry_try_end

--- End Message ---
--- Begin Message ---
Source: php-apcu
Source-Version: 5.1.12+4.0.11-1

We believe that the bug you reported is fixed in the latest version of
php-apcu, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 906...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ondřej Surý <ond...@debian.org> (supplier of updated php-apcu package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 19 Aug 2018 11:50:51 +0000
Source: php-apcu
Binary: php-apcu
Architecture: source
Version: 5.1.12+4.0.11-1
Distribution: unstable
Urgency: medium
Maintainer: Debian PHP PECL Maintainers <team+php-p...@tracker.debian.org>
Changed-By: Ondřej Surý <ond...@debian.org>
Description:
 php-apcu   - APC User Cache for PHP
Closes: 899947 906274
Changes:
 php-apcu (5.1.12+4.0.11-1) unstable; urgency=medium
 .
   * New upstream version 5.1.12+4.0.11 (Closes: #906274)
   * Update maintainer email to team+php-p...@tracker.debian.org
     (Closes: #899947)
Checksums-Sha1:
 47460aefcaca358b02d47f2039436718cde075e5 2165 php-apcu_5.1.12+4.0.11-1.dsc
 fb8d21c8d5186fa6502d8e73eb0bba269e6d38de 124464 
php-apcu_5.1.12+4.0.11.orig.tar.xz
 193f9460e7cd6eede533c9bab8e75cd1fbe90a0a 5384 
php-apcu_5.1.12+4.0.11-1.debian.tar.xz
 79e90fcf42c0bc6104b039f5b8594037d05b187e 6932 
php-apcu_5.1.12+4.0.11-1_amd64.buildinfo
Checksums-Sha256:
 d4bf598ccb58e4f97f054bc3eb27d4efae454beae3d5a22606fe8d6bd1f31a87 2165 
php-apcu_5.1.12+4.0.11-1.dsc
 1dc70cc5e407f782f5a26bdf570a192a7626f204016f9d194bf8f639cc1b299b 124464 
php-apcu_5.1.12+4.0.11.orig.tar.xz
 f2b880cb9ee4f3c6e80d3a9599b8385531c7d78defdcc3359cf30b0ddf3cf274 5384 
php-apcu_5.1.12+4.0.11-1.debian.tar.xz
 c7175bb9ee0fdd621b17b3368df9cd1b293946d5a96874cd484a4b171ea1fad2 6932 
php-apcu_5.1.12+4.0.11-1_amd64.buildinfo
Files:
 55f0cf4660f14d21d44f0ea39a46610f 2165 php optional php-apcu_5.1.12+4.0.11-1.dsc
 0bbb71ef645768128d50cfd8b7dbef4d 124464 php optional 
php-apcu_5.1.12+4.0.11.orig.tar.xz
 a72ca468d3d22dd0a2ee2b81807d6b91 5384 php optional 
php-apcu_5.1.12+4.0.11-1.debian.tar.xz
 208059200e22a3f920254051b0c41036 6932 php optional 
php-apcu_5.1.12+4.0.11-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEEw2Gx4wKVQ+vGJel9g3Kkd++uWcIFAlt5WztfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEMz
NjFCMUUzMDI5NTQzRUJDNjI1RTk3RDgzNzJBNDc3RUZBRTU5QzIACgkQg3Kkd++u
WcLWARAAnZZk9+vclWtLBSJKZ98cGp7xvBnOPw1rMi3OrR38GB6naz7lcw0WCHCP
tHH4fuSLb2rYNWYHNIma2tSlbNJaY1fhkEXUu5sfOFxEXGQjBX9v/iJ1M5XCSkba
cvmdqVzIZtAY/V1aOxsngXiEZCpliEz7ABnZ8COcRWXVKYGilKN11FNQ81RnJ3MM
plU8RtCF3rDk8TzF6xRV8wJhYXA4+SgPL4daKVwrru9dLRl3Br0xQ0vyMctqTji9
Ap798QEL5R5ydzB2o/39DoclX43gYbh2HHq9BkaQ+clmUexLG4SJ1U53IikVbWTX
QYkW9/2W7/Ty7tSiK16YDXzgk9JUhsJQ3aNKk82lJ2kvbp+WCXohV7l4h7HACDwB
JupMavMf4aY4FURNzPlwMCXyzCDNQ+Hk8Dr43AXtwc0JO1+Lo9KMUyXNjRhw/wPf
KWS+vwKgTLhgMjKcMbVbCYIRDCdNxyezGLB7tAU4MJ3kyLY3DIT6k9o7Gg6fP4y/
Awnh7m2/NAopi9YhGfsX0mC0OUYAk2mH/7zwNZ0S1kjZ6e9L8eh7ZfQyPq1ww3Ch
NVt4iKMZVwZptEqAHUPp/aiRWi26TqYHURRqCOM0ObNISlEayEvLWzGBs33EjW+u
E4EOd/Y5FVUMJkXeRiXbymx7QJd1LSNci0duSWjI/H2O0e7D99Y=
=4gll
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to