From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705) 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: Always Steps to Reproduce: 1. cat /var/log/squid/access.log | /usr/local/bin/calamaris 2. LANG=C 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. 2. LANG=C 3. cat /var/log/squid/access.log | /usr/local/bin/calamaris IT WORKED!! Additional info:
Not a bash problem, but a calamaris problem.
Upstream author claims this is a perl bug. Please contact Cord Beermann <cord> for the test case.
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: #!/bin/bash rm -f /var/log/squid/*.0 >/dev/null cat /var/log/squid/access.log | /usr/sbin/calamaris -am | sendmail keith /usr/sbin/squid -k rotate
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
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.