Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Oct 2006 20:50:54 -0500
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        "Kris Kennaway" <kris@obsecurity.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Do anyone has any problem with sem_open() crash?
Message-ID:  <op.thup24ey9aq2h7@mezz.mezzweb.com>
In-Reply-To: <op.thupmgvt9aq2h7@mezz.mezzweb.com>
References:  <op.thun54ec9aq2h7@mezz.mezzweb.com> <20061023013040.GA25120@xor.obsecurity.org> <op.thupmgvt9aq2h7@mezz.mezzweb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 22 Oct 2006 20:40:54 -0500, Jeremy Messenger <mezz7@cox.net> wro=
te:

> On Sun, 22 Oct 2006 20:30:40 -0500, Kris Kennaway <kris@obsecurity.org=
>  =

> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.thup24ey9aq2h7>