Debian Bug report logs -
#637336
php5: Segfault due to PHP bug in DateTime functions
Reported by: Erik Meitner <erik@wanderings.us>
Date: Wed, 10 Aug 2011 14:15:01 UTC
Severity: normal
Found in version php5/5.2.6.dfsg.1-1+lenny9
Fixed in version 5.3.3-7
Done: Ondřej Surý <ondrej@sury.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#637336; Package php5.
(Wed, 10 Aug 2011 14:15:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Erik Meitner <erik@wanderings.us>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Wed, 10 Aug 2011 14:15:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: php5
Version: 5.2.6.dfsg.1-1+lenny9
Severity: normal
Our Drupal site's cron.php script has been causing segfaults every few days for months now.
>From /var/log/apache2/error.log:
[Sun Aug 07 13:05:13 2011] [notice] child pid 2358 exit signal Segmentation fault (11)
Got a core dump and did a backtrace:
(gdb) bt full
#0 0xb76394f3 in strlen () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#1 0xb685e58d in zif_timezone_name_get () from
/usr/lib/apache2/modules/libphp5.so
No symbol table info available.
#2 0xb6ab4113 in ?? () from /usr/lib/apache2/modules/libphp5.so
No symbol table info available.
#3 0x00000000 in ?? ()
No symbol table info available.
This seems to be the bug causing this:
http://bugs.php.net/bug.php?id=45038
I can reproduce it like this:
$ php -r '$dt = new DateTime(); $dt->setTimezone($dt->getTimezone()); '
Segmentation fault (core dumped)
I tracked down the commits by the PHP developer:
http://svn.php.net/viewvc?view=revision&revision=262279
And I think this:
http://svn.php.net/viewvc?view=revision&revision=262280
Unfortunately they do not apply cleanly.
-- System Information:
Debian Release: 5.0.7
APT prefers oldstable
APT policy: (500, 'oldstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686 (SMP w/2 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 depends on:
ii libapache2-mod-php 5.2.6.dfsg.1-1+lenny9 server-side, HTML-embedded scripti
ii php5-common 5.2.6.dfsg.1-1+lenny9 Common files for packages built fr
php5 recommends no packages.
php5 suggests no packages.
-- no debconf information
Reply sent
to Ondřej Surý <ondrej@sury.org>:
You have taken responsibility.
(Fri, 03 May 2013 10:06:10 GMT) (full text, mbox, link).
Notification sent
to Erik Meitner <erik@wanderings.us>:
Bug acknowledged by developer.
(Fri, 03 May 2013 10:06:10 GMT) (full text, mbox, link).
Message #10 received at 637336-done@bugs.debian.org (full text, mbox, reply):
Version: 5.3.3-7
Lenny is no longer supported, if the problem still persists, please
provide a new backtrace and reopen the bug.
O.
--
Ondřej Surý <ondrej@sury.org>
Message #11 received at 637336-done@bugs.debian.org (full text, mbox, reply):
The subject is wrong (sorry, wrong cut&paste), but the message is
still the same...
On Fri, May 3, 2013 at 12:02 PM, Ondřej Surý <ondrej@sury.org> wrote:
> Version: 5.3.3-7
>
> Lenny is no longer supported, if the problem still persists, please
> provide a new backtrace and reopen the bug.
>
> O.
> --
> Ondřej Surý <ondrej@sury.org>
--
Ondřej Surý <ondrej@sury.org>
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 01 Jun 2013 07:27: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 02:49:19 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.