From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 03 21:51:31 2020 Received: (at submit) by debbugs.gnu.org; 4 Mar 2020 02:51:31 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, URIBL_BLOCKED autolearn=disabled version=3.3.2 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 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 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) 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) User-agent: mu4e 1.3.9; emacs 28.0.50 From: Ravine Var To: bug-gnu-emacs@gnu.org Subject: 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 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::1031 X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: submit 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 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)) From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 04 05:02:07 2020 Received: (at 39892) by debbugs.gnu.org; 4 Mar 2020 10:02:07 +0000 Received: from localhost ([127.0.0.1]:40418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9Qqs-0000V3-P5 for submit@debbugs.gnu.org; Wed, 04 Mar 2020 05:02:06 -0500 Received: from mail-wm1-f51.google.com ([209.85.128.51]:55725) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9Qqr-0000UY-JM for 39892@debbugs.gnu.org; Wed, 04 Mar 2020 05:02:05 -0500 Received: by mail-wm1-f51.google.com with SMTP id 6so1282017wmi.5 for <39892@debbugs.gnu.org>; Wed, 04 Mar 2020 02:02:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version; bh=Abgy3nI51mn7nEKlB4sSofNheLvAey7Q0O3n/TxaZTY=; b=A8lJyk6yaLHrkczABufEeohHn3GwQOrJfhjyLUTDh1LhbEvVpRNKnOiNzqaOlYsLU7 bctRXIfxsOScrFtXZ6q0DH5cpTjmmGC3RdwtJRPrvEHLCfaQMcsj3CqTXG6oo3VCFXh2 fiso9aqxn3UjrlSk9OERrgNoCxiKLc1Ez/jsyiVH3c9bLs8x8vMkVLbSGvvR/PfdU2rQ aKEjzz3txYFP+wSjOcYqCjCW1Jnm1PPdH328LtjznhF7Tn/yGHHldWSOFxAuaB/lFYSZ 0+ghyWhDK1hwbffVc8gvEUxywZ4hc25DhK9E8q0ho3MDLOMzMMOHrXOif+I8i2P9X/mI uHhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version; bh=Abgy3nI51mn7nEKlB4sSofNheLvAey7Q0O3n/TxaZTY=; b=SYpz+hRkeR08/UzV2WFnP8zeOjJU0R7g9akFbS/yd4VBNvEafgkHxfzudB7Uh6M2P0 7Wl6/IDilp1vu0pyf9Y1sQHFwdTrfms4wY5Tkkghgau4ZWp4PkqeQ4gDyLtIDhy1E85r Mc2xoLLfRkfHMaO3gZ5mGfXpaG8FBX0coNOWZMi9W7+eBYo3cuPJzMkRAbqshf21ZAzf VZFUFmOHcJIUeGIKVDdSwKnDiFW4qqWHw0P5ka2SWQCXo/Akst2rAt3Tjbo3gGS/2zwl qsN6kLh6VloozGzX7X+PcZ8BbBC01IONdIxQ7mkyVsY7BZd5Qv7YeUvJZ3bi9xM/kSCL AaRQ== X-Gm-Message-State: ANhLgQ2QNm96Q2BuSgCnWNpPlfioQ3L+aMgnnolED+Kb68jjXd6zNEtt gj5QRj3260zzlZapRwd/yrlp3ytr X-Google-Smtp-Source: ADFU+vsUbJd7J6dQPIk1RyCGUYo+oZVlf5hv8xB+u78jwtAj6O2a6UX1VelvI2U2e7vxaKhyYZ0nSg== X-Received: by 2002:a7b:c386:: with SMTP id s6mr2965266wmj.28.1583316119444; Wed, 04 Mar 2020 02:01:59 -0800 (PST) Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id z14sm35298009wrg.76.2020.03.04.02.01.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Mar 2020 02:01:58 -0800 (PST) From: Robert Pluim To: Ravine Var Subject: Re: bug#39892: 28.0.50; Crash when running async command References: <877e00976m.fsf@gmail.com> Date: Wed, 04 Mar 2020 11:01:57 +0100 In-Reply-To: <877e00976m.fsf@gmail.com> (Ravine Var's message of "Wed, 04 Mar 2020 08:07:21 +0530") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.5 (-) X-Debbugs-Envelope-To: 39892 Cc: 39892@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.5 (--) >>>>> On Wed, 04 Mar 2020 08:07:21 +0530, Ravine Var said: Ravine> Emacs crashes when the output of 'gpg -d' is processed Ravine> in the '*Async Shell Command*' buffer. This happens when the Ravine> "Noto Sans Symbols2" font is used. To reproduce: Ravine> * Inside the emacs git tree, do: Ravine> "gzip configure" Ravine> "gpg -c configure.gz" Ravine> * Start 'emacs -Q' Ravine> * Eval this: (set-fontset-font t 'unicode "Noto Sans Symbols2" nil 'append) Ravine> * In dired, run dired-do-async-shell-command (&) on configure.gz.gpg and Ravine> give 'gpg -d'. gpg now sends the decrypted output to stdout. Ravine> * At this point emacs crashes. Indeed. A simpler recipe is to do the set-fontset-font and then 'C-x 8 RET e9f8' The relevant code is: for (i = 0; i < size; i++) { Lisp_Object rfont_def = AREF (vec, i); Lisp_Object font_def = RFONT_DEF_FONT_DEF (rfont_def); 'vec' at that point is [ [nil [# 144 nil] nil 0] nil [nil [# 0 0] nil 2] ] and i == 1, so rfont_def ends up as nil. How did that 'nil' get in there? Robert From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 04 11:14:05 2020 Received: (at 39892) by debbugs.gnu.org; 4 Mar 2020 16:14:05 +0000 Received: from localhost ([127.0.0.1]:41602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9Wer-0005Nh-FP for submit@debbugs.gnu.org; Wed, 04 Mar 2020 11:14:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39979) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9Weq-0005N7-4x for 39892@debbugs.gnu.org; Wed, 04 Mar 2020 11:14:04 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j9Wel-0002tO-1v; Wed, 04 Mar 2020 11:13:59 -0500 Received: from [176.228.60.248] (port=3688 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j9Wek-0000gm-CU; Wed, 04 Mar 2020 11:13:58 -0500 Date: Wed, 04 Mar 2020 18:13:38 +0200 Message-Id: <83imjkw11p.fsf@gnu.org> From: Eli Zaretskii To: Robert Pluim In-Reply-To: (message from Robert Pluim on Wed, 04 Mar 2020 11:01:57 +0100) Subject: Re: bug#39892: 28.0.50; Crash when running async command References: <877e00976m.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39892 Cc: ravine.var@gmail.com, 39892@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > From: Robert Pluim > Date: Wed, 04 Mar 2020 11:01:57 +0100 > Cc: 39892@debbugs.gnu.org > > Ravine> * Start 'emacs -Q' > > Ravine> * Eval this: (set-fontset-font t 'unicode "Noto Sans Symbols2" nil 'append) > > Ravine> * In dired, run dired-do-async-shell-command (&) on configure.gz.gpg and > Ravine> give 'gpg -d'. gpg now sends the decrypted output to stdout. > > Ravine> * At this point emacs crashes. > > Indeed. A simpler recipe is to do the set-fontset-font and then > > 'C-x 8 RET e9f8' In fact, _any_ font seems to cause that, as long as the other arguments of set-fontset-font are as above. > The relevant code is: > > for (i = 0; i < size; i++) > { > Lisp_Object rfont_def = AREF (vec, i); > Lisp_Object font_def = RFONT_DEF_FONT_DEF (rfont_def); > > 'vec' at that point is > > [ > [nil [# 144 nil] nil 0] > nil > [nil [# 0 0] nil 2] > ] > > and i == 1, so rfont_def ends up as nil. > > How did that 'nil' get in there? I don't know. The code seems to expect one nil as the last element of the vector, but not in the middle. Note that the commentary at the beginning of fontset.c explains when RFONT_DEF may be nil. I will look into this soon if no one beats me to it. Btw, U+E9F8 is a PUA character; how did it get into a context where we are trying to display it? From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 05 04:47:25 2020 Received: (at 39892) by debbugs.gnu.org; 5 Mar 2020 09:47:25 +0000 Received: from localhost ([127.0.0.1]:42174 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9n6C-000402-RH for submit@debbugs.gnu.org; Thu, 05 Mar 2020 04:47:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9n6B-0003zj-B3 for 39892@debbugs.gnu.org; Thu, 05 Mar 2020 04:47:23 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41125) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j9n66-0004G1-4m; Thu, 05 Mar 2020 04:47:18 -0500 Received: from [176.228.60.248] (port=4616 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j9n65-0002HG-FW; Thu, 05 Mar 2020 04:47:17 -0500 Date: Thu, 05 Mar 2020 11:46:59 +0200 Message-Id: <83r1y7uoa4.fsf@gnu.org> From: Eli Zaretskii To: rpluim@gmail.com, ravine.var@gmail.com In-Reply-To: <83imjkw11p.fsf@gnu.org> (message from Eli Zaretskii on Wed, 04 Mar 2020 18:13:38 +0200) Subject: Re: bug#39892: 28.0.50; Crash when running async command References: <877e00976m.fsf@gmail.com> <83imjkw11p.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39892 Cc: Kenichi Handa , 39892@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > Date: Wed, 04 Mar 2020 18:13:38 +0200 > From: Eli Zaretskii > Cc: ravine.var@gmail.com, 39892@debbugs.gnu.org > > > for (i = 0; i < size; i++) > > { > > Lisp_Object rfont_def = AREF (vec, i); > > Lisp_Object font_def = RFONT_DEF_FONT_DEF (rfont_def); > > > > 'vec' at that point is > > > > [ > > [nil [# 144 nil] nil 0] > > nil > > [nil [# 0 0] nil 2] > > ] > > > > and i == 1, so rfont_def ends up as nil. > > > > How did that 'nil' get in there? > > I don't know. The code seems to expect one nil as the last element of > the vector, but not in the middle. Note that the commentary at the > beginning of fontset.c explains when RFONT_DEF may be nil. How about the patch below? It works for me, and seems to be TRT in general, since it makes the code more defensive in the face of possible nil values in that vector, which are legitimate according to my reading of the commentary at the beginning of fontset.c. CC'ing Handa-san in the hope that he might have comments or suggestions. Btw, in general using such fontset customizations make little sense, since you are in effect telling Emacs this font covers all of the Unicode, which cannot be true. Not specifying the registry is also not recommended, definitely not for such large ranges of codepoints. > Btw, U+E9F8 is a PUA character; how did it get into a context where we > are trying to display it? I'd still like to know the answer to this. It seems like something fishy is going on in the original use case that requires us to try to display this PUA codepoint. Here's the patch I propose to install on the emacs-27 branch: diff --git a/src/fontset.c b/src/fontset.c index bca9452..c2bb8b2 100644 --- a/src/fontset.c +++ b/src/fontset.c @@ -367,8 +367,14 @@ fontset_add (Lisp_Object fontset, Lisp_Object range, Lisp_Object elt, Lisp_Objec static int fontset_compare_rfontdef (const void *val1, const void *val2) { - return (RFONT_DEF_SCORE (*(Lisp_Object *) val1) - - RFONT_DEF_SCORE (*(Lisp_Object *) val2)); + Lisp_Object v1 = *(Lisp_Object *) val1, v2 = *(Lisp_Object *) val2; + if (NILP (v1) && NILP (v2)) + return 0; + else if (NILP (v1)) + return INT_MIN; + else if (NILP (v2)) + return INT_MAX; + return (RFONT_DEF_SCORE (v1) - RFONT_DEF_SCORE (v2)); } /* Update a cons cell which has this form: @@ -400,6 +406,8 @@ reorder_font_vector (Lisp_Object font_group, struct font *font) for (i = 0; i < size; i++) { Lisp_Object rfont_def = AREF (vec, i); + if (NILP (rfont_def)) + continue; Lisp_Object font_def = RFONT_DEF_FONT_DEF (rfont_def); Lisp_Object font_spec = FONT_DEF_SPEC (font_def); int score = RFONT_DEF_SCORE (rfont_def) & 0xFF; From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 05 05:57:34 2020 Received: (at 39892) by debbugs.gnu.org; 5 Mar 2020 10:57:34 +0000 Received: from localhost ([127.0.0.1]:42238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9oC6-0005fe-7i for submit@debbugs.gnu.org; Thu, 05 Mar 2020 05:57:34 -0500 Received: from mail-wr1-f45.google.com ([209.85.221.45]:38544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9oC4-0005fR-Hh for 39892@debbugs.gnu.org; Thu, 05 Mar 2020 05:57:33 -0500 Received: by mail-wr1-f45.google.com with SMTP id t11so6434273wrw.5 for <39892@debbugs.gnu.org>; Thu, 05 Mar 2020 02:57:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=kGg9NlQ4z52LdobzxCuxVo7QVYQdvEfXOiCf3x5snSM=; b=rMcSuy1waimPuj4nex13RWPxDLnSJrvhmdl262w/TDMYTdEeCqGxel/+/vVsF6GLMZ McCWzhyJzIEf1zoDzdWryHFuSm/CyzfLspd9hHPhGT7sccZzF5S6n0UU+9dFDxLZB98M Yz9l9VB6+CAetNDXAPGKaBsaBH8lTj6nl2jp4XqvOMONMaT2pXd2KKBeKRVYNsw32zkt iu/b0C/qtoyPOtDzhXIi6r4TKlSjVZt6VPwZoN7+9z1PcA9hlRmo8M2Qx4s9uTOW8rE6 pYPsPTa72VDk8pbC2DsmWyTn7S4ZoFsvSXy5hUuNnGi7TJnk+XJdKUqCsPGRx10ITy/j LRbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=kGg9NlQ4z52LdobzxCuxVo7QVYQdvEfXOiCf3x5snSM=; b=MNQhVkNeyydnvX3N3V1M1vNzbPe6+VyHYL5eo1hfBycIBYTHAnofC89mRcxaSDgQAs Gw7Vu0yBWtIGV6bV4VcPkU72gmGHUeTtelpmyuzyrVx7gOzzGF8Pw7wYCGUveXodcRdv aNFo85kZgPuEXXFcu/F018e3BgpWAFhYI1pOIuo81ILrg5/IgfLn3iJE8r3Fg5GuPCgF aaz/sH5PpkQpi4EFAAV/IOsqMEOronlU0rMGo9sG3b1VdIScvG28dRAST40mKXDp3ZWT xDreWXZdh557AidDUsmC4/qWwc4y73n0Sr63kjg3qRhM5eylJ3pBN4HKL9/jvd5qRiJC py9Q== X-Gm-Message-State: ANhLgQ3hQ6CWtZpQvVnKtK7K1eF0Z35RlE7/NHORZZ1VUDiuU8W2Lfhu 2o1c8xYO1pSckJNTEuKHl38= X-Google-Smtp-Source: ADFU+vvnEPjKkn/XefzB+c70A4qBkyMeDwQQFa9MdBImUJ5arrslnNhDFGhGb25p+ntE5L19cZ08qQ== X-Received: by 2002:adf:f312:: with SMTP id i18mr609488wro.375.1583405846346; Thu, 05 Mar 2020 02:57:26 -0800 (PST) Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id n11sm33703694wrq.40.2020.03.05.02.57.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Mar 2020 02:57:25 -0800 (PST) From: Robert Pluim To: Eli Zaretskii Subject: Re: bug#39892: 28.0.50; Crash when running async command References: <877e00976m.fsf@gmail.com> <83imjkw11p.fsf@gnu.org> <83r1y7uoa4.fsf@gnu.org> Date: Thu, 05 Mar 2020 11:57:24 +0100 In-Reply-To: <83r1y7uoa4.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 05 Mar 2020 11:46:59 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.5 (-) X-Debbugs-Envelope-To: 39892 Cc: ravine.var@gmail.com, 39892@debbugs.gnu.org, Kenichi Handa X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.5 (--) >>>>> On Thu, 05 Mar 2020 11:46:59 +0200, Eli Zaretskii said: Eli> How about the patch below? It works for me, and seems to be TRT in Eli> general, since it makes the code more defensive in the face of Eli> possible nil values in that vector, which are legitimate according= to Eli> my reading of the commentary at the beginning of fontset.c. That patch works for me. >> Btw, U+E9F8 is a PUA character; how did it get into a context where = we >> are trying to display it? Eli> I'd still like to know the answer to this. It seems like something Eli> fishy is going on in the original use case that requires us to try= to Eli> display this PUA codepoint. It=CA=BCs essentially doing 'cat' on a .gz file. There=CA=BCs no guarantee whatsoever that the result is valid. And in fact doing exactly that crashes the same way (without the patch). Interestingly, under macOS it displays a proper glyph using "mac-ct:-*-Hannotate TC-normal-normal-normal-*-14-*-*-*-p-0-iso10646-1 (#x933F)", so somebody has decided that codepoint is good for something. Robert From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 05 06:22:44 2020 Received: (at 39892) by debbugs.gnu.org; 5 Mar 2020 11:22:44 +0000 Received: from localhost ([127.0.0.1]:42258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9oaS-0006HV-Fk for submit@debbugs.gnu.org; Thu, 05 Mar 2020 06:22:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9oaR-0006HJ-0k for 39892@debbugs.gnu.org; Thu, 05 Mar 2020 06:22:43 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42061) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j9oaL-00053l-TL; Thu, 05 Mar 2020 06:22:37 -0500 Received: from [176.228.60.248] (port=3196 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j9oaL-0002Lr-2p; Thu, 05 Mar 2020 06:22:37 -0500 Date: Thu, 05 Mar 2020 13:22:18 +0200 Message-Id: <83mu8vujv9.fsf@gnu.org> From: Eli Zaretskii To: Robert Pluim In-Reply-To: (message from Robert Pluim on Thu, 05 Mar 2020 11:57:24 +0100) Subject: Re: bug#39892: 28.0.50; Crash when running async command References: <877e00976m.fsf@gmail.com> <83imjkw11p.fsf@gnu.org> <83r1y7uoa4.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39892 Cc: ravine.var@gmail.com, 39892@debbugs.gnu.org, handa@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > From: Robert Pluim > Cc: ravine.var@gmail.com, 39892@debbugs.gnu.org, Kenichi Handa > > Date: Thu, 05 Mar 2020 11:57:24 +0100 > > >>>>> On Thu, 05 Mar 2020 11:46:59 +0200, Eli Zaretskii said: > > Eli> How about the patch below? It works for me, and seems to be TRT in > Eli> general, since it makes the code more defensive in the face of > Eli> possible nil values in that vector, which are legitimate according to > Eli> my reading of the commentary at the beginning of fontset.c. > > That patch works for me. Thanks for testing. I will wait for Ravine to confirm it fixes the original use case. > >> Btw, U+E9F8 is a PUA character; how did it get into a context where we > >> are trying to display it? > > Eli> I'd still like to know the answer to this. It seems like something > Eli> fishy is going on in the original use case that requires us to try to > Eli> display this PUA codepoint. > > Itʼs essentially doing 'cat' on a .gz file. I see. But I guess there was some real-life use case behind all that? I mean, why would someone want to dump a Gzip-compressed text to the screen, and inside Emacs on top of that? > Interestingly, under macOS it displays a proper glyph using > "mac-ct:-*-Hannotate TC-normal-normal-normal-*-14-*-*-*-p-0-iso10646-1 > (#x933F)", so somebody has decided that codepoint is good for something. Yes, some fonts usurp the PUA for displaying characters not (yet) in Unicode. This being a font for Chinese, I guess they use it for characters in GB-18030 that don't map to Unicode, or somesuch. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 05 10:23:12 2020 Received: (at 39892) by debbugs.gnu.org; 5 Mar 2020 15:23:12 +0000 Received: from localhost ([127.0.0.1]:43535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9sL9-0006Lx-VX for submit@debbugs.gnu.org; Thu, 05 Mar 2020 10:23:12 -0500 Received: from mail-pg1-f194.google.com ([209.85.215.194]:44283) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9sJE-0006HU-KP for 39892@debbugs.gnu.org; Thu, 05 Mar 2020 10:21:15 -0500 Received: by mail-pg1-f194.google.com with SMTP id n24so1908688pgk.11 for <39892@debbugs.gnu.org>; Thu, 05 Mar 2020 07:21:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=8rR3FjfgQahWU8vfaVUigKd09XoMBMj1NiirzOUkSqk=; b=g6hdSC4oYfbIiNrFWw5xdTahL1A26uID6yjcux1XTl148ptIT4wGJo+SquuUalcg2o nTijjUumRUukcwxvWEL9oM/FR/FBm1vUPFGVCkfPCTnd6wsj4vetrgoEy02LngC4FmZ9 HeD1qA7AZyuirTuoztZFjUXfk+CsGP/IFi8Vcd7g8zyuomTn52GB2hEjuvuG7HvSVyfk 2EWRwt/XHzzQpq2agDnRjg/XsKfzaeL1MVQNpCYe6MmIutfgVbyVNz8IwJq9IhM4eAX2 iYDhWiS4HAxZQjGZktZNJvC2hSDZ3Cv7lzoUKYEdkhS3b5kBP9flWxLoYPqgrJrpfSQj Q6TA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=8rR3FjfgQahWU8vfaVUigKd09XoMBMj1NiirzOUkSqk=; b=csC9j2cIKodnlfASNNs49a7WBlyZaef8TVcl9+zBDwdDEOEOBec6nDzzZiFd8js8dv MgYyH4uJpOiXg4undyQ3FOBRnW0uqy7Xs8sA3o1GJOjo2ocNvhzqVDZSr2WigxrFKm18 UPYjB/7ZUH7ar5U1LwEIcaGJB4Voa7lTKDb9Hd2zrGsLoZ7KBlHznx9t5/olmGUkBDST HD4dWRQrrk4H9ii5R1CImHXlvfPvbVajuY0TGuhtN603YoGGbut0LakeKB1xc/bsJ2dE ah85NuZ9+uCwkNFab7tLu60Saa6YdRfQYxVR8qVHI8WwzCLXeeQ9Jd4I4nLe0HssMejH Nltg== X-Gm-Message-State: ANhLgQ0vkFbMWwpmz7GPau/sMsJjJr4Us20QVQprbm3yxD0pCqugZ6+r /qQ8sjRBxMSVXmXYmCDnHco= X-Google-Smtp-Source: ADFU+vumM+Yl5gS9FnPF0XlHWLdsS4xCONyDxS/AphEyE5c5cbaNjyvQ9uTsjZ0+qWXkD0kCP8WrKA== X-Received: by 2002:a63:350:: with SMTP id 77mr8377092pgd.215.1583421666782; Thu, 05 Mar 2020 07:21:06 -0800 (PST) Received: from comp-lnx ([2409:4072:39a:f400:5aea:935b:19b4:272b]) by smtp.gmail.com with ESMTPSA id s12sm9780645pgv.73.2020.03.05.07.21.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Mar 2020 07:21:06 -0800 (PST) References: <877e00976m.fsf@gmail.com> <83imjkw11p.fsf@gnu.org> <83r1y7uoa4.fsf@gnu.org> <83mu8vujv9.fsf@gnu.org> User-agent: mu4e 1.3.9; emacs 28.0.50 From: Ravine Var To: Eli Zaretskii Subject: Re: bug#39892: 28.0.50; Crash when running async command In-reply-to: <83mu8vujv9.fsf@gnu.org> Date: Thu, 05 Mar 2020 20:51:55 +0530 Message-ID: <87pndqu8rw.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39892 X-Mailman-Approved-At: Thu, 05 Mar 2020 10:23:10 -0500 Cc: handa@gnu.org, Robert Pluim , 39892@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > Thanks for testing. I will wait for Ravine to confirm it fixes the > original use case. I tested the patch and there is no crash now. > I see. But I guess there was some real-life use case behind all that? > I mean, why would someone want to dump a Gzip-compressed text to the > screen, and inside Emacs on top of that? It was simply a mistake. :-) The '-o' option needs to be given to gpg to specify an output file. I forgot to mention it and gpg sent its output to stdout, and then emacs crashed. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 05 10:37:33 2020 Received: (at 39892) by debbugs.gnu.org; 5 Mar 2020 15:37:33 +0000 Received: from localhost ([127.0.0.1]:43551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9sZ3-0006ll-8y for submit@debbugs.gnu.org; Thu, 05 Mar 2020 10:37:33 -0500 Received: from mail-pf1-f195.google.com ([209.85.210.195]:40410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9sM0-0006NB-MY for 39892@debbugs.gnu.org; Thu, 05 Mar 2020 10:24:05 -0500 Received: by mail-pf1-f195.google.com with SMTP id l184so2920111pfl.7 for <39892@debbugs.gnu.org>; Thu, 05 Mar 2020 07:24:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=GhwrrHlCzqBajh0heHbPPiGBoMGa++wYpRBPOxrv5BI=; b=Re6B0qpDga64TAQTWw0atCqyeU2AP+pdpZ5k3gkjy8y8mk21fGOT5mJ6EOhCwhuy36 YaoWYNCfB/bjH78ArZqtjeibR9PfOLuC9l1nxZrtIMUFCualh0eQetTw30/HXUFzvg33 HSF2rJxFSG6KexeJCa3gdKXaVFHbgqV7EPH1p4oaAaZ0F8KF8eXcUr0e0b7FRm8i2kc6 /5aeFd/I43GfTPyR4R3FT8IWelQCLY1et6LnT9/HqZbcLUTl+oXIh0MU3IHn3Iq2HfTj FA3ma5ACXh5PXGUkfazAb/s/9cFxP6bnALap7V/K+9ek34OULaLQMqFOJgdXBhhYrccC 1Svg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=GhwrrHlCzqBajh0heHbPPiGBoMGa++wYpRBPOxrv5BI=; b=I8AC05VHp6GYQWuOTCLWFVVYkZ7g5tM1yHnEfFV6VCDYEHCu8LMOY7thHAd6jusjNi Z8iPhYW8CLIpjqwZPea4U6wCVJ/SNRwayLF5pQjaQLj+DzUzqXSMAw6qdYQk/6nIJ98E xecETkmEHQFs8WX2MSvCwieCarRWEyaL/SwmlZgI/ub/O5xBcJ2jduF8MN24vV3RCzNL 8hAJSDhzjuKZzNidrabWiPWLSZfMGVDksre5KnhrzmUf7km9DS5fsu9lJUcpHIPFN2X9 mxknUYr+FkmcyYK0K18sDkz31jU78zygweH2+wysQL2yRiSkhSd2Z4lmVVGw8IvJov9h nZxQ== X-Gm-Message-State: ANhLgQ3+iLJ53ynB7wwZYe1sy4MRpNkih1dsJxmxWYaanFPQC9ad4DVx jYwxRlwm9TxiB/xN1Nm9yJYCDYdqa2w= X-Google-Smtp-Source: ADFU+vuk1e3/sZ6OD2ZxL5xVs+WDYxb4c7K74DfbovSc2vv9Q85rQrcCK/TW2DfJiD3oIU7WGdJVDA== X-Received: by 2002:a65:4bc5:: with SMTP id p5mr7979296pgr.409.1583421839022; Thu, 05 Mar 2020 07:23:59 -0800 (PST) Received: from comp-lnx ([2409:4072:39a:f400:5aea:935b:19b4:272b]) by smtp.gmail.com with ESMTPSA id 64sm32635128pfd.48.2020.03.05.07.23.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Mar 2020 07:23:58 -0800 (PST) References: <877e00976m.fsf@gmail.com> <83imjkw11p.fsf@gnu.org> <83r1y7uoa4.fsf@gnu.org> User-agent: mu4e 1.3.9; emacs 28.0.50 From: Ravine Var To: Eli Zaretskii Subject: Re: bug#39892: 28.0.50; Crash when running async command In-reply-to: <83r1y7uoa4.fsf@gnu.org> Date: Thu, 05 Mar 2020 20:54:50 +0530 Message-ID: <87mu8uu8n1.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39892 X-Mailman-Approved-At: Thu, 05 Mar 2020 10:37:32 -0500 Cc: Kenichi Handa , rpluim@gmail.com, 39892@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > Btw, in general using such fontset customizations make little sense, > since you are in effect telling Emacs this font covers all of the > Unicode, which cannot be true. Not specifying the registry is also > not recommended, definitely not for such large ranges of codepoints. I was searching for some fancy characters for emms, like this: (setq emms-browser-info-title-format "%i=F0=9D=85=A1 %t") (setq emms-browser-info-artist-format "%i=F0=9F=9E=B6 %n") (setq emms-browser-info-album-format "%i=F0=9F=9F=85 %n") But you are right, the customization needs to be fixed. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 05 10:54:16 2020 Received: (at 39892) by debbugs.gnu.org; 5 Mar 2020 15:54:16 +0000 Received: from localhost ([127.0.0.1]:43576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9spD-0007AS-Sq for submit@debbugs.gnu.org; Thu, 05 Mar 2020 10:54:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37522) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9spC-0007AE-9g for 39892@debbugs.gnu.org; Thu, 05 Mar 2020 10:54:14 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46012) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j9sp7-0001hR-0w; Thu, 05 Mar 2020 10:54:09 -0500 Received: from [176.228.60.248] (port=4224 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j9sp6-000066-BC; Thu, 05 Mar 2020 10:54:08 -0500 Date: Thu, 05 Mar 2020 17:53:51 +0200 Message-Id: <83ftemvlv4.fsf@gnu.org> From: Eli Zaretskii To: Ravine Var In-Reply-To: <87mu8uu8n1.fsf@gmail.com> (message from Ravine Var on Thu, 05 Mar 2020 20:54:50 +0530) Subject: Re: bug#39892: 28.0.50; Crash when running async command References: <877e00976m.fsf@gmail.com> <83imjkw11p.fsf@gnu.org> <83r1y7uoa4.fsf@gnu.org> <87mu8uu8n1.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39892 Cc: handa@gnu.org, rpluim@gmail.com, 39892@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > From: Ravine Var > Cc: rpluim@gmail.com, 39892@debbugs.gnu.org, Kenichi Handa > Date: Thu, 05 Mar 2020 20:54:50 +0530 > > Eli Zaretskii writes: > > Btw, in general using such fontset customizations make little sense, > > since you are in effect telling Emacs this font covers all of the > > Unicode, which cannot be true. Not specifying the registry is also > > not recommended, definitely not for such large ranges of codepoints. > > I was searching for some fancy characters for emms, like this: > > (setq emms-browser-info-title-format "%i𝅘𝅥𝅯 %t") > (setq emms-browser-info-artist-format "%i🞶 %n") > (setq emms-browser-info-album-format "%i🟅 %n") I think the Emacs defaults will allow you to see them, and if they don't (try "emacs -Q" to see) then just install the Symbola font. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 05 11:00:22 2020 Received: (at 39892-done) by debbugs.gnu.org; 5 Mar 2020 16:00:22 +0000 Received: from localhost ([127.0.0.1]:43591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9sv7-0007L0-QY for submit@debbugs.gnu.org; Thu, 05 Mar 2020 11:00:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38829) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9sv6-0007Ko-Hg for 39892-done@debbugs.gnu.org; Thu, 05 Mar 2020 11:00:20 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46163) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j9sv1-0001GC-AH; Thu, 05 Mar 2020 11:00:15 -0500 Received: from [176.228.60.248] (port=4598 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j9sux-0000nI-Ei; Thu, 05 Mar 2020 11:00:13 -0500 Date: Thu, 05 Mar 2020 17:59:53 +0200 Message-Id: <83eeu6vll2.fsf@gnu.org> From: Eli Zaretskii To: Ravine Var In-Reply-To: <87pndqu8rw.fsf@gmail.com> (message from Ravine Var on Thu, 05 Mar 2020 20:51:55 +0530) Subject: Re: bug#39892: 28.0.50; Crash when running async command References: <877e00976m.fsf@gmail.com> <83imjkw11p.fsf@gnu.org> <83r1y7uoa4.fsf@gnu.org> <83mu8vujv9.fsf@gnu.org> <87pndqu8rw.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39892-done Cc: handa@gnu.org, rpluim@gmail.com, 39892-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > From: Ravine Var > Cc: Robert Pluim , 39892@debbugs.gnu.org, handa@gnu.org > Date: Thu, 05 Mar 2020 20:51:55 +0530 > > Eli Zaretskii writes: > > Thanks for testing. I will wait for Ravine to confirm it fixes the > > original use case. > > I tested the patch and there is no crash now. Thanks, I installed the patch on the emacs-27 branch, and I'm closing the bug report. From unknown Tue Jun 17 21:53:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 03 Apr 2020 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator