From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.bugs Subject: bug#36758: 27.0.50; Mac OS/Lucid/X11: crash with libharfbuzz Date: Mon, 22 Jul 2019 20:13:55 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="219067"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?UTF-8?Q?Goj=C5=8D?=) APEL/10.8 EasyPG/1.0.0 Emacs/25.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) Cc: 36758@debbugs.gnu.org To: Simon Leinen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 22 13:14:09 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hpWGe-000unF-6T for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Jul 2019 13:14:08 +0200 Original-Received: from localhost ([::1]:60532 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hpWGd-0003CX-2Q for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Jul 2019 07:14:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45451) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hpWGZ-0003CA-NU for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2019 07:14:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hpWGY-000071-C2 for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2019 07:14:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51205) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hpWGY-00004t-3S for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2019 07:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hpWGX-00012c-UU for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2019 07:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: YAMAMOTO Mitsuharu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Jul 2019 11:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36758 X-GNU-PR-Package: emacs Original-Received: via spool by 36758-submit@debbugs.gnu.org id=B36758.15637940373985 (code B ref 36758); Mon, 22 Jul 2019 11:14:01 +0000 Original-Received: (at 36758) by debbugs.gnu.org; 22 Jul 2019 11:13:57 +0000 Original-Received: from localhost ([127.0.0.1]:60026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpWGT-00012D-K0 for submit@debbugs.gnu.org; Mon, 22 Jul 2019 07:13:57 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:49453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpWGR-000123-AU for 36758@debbugs.gnu.org; Mon, 22 Jul 2019 07:13:56 -0400 Original-Received: from mathent.math.s.chiba-u.ac.jp (mathent [192.168.32.5]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 642B3F08FB; Mon, 22 Jul 2019 20:13:55 +0900 (JST) (envelope-from mituharu@math.s.chiba-u.ac.jp) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:163590 Archived-At: 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