From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: keramida@ceid.upatras.gr (Giorgos Keramidas) Newsgroups: gmane.emacs.devel Subject: Re: Emacs segfaulting on FreeBSD 9.1-RELEASE (amd64) during bootstrap Date: Thu, 04 Jul 2013 01:07:49 +0200 Message-ID: <67um8r8v1nkzsq.fsf@saturn.laptop> References: <86txkb1v2c.fsf@chateau.d.if> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1372892897 13948 80.91.229.3 (3 Jul 2013 23:08:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Jul 2013 23:08:17 +0000 (UTC) Cc: emacs-devel@gnu.org To: wahjava.ml@gmail.com (Ashish SHUKLA) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 04 01:08:17 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UuW9n-00053b-2r for ged-emacs-devel@m.gmane.org; Thu, 04 Jul 2013 01:08:15 +0200 Original-Received: from localhost ([::1]:60263 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuW9m-0005E3-H0 for ged-emacs-devel@m.gmane.org; Wed, 03 Jul 2013 19:08:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuW9j-0005D5-N8 for emacs-devel@gnu.org; Wed, 03 Jul 2013 19:08:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UuW9i-0005Tt-Kp for emacs-devel@gnu.org; Wed, 03 Jul 2013 19:08:11 -0400 Original-Received: from tux-cave.hellug.gr ([195.134.99.74]:42843) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuW9i-0005TI-8i for emacs-devel@gnu.org; Wed, 03 Jul 2013 19:08:10 -0400 X-Hellug-MailScanner-From: gkeramidas@gmail.com X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.9, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: r63N7uek013384 Original-Received: from giorgos.local (217-162-217-29.dynamic.hispeed.ch [217.162.217.29]) (authenticated bits=0) by tux-cave.hellug.gr (8.14.4/8.14.4/Debian-4) with ESMTP id r63N7uek013384 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 4 Jul 2013 02:08:04 +0300 Original-Received: by giorgos.local (Postfix, from userid 1800799460) id B99C76599D3; Thu, 4 Jul 2013 01:07:49 +0200 (CEST) In-Reply-To: <86txkb1v2c.fsf@chateau.d.if> (Ashish SHUKLA's message of "Wed, 03 Jul 2013 21:42:43 +0530") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 195.134.99.74 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:161493 Archived-At: On Wed, 03 Jul 2013 21:42:43 +0530, wahjava.ml@gmail.com (Ashish SHUKLA) wrote: > Hi, > I tried bzr revision r113270 on my FreeBSD 9.1-RELEASE (amd64), and it > segfaulted during bootstrap process, (the compilation of files in "lisp" > directory). It generated a core-file lisp/bootstrap-emacs.core which has more > than 3-million (that's when I lost patience) recurring stack frames like > following: > > #v+ > #3367385 0x00000008080742c6 in pthread_mutex_lock () from /lib/libthr.so.3 > #3367386 0x000000000066d846 in _malloc_internal (size=1016) at gmalloc.c:901 > #3367387 0x000000000066d8c1 in malloc (size=1016) at gmalloc.c:925 > #3367388 0x000000000066ec30 in calloc (nmemb=1, size=1016) at gmalloc.c:1492 > #3367389 0x00000008080764bd in ?? () from /lib/libthr.so.3 > #3367390 0x0000000808076d5b in ?? () from /lib/libthr.so.3 > #3367391 0x00000008080742c6 in pthread_mutex_lock () from /lib/libthr.so.3 > #3367392 0x000000000066d846 in _malloc_internal (size=1016) at gmalloc.c:901 > #3367393 0x000000000066d8c1 in malloc (size=1016) at gmalloc.c:925 > #3367394 0x000000000066ec30 in calloc (nmemb=1, size=1016) at gmalloc.c:1492 > #3367395 0x00000008080764bd in ?? () from /lib/libthr.so.3 > #3367396 0x0000000808076d5b in ?? () from /lib/libthr.so.3 > #3367397 0x00000008080742c6 in pthread_mutex_lock () from /lib/libthr.so.3 > #3367398 0x000000000066d846 in _malloc_internal (size=1016) at gmalloc.c:901 > #3367399 0x000000000066d8c1 in malloc (size=1016) at gmalloc.c:925 > #3367400 0x000000000066ec30 in calloc (nmemb=1, size=1016) at gmalloc.c:1492 > #3367401 0x00000008080764bd in ?? () from /lib/libthr.so.3 > #v- I just tried building the Git trunk on FreeBSD 10.0-CURRENT too, and I can verify that the same thing happens. I'm trying now after setting the stack user-limit to limit the number of frames. I configured Emacs with: ./configure --prefix=/opt/gnu --without-x I will report any findings once I have a better backtrace.