unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Seek advice about crashes dealing with fonts/faces
@ 2015-04-08 22:19 Ludwig, Mark
  2015-04-09  7:19 ` Eli Zaretskii
  2015-04-09 12:23 ` Stefan Monnier
  0 siblings, 2 replies; 3+ messages in thread
From: Ludwig, Mark @ 2015-04-08 22:19 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

Greetings,

I've had Emacs 24.4 crash a couple of times this week, and
wonder if anyone else has seen anything like this or has
advice about how to make an actionable bug report.

Emacs is running on Solaris, with the X display pointing to
eXceed (i.e., Windoze).

Both of the core dumps have the same 8 functions leading up
to a bus error (SIGBUS):

FcPatternObjectFindElt (causes/triggers the SIGBUS)
FcFontSetList
FcFontList
ftfont_list
xftfont_list
font_list_entities
font_find_for_lface
font_load_for_lface
 
Two different functions call font_load_for_lface in my two
core files, and the rest of the calls are quite different.

I can't reproduce this at will, but I have a feeling it will
recur.  Any advice about how to catch it or get better
diagnostic information for a bug report?  I tried searching
debbugs.gnu.org for similar bugs, and don't see any -- but I
might not be searching effectively.  Do I already have
enough for an actionable bug report?  (I don't think I do.)

I built this Emacs, so I can rebuild it if it will help
diagnose this.  I abbreviated the stack trace, but it has
line numbers in the bottom five functions.  The top three
are obviously Lisp....

Thanks in advance,
Mark
--
Mark Ludwig
Lifecycle Coll
Product Lifecycle Management

Siemens Industry Sector
Siemens Product Lifecycle Management Software Inc.
5939 Rice Creek Parkway
Shoreview, MN  55126 United States 
Tel.      :+1 (651) 855-6140
Fax      :+1 (651) 855-6280
ludwig.mark@siemens.com 
www.siemens.com/plm 





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Seek advice about crashes dealing with fonts/faces
  2015-04-08 22:19 Seek advice about crashes dealing with fonts/faces Ludwig, Mark
@ 2015-04-09  7:19 ` Eli Zaretskii
  2015-04-09 12:23 ` Stefan Monnier
  1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2015-04-09  7:19 UTC (permalink / raw)
  To: help-gnu-emacs

> From: "Ludwig, Mark" <ludwig.mark@siemens.com>
> Date: Wed, 8 Apr 2015 22:19:40 +0000
> 
> I've had Emacs 24.4 crash a couple of times this week, and
> wonder if anyone else has seen anything like this or has
> advice about how to make an actionable bug report.
> 
> Emacs is running on Solaris, with the X display pointing to
> eXceed (i.e., Windoze).
> 
> Both of the core dumps have the same 8 functions leading up
> to a bus error (SIGBUS):
> 
> FcPatternObjectFindElt (causes/triggers the SIGBUS)
> FcFontSetList
> FcFontList
> ftfont_list
> xftfont_list
> font_list_entities
> font_find_for_lface
> font_load_for_lface
>  
> Two different functions call font_load_for_lface in my two
> core files, and the rest of the calls are quite different.
> 
> I can't reproduce this at will, but I have a feeling it will
> recur.  Any advice about how to catch it or get better
> diagnostic information for a bug report?

Run Emacs under GDB, and when it crashes, show the full backtrace.
Also, try to figure out which variable is triggering SIGBUS, and show
that as well.

It is best to build Emacs without optimizations and with -g3
command-line switch to the compiler (or its equivalent, if you don't
use GCC), since the backtrace and the other debug info is much more
reliable then.

> Do I already have enough for an actionable bug report?

You do, but adding the information mentioned above would make the
report much more useful.

SIGBUS actually sounds like a fontconfig bug, so if there's a newer
version of that library, perhaps try using it.  Or maybe look for
similar problems in fontconfig bug database, if there is such a thing.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Seek advice about crashes dealing with fonts/faces
  2015-04-08 22:19 Seek advice about crashes dealing with fonts/faces Ludwig, Mark
  2015-04-09  7:19 ` Eli Zaretskii
@ 2015-04-09 12:23 ` Stefan Monnier
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2015-04-09 12:23 UTC (permalink / raw)
  To: help-gnu-emacs

> I've had Emacs 24.4 crash a couple of times this week, and
> wonder if anyone else has seen anything like this or has
> advice about how to make an actionable bug report.

Try M-x report-emacs-bug


        Stefan




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-04-09 12:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-08 22:19 Seek advice about crashes dealing with fonts/faces Ludwig, Mark
2015-04-09  7:19 ` Eli Zaretskii
2015-04-09 12:23 ` Stefan Monnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).