From owner-freebsd-stable@FreeBSD.ORG Fri Feb 7 21:40:16 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 72CE9D8 for ; Fri, 7 Feb 2014 21:40:16 +0000 (UTC) Received: from mail-qc0-x22b.google.com (mail-qc0-x22b.google.com [IPv6:2607:f8b0:400d:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 302381BCC for ; Fri, 7 Feb 2014 21:40:16 +0000 (UTC) Received: by mail-qc0-f171.google.com with SMTP id n7so6989487qcx.2 for ; Fri, 07 Feb 2014 13:40:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=+UXNv2UrbwkIhYWkOKTv6ULYz4Wi2zA5WvytIRnhkUo=; b=F0o5JTpzPdiFEZgvEz/d/izVKhyG8293p60Scr9410ytiCcLN1kDhvNhA7XBgNwrS1 KQT72IvMfqiwFTWkL9HHFtooqc6Qa3t+zKsdSnGyDtRQYy+7w9eZXT56kFD3MyptECC/ q1RTKwkqXaGtxr4v8OxLMdoCHRauqT3wjVlB9n4/GrQnIDCUvWMWOMsCkAzMHKTuxNoB dqVcp2bhT6BhFwwT+UzqxBj8rTFnUehjaikoOLJwKsgr4s1PwWx1JJK1OgBXZpcR38lm yGcQ+rv5ghqZQ5MeFpYGrJWuvsHdTLJQSgFDIG6i2GrAKATmxzjN/GmmWllktsu2GfTm zg/A== MIME-Version: 1.0 X-Received: by 10.224.16.72 with SMTP id n8mr26603387qaa.76.1391809215360; Fri, 07 Feb 2014 13:40:15 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.52.8 with HTTP; Fri, 7 Feb 2014 13:40:15 -0800 (PST) In-Reply-To: <1391788362.88229.35.camel@btw.pki2.com> References: <1391788362.88229.35.camel@btw.pki2.com> Date: Fri, 7 Feb 2014 13:40:15 -0800 X-Google-Sender-Auth: IiXhUbw-gFNREg2L3ZKFSnijHFM Message-ID: Subject: Re: Squid aufs crashes under 10.0 From: Adrian Chadd To: Dennis Glatting Content-Type: text/plain; charset=ISO-8859-1 Cc: Pavel Timofeev , freebsd-stable stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Feb 2014 21:40:16 -0000 Have you filed a bug with the squid developers? I'm sure they'd like to fix this stuff. :-P -a On 7 February 2014 07:52, Dennis Glatting wrote: > There are several problems with Squid source with one of the most > significant in "debug." Specifically, there are print statements using > cstring that DO NOT manage the case where cstring is empty (i.e., > c_str() returns NULL) thereby producing SIGSEV. There are also a cases > where strlen() is called with a NULL pointer, also causing SIGSEV. > > I have ported 3.4 to FreeBSD and I have patches available here. Some > bugs are fixed, others not; However, I am running this code on two busy > sites. > > http://www.pki2.com/squid34.tar > > I posted this stuff to ports@ but no response (it's a hack of the 3.3 > Makefile, files, etc, but I'm not a ports commiter, for the sake of > others :)). > > I believe aufs code is broken. I don't use it so I DID NOT try to figure > out why. For certain the Rock Store code is broken. > > Note that I used clang++ 3.3 c++11. > > > > > > On Fri, 2014-02-07 at 17:17 +0400, Pavel Timofeev wrote: >> Hi! >> There is a problem with squid under FreeBSD10.0. >> Squid crashes immediately if storage type is set to aufs. >> It goes down during read of config file. >> >> No problem with diskd. No problem with aufs under FreeBSD9.2. >> >> Someone thinks that it's related to clang which is default compiler on >> FreeBSD 10.0. >> >> I recompiled www/squid33 with DEBUG option. Got coredump. >> Then I did and got this: >> gdb /usr/local/sbin/squid /var/squid/squid.core >> .... >> Reading symbols from /usr/lib/private/libheimipcc.so.11...done. >> Loaded symbols for /usr/lib/private/libheimipcc.so.11 >> Reading symbols from /libexec/ld-elf.so.1...done. >> Loaded symbols for /libexec/ld-elf.so.1 >> Segmentation fault (core dumped) >> >> Gdb goes down too =) >> Any ideas? >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > -- > Dennis Glatting > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"