From owner-freebsd-current@FreeBSD.ORG Sat Nov 1 17:36:51 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E5FE16A4CE for ; Sat, 1 Nov 2003 17:36:51 -0800 (PST) Received: from hueymiccailhuitl.mtu.ru (hueytecuilhuitl.mtu.ru [195.34.32.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id C677543FBD for ; Sat, 1 Nov 2003 17:36:47 -0800 (PST) (envelope-from sem@ciam.ru) Received: from ciam.ru (ppp139-12.dialup.mtu-net.ru [62.118.139.12]) by hueymiccailhuitl.mtu.ru (Postfix) with ESMTP id 5B66CF8C24 for ; Sun, 2 Nov 2003 04:36:45 +0300 (MSK) (envelope-from sem@ciam.ru) Message-ID: <3FA45FAC.2050107@ciam.ru> Date: Sun, 02 Nov 2003 04:36:44 +0300 From: Sergey Matveychuk User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031023 X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: pthread_mutex_lock crashed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Nov 2003 01:36:51 -0000 Hello! I've tested MICO port (CORBA implementation) both on -stable and -current. I use lang/gcc33 port for -stable. On -stable all goes right, but on -current one example crashed in pthread_mutex_lock(). Here is gdb back tracing: #0 0x280830c9 in _atomic_lock () from /usr/lib/libc_r.so.5 #1 0x28083094 in _spinlock_debug () from /usr/lib/libc_r.so.5 #2 0x28088962 in _pthread_mutex_trylock () from /usr/lib/libc_r.so.5 #3 0x28088d12 in pthread_mutex_lock () from /usr/lib/libc_r.so.5 #4 0x282d5fcb in CORBA::ServerlessObject::_deref() () from /usr/local/lib/libmico2.3.11.so #5 0x282ceac6 in ObjVar::release(CORBA::ContextList*) () from /usr/local/lib/libmico2.3.11.so ... etc. The port has been built with -lc_r on -current. Can you comment it? --- Sem.