From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Ravine Var Newsgroups: gmane.emacs.bugs Subject: bug#39892: 28.0.50; Crash when running async command Date: Wed, 04 Mar 2020 08:07:21 +0530 Message-ID: <877e00976m.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="2885"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.3.9; emacs 28.0.50 To: 39892@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 04 03:52:16 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j9K8r-0000bY-L4 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 04 Mar 2020 03:52:13 +0100 Original-Received: from localhost ([::1]:56560 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9K8q-0005fg-Dn for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 03 Mar 2020 21:52:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34725) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9K8i-0005fF-L1 for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2020 21:52:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j9K8g-0002C0-TE for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2020 21:52:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34227) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j9K8g-0002BT-D5 for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2020 21:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j9K8g-00031Z-8O for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2020 21:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ravine Var Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Mar 2020 02:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39892 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.158329029111586 (code B ref -1); Wed, 04 Mar 2020 02:52:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Mar 2020 02:51:31 +0000 Original-Received: from localhost ([127.0.0.1]:40200 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9K8A-00030n-HZ for submit@debbugs.gnu.org; Tue, 03 Mar 2020 21:51:31 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:52387) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9Jtp-0002f4-OT for submit@debbugs.gnu.org; Tue, 03 Mar 2020 21:36:42 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35430) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9Jtn-0001cd-VA for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2020 21:36:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j9Jtm-0003Ga-7u for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2020 21:36:39 -0500 Original-Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]:51222) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j9Jtm-0003EP-0O for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2020 21:36:38 -0500 Original-Received: by mail-pj1-x1031.google.com with SMTP id l8so218922pjy.1 for ; Tue, 03 Mar 2020 18:36:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=WgticjHdfrdfe02BKCSsoUpVxvq2XJ0UUyofqnWeJoY=; b=CMdFCO8kWN52lxgX8+ybm8/jB0qG1bXlPyQyfVB2szauEOETkunddEqnK+3oLSzC1M cu0cuKczZIty8UHjhcTOa6glZlOMqvjjRqvd0yr3JjukAuqcMquJAPgOppw7EItMtYe3 v5sdKx8NeVG1uHKgJWsA6KyUh+4MFWPr7xSBsKeu2eAUYE+GwLDr0rzI57ybz8Z3wP2R A0MT162IYdN4ioPYJjgcwHJS0vdRG/FoR7aNGtxvFLKBbybInVvzn2WrROra/kbz+7ON M82EeWsYrtjfMt1/Dpn/n26VGMj9YeEl+63ocYNrAnhQ2aLF1o64VcrZpGAtuvYEapFK V/UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=WgticjHdfrdfe02BKCSsoUpVxvq2XJ0UUyofqnWeJoY=; b=pvy21Z9R1tRaV23a6bTOyGGwr6ENNZy0uFSmk4+ySMPVbJzN9pIPpeQueJQHsp1fzf 9NXGJj3aaVzPcX2Z25ANTEXrBvIU7PyeJEhR9PuMyF2dM2WBlKDASLoT9vBoXbBRPI1Q EoB2nZ7kBmyxMaGOCclxVYyzFxJBsybcJzRjoNRuMnL6Bxc00sT6a95NRmww37MlMcLK yfZv8KzKIQ1XLvs+q3XJGHNgtoGBuSfbRJqnWqzAEoCIGgJmhMgQ3crSRU33Xb/6cDqS jgz0YxD7jV6+xGjbtWjsdgX4LYjds738OadcldJnTALciJEIWkb3Rv4qIhTm+m+2BwYR /AXw== X-Gm-Message-State: ANhLgQ0y7IgZBaOWamXjPylmexr2JoT8FsS/rARes8FcAXA13ZFRqsYc riaAj3advsGMqmusuORUsKYuueno X-Google-Smtp-Source: ADFU+vtTLFKoN1sgfJJx7zWw00p1NlJSJFX1zmyOQOliB2T1mdexCdWAHi+vuH286+93U0QHrZUtew== X-Received: by 2002:a17:902:247:: with SMTP id 65mr980056plc.128.1583289395798; Tue, 03 Mar 2020 18:36:35 -0800 (PST) Original-Received: from comp-lnx ([2409:4072:40f:908f:60bf:27f2:f482:7ba7]) by smtp.gmail.com with ESMTPSA id u12sm25430580pfm.165.2020.03.03.18.36.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Mar 2020 18:36:35 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Mailman-Approved-At: Tue, 03 Mar 2020 21:51:29 -0500 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:176824 Archived-At: Emacs crashes when the output of 'gpg -d' is processed in the '*Async Shell Command*' buffer. This happens when the "Noto Sans Symbols2" font is used. To reproduce: * Inside the emacs git tree, do: "gzip configure" "gpg -c configure.gz" * Start 'emacs -Q' * Eval this: (set-fontset-font t 'unicode "Noto Sans Symbols2" nil 'append) * In dired, run dired-do-async-shell-command (&) on configure.gz.gpg and give 'gpg -d'. gpg now sends the decrypted output to stdout. * At this point emacs crashes. Backtrace: Program received signal SIGSEGV, Segmentation fault. 0x00005555559705bf in AREF (array=0x0, idx=1) at lisp.h:1853 1853 return XVECTOR (array)->contents[idx]; (gdb) bt #0 0x00005555559705bf in AREF (array=0x0, idx=1) at lisp.h:1853 #1 0x00005555559738cf in reorder_font_vector (font_group=0x5555569695e3, font=0x55555619a030) at fontset.c:403 #2 0x0000555555973f98 in fontset_find_font (fontset=0x555556250f25, c=59896, face=0x555556047d10, charset_id=-1, fallback=false) at fontset.c:565 #3 0x00005555559749b7 in fontset_font (fontset=0x55555687b0e5, c=59896, face=0x555556047d10, id=-1) at fontset.c:775 #4 0x00005555559751f2 in face_for_char (f=0x55555612d6e0, face=0x555556047d10, c=59896, pos=2280, object=0x0) at fontset.c:989 #5 0x00005555555bca03 in FACE_FOR_CHAR (f=0x55555612d6e0, face=0x555556047d10, character=59896, pos=2280, object=0x0) at dispextern.h:1891 #6 0x00005555555d523d in get_next_display_element (it=0x7fffffff92d0) at xdisp.c:7566 #7 0x00005555555d8aad in move_it_in_display_line_to (it=0x7fffffff92d0, to_charpos=2572, to_x=-1, op=MOVE_TO_POS) at xdisp.c:9054 #8 0x00005555555dc31a in move_it_to (it=0x7fffffff92d0, to_charpos=2572, to_x=-1, to_y=-1, to_vpos=-1, op=8) at xdisp.c:9804 #9 0x00005555555dcce7 in move_it_vertically_backward (it=0x7fffffffa6d0, dy=935) at xdisp.c:9998 #10 0x000055555564de4c in Frecenter (arg=0xfffffffffffffffe, redisplay=0x0) at window.c:6560 #11 0x000055555586b2ee in funcall_subr (subr=0x555555e719a0 , numargs=1, args=0x7fffffffbb60) at eval.c:2869 #12 0x000055555586ae83 in Ffuncall (nargs=2, args=0x7fffffffbb58) at eval.c:2794 #13 0x00005555558d90ca in exec_byte_code (bytestr=0x5555560590e4, vector=0x55555673b2d5, maxdepth=0x32, args_template=0x406, nargs=1, args=0x7fffffffc268) at bytecode.c:633 #14 0x000055555586b987 in funcall_lambda (fun=0x55555673b3b5, nargs=1, arg_vector=0x7fffffffc260) at eval.c:2989 #15 0x000055555586aec7 in Ffuncall (nargs=2, args=0x7fffffffc258) at eval.c:2796 #16 0x000055555586a146 in funcall_nil (nargs=2, args=0x7fffffffc258) at eval.c:2435 #17 0x000055555586a575 in run_hook_with_args (nargs=2, args=0x7fffffffc258, funcall=0x55555586a123 ) at eval.c:2612 #18 0x000055555586a1ce in Frun_hook_with_args (nargs=2, args=0x7fffffffc258) at eval.c:2477 #19 0x000055555586b1ce in funcall_subr (subr=0x555555e7cc60 , numargs=2, args=0x7fffffffc258) at eval.c:2847 #20 0x000055555586ae83 in Ffuncall (nargs=3, args=0x7fffffffc250) at eval.c:2794 #21 0x00005555558d90ca in exec_byte_code (bytestr=0x555556058fe4, vector=0x55555673b005, maxdepth=0x3a, args_template=0x80a, nargs=2, args=0x7fffffffc838) at bytecode.c:633 #22 0x000055555586b987 in funcall_lambda (fun=0x55555673b155, nargs=2, arg_vector=0x7fffffffc828) at eval.c:2989 #23 0x000055555586aec7 in Ffuncall (nargs=3, args=0x7fffffffc820) at eval.c:2796 #24 0x000055555586a0f9 in Fapply (nargs=2, args=0x7fffffffc8d0) at eval.c:2424 #25 0x000055555586a6ac in apply1 (fn=0x2aaa9e4cecf0, arg=0x555556956033) at eval.c:2640 #26 0x00005555558efa68 in read_process_output_call (fun_and_args=0x555556956043) at process.c:5988 #27 0x00005555558675d0 in internal_condition_case_1 (bfun=0x5555558efa3a , arg=0x555556956043, handlers=0x90, hfun=0x5555558efa6a ) at eval.c:1379 #28 0x00005555558f0353 in read_and_dispose_of_process_output (p=0x555556143950, chars=0x7fffffffc9e0 "\037\213\b\b\246\020_^", nbytes=4095, coding=0x55555674a590) at process.c:6209 #29 0x00005555558eff5d in read_process_output (proc=0x555556143955, channel=5) at process.c:6120 #30 0x00005555558ef28c in wait_reading_process_output (time_limit=30, nsecs=0, read_kbd=-1, do_display=true, wait_for_cell=0x0, wait_proc=0x0, just_wait_proc=0) at process.c:5807 #31 0x000055555559e9da in sit_for (timeout=0x7a, reading=true, display_option=1) at dispnew.c:6052 #32 0x0000555555748c67 in read_char (commandflag=1, map=0x555556956cd3, prev_event=0x0, used_mouse_menu=0x7fffffffe271, end_time=0x0) at keyboard.c:2738 #33 0x0000555555757aac in read_key_sequence (keybuf=0x7fffffffe4a0, prompt=0x0, dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at keyboard.c:9549 #34 0x00005555557450b1 in command_loop_1 () at keyboard.c:1350 #35 0x0000555555867529 in internal_condition_case (bfun=0x555555744c4d , handlers=0x90, hfun=0x5555557443c2 ) at eval.c:1355 #36 0x0000555555744913 in command_loop_2 (ignore=0x0) at keyboard.c:1091 #37 0x0000555555866d9d in internal_catch (tag=0xcc60, func=0x5555557448e6 , arg=0x0) at eval.c:1116 #38 0x00005555557448b1 in command_loop () at keyboard.c:1070 --Type for more, q to quit, c to continue without paging-- #39 0x0000555555743f9a in recursive_edit_1 () at keyboard.c:714 #40 0x000055555574411c in Frecursive_edit () at keyboard.c:786 #41 0x000055555573c694 in main (argc=2, argv=0x7fffffffe928) at emacs.c:2036 In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, cairo version 1.17.3) of 2020-03-04 built on comp-lnx Repository revision: 21ebfa1dd8129420c832031d055c708075aec02c Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12007000 System Description: Arch Linux Configured using: 'configure --prefix=/usr/local --without-rsvg --with-x-toolkit=no --without-lcms2 --without-libsystemd --without-dbus --without-gsettings --without-selinux --with-sound=no --enable-link-time-optimization 'CFLAGS=-O3 -march=native'' Configured features: XPM JPEG TIFF GIF PNG CAIRO NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ ZLIB OLDXMENU X11 XDBE XIM MODULES THREADS PDUMPER GMP Important settings: value of $LANG: en_IN.UTF-8 locale-coding-system: utf-8-unix Major mode: Dired by name Minor modes in effect: iswitchb-mode: t save-place-mode: t savehist-mode: t dired-omit-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: 1 line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow face-remap mule-util emacsbug cl-extra help-mode dired-aux edmacro kmacro emms-browser sort emms-playlist-sort emms-last-played emms-cache emms-info-libtag emms-info later-do emms-player-simple emms-playlist-mode emms-source-playlist emms-source-file locate emms emms-compat iswitchb saveplace savehist visual-fill-column mu4e-contrib eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util bookmark pp mu4e desktop frameset mu4e-org org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete org-list org-faces org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat advice org-macs org-loaddefs find-func mu4e-main mu4e-view cal-menu calendar cal-loaddefs browse-url comint ansi-color mu4e-headers mu4e-compose mu4e-context mu4e-draft mu4e-actions ido rfc2368 smtpmail auth-source eieio eieio-core cl-macs eieio-loaddefs json map sendmail mu4e-mark mu4e-message flow-fill mu4e-proc mu4e-utils doc-view jka-compr image-mode exif mu4e-lists cl-seq hl-line mu4e-vars message rmc puny format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader cl-loaddefs cl-lib mu4e-meta dictionary link connection cycbuf dired-x dired dired-loaddefs xcscope ring easymenu thingatpt tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads inotify dynamic-setting font-render-setting cairo x multi-tty make-network-process emacs) Memory information: ((conses 16 137708 9076) (symbols 48 15722 2) (strings 32 51174 3076) (string-bytes 1 1720398) (vectors 16 27082) (vector-slots 8 292203 16378) (floats 8 137 87) (intervals 56 483 4) (buffers 1000 12))