From owner-freebsd-stable@FreeBSD.ORG Tue Jun 16 07:36:42 2015 Return-Path: Delivered-To: freebsd-stable@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AA5B6A4 for ; Tue, 16 Jun 2015 07:36:42 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1EC838AC for ; Tue, 16 Jun 2015 07:36:41 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.9/8.14.9) with ESMTP id t5G7abHd072261 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 16 Jun 2015 10:36:37 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.9.2 kib.kiev.ua t5G7abHd072261 Received: (from kostik@localhost) by tom.home (8.14.9/8.14.9/Submit) id t5G7abuv072260; Tue, 16 Jun 2015 10:36:37 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 16 Jun 2015 10:36:37 +0300 From: Konstantin Belousov To: Andre Meiser Cc: freebsd-stable@freebsd.org Subject: Re: Many core dumps in pthread_getspecific. Message-ID: <20150616073637.GO2080@kib.kiev.ua> References: <20150603145838.GX2499@kib.kiev.ua> <20150614190504.GT2080@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) 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-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2015 07:36:42 -0000 On Tue, Jun 16, 2015 at 09:09:25AM +0200, Andre Meiser wrote: > On Sun, Jun 14, 2015 at 21:05 +0200, Konstantin Belousov wrote: > > Show me the 'ldd vim' output and output from the > > readelf -d vim | grep NEEDED. > > % ldd /usr/local/bin/vim > /usr/local/bin/vim: > libm.so.5 => /lib/libm.so.5 (0x800a55000) > libncurses.so.8 => /lib/libncurses.so.8 (0x800c7d000) > libintl.so.8 => /usr/local/lib/libintl.so.8 (0x800eca000) > libpython2.7.so.1 => /usr/local/lib/libpython2.7.so.1 (0x8010d5000) > libthr.so.3 => /lib/libthr.so.3 (0x801490000) > libc.so.7 => /lib/libc.so.7 (0x8016b5000) > libutil.so.9 => /lib/libutil.so.9 (0x801a5e000) > > % readelf -d /usr/local/bin/vim | grep NEEDED > 0x0000000000000001 (NEEDED) Shared library: [libm.so.5] > 0x0000000000000001 (NEEDED) Shared library: [libncurses.so.8] > 0x0000000000000001 (NEEDED) Shared library: [libintl.so.8] > 0x0000000000000001 (NEEDED) Shared library: [libpython2.7.so.1] > 0x0000000000000001 (NEEDED) Shared library: [libthr.so.3] > 0x0000000000000001 (NEEDED) Shared library: [libc.so.7] > > Vim is compiled with CSCOPE, DEFAULT_VIMRC, EXUBERANT_CTAGS, NLS, PYTHON and CONSOLE. > > This vim core dump remains the only one since the recompilation of libc and libthr with debug flag. Ok, so the vim fault is reproducable, I suppose ? >From the core, please do in gdb from the frame 0: info locals info registers disassemble