Package: libapache2-mod-perl2
Version: 2.0.2-2.2
Severity: grave
Tags: patch, fixed-upstream
Justification: causes non-serious data loss

There is a typo on line 113 in /usr/lib/perl5/Apache2/SizeLimit.pm,
mod_perl 2.0.2, which under some conditions, i.e. Apache2::SizeLimit
is used and configured to use Linux::Smaps (not a very common
configuration, admittedly, since it also depends on a recent kernel),
causes server crash. If used, it will give the following error:

[Thu Dec 21 10:20:52 2006] [error] [client 10.20.21.93] Can't locate
object method "shared_cleani" via package "Linux::Smaps::VMA" at
/usr/lib/perl5/Apache2/SizeLimit.pm line 113.\n, referer:
http://my.virginia.oslo.opera.com/kjetilk/blog/

The fix is extremely trivial:

--- SizeLimit.pm~       2005-10-21 02:04:43.000000000 +0200
+++ SizeLimit.pm        2006-12-21 11:01:39.000000000 +0100
@@ -110,7 +110,7 @@
 sub linux_smaps_size_check {
 
     my $s = Linux::Smaps->new($$)->all;
-    return ($s->size, $s->shared_cleani + $s->shared_dirty);
+    return ($s->size, $s->shared_clean + $s->shared_dirty);
 }
 
 # return process size (in KB)

It is just a single character, it was just a simple typo. 

This should have been fixed in upstream 2.0.3 allthough it was not
mentioned in the changelog. The changelog of 2.0.3 indicates it is
pretty much a pure bugfix release, so I think Debian should seriously
consider including it.

But I realise that's a long shot now that etch is frozen, so
alternatively, I ask that this bug is corrected, it is the most
trivial bug possible, and even though it affects relatively few users,
it is extremely annoying and renders the package unusable for those
who wants to optimize the server's memory use.


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-686
Locale: LANG=no_NO, LC_CTYPE=no_NO (charmap=ISO-8859-1)

Versions of packages libapache2-mod-perl2 depends on:
ii  apache2. 2.2.3-3.1                       Next generation, scalable, 
extenda
ii  libapr1  1.2.7-8                         The Apache Portable Runtime 
Librar
ii  libaprut 1.2.7+dfsg-2                    The Apache Portable Runtime 
Utilit
ii  libc6    2.3.6.ds1-9                     GNU C Library: Shared 
libraries
ii  libdevel 2.03-3                          Perl module for inspecting 
perl's 
ii  libperl5 5.8.8-7                         Shared Perl library
ii  liburi-p 1.35-2                          Manipulates and accesses 
URI strin
ii  libuuid1 1.39+1.40-WIP-2006.11.14+dfsg-1 universally unique id 
library
ii  libwww-p 5.805-1                         WWW client/server library 
for Perl
ii  netbase  4.27                            Basic TCP/IP networking 
system
ii  perl [li 5.8.8-7                         Larry Wall's Practical 
Extraction 
ii  perl-bas 5.8.8-7                         The Pathologically Eclectic 
Rubbis

libapache2-mod-perl2 recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to