From unknown Fri Aug 15 15:38:14 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#29506 <29506@debbugs.gnu.org> To: bug#29506 <29506@debbugs.gnu.org> Subject: Status: find-composition segfaults Reply-To: bug#29506 <29506@debbugs.gnu.org> Date: Fri, 15 Aug 2025 22:38:14 +0000 retitle 29506 find-composition segfaults reassign 29506 emacs submitter 29506 Edgard Bikelis severity 29506 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 30 01:44:08 2017 Received: (at submit) by debbugs.gnu.org; 30 Nov 2017 06:44:08 +0000 Received: from localhost ([127.0.0.1]:37506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKIZr-0003b5-9e for submit@debbugs.gnu.org; Thu, 30 Nov 2017 01:44:08 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49090) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKHmV-0002H4-JM for submit@debbugs.gnu.org; Thu, 30 Nov 2017 00:53:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eKHmP-0000Bj-BN for submit@debbugs.gnu.org; Thu, 30 Nov 2017 00:53:02 -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, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54584) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eKHmP-0000Ba-8e for submit@debbugs.gnu.org; Thu, 30 Nov 2017 00:53:01 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40052) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKHmO-0006MQ-03 for bug-gnu-emacs@gnu.org; Thu, 30 Nov 2017 00:53:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eKHmM-0000Aq-Tt for bug-gnu-emacs@gnu.org; Thu, 30 Nov 2017 00:53:00 -0500 Received: from mail-qt0-x22c.google.com ([2607:f8b0:400d:c0d::22c]:39708) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eKHmM-0000AZ-PE for bug-gnu-emacs@gnu.org; Thu, 30 Nov 2017 00:52:58 -0500 Received: by mail-qt0-x22c.google.com with SMTP id k19so7423825qtj.6 for ; Wed, 29 Nov 2017 21:52:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=O/iPb7ALMhHhskNX2bjSsczBpj51Nx5dXk8RV3mE5Jk=; b=SNTpRW8UkC5Q28Aopbgua7jaxMAyBpDPGd61PNt7cwANlKEKb4gMfw4Veqm6EWO4/8 /4fpMlNatcjxNxKtX6z8x2VXPOQ02HSWZvJGUbgDfkl93M3K36t7fLZ0ESLDId2r6OtB FDHSHrSX5lsmdVOpzj1GkikZTiaZL5EC19Pw89z7bjt6DbyjXCdS/rJVwmkGeeSL7U/l +uDWVRuu9T/866M7dCkjRrDT2yjDK1xJ3/jaW14ZmeNR2UciW6D2McEaUiKOeJJX/OCs PCPfYhwGx3uRz17lIezVdsY3s4lvS2G1mAnAT5FAaBTZwF96rDDgL1Zb2aNt+2b8g9h5 ZEWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=O/iPb7ALMhHhskNX2bjSsczBpj51Nx5dXk8RV3mE5Jk=; b=IeSqA16xxQ2MeBgOwRKl+idAlv86pP2qPokNwvhClr0IFmJOHQA0UlM4+qEvwBkrGB 5InZCyvhqEXbDmYWL0mYzsWdffEzEsTHeQsv2ho8VJ813MaPBj02lvwXDDieXy6o2mDN /ZIN5yEhr94TwCrMwmGBIgV62tKbLXL2PFnxIyc2/bjdZA0QlP2O8RuTAV4GnzLk5P8r qdDV8ztf0wRJOSKi1i9TwqjAyLy7Wxu5jRVIeSAjtwMXDXgUWkkZVttEzNy/ODluWWn/ xDwdAkW+RuwEd3kw8LgVn0KyXc4LgnYxQ9TncHRI2C/1okyJTmv1Vd7FvbhI1vG2fE+X eU3w== X-Gm-Message-State: AKGB3mLQ60Qnd5Wx4DIsC/6SAD7sVE4/Ke+9gR4mGrTn/MRLZIgwMZ3N oH91bpaAwlTr39O/aentMnqNae1CRBaupf9s23H4 X-Google-Smtp-Source: AGs4zMYwTsPtorEpKXgeWbwv6C7iP89eHmEp1E3RX8gycxDFnHuQ13CovkYS7CBn3+Bpi1d5xDoLpGgyFUSCqZdXrQ0= X-Received: by 10.237.55.226 with SMTP id j89mr1913795qtb.173.1512021177661; Wed, 29 Nov 2017 21:52:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.47.79 with HTTP; Wed, 29 Nov 2017 21:52:57 -0800 (PST) From: Edgard Bikelis Date: Thu, 30 Nov 2017 03:52:57 -0200 Message-ID: Subject: find-composition segfaults To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 30 Nov 2017 01:44:06 -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: -4.0 (----) Hi! I was testing decomposing some characters in malayalam, and by evaluating t= his: (find-composition 0 1 "=E0=B4=A6=E0=B5=87") emacs segfaults when it=E2=80=99s in gui mode, but not when it=E2=80=99s on= the console, with the -nw option. I have asked on #emacs on freenode, and other people had the same effect on version 25.2 and 26. It seems to happen with unicode past some high number, it doesn=E2=80=99t happen with "= a=CC=81" for instance, with a+ combining acute above, but it does happen in Arabic also, like with "=DA=9C". Thanks, Edgard In GNU Emacs 27.0.50 (build 2, x86_64-pc-linux-gnu, GNU/LessTif Version 2.1 Release 0.95.2) of 2017-11-28 built on svar Repository revision: c816e647ebf128eccc9df6ce3d64ebc5a5554aec Windowing system distributor 'The X.Org Foundation', version 11.0.11704000 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --with-x-toolkit=3Dmotif' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS MOTIF X11 LIBSYSTEMD LCMS2 Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-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 line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair time-date mule-util 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 menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame 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 minibuffer 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 dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting motif x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 94775 7532) (symbols 48 20346 1) (miscs 40 47 118) (strings 32 29096 1253) (string-bytes 1 753509) (vectors 16 13955) (vector-slots 8 491574 10496) (floats 8 51 66) (intervals 56 227 0) (buffers 992 11)) From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 30 04:03:13 2017 Received: (at 29506) by debbugs.gnu.org; 30 Nov 2017 09:03:13 +0000 Received: from localhost ([127.0.0.1]:37547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKKkS-0006pn-T8 for submit@debbugs.gnu.org; Thu, 30 Nov 2017 04:03:13 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:36464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKKkR-0006pf-70 for 29506@debbugs.gnu.org; Thu, 30 Nov 2017 04:03:11 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3ynWdp078Hz1qrkD; Thu, 30 Nov 2017 10:03:09 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3ynWdn5yRpz1qsTB; Thu, 30 Nov 2017 10:03:09 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id lggFhmiLwZ5s; Thu, 30 Nov 2017 10:03:09 +0100 (CET) X-Auth-Info: kIB/aZQ+9BvQbQfiOVgQaxFcg0zY34COD9eHXDLhdnxcj604EP7T9pq8Wt1T3ssS Received: from localhost (ppp-188-174-145-191.dynamic.mnet-online.de [188.174.145.191]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 30 Nov 2017 10:03:09 +0100 (CET) Received: by localhost (Postfix, from userid 1000) id 96DCC2C10C7; Thu, 30 Nov 2017 10:03:08 +0100 (CET) From: Andreas Schwab To: Edgard Bikelis Subject: Re: bug#29506: find-composition segfaults References: X-Yow: I predict that by 1993 everyone will live in and around LAS VEGAS and wear BEATLE HAIRCUTS! Date: Thu, 30 Nov 2017 10:03:08 +0100 In-Reply-To: (Edgard Bikelis's message of "Thu, 30 Nov 2017 03:52:57 -0200") Message-ID: <87shcwqgtv.fsf@linux-m68k.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 29506 Cc: 29506@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: -0.7 (/) On Nov 30 2017, Edgard Bikelis wrote: > I was testing decomposing some characters in malayalam, and by evaluating this: > > (find-composition 0 1 "ദേ") > > emacs segfaults when it’s in gui mode, but not when it’s on the > console, with the -nw option. That looks like a very old bug, probably since commit 90b3fe91253. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 30 13:02:59 2017 Received: (at 29506-done) by debbugs.gnu.org; 30 Nov 2017 18:03:00 +0000 Received: from localhost ([127.0.0.1]:38640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKTAp-0001G8-Ls for submit@debbugs.gnu.org; Thu, 30 Nov 2017 13:02:59 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37841) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKTAo-0001Fv-Ul for 29506-done@debbugs.gnu.org; Thu, 30 Nov 2017 13:02:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eKTAf-0001Xu-Rm for 29506-done@debbugs.gnu.org; Thu, 30 Nov 2017 13:02:53 -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.0 required=5.0 tests=BAYES_40,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35327) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKTAf-0001Xq-OG; Thu, 30 Nov 2017 13:02:49 -0500 Received: from [176.228.60.248] (port=4888 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eKTAd-0008Ue-Qf; Thu, 30 Nov 2017 13:02:49 -0500 Date: Thu, 30 Nov 2017 20:02:36 +0200 Message-Id: <83vahr3arn.fsf@gnu.org> From: Eli Zaretskii To: Edgard Bikelis In-reply-to: (message from Edgard Bikelis on Thu, 30 Nov 2017 03:52:57 -0200) Subject: Re: bug#29506: find-composition segfaults References: 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-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 29506-done Cc: 29506-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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Edgard Bikelis > Date: Thu, 30 Nov 2017 03:52:57 -0200 > > I was testing decomposing some characters in malayalam, and by evaluating this: > > (find-composition 0 1 "ദേ") > > emacs segfaults when it’s in gui mode, but not when it’s on the > console, with the -nw option. I have asked on #emacs on freenode, and > other people had the same effect on version 25.2 and 26. It seems to > happen with unicode past some high number, it doesn’t happen with "á" > for instance, with a+ combining acute above, but it does happen in > Arabic also, like with "ڜ". More accurately, it aborts or segfaults for any string with characters that are not supported by the default face's font. On a TTY, fonts are never an issue, so it never crashes there. I fixed this now for Emacs 26, thanks for reporting this issue. From unknown Fri Aug 15 15:38:14 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, 29 Dec 2017 12:24:04 +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