Re: [squid-users] [3.2.0.12] ErrorDetailManager.cc(222) parse: WARNING! invalid error detail name:

From: David Touzeau <david_at_touzeau.eu>
Date: Sat, 15 Oct 2011 11:07:12 +0200

Le lundi 10 octobre 2011 à 15:41 +1300, Amos Jeffries a écrit :
> On Mon, 10 Oct 2011 00:23:38 +0200, David Touzeau wrote:
> > Le lundi 26 septembre 2011 à 10:38 +0200, David Touzeau a écrit :
> >> Le vendredi 23 septembre 2011 à 13:17 +0200, David Touzeau a écrit :
> >> > Le vendredi 23 septembre 2011 à 11:45 +1200, Amos Jeffries a écrit
> >> :
> >> > > On 23/09/11 11:13, Amos Jeffries wrote:
> >> > > > On 23/09/11 02:21, david touzeau wrote:
> >> > > >> Le jeudi 22 septembre 2011 à 15:28 +0200, Helmut Hullen a
> >> écrit :
> >> > > >>> Hallo, david,
> >> > > >>>
> >> > > >>> Du meintest am 22.09.11:
> >> > > >>>
> >> > > >>>
> >> > > >>>> Dear i receive this error in cache.log just after compiling
> >> the
> >> > > >>>> 3.2.0.12 version
> >> > > >>>
> >> > > >>>
> >> > > >>>
> >> > > >>>> ErrorDetailManager.cc(222) parse: WARNING! invalid error
> >> detail name:
> >> > > >>>> P?.?P?.?09_V_ERR_DOMAIN_MISMATCH
> >> > > >>>> 2011/09/22 15:15:23 kid1| errorpage.cc(352) loadFromFile:
> >> parse
> >> > > >>>> error while reading template
> >> > > >>>> file: /usr/share/squid3/errors/templates/error-details.txt
> >> > > >>>
> >> > > >>> Maybe I've seen the same error, with "squid-3.2.0.10".
> >> Compiling squid
> >> > > >>> without "enable-ssl" cured that problem (but that's no real
> >> solution).
> >> > > >>>
> >> > > >>> Viele Gruesse!
> >> > > >>> Helmut
> >> > > >>>
> >> > > >> tried with 3.2.0.12-20110921-r11341 without success...
> >> > > >>
> >> > > >>
> >> > > >> 2011/09/22 16:20:31 kid1| Adding domain touzeau.com
> >> > > >> from /etc/resolv.conf
> >> > > >> 2011/09/22 16:20:31 kid1| Adding nameserver 192.168.1.105
> >> > > >> from /etc/resolv.conf
> >> > > >> 2011/09/22 16:20:31 kid1| Adding nameserver 192.168.1.1
> >> > > >> from /etc/resolv.conf
> >> > > >> 2011/09/22 16:20:31 kid1| ErrorDetailManager.cc(222) parse:
> >> WARNING!
> >> > > >> invalid error detail name: (��(��09_V_ERR_DOMAIN_MISMATCH
> >> > > >> 2011/09/22 16:20:31 kid1| errorpage.cc(352) loadFromFile:
> >> parse error
> >> > > >> while reading template
> >> > > >> file: /usr/share/squid3/errors/templates/error-details.txt
> >> > > >> FATAL: failed to find or read error text file.
> >> > > >> Squid Cache (Version 3.2.0.12-20110921-r11341): Terminated
> >> abnormally.
> >> > > >> CPU Usage: 0.008 seconds = 0.004 user + 0.004 sys
> >> > > >> Maximum Resident Size: 22640 KB
> >> > > >> Page faults with physical i/o: 4
> >> > > >>
> >> > > >
> >> > > > We have two bugs here.
> >> > > > One where the newest SSL messages sub-tag "ERROR" is being
> >> incorrectly
> >> > > > translated. This can be worked around by copying the file from
> >> > > > errors/templates/error-details.txt over top of its alternate
> >> in all the
> >> > > > other languages.
> >> > >
> >> > > A workaround has been added to do this step in 3.2 and langpack
> >> for the
> >> > > next round of daily updates (squid-3.2 r11343 and later).
> >> > >
> >> > > Although, note the major Rock store changes went in at r11342.
> >> So fair
> >> > > warning on that snapshot.
> >> > >
> >> > > Amos
> >> >
> >> > Thanks amos,
> >> >
> >> > r11343 did not resolv the issue...
> >> >
> >> > 2011/09/23 13:16:02 kid3| Starting Squid Cache version
> >> > 3.2.0.12-20110923-r11343 for i686-pc-linux-gnu...
> >> > 2011/09/23 13:16:02 kid3| Process ID 1548
> >> > 2011/09/23 13:16:02 kid3| Process Roles: coordinator
> >> > 2011/09/23 13:16:02 kid3| With 1024 file descriptors available
> >> > 2011/09/23 13:16:02 kid3| Initializing IP Cache...
> >> > 2011/09/23 13:16:02 kid3| DNS Socket created at [::], FD 8
> >> > 2011/09/23 13:16:02 kid3| DNS Socket created at 0.0.0.0, FD 9
> >> > 2011/09/23 13:16:02 kid3| Adding domain touzeau.com
> >> > from /etc/resolv.conf
> >> > 2011/09/23 13:16:02 kid3| Adding domain touzeau.com
> >> > from /etc/resolv.conf
> >> > 2011/09/23 13:16:02 kid3| Adding nameserver 192.168.1.105
> >> > from /etc/resolv.conf
> >> > 2011/09/23 13:16:02 kid3| Adding nameserver 192.168.1.1
> >> > from /etc/resolv.conf
> >> > 2011/09/23 13:16:02 kid3| ErrorDetailManager.cc(222) parse:
> >> WARNING!
> >> > invalid error detail name: ($�($�09_V_ERR_DOMAIN_MISMATCH
> >> > 2011/09/23 13:16:02 kid3| errorpage.cc(352) loadFromFile: parse
> >> error
> >> > while reading template
> >> > file: /usr/share/squid3/errors/templates/error-details.txt
> >> >
> <snip>
> >
> > 3.2.0.12-20111008-r11360 did not resolve the issue...
> > <snip>
> > processes
> > 2011/10/10 00:21:50 kid1| ErrorDetailManager.cc(222) parse: WARNING!
> > invalid error detail name: PT�PT�09_V_ERR_DOMAIN_MISMATCH
> > 2011/10/10 00:21:50 kid1| errorpage.cc(354) loadFromFile: parse
> > error
> > while reading template
> > file: /usr/share/squid3/errors/templates/error-details.txt
>
> Can you check that the upgrade installation actually changes those
> files?
> I'm suspicious that the copy may leave the mangled version in place.
>
> I also find it a bit weird that the first two bytes of the text "X5" is
> what you see being mangled. The problem r11343 and r11360 fix is a
> sub-string "_ERROR_" being wrongly affected.
>
> Amos

Dear Amos

I'm using a virgin Vmware linux system at each compilation.
So there is no any squid directory or any library from previous
version.
Issue occurs only if i add these compilation tokens "--enable-ssl"
"--enable-ssl-crtd" (but i need it)
If these tokens are not used, squid run without any problem.

Debian 6 i386 : Tested on 3.2.0.13

2011/10/15 11:02:42 kid1| ErrorDetailManager.cc(222) parse: WARNING!
invalid error detail name: (�0�(�0�09_V_ERR_DOMAIN_MISMATCH
2011/10/15 11:02:42 kid1| errorpage.cc(354) loadFromFile: parse error
while reading template
file: /usr/share/squid3/errors/templates/error-details.txt
FATAL: failed to find or read error text file.
Squid Cache (Version 3.2.0.13): Terminated abnormally.
CPU Usage: 0.008 seconds = 0.000 user + 0.008 sys
Maximum Resident Size: 23584 KB
Page faults with physical i/o: 0
Received on Sat Oct 15 2011 - 09:07:44 MDT

This archive was generated by hypermail 2.2.0 : Sat Oct 15 2011 - 12:00:02 MDT