On the Text::Parsewords problem:

--On Saturday, November 30, 2002 9:28 AM -0800 Konstantin 'Kastus' Shchuka <[EMAIL PROTECTED]> wrote:

It works with quoted string of any length in perl 5.6.1 but segfaults
in regexp in perl 5.8.0 when qouted string (the part between '') is
longer than 3526 characters.
Actually, I've seen the problem with 5.6.1 as well. In fact we saw it with 5.6.1 first, attempted to upgrade to 5.8.0 to solve the problem, only to discover it was still broken. To be precise, 5.6.1 on Solaris was fine, 5.6.1 on Linux segfaulted, 5.8.0 on Linux also segfaulted. We never tested 5.8.0 on Solaris, didn't have a reason to.

Luke Hankins said:
The symptoms I see are:

Mon::Client calls fail with a timeout
moncmd list opstatus works fine
The scheduler chugs along just fine

Actually, Mon itself will segfault if it receives a trap with the appropriate characteristics. This made the problem a high priority problem for me, and we worked around it by eliminating all usage of Text::ParseWords::quotewords. See below.

Gilles Lamiral said:
Yes. I reported it.
So now, it is now a 3 years old bug, not corrected :-(
Feel free to report it again or patch mon to avoid quoteword() use.
I've already patched my local copy of both Mon and Mon::Client to avoid using quotewords. As it turns out this has another benefit. quotewords is *SLOW*, especially on Solaris. Eliminating it so our Linux servers didn't segfault made our Solaris server display mon.cgi pages MUCH faster.

Unfortunately, since my current copy of Mon is HEAVILY patched, vs 0.99.2, just handing out a copy is probably not a good idea. Hopefully Jim will be releasing a new version based on the patches I've sent him sometime soon, along with any other patches and changes he has, at which point I'll reconcile those changes with mine and submit another patch set.


-David Nolan
Network Software Developer
Computing Services
Carnegie Mellon University

_______________________________________________
mon mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to