From owner-freebsd-hackers@freebsd.org Sat May 13 12:38:44 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 59B5CD6B773 for ; Sat, 13 May 2017 12:38:44 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C5992998 for ; Sat, 13 May 2017 12:38:43 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id v4DCcbIS076241 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 13 May 2017 15:38:37 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua v4DCcbIS076241 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id v4DCcb9v076240; Sat, 13 May 2017 15:38:37 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 13 May 2017 15:38:37 +0300 From: Konstantin Belousov To: Steve Kargl Cc: freebsd-hackers@freebsd.org Subject: Re: mutex owned? Message-ID: <20170513123836.GY1622@kib.kiev.ua> References: <20170513010459.GA83399@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170513010459.GA83399@troutmask.apl.washington.edu> User-Agent: Mutt/1.8.2 (2017-04-18) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tom.home 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: Sat, 13 May 2017 12:38:44 -0000 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 > > [CUT] sw_odfimport > 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 > > > Error: a unit test failed, please do one of: > make CppunitTest_dbaccess_dialog_save CPPUNITTRACE="gdb --args" > # for interactive debugging on Linux > make CppunitTest_dbaccess_dialog_save VALGRIND=memcheck > # for memory checking > make CppunitTest_dbaccess_dialog_save DEBUGCPPUNIT=TRUE > # for exception catching > > gmake[3]: *** [/usr/ports/editors/libreoffice/work/libreoffice-5.2.7.2/solenv/gbuild/CppunitTest.mk:100: /usr/ports/editors/libreoffice/work/libreoffice-5.2.7.2/workdir/CppunitTest/dbaccess_dialog_save.test] Error 1 > > 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.