unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Welsh Duggan <mwd@md5i.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Michael Welsh Duggan <mwd@md5i.com>, 23522@debbugs.gnu.org, mwd@cert.org
Subject: bug#23522: 25.0.93; SEGFAULT when displaying HELLO
Date: Fri, 13 May 2016 14:06:28 -0400	[thread overview]
Message-ID: <87zirtal3v.fsf@md5i.com> (raw)
In-Reply-To: <83k2iy7zxz.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 13 May 2016 18:14:16 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Michael Welsh Duggan <mwd@md5i.com>
>> Cc: mwd@md5i.com, Kenichi Handa <handa@gnu.org>, mwd@cert.org,
>> 23522@debbugs.gnu.org
>> Date: Fri, 13 May 2016 10:52:31 -0400
>> 
>> > So the question becomes: where did that value of 'to' come from, and
>> > how come its value is bogus?  Can you look at the code before the
>> > faulting line and figure that out?
>> 
>> It's being filled in by mflt_run() at ftfont.c:2646.
>
> Which means either a bug in the library or a bad font.

That's my belief as well.

>> >>   xft:-unknown-FreeSerif-normal-normal-normal-*-15-*-*-*-*-0-iso10646-1
>> >> by these glyphs:
>> >>   [0 3 0 10195 9 0 10 10 0 nil]
>> >>   [0 3 2724 2103 10 1 10 10 1 nil]
>> >>   [0 3 2759 2132 0 -8 -2 13 -10 [-1 0 0]]
>> >
>> > So why does Emacs use FreeSerif on this system and Lohit Gujarati on
>> > the faulting one? 
>> 
>> The two systems I have access to are running completely different
>> distributions of Linux.  I don't have much control over the packages
>> installed on the system on which Emacs breaks.
>
> OK, but are both fonts installed on both systems?

Not as far as I can determine.

>> > Are both fonts installed on both systems?  Is Lohit
>> > Gujarati a bad font, by any chance?
>> 
>> No idea.  How can I find out?
>
> Install the latest version of it?

Difficult in this instance.  I'll see if it is possible.

>> > Also, do both systems have the same version of libm17n-flt and m17n-db
>> > libraries?
>> 
>> Almost certainly not.
>
> Then perhaps using a newer version will help?
>
> Anyway, this sounds more and more like a bug in one of the libraries
> Emacs uses, so I hope Handa-san will be able to chime in, since he is
> one of the maintainers of those libraries.

Quite possible.  The most important thing, in my mind, is to prevent the
crash if at all possible.  That could be done either by writing code to
catch this type of error, or by blacklisting in configure certain
versions of the library (assuming that this is reasonable, or possible,
or a real solution at all).

-- 
Michael Welsh Duggan
(md5i@md5i.com)





  reply	other threads:[~2016-05-13 18:06 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-12 13:05 bug#23522: 25.0.93; SEGFAULT when displaying HELLO Michael Welsh Duggan
2016-05-12 16:40 ` Glenn Morris
2016-05-12 17:23   ` Michael Welsh Duggan
2016-05-12 19:16     ` Eli Zaretskii
2016-05-12 19:58       ` Michael Welsh Duggan
2016-05-12 20:28         ` Eli Zaretskii
2016-05-12 20:49           ` Michael Welsh Duggan
2016-05-13  7:46             ` Eli Zaretskii
2016-05-13 14:52               ` Michael Welsh Duggan
2016-05-13 15:14                 ` Eli Zaretskii
2016-05-13 18:06                   ` Michael Welsh Duggan [this message]
2016-05-13 18:53                     ` Eli Zaretskii
2016-05-13 19:17                       ` Michael Welsh Duggan
2019-11-08  4:22                         ` Stefan Kangas
2019-11-08 10:30                           ` Eli Zaretskii
2019-11-08 15:16                             ` Michael Welsh Duggan
2019-11-09  7:45                               ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zirtal3v.fsf@md5i.com \
    --to=mwd@md5i.com \
    --cc=23522@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=mwd@cert.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).