From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
To: Simon Leinen <simon.leinen@switch.ch>
Cc: 36758@debbugs.gnu.org
Subject: bug#36758: 27.0.50; Mac OS/Lucid/X11: crash with libharfbuzz
Date: Mon, 22 Jul 2019 20:13:55 +0900 [thread overview]
Message-ID: <wl1ryixqx8.wl-mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <aav9vul4tk.fsf@switch.ch>
On Mon, 22 Jul 2019 19:52:07 +0900,
Simon Leinen wrote:
>
> YAMAMOTO Mitsuharu writes:
> > Thanks. I rather suspect it has something to do with the versions of
> > Harbuzz. Could you try to see if the following test program crash on
> > your side?
>
> > /* cc -g hb-ot-test.c `pkg-config freetype2 harfbuzz --cflags --libs` */
>
> No, that runs fine (return code 0) and outputs
>
> HarfBuzz Version: 2.5.3
> GSUB script_count = 1
> GPOS script_count = 1
>
> : leinen@macsl[leinen]; objdump -macho -dylibs-used /var/tmp/a.out
> /var/tmp/a.out:
> /usr/local/opt/freetype/lib/libfreetype.6.dylib (compatibility version 24.0.0, current version 24.1.0)
> /usr/local/opt/harfbuzz/lib/libharfbuzz.0.dylib (compatibility version 20504.0.0, current version 20504.0.0)
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.250.1)
>
> This is the same version of libharfbuzz that my Emacs binary uses:
>
> : leinen@macsl[leinen]; objdump -macho -dylibs-used /var/tmp/emacs/gbuild/src/emacs
(snip)
> /opt/X11/lib/libfreetype.6.dylib (compatibility version 19.0.0, current version 19.6.0)
I noticed the versions of libfreetype are different between the test
program and Emacs. What happens if you link the test program with the
latter one using the environment variable DYLD_LIBRARY_PATH ?
$ DYLD_LIBRARY_PATH=/opt/X11/lib ./a.out
YAMAMOTO Mitsuharu
mituharu@math.s.chiba-u.ac.jp
next prev parent reply other threads:[~2019-07-22 11:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-22 7:09 bug#36758: 27.0.50; Mac OS/Lucid/X11: crash with libharfbuzz Simon Leinen
2019-07-22 8:15 ` YAMAMOTO Mitsuharu
2019-07-22 8:42 ` Simon Leinen
2019-07-22 9:58 ` YAMAMOTO Mitsuharu
2019-07-22 10:52 ` Simon Leinen
2019-07-22 11:13 ` YAMAMOTO Mitsuharu [this message]
2019-07-22 11:19 ` Simon Leinen
2019-07-22 17:20 ` Simon Leinen
2019-07-30 0:03 ` YAMAMOTO Mitsuharu
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=wl1ryixqx8.wl-mituharu@math.s.chiba-u.ac.jp \
--to=mituharu@math.s.chiba-u.ac.jp \
--cc=36758@debbugs.gnu.org \
--cc=simon.leinen@switch.ch \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.