From owner-freebsd-threads@FreeBSD.ORG Thu Nov 6 14:58:58 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93EE316A4CF; Thu, 6 Nov 2003 14:58:58 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 008FA43FB1; Thu, 6 Nov 2003 14:58:57 -0800 (PST) (envelope-from davidxu@freebsd.org) Received: from freebsd.org (davidxu@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hA6MwsFY036014; Thu, 6 Nov 2003 14:58:55 -0800 (PST) (envelope-from davidxu@freebsd.org) Message-ID: <3FAAD4C9.5070704@freebsd.org> Date: Fri, 07 Nov 2003 07:10:01 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031025 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Branko@FreeBSD.org, "F."@FreeBSD.org, Grac@FreeBSD.org References: <3F9F9884.3020309@noviforum.si> <20031030050540.GA25906@rot13.obsecurity.org> <20031103140413.GG18358@pixies.tirloni.org> <3FA667F4.7060003@noviforum.si> <20031103230152.F99573@odysseus.silby.com> <3FA95893.1060208@noviforum.si> <20031106005009.D1561@odysseus.silby.com> <3FAA35E2.1090703@noviforum.si> <3FAA411C.6050209@freebsd.org> <3FAA4CDA.8030008@noviforum.si> <3FAA57C3.2020400@freebsd.org> <3FAAAF5B.4020307@noviforum.si> In-Reply-To: <3FAAAF5B.4020307@noviforum.si> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: "F."@freebsd.org cc: Branko@freebsd.org cc: Grac@freebsd.org cc: freebsd-threads@freebsd.org Subject: Re: FreeBSD 5.1-p10 reproducible crash with Apache2 X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2003 22:58:58 -0000 Branko F. Grac(nar wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > David Xu wrote: > > | Are you using SYSV Semaphore IPC ? > | On my machine, default mutex type for "sem" config will > | be SYSV. > > I don't know how to figure this out. > > Brane > > In its srclib/apr/include/apr.h, I have following lines: #define APR_HAS_FLOCK_SERIALIZE 1 #define APR_HAS_SYSVSEM_SERIALIZE 1 #define APR_HAS_POSIXSEM_SERIALIZE 0 #define APR_HAS_FCNTL_SERIALIZE 1 #define APR_HAS_PROC_PTHREAD_SERIALIZE 0 #define APR_HAS_RWLOCK_SERIALIZE 0 So if I config it to use sem, it must use SYSVSEM.