From owner-freebsd-stable@FreeBSD.ORG Mon Oct 23 01:08:56 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 A7ABC16A403 for ; Mon, 23 Oct 2006 01:08:56 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from centrmmtao03.cox.net (centrmmtao03.cox.net [70.168.83.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E31E43D4C for ; Mon, 23 Oct 2006 01:08:55 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by centrmmtao03.cox.net (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20061023010857.TGZO3784.centrmmtao03.cox.net@eastrmimpo01.cox.net> for ; Sun, 22 Oct 2006 21:08:57 -0400 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo01.cox.net with bizsmtp id dd8X1V00K4iy4EG0000000 Sun, 22 Oct 2006 21:08:31 -0400 Date: Sun, 22 Oct 2006 20:09:30 -0500 To: freebsd-stable@freebsd.org From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable Message-ID: User-Agent: Opera Mail/9.02 (Linux) Subject: 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:08:56 -0000 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 collecti= ng = 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 configure's = = conftest) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D % c++ -o test-sem_open -O2 -fno-strict-aliasing -pipe -g -pthread -pipe = = test-sem_open.cc % ./test-sem_open [1] 5761 invalid system call (core dumped) ./test-sem_open % grep sem_open /var/log/messages Oct 22 19:44:35 mezz kernel: pid 5761 (test-sem_open), uid 1001: exited = on = signal 12 (core dumped) Oct 22 20:00:45 mezz kernel: pid 6140 (test-sem_open), uid 1001: exited = on = signal 12 (core dumped) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D I have decided to login in a jail that has RELENG_6 from July in the sam= e = local machine that have most debug enable. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D $ gdb test-sem_open test-sem_open.core Core was generated by `test-sem_open'. Program terminated with signal 12, Bad system call. #0 0x281bf297 in ksem_open () at ksem_open.S:2 2 ksem_open.S: No such file or directory. in ksem_open.S [New LWP 100120] (gdb) bt #0 0x281bf297 in ksem_open () at ksem_open.S:2 #1 0x281b5cd8 in __sem_open (name=3D0x804868e "ace_semaphore_foo", = oflag=3D2560) at /usr/src/lib/libc/gen/sem.c:217 #2 0x080485ee in main () at test-sem_open.cc:168 Current language: auto; currently asm (gdb) bt full #0 0x281bf297 in ksem_open () at ksem_open.S:2 No locals. #1 0x281b5cd8 in __sem_open (name=3D0x804868e "ace_semaphore_foo", = oflag=3D2560) at /usr/src/lib/libc/gen/sem.c:217 sem =3D (sem_t *) 0xbfbfec9c s =3D 0x4e semid =3D 1 mode =3D 78 value =3D 1 #2 0x080485ee in main () at test-sem_open.cc:168 s =3D (sem_t *) 0xa00 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D BTW: Please add me in CC, I am not on the list. Cheers, Mezz -- = 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