Re: Segment Violation

From: Web server manager <webadm@dont-contact.us>
Date: Wed, 22 Mar 2000 12:57:48 +0000 (GMT)

Ahsan Khan wrote:

[about Squid 2.3.STABLE1 crashing with segmentation violation]
 
> Please remove optimization Flag from squid source. that is do not compile
> with
> gcc -O2 -I../INCLUDE --------
>
>
> rather it should be
>
> gcc -I../INCLUDE -------

It may work, but I have the same problem on Solaris 2.6 (SPARC) using Sun's
C compiler. One compiler mis-optimising something is certainly possible, but
two unrelated compilers having similar problems seems much less likely.
Unfortunately I've not yet been able to get a core dump (had ulimit set to
low and it hasn't done it since I increased the limit :-).

[I should add that I've got Henrik Nordstrom's patch snapshot (20000202
version) installed, so that's another factor which could change things, but
clearly not *avoid* the SEGV crashes.]

                                John Line

-- 
University of Cambridge WWW manager account (usually John Line)
Send general WWW-related enquiries to webmaster@ucs.cam.ac.uk
Received on Wed Mar 22 2000 - 06:01:45 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:52:20 MST