Debian Bug report logs -
#617233
libapache2-mod-php5: Intermittent failure as described in http://bugs.php.net/bug.php?id=50027
Reported by: System Administrator <support@severndelta.co.uk>
Date: Mon, 7 Mar 2011 11:27:02 UTC
Severity: normal
Tags: fixed-upstream, patch
Found in version php5/5.3.3-7
Fixed in version php5/5.3.5-1
Done: Lior Kaplan <kaplan@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#617233; Package libapache2-mod-php5.
(Mon, 07 Mar 2011 11:27:05 GMT) (full text, mbox, link).
Acknowledgement sent
to System Administrator <support@severndelta.co.uk>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Mon, 07 Mar 2011 11:27:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: libapache2-mod-php5
Version: 5.3.3-7
Severity: important
Getting intermittent Fatal Error; seems to be the problem reported here http://bugs.php.net/bug.php?id=50027
in that the problem is intermittent, and also causes other php applications to produce fatal errors. Therefore,
seems to be an internal php/apache problem causing cross infection of separate processes.
We were on php 5.2 on Ubuntu 8.04. Upgraded to Ubuntu 10.04 and php 5.3.2 and immediately hit this problem.
Decided to switch to Debian 6 as it supports 5.3.3 which fixes a number of bugs in 5.3.2, but still getting
this problem although it now only occurs after 1-2 days.
The error always occurs at the same point in the code, but after refreshing a few times, the problem goes away.
Inserted debug logging to file to track where the error is occurring and isolated the problem to the following
statement:-
$this->paths=array_merge($this->paths,$path);
The log showed the array $this->paths to be empty both before and after this statement, and the array $path
to contain data. Changed the statement to be:-
if (empty($this->paths)) {
$this->paths=$path;
} else {
$this->paths=array_merge($this->paths,$path);
}
The statement still failed to set $this->paths. So in a final attempt at a work around, we changed the code
to:-
if (empty($this->paths)) {
foreach($path as $key=>$value) {
$this->paths[$key]=$value;
}
} else {
$this->paths=array_merge($this->paths,$path);
}
This seemed to work, except that the problem now occurs in a different piece of code. Again, after inserting
and checking debugging, it appears that the affected php statement does not complete, does not return the expected data
so causing a fatal error in subsequent code.
-- System Information:
Debian Release: 6.0
APT prefers proposed-updates
APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libapache2-mod-php5 depends on:
ii apache2-mpm-prefork 2.2.16-6 Apache HTTP Server - traditional n
ii apache2.2-common 2.2.16-6 Apache HTTP Server common files
ii libbz2-1.0 1.0.5-6 high-quality block-sorting file co
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libcomerr2 1.41.12-2 common error description library
ii libdb4.8 4.8.30-2 Berkeley v4.8 Database Libraries [
ii libgssapi-krb5-2 1.8.3+dfsg-4 MIT Kerberos runtime libraries - k
ii libk5crypto3 1.8.3+dfsg-4 MIT Kerberos runtime libraries - C
ii libkrb5-3 1.8.3+dfsg-4 MIT Kerberos runtime libraries
ii libmagic1 5.04-5 File type determination library us
ii libonig2 5.9.1-1 Oniguruma regular expressions libr
ii libpcre3 8.02-1.1 Perl 5 Compatible Regular Expressi
ii libqdbm14 1.8.77-4 QDBM Database Libraries [runtime]
ii libssl0.9.8 0.9.8o-4squeeze1 SSL shared libraries
ii libxml2 2.7.8.dfsg-2 GNOME XML library
ii mime-support 3.48-1 MIME files 'mime.types' & 'mailcap
ii php5-common 5.3.3-7 Common files for packages built fr
ii tzdata 2010o-1 time zone and daylight-saving time
ii ucf 3.0025+nmu1 Update Configuration File: preserv
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages libapache2-mod-php5 recommends:
ii php5-cli 5.3.3-7 command-line interpreter for the p
Versions of packages libapache2-mod-php5 suggests:
pn php-pear <none> (no description available)
-- no debconf information
Reply sent
to Lior Kaplan <kaplanlior@gmail.com>:
You have taken responsibility.
(Mon, 20 Feb 2012 20:21:14 GMT) (full text, mbox, link).
Notification sent
to System Administrator <support@severndelta.co.uk>:
Bug acknowledged by developer.
(Mon, 20 Feb 2012 20:21:14 GMT) (full text, mbox, link).
Message #10 received at 617233-done@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Version: 5.3.5-1
Hi,
This bug was fixed upstream at
http://svn.php.net/viewvc?view=revision&revision=303016 which is part of
PHP 5.3.4.
As this isn't a security problem (to my understanding), I don't see it
being fixed in stable.
Kaplan
p.s.
Closing on PHP 5.3.5 as version 5.3.4 was never uploaded to Debian.
[Message part 2 (text/html, inline)]
Bug No longer marked as fixed in versions 5.3.5-1 and reopened.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 20 Feb 2012 23:03:07 GMT) (full text, mbox, link).
Added tag(s) fixed-upstream and patch.
Request was from Lior Kaplan <kaplanlior@gmail.com>
to control@bugs.debian.org.
(Mon, 20 Feb 2012 23:03:08 GMT) (full text, mbox, link).
Severity set to 'normal' from 'important'
Request was from Lior Kaplan <kaplanlior@gmail.com>
to control@bugs.debian.org.
(Mon, 20 Feb 2012 23:21:05 GMT) (full text, mbox, link).
Marked as fixed in versions php5/5.3.5-1.
Request was from Thijs Kinkhorst <thijs@debian.org>
to control@bugs.debian.org.
(Sat, 07 Apr 2012 17:27:04 GMT) (full text, mbox, link).
Reply sent
to Lior Kaplan <kaplan@debian.org>:
You have taken responsibility.
(Sat, 28 Sep 2013 18:03:11 GMT) (full text, mbox, link).
Notification sent
to System Administrator <support@severndelta.co.uk>:
Bug acknowledged by developer.
(Sat, 28 Sep 2013 18:03:11 GMT) (full text, mbox, link).
Message #23 received at 617233-done@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Closing as a version with the fix is already available in stable (wheezy).
We won't fix it for oldstable.
Kaplan
[Message part 2 (text/html, inline)]
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 27 Oct 2013 07:28:33 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:29:34 2023;
Machine Name:
buxtehude
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.