Debian Bug report logs -
#464074
php5-tidy: Memory limited exceeded always with tidy_parse_string()
Reported by: Markus Fischer <markus@fischer.name>
Date: Tue, 5 Feb 2008 00:21:02 UTC
Severity: normal
Found in version php5/5.2.4-2
Fixed in version 5.2.5-2
Done: Raphael Geissert <atomo64@gmail.com>
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#464074; Package php5-tidy.
(full text, mbox, link).
Acknowledgement sent to Markus Fischer <markus@fischer.name>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: php5-tidy
Version: 5.2.4-2+b1
Severity: normal
I initially reported this as #463872 but it was suggested this may be a
php5-tidy bug.
When used within PHP, the allowed memory size from PHP is exceeded every time:
$ /usr/bin/php -r 'tidy_parse_string("");'
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 141264868 bytes) in Command line code on line 1
Call Stack:
0.0153 50764 1. {main}() Command line code:0
0.0304 50764 2. tidy_parse_string() Command line code:1
When using the libtidy-0.99-0 binary from the 20051018-1 package, it works.
However, when I compile a clean 5.2.4 or 5.2.5 release from php.net, it also
works with the 20080116cvs-2 version of libtidy-0.99-0. It seems somewhere
something went wrong during the php5-tidy compilation phase (or so).
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-4-vserver-k7 (SMP w/1 CPU core)
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-tidy depends on:
ii libapache2-mod-php5 [phpap 5.2.4-2+b1 server-side, HTML-embedded scripti
ii libc6 2.7-6 GNU C Library: Shared libraries
ii libtidy-0.99-0 20080116cvs-2 HTML syntax checker and reformatte
ii php5-cli [phpapi-20060613+ 5.2.4-2+b1 command-line interpreter for the p
ii php5-common 5.2.4-2+b1 Common files for packages built fr
php5-tidy recommends no packages.
-- no debconf information
Information forwarded to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#464074; Package php5-tidy.
(full text, mbox, link).
Acknowledgement sent to Markus Fischer <markus@fischer.name>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #10 received at 464074@bugs.debian.org (full text, mbox, reply):
After I upgraded to the latest version in testing it doesn't crash anymore.
thanks!
Reply sent to Raphael Geissert <atomo64@gmail.com>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Markus Fischer <markus@fischer.name>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #15 received at 464074-done@bugs.debian.org (full text, mbox, reply):
Version: 5.2.5-2
Can't reproduce, and user says it was fixed: let's close this bug.
Probably a binNMU would have fixed it.
Cheers,
--
Atomo64 - Raphael
Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 30 May 2008 07:36:49 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:40:39 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.