Bug 77437 - LANG=en_US.UTF-8 crashes Calamaris Squid log analyzer
LANG=en_US.UTF-8 crashes Calamaris Squid log analyzer
Product: Red Hat Linux
Classification: Retired
Component: perl (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Warren Togami
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2002-11-06 18:56 EST by Keith Stevens
Modified: 2005-10-31 17:00 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-05-28 03:14:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Keith Stevens 2002-11-06 18:56:09 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 

Description of problem:
LANG=en_US.UTF-8 crashes Calamaris Squid log analyzer
setting it to 'C' fixes the problem 

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. cat /var/log/squid/access.log | /usr/local/bin/calamaris
3. cat /var/log/squid/access.log | /usr/local/bin/calamaris
(assuming squids default access.log and you put calamaris in /usr/local/bin)	

Actual Results:  1. cat /var/log/squid/access.log | /usr/local/bin/calamaris
Split loop at (eval1) line 21, <> line 1.
3. cat /var/log/squid/access.log | /usr/local/bin/calamaris

Additional info:
Comment 1 Tim Waugh 2002-11-07 04:13:40 EST
Not a bash problem, but a calamaris problem.
Comment 2 Tim Waugh 2002-11-10 13:33:19 EST
Upstream author claims this is a perl bug.  Please contact Cord Beermann
<cord@Wunder-Nett.org> for the test case.
Comment 3 Keith Stevens 2002-11-11 08:24:03 EST
Something else I found thats weird. (and might be a clue)
While this does this:
[root@localhost root]# cat /var/log/squid/access.log | /usr/sbin/calamaris
Split loop at (eval 1) line 21, <> line 1.

This (in /etc/cron.daily/rotatesquidlogs.cron) works fine:
rm -f /var/log/squid/*.0 >/dev/null
cat /var/log/squid/access.log | /usr/sbin/calamaris -am | sendmail 
/usr/sbin/squid -k rotate
Comment 4 Chip Turner 2002-12-15 18:20:11 EST
can you provide actual test data and scripts?

also try perl-5.8.0-70 from Rawhide (should be there soon), as it should fix
most/all utf8 issues
Comment 5 Warren Togami 2005-05-28 03:14:58 EDT
Closing due to lack of activity and likely fixed in modern perl.  If this is
still an issue in RHEL4, FC3 or FC4 please open a new bug with new test
information and exact versions of packages.

Note You need to log in before you can comment on or make changes to this bug.