From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: [BUG] Finternal_merge_in_global_face segfault Date: Sat, 05 Jul 2008 11:07:21 -0400 Message-ID: <87k5g0z7x2.fsf@stupidchicken.com> References: <877ic0cv4o.fsf@saeurebad.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1215270457 10219 80.91.229.12 (5 Jul 2008 15:07:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Jul 2008 15:07:37 +0000 (UTC) Cc: Emacs Development Mailing List To: Johannes Weiner Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 05 17:08:23 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KF9N8-0004Bw-Rt for ged-emacs-devel@m.gmane.org; Sat, 05 Jul 2008 17:08:23 +0200 Original-Received: from localhost ([127.0.0.1]:46528 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KF9MI-00069C-0n for ged-emacs-devel@m.gmane.org; Sat, 05 Jul 2008 11:07:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KF9MC-000697-P7 for emacs-devel@gnu.org; Sat, 05 Jul 2008 11:07:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KF9MA-00068v-UU for emacs-devel@gnu.org; Sat, 05 Jul 2008 11:07:23 -0400 Original-Received: from [199.232.76.173] (port=39061 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KF9MA-00068s-P7 for emacs-devel@gnu.org; Sat, 05 Jul 2008 11:07:22 -0400 Original-Received: from c-24-63-201-57.hsd1.ma.comcast.net ([24.63.201.57]:19247 helo=furry) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KF9MA-0002nD-KO for emacs-devel@gnu.org; Sat, 05 Jul 2008 11:07:22 -0400 Original-Received: by furry (Postfix, from userid 1000) id 583A1C054; Sat, 5 Jul 2008 11:07:21 -0400 (EDT) In-Reply-To: <877ic0cv4o.fsf@saeurebad.de> (Johannes Weiner's message of "Sat, 05 Jul 2008 13:34:31 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:100365 Archived-At: Johannes Weiner writes: > this change > > 2008-06-30 Chong Yidong > > * xfaces.c (Finternal_merge_in_global_face): If default face was > modified, realize it again. Update the font face attribute. > > makes Emacs segfault in batch mode. > > The culprit is the bcopy(oldface->lface, ...) according to the > stacktrace. I couldn't get gdb to let me inspect oldface (any hints?). It's probably optimized out. You should recompile Emacs without optimization (CFLAGS='-g' ./configure; make) and try again. Please provide a recipe to reproduce this segfault.