From owner-freebsd-stable@FreeBSD.ORG Mon Oct 23 01:50:20 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org 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 E39D116A412 for ; Mon, 23 Oct 2006 01:50:20 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from centrmmtao02.cox.net (centrmmtao02.cox.net [70.168.83.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23ADE43D49 for ; Mon, 23 Oct 2006 01:50:19 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by centrmmtao02.cox.net (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20061023015021.VHKW29165.centrmmtao02.cox.net@eastrmimpo01.cox.net>; Sun, 22 Oct 2006 21:50:21 -0400 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo01.cox.net with bizsmtp id ddpv1V0064iy4EG0000000 Sun, 22 Oct 2006 21:49:55 -0400 Date: Sun, 22 Oct 2006 20:50:54 -0500 To: "Kris Kennaway" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <20061023013040.GA25120@xor.obsecurity.org> Content-Transfer-Encoding: Quoted-Printable Message-ID: In-Reply-To: User-Agent: Opera Mail/9.02 (Linux) Cc: freebsd-stable@freebsd.org Subject: Re: Do anyone has any problem with sem_open() crash? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Oct 2006 01:50:21 -0000 On Sun, 22 Oct 2006 20:40:54 -0500, Jeremy Messenger wro= te: > On Sun, 22 Oct 2006 20:30:40 -0500, Kris Kennaway = > wrote: > >> On Sun, Oct 22, 2006 at 08:09:30PM -0500, Jeremy Messenger wrote: >>> Hello folks, >>> >>> Last night, I have upgraded from July RELENG_6 to last night. I have= >>> reinstalled all of ports and I noticed that the log/messages is = >>> collecting >>> a few of 'pid 14699 (conftest), uid 0: exited on signal 12 (core = >>> dumped)'. >>> I dig in the configure and found a location of crash. It is from >>> sem_open(). I don't get that before I upgraded the RELENG_6. >>> >>> http://people.freebsd.org/~mezz/test-sem_open.cc (took from configur= e's >>> conftest) >> >> That's "bad system call" - probably you don't have SYSVSEM support >> enabled. > > I have not change kernel config for a very long time. I have these = > enabled: > > options SYSVSHM # SYSV-style shared memory > options SYSVMSG # SYSV-style message queues > options SYSVSEM # SYSV-style semaphores > > More: http://people.freebsd.org/~mezz/OUTLAWS > > As for the /boot/loader.conf: > > kern.maxfiles=3D"25000" > linux_load=3D"YES" > nvidia_load=3D"YES" Just to fill out one more detail. ;-) /etc/sysctl.conf: vfs.usermount=3D1 kern.ipc.shmmax=3D67108864 kern.ipc.shmall=3D32768 Cheers, Mezz > Cheers, > Mezz > >> Kris -- = mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org http://wiki.freebsd.org/multimedia - multimedia@FreeBSD.org