[squid-users] Squid 3.4.11 crashing on FreeBSD 10 (64-bit)

Amos Jeffries squid3 at treenet.co.nz
Mon Jan 19 16:11:29 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 20/01/2015 4:20 a.m., Odhiambo Washington wrote:
> On 19 January 2015 at 17:55, Yuri Voinov wrote:
> 
>> Your use CLang. This is the single point.
>> 
>> You can get any effects. Looks like this is not Squid problem.
>> Just system.
>> 
> 
> 
> Are you insinuating that Squid-3.x is not supposed to run on
> FreeBSD 10 because of the CLANG thing?
> 

We build test Squid on Clang for FreeBSD 10 (no longer GCC). So it
should build and run fine. (Though our FreeBSD 10 tests are failing on
man(8) page creation recently).

Your build parameter 'CPP=clang-cpp' seems unusual. We do not use/need
that for the integration testing builds. Just CC=clang CXX=clang++.
The toolchain naturally takes care of the rest.

Only the FreeBSD 9.x have clang build issues from the GCC->clang
transitional bugs coming at it from all sides (kernel, compiler, and
Squid).


> Do you have a little howto on how I can compile it using gcc (I
> have gcc49 installed) ?

At the simplest:

 mkdir _build && \
 cd _build && \
 ../configure && \
 make install

The squid default paths etc were all designed for FreeBSD environment.

> 
> This squid is running, disobeying my time-based ACLs, crashing as
> seen in cache.log and ... just annoying but I need a proxy by all
> means! It kinda puts me in the proverbial between a rock & hard
> place.
> 


If you are using diskd cache_dir on FreeBSD 10 there are known crashes
from that in 9/10. Until that is figured out shifting to ufs or aufs
is best.


Since it is a crash, backtrace is critical to figuring out what is
actually going on.

Amos

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUvSywAAoJELJo5wb/XPRjXzcIALlLN2vv/Ev+l0fibkRwDpab
m2RWtxzuwNJ958PO92akm4kkJN/0eZojl1lP7Tp8YPVzuIvcTKQ8z+LfhmV7f6Tp
/1KA9vqXE+QtZCbPTl1TRv0ar7bwtMGvD12fs8eeApqshesbm9m/mo7eAHNTqMfE
gTTJ5IjsCGimxK5b+zOrseOm3Syf1o757E7/3XB26gRhorzdj8Zjvzj7mt41jR6x
PlyJybHp/RTt1meZSQQIMUvXdEAOPSAb1kY+R7KY5jqpFdtN3yijDc25lWdpjCub
aY2sv+lf5YNeOXlXO/dBicQRQJ0W9H2V4X5lc/qit3YTuIdJx+DHS8qknBzBqv4=
=eiso
-----END PGP SIGNATURE-----


More information about the squid-users mailing list