From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20748: 25.0.50; Seemingly random segfaults. Date: Sat, 06 Jun 2015 10:43:47 +0300 Message-ID: <83bngtnux8.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1433576663 8834 80.91.229.3 (6 Jun 2015 07:44:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Jun 2015 07:44:23 +0000 (UTC) Cc: 20748@debbugs.gnu.org To: zack@apertron.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 06 09:44:11 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1Z18m2-0000x6-9c for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Jun 2015 09:44:10 +0200 Original-Received: from localhost ([::1]:50922 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z18m0-0006H8-RT for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Jun 2015 03:44:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42737) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z18ly-0006Gx-3Q for bug-gnu-emacs@gnu.org; Sat, 06 Jun 2015 03:44:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z18lu-0007ns-Ta for bug-gnu-emacs@gnu.org; Sat, 06 Jun 2015 03:44:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60757) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z18lu-0007nm-RB for bug-gnu-emacs@gnu.org; Sat, 06 Jun 2015 03:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z18lu-000552-6V for bug-gnu-emacs@gnu.org; Sat, 06 Jun 2015 03:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Jun 2015 07:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20748 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20748-submit@debbugs.gnu.org id=B20748.143357663919512 (code B ref 20748); Sat, 06 Jun 2015 07:44:02 +0000 Original-Received: (at 20748) by debbugs.gnu.org; 6 Jun 2015 07:43:59 +0000 Original-Received: from localhost ([127.0.0.1]:42499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z18lq-00054e-IK for submit@debbugs.gnu.org; Sat, 06 Jun 2015 03:43:58 -0400 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:41860) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z18ln-00054P-3x for 20748@debbugs.gnu.org; Sat, 06 Jun 2015 03:43:56 -0400 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NPI00J00INGLO00@mtaout29.012.net.il> for 20748@debbugs.gnu.org; Sat, 06 Jun 2015 10:43:11 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPI00HPEIRZDP20@mtaout29.012.net.il>; Sat, 06 Jun 2015 10:43:11 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:103646 Archived-At: > From: zack@apertron.net > Date: Fri, 05 Jun 2015 19:51:43 +0000 > > Starting program: /home/zack/ins/bin/emacs > Got object file from memory but can't read symbols: File truncated. A strange message, don't you think? > Program received signal SIGSEGV, Segmentation fault. > turn_on_face (f=f@entry=0xcde8f8, face_id=face_id@entry=74) at term.c:1902 > 1902 unsigned long fg = face->foreground; > #0 0x00000000004dc28a in turn_on_face (f=f@entry=0xcde8f8, face_id=face_id@entry=74) at term.c:1902 > face = 0x0 Please show the output of these GDB commands: (gdb) frame 0 (gdb) p f->face_cache->used The first command assumes that "frame 0" is the one shown above, a call to turn_on_face. The frame number is that #0 part at the left edge of the line. If the next time it happens you will see the call to turn_on_face in a different stack frame, use that frame's number instead of zero in the first command above. Did you build this Emacs yourself? If so, can you also build a non-optimized version, and see if the problem happens there? To build a non-optimized Emacs, configure it like this: CFLAGS='-O0 -g3' ./configure --enable-checking='yes,glyphs' ... Replace "..." with the rest of your configure-time options. Finally, do you have a lot of customizations in your ~/.emacs? I'm puzzled by the large number of the face ID (74) in the backtrace -- do you customize your faces a lot, or use packages that create a lot of faces? Thanks.