From owner-freebsd-stable@FreeBSD.ORG Fri Aug 8 11:09:04 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 47F6F37B405 for ; Fri, 8 Aug 2003 11:09:04 -0700 (PDT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C52A43F75 for ; Fri, 8 Aug 2003 11:09:03 -0700 (PDT) (envelope-from freebsd-stable@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19lBfG-0008Ut-00 for ; Fri, 08 Aug 2003 20:08:34 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19lBfD-0008Ud-00 for ; Fri, 08 Aug 2003 20:08:31 +0200 From: othermark Date: Fri, 8 Aug 2003 18:08:31 +0000 (UTC) Lines: 29 Message-ID: References: <20030808133657.GA42855@curry.mchp.siemens.de> X-Complaints-To: usenet@main.gmane.org User-Agent: slrn/0.9.7.4 (FreeBSD) Sender: news Subject: Re: stable libmilter leaks kqueue descriptors? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 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, 08 Aug 2003 18:09:05 -0000 I'm glad I'm not 'seeing' things. If you have a good enough idea of where the leakage is occuring, could you file a PR against -STABLE? I'd like to see this fixed soon. I'm not even sure that the pr I referenced is the exact problem, but seems likely. In article <20030808133657.GA42855@curry.mchp.siemens.de>, Andre Albsmeier wrote: > I have a self-written milter app. Today I upgraded to the recent > -STABLE and now it eats KQUEUE filedscriptors like crazy. I tried > to MFC the fix in lib/libc_r/uthread/uthread_kqueue.c but I always > get complaints about multiple definition of `_kqueue': > > building shared library libc_r.so.4 > kqueue.So: In function `_kqueue': > kqueue.So(.text+0x14): multiple definition of `_kqueue' > uthread_kqueue.So(.text+0x0): first defined here > *** Error code 1 > > Seems it conflicts with /usr/obj/lib/libc_r/kqueue.S > which is generated everytime from scratch during the build. > > I assume that I have to add kqueue.o to HIDDEN_SYSCALLS > but I am not sure if this is correct and what it will break :-) --- Mark atkin901 at NOSPAM yahoo dot com (!wired)?(coffee++):(wired);