GNU bug report logs - #20748
25.0.50; Seemingly random segfaults.

Previous Next

Package: emacs;

Reported by: zack <at> apertron.net

Date: Fri, 5 Jun 2015 19:57:02 UTC

Severity: normal

Tags: moreinfo, unreproducible

Found in version 25.0.50

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 20748 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: zack <at> apertron.net
Cc: 20748 <at> debbugs.gnu.org
Subject: Re: bug#20748: 25.0.50; Seemingly random segfaults.
Date: Sat, 06 Jun 2015 10:43:47 +0300
> From: zack <at> 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 <at> entry=0xcde8f8, face_id=face_id <at> entry=74) at term.c:1902
> 1902	  unsigned long fg = face->foreground;
> #0  0x00000000004dc28a in turn_on_face (f=f <at> entry=0xcde8f8, face_id=face_id <at> 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.




This bug report was last modified 7 years and 178 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.