Re: 1.1beta17 SIGSEGV ...

From: Stewart Forster <[email protected]>
Date: Wed, 13 Nov 1996 16:40:42 +1100

> -> "void *buf = NULL;" should be "char *buf = NULL;" to compile...

        It will gompile with gcc. With anything else, a void really is an
unknown sized object. char is needed for other compilers.

> and a major bug in squid if you put (icp_port 0) :
>
> # TAG: icp_port
> # The port number where squid send and receive ICP requests to
> # and from neighbor caches. Default is 3130. To disable use
> # "0". May be overridden with -u on the command line.
> #icp_port 3130
> icp_port 0
>
> squid dies by SIGSEGV at the first request.

        For us it dies whether or NOT you have icp_port set to 0 or 3130.
At the first HTTP request it gives up the ghost. It dies at an accept() in
comm.c.

        Cheers,

                Stew.

-- 
Stewart Forster (Security and Web Proxy Cache Administrator)
connect.com.au pty ltd, Level 9, 114 Albert Rd, Sth Melbourne, VIC 3205, Aust.
Email: slf@connect.com.au   Phone: +61 3 9251-3684   Fax: +61 3 9251-3666
Received on Tue Nov 12 1996 - 21:41:30 MST

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