From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Martin =?UTF-8?Q?Li=C5=A1ka?= Newsgroups: gmane.emacs.bugs Subject: bug#51688: ELC+ELN international/emoji.elc crashes Date: Wed, 24 Nov 2021 16:23:53 +0100 Message-ID: References: <87tugmyeow.fsf@igel.home> <87o86cpinw.fsf@igel.home> <83y25gp7pu.fsf@gnu.org> <87v90kjl36.fsf@gmail.com> <87r1b7i7n2.fsf@gmail.com> <83ilwjoxgc.fsf@gnu.org> <87mtlvhux6.fsf@gmail.com> <875ysjhr0u.fsf@gmail.com> <871r36j4om.fsf@gmail.com> <87wnkyhnfo.fsf@gmail.com> <87bl29j3j1.fsf@igel.home> <83y25d909v.fsf@gnu.org> <877dcxitz7.fsf@igel.home> <83tug18zfw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34843"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Cc: rpluim@gmail.com, 51688@debbugs.gnu.org, Andreas Schwab To: Andrea Corallo , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 24 16:26:28 2021 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 1mpuAG-0008rL-HW for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Nov 2021 16:26:28 +0100 Original-Received: from localhost ([::1]:34684 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpuAF-0002bf-Ij for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Nov 2021 10:26:27 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54006) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpu8u-0000Ef-3C for bug-gnu-emacs@gnu.org; Wed, 24 Nov 2021 10:25:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43180) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpu8t-0000pA-OK for bug-gnu-emacs@gnu.org; Wed, 24 Nov 2021 10:25:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mpu8s-0002aa-DV for bug-gnu-emacs@gnu.org; Wed, 24 Nov 2021 10:25:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Martin =?UTF-8?Q?Li=C5=A1ka?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Nov 2021 15:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51688 X-GNU-PR-Package: emacs Original-Received: via spool by 51688-submit@debbugs.gnu.org id=B51688.16377674469886 (code B ref 51688); Wed, 24 Nov 2021 15:25:02 +0000 Original-Received: (at 51688) by debbugs.gnu.org; 24 Nov 2021 15:24:06 +0000 Original-Received: from localhost ([127.0.0.1]:54726 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpu7y-0002ZO-0Z for submit@debbugs.gnu.org; Wed, 24 Nov 2021 10:24:06 -0500 Original-Received: from smtp-out1.suse.de ([195.135.220.28]:48796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpu7s-0002Yq-Rl for 51688@debbugs.gnu.org; Wed, 24 Nov 2021 10:24:04 -0500 Original-Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 9DAB82193C; Wed, 24 Nov 2021 15:23:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1637767434; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vh8aagZZI7meD+jQ8MNXFu8S3UMFf8CbhBXNoCWyn4w=; b=nh37cXDkiXMs7LC62xVAkl7zGNlUUL1J+9Vn349QGBaFNkz+OIHnbC4RrLGE1ZOwDiOekj FvY940gNa29GhWNcQmEuA0q4kYIKCqIh9RzS2BAgh0DaqPJmEnvCKFSFJraj7l3S5jGYsx AijAJquDGol0ZOFRuZvd3P829F7bUwM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1637767434; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vh8aagZZI7meD+jQ8MNXFu8S3UMFf8CbhBXNoCWyn4w=; b=nbI7Ucs9bqeXup8Fotik2sbyqBu4q0mPqyxSih8pvih+tRHk98UkIce7dvjiEAyVBo/AEk ximhFRJy6/Fq+fDg== Original-Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 77C3613F2C; Wed, 24 Nov 2021 15:23:54 +0000 (UTC) Original-Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id TyXCGwpZnmG9AwAAMHmgww (envelope-from ); Wed, 24 Nov 2021 15:23:54 +0000 Content-Language: en-US In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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:220740 Archived-At: On 11/24/21 16:14, Andrea Corallo wrote: > Eli Zaretskii writes: > >>> From: Andreas Schwab >>> Cc: rpluim@gmail.com, akrl@sdf.org, 51688@debbugs.gnu.org >>> Date: Wed, 24 Nov 2021 14:06:04 +0100 >>> >>> On Nov 24 2021, Eli Zaretskii wrote: >>> >>>> Do you happen to know which libgccjit versions are affected by the >>>> bug? We could tell people to avoid them. >>> >>> Most likely all of them. >> >> Too bad. >> >> Andrea, can anything be done to work around this somehow (except to >> upgrade to a later GCC)? Or is there nothing we can do except keep >> fingers crossed? > > I don't think there's much we can do to work around this on Emacs side > (Martin please correct me if I'm wrong). No, it's UBSAN in libgccjit library. Unfortunately, the issue is there for quite a long time and it was exposed by a bad luck where an used memory was reused (and not initialized) in libgccjit. Martin > >>>> Or did this bug exist since day one? (But if it's an old bug, why >>>> doesn't everyone see these crashes?) >>> >>> That's the effect of undefined behaviour. >> >> You mean, undefined behavior in libgccjit's own code, right? Or in >> our code? > > In libgccjit's own code. > > BR > > Andrea >