From owner-freebsd-hackers@freebsd.org Sun May 14 05:35:23 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C7283D6C1E8 for ; Sun, 14 May 2017 05:35:23 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AC262CF for ; Sun, 14 May 2017 05:35:23 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id v4E5ZHAu094492 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 13 May 2017 22:35:17 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id v4E5ZGnZ094491; Sat, 13 May 2017 22:35:16 -0700 (PDT) (envelope-from sgk) Date: Sat, 13 May 2017 22:35:16 -0700 From: Steve Kargl To: Konstantin Belousov Cc: freebsd-hackers@freebsd.org Subject: Re: mutex owned? Message-ID: <20170514053516.GA94476@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <20170513010459.GA83399@troutmask.apl.washington.edu> <20170513123836.GY1622@kib.kiev.ua> <20170513160822.GA88653@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170513160822.GA88653@troutmask.apl.washington.edu> User-Agent: Mutt/1.7.2 (2016-11-26) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2017 05:35:23 -0000 On Sat, May 13, 2017 at 09:08:22AM -0700, Steve Kargl wrote: > On Sat, May 13, 2017 at 03:38:37PM +0300, Konstantin Belousov wrote: > > On Fri, May 12, 2017 at 06:04:59PM -0700, Steve Kargl wrote: > > > So, after 6 to 8 hours of building libreoffice, I run into this > > > > > > Abort trap (core dumped) > > > OK (1) > > > Fatal error 'mutex 0x2beaa340 own 0x189be is on list 0x69004c 0x74006e' at line 153 in file /mnt/src/lib/libthr/thread/thr_mutex.c (errno = 0) > > > > > > No core file identified in directory /usr/ports/editors/libreoffice/work/libreoffice-5.2.7.2/workdir/CppunitTest/dbaccess_dialog_save.test.core > > > To show backtraces for crashes during test execution, > > > enable core files with: > > > > > > ulimit -c unlimited > > > > > > > > > Is there a known issue with libthr on i686? > > > > I am not aware. > > > > Please ensure that your libthr and libc are built with debugging symbols > > (default on HEAD), obtain core dump and show me the backtrace, for the > > start. > > I tried getting a core by restarting the build in editor/libreoffice > with 'make -DNOCLEAN'. The build then completed without error. I'll > restart from a clean directory and see what happens. > Rebuilt libreoffice without a problem. The system was under load when the core happened, but not too loaded with the recent build. Perhaps, a heisenbug. -- Steve 20170425 https://www.youtube.com/watch?v=VWUpyCsUKR4 20161221 https://www.youtube.com/watch?v=IbCHE-hONow