Undoubtably, but that's a Perl bug... feel free to clone/reassign accordingly.

On 11/16/05, Adam Rosi-Kessel <[EMAIL PROTECTED]> wrote:
> This is fixed in 2.10.0-1, but it would be interesting to figure out why
> perl is maxing out the CPU on regexp parsing. I isolated the regexp in
> question in bug #338799. Namely, this:
>
> $tmpPage =~ s/^.*?^[\s]*<tr
> class=msg(new|old).*?^<td.*?name="Mid".value="([^"]+)".*?^<td>(.*?)<.*?^<td>.*?^[\s]*<a.href=.*?ShowLetter\?MsgId=([^&]+)&.*?\n(.*?)\n.*?^[\s]*<td
> .*?>(.*?)<.*?^[\s]*<td>(.*?)<//ms
>
> Even though the main bug is now fixed in the new fetchyahoo, we should
> really try to figure out how any perl regexp can basically take over an
> entire system. That's not a good thing.
>
> grok wrote:
> > Package: fetchyahoo
> > Version: 2.9.0-1
> > Severity: normal
> >
> >
> > I don't know what Debian policy fetchyahoo now violates, but it is now
> > suddenly creating "out of memory" errors and having other packages close
> > down, while multiple copies of fetchyahoo hang in memory adding a new
> > one each time crontab runs; and each new copy now vies for 100% of CPU
> > time. Upon 'pkill fetchyahoo' the sendmail program does mail me the log
> > message, which stops at the line beginning "Getting Message ID(s)..."
> >
> > It's strange that this problem appears to have only started in the past
> > day or two, and I have installed only 2, completely unrelated, packages
> > and updated none in a number of weeks.
> >
> >
> >
> >
> > -- System Information:
> > Debian Release: testing/unstable
> >   APT prefers testing
> >   APT policy: (998, 'testing'), (501, 'stable'), (99, 'unstable')
> > Architecture: i386 (i686)
> > Shell:  /bin/sh linked to /bin/bash
> > Kernel: Linux 2.4.20
> > Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
> >
> > Versions of packages fetchyahoo depends on:
> > ii  libcrypt-ssleay-perl          0.51-3     Support for https protocol in 
> > LWP
> > ii  libhtml-parser-perl           3.45-2     A collection of modules that 
> > parse
> > ii  libio-socket-ssl-perl         0.97-1     Perl module implementing 
> > object or
> > ii  libmime-perl                  5.417-1    Perl5 modules for 
> > MIME-compliant m
> > ii  liburi-perl                   1.35-1     Manipulates and accesses URI 
> > strin
> > ii  libwww-perl                   5.803-4    WWW client/server library for 
> > Perl
> > ii  perl                          5.8.4-8    Larry Wall's Practical 
> > Extraction
> >
> > Versions of packages fetchyahoo recommends:
> > ii  libterm-readkey-perl          2.21-1.3   A perl module for simple 
> > terminal
> > ii  procmail                      3.22-11    Versatile e-mail processor
> >
> > -- no debconf information
> >
> >
>
>
>
>
>


--
Chris Lawrence - http://blog.lordsutch.com/

Reply via email to