From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#34256: 27.0.50; Crash on draw_glyphs() Date: Wed, 30 Jan 2019 18:16:32 +0200 Message-ID: <83pnse15pb.fsf@gnu.org> References: Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="177723"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34256@debbugs.gnu.org To: Kaushal Modi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 30 17:17:23 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.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gosYF-000k9A-MW for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Jan 2019 17:17:23 +0100 Original-Received: from localhost ([127.0.0.1]:40493 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gosYE-0007y4-Ls for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Jan 2019 11:17:22 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50989) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gosXv-0007xw-Bf for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2019 11:17:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gosXu-0006Kq-F3 for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2019 11:17:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52575) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gosXu-0006Kk-BB for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2019 11:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gosXu-0007dJ-6F for bug-gnu-emacs@gnu.org; Wed, 30 Jan 2019 11:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Jan 2019 16:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34256 X-GNU-PR-Package: emacs Original-Received: via spool by 34256-submit@debbugs.gnu.org id=B34256.154886500929310 (code B ref 34256); Wed, 30 Jan 2019 16:17:02 +0000 Original-Received: (at 34256) by debbugs.gnu.org; 30 Jan 2019 16:16:49 +0000 Original-Received: from localhost ([127.0.0.1]:51855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gosXh-0007cg-0X for submit@debbugs.gnu.org; Wed, 30 Jan 2019 11:16:49 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gosXf-0007cS-7T for 34256@debbugs.gnu.org; Wed, 30 Jan 2019 11:16:47 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45957) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gosXZ-00066Y-Fl; Wed, 30 Jan 2019 11:16:41 -0500 Original-Received: from [176.228.60.248] (port=1379 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gosXY-0000gX-Pw; Wed, 30 Jan 2019 11:16:41 -0500 In-reply-to: (message from Kaushal Modi on Wed, 30 Jan 2019 09:30:23 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:154888 Archived-At: > From: Kaushal Modi > Date: Wed, 30 Jan 2019 09:30:23 -0500 > > I was working in an Org mode buffer and I got this crash on doing C-x v u (vc-revert). > > Thread 1 "emacs" received signal SIGSEGV, Segmentation fault. > 0x00000000004c6814 in x_draw_glyph_string () > (gdb) bt > #0 0x00000000004c6814 in x_draw_glyph_string () > #1 0x000000000045b394 in draw_glyphs () > #2 0x0000000000460ec9 in x_write_glyphs () > #3 0x000000000041eb02 in update_window_line () > #4 0x0000000000420737 in update_window () > #5 0x000000000042209a in update_window_tree () > #6 0x00000000004220ab in update_window_tree () > #7 0x000000000042445d in update_frame () > #8 0x000000000045831f in redisplay_internal () > #9 0x00000000004fc2b3 in read_char () > #10 0x00000000004feccc in read_key_sequence () > #11 0x000000000050168d in read_key_sequence_vs () > #12 0x000000000056bcef in Ffuncall () > #13 0x00000000005a4d73 in exec_byte_code () > #14 0x000000000056bc6f in Ffuncall () > #15 0x00000000005a4d73 in exec_byte_code () > #16 0x000000000056bc6f in Ffuncall () > #17 0x00000000005a4d73 in exec_byte_code () > #18 0x000000000056bc6f in Ffuncall () > #19 0x0000000000568700 in Ffuncall_interactively () > #20 0x000000000056bcef in Ffuncall () > #21 0x000000000056bf6d in Fapply () > #22 0x0000000000569d8a in Fcall_interactively () > #23 0x000000000056bcef in Ffuncall () > #24 0x00000000005a4d73 in exec_byte_code () > #25 0x000000000056bc6f in Ffuncall () > #26 0x000000000056bdaa in call1 () > #27 0x0000000000500630 in command_loop_1 () > #28 0x000000000056af3e in internal_condition_case () > #29 0x00000000004f2a1c in command_loop_2 () > #30 0x000000000056aead in internal_catch () > #31 0x00000000004f29c4 in command_loop () > #32 0x00000000004f75e6 in recursive_edit_1 () > #33 0x00000000004f7904 in Frecursive_edit () > #34 0x00000000004f1d13 in main () > > Lisp Backtrace: > No symbol "CHECK_LISP_OBJECT_TYPE" in current context. Thanks. Do you strip Emacs when you install it? If so, please don't, because when you strip the debugging symbols, you lose the capability of giving us any useful information about the crash. If you can reproduce this problem, please post the recipe; otherwise I don't see how this could be of any use. Too bad. > Configured using: > 'configure --with-modules > --prefix=/home/kmodi/usr_local/apps/6/emacs/master > '--program-transform-name=s/^ctags$/ctags_emacs/' --with-harfbuzz > 'CPPFLAGS=-I/home/kmodi/stowed/include > -I/home/kmodi/usr_local/6/include -I/usr/include/freetype2 > -I/usr/include' 'CFLAGS=-O2 -march=native' > 'LDFLAGS=-L/home/kmodi/stowed/lib -L/home/kmodi/stowed/lib64 > -L/home/kmodi/usr_local/6/lib -L/home/kmodi/usr_local/6/lib64' Why isn't there a -g3 in the compiler switches? AFAIK, the default configuration supplies it. Did you specify CFLAGS at configure time? If so, please add -g3 to the switches, and I suggest to use -Og, not -O2, for better debuggability. > Configured features: > XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB > NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF > XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11 XDBE XIM MODULES THREADS > CANNOT_DUMP GMP Did you merge the harfbuzz branch with master, so there's no pdumper in your build? If not, why do I see CANNOT_DUMP in the list of features?