From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#56108: 29.0.50; ASAN use-after-free in re_match_2_internal Date: Wed, 22 Jun 2022 17:11:55 +0200 Message-ID: References: <83mte7kv7c.fsf@gnu.org> <32e548cc-ffd3-4669-ad9a-317c130b0c93@Spark> <83a6a4kec0.fsf@gnu.org> <6e56407a-b564-4aa9-b74c-78883727ef09@Spark> <831qvgkc8d.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="62b33140_21faa2fa_588f" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25361"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56108@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 22 17:13:30 2022 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 1o422s-0006UG-Fk for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Jun 2022 17:13:30 +0200 Original-Received: from localhost ([::1]:49606 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o422r-00016a-1P for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Jun 2022 11:13:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40670) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o422Q-00015g-DQ for bug-gnu-emacs@gnu.org; Wed, 22 Jun 2022 11:13:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42423) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o422Q-0004FI-4H for bug-gnu-emacs@gnu.org; Wed, 22 Jun 2022 11:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o422P-0003sJ-UC for bug-gnu-emacs@gnu.org; Wed, 22 Jun 2022 11:13:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Jun 2022 15:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56108 X-GNU-PR-Package: emacs Original-Received: via spool by 56108-submit@debbugs.gnu.org id=B56108.165591073014837 (code B ref 56108); Wed, 22 Jun 2022 15:13:01 +0000 Original-Received: (at 56108) by debbugs.gnu.org; 22 Jun 2022 15:12:10 +0000 Original-Received: from localhost ([127.0.0.1]:36320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o421Z-0003rD-Up for submit@debbugs.gnu.org; Wed, 22 Jun 2022 11:12:10 -0400 Original-Received: from mail-ed1-f44.google.com ([209.85.208.44]:41727) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o421X-0003qz-ME for 56108@debbugs.gnu.org; Wed, 22 Jun 2022 11:12:08 -0400 Original-Received: by mail-ed1-f44.google.com with SMTP id cf14so14588949edb.8 for <56108@debbugs.gnu.org>; Wed, 22 Jun 2022 08:12:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:message-id:in-reply-to:references:subject :mime-version; bh=ytnnx/m8F6TKGTDG0FGGVIYkrONYevIuF1L/H6Axg/M=; b=oI8f7LjqjcslsVxvhwiWs9DdGsqapLtsgqzg1ePUJEyTcVNj12IXX4JIZ7Vv2kqc8h RgANXHosaTZXqmkhTvy4uRbFV2vUeZjhdReTA1gUy4kIF+cWVdGdUWpuqoYf1LX8qJDv FjDvec4QQLoLuXncsIyPPB+ybXL9g3A0V73E4NYx248cwMHBQdVXrRHgCeeSNGEw1GaG XOenibbFvE/MdieWT6bAm6PSpPtgRdSdkjcWUn20cRJTQd9IlSiTmx8BEZlqLXntAE5o nOhnDRfIXEhDcawVAvL5eH/9kdfPr2eSvLIU4v5gb+JdbUDAD8b8xcggRtyqS8cx30Nr 7HxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:message-id:in-reply-to :references:subject:mime-version; bh=ytnnx/m8F6TKGTDG0FGGVIYkrONYevIuF1L/H6Axg/M=; b=pwk33viylgYeKqjyGZZUVv8ja/bZxOIYnde4/XvHJmY8qKSnHMTpFuzvt+bP/mojFy 3egs8xgh55NnbUFYHzNO700jZ8K8Y3sGx40NfeZP7AA97s9XNURizn6KzeWvpKYI8XLS Z8UC0qLFjvlZ7CpUSFxy+IOaBLwRZDJRvpQ5aRaCNE6LCjZ39K+ARe9vY4G+60Or84uu HuPJDi1qR9fspJUnCmeAGWubLimSyntvr000g2hZo+pM/CaK8pH0jSRwnaN+evydazYG XIzn2/8AhRsGzf1p7fCBd2Qpco4IY2U6inKmHriNeiQk+3Q0Y9nqui9Oz7eR7YmPH1xD MAJw== X-Gm-Message-State: AJIora9SaBnOhiInQyHRWk5orPi1JPPRGH3H/LkQTEYjtiGwk6usbkGT eAvOBTssfoW6neBiE/mKrMtpX8U3/NIO5YgG X-Google-Smtp-Source: AGRyM1u2fHZGfXQoVhZpJRIATvOAHOIMvp+O/9cQIokKD2P0kh9lp30ktbja3B6zgX/AkpmxhSaD3A== X-Received: by 2002:aa7:c6d9:0:b0:435:706a:4578 with SMTP id b25-20020aa7c6d9000000b00435706a4578mr4708175eds.24.1655910721621; Wed, 22 Jun 2022 08:12:01 -0700 (PDT) Original-Received: from [192.168.178.21] (pd9e3676b.dip0.t-ipconnect.de. [217.227.103.107]) by smtp.gmail.com with ESMTPSA id g8-20020a056402090800b0042dd022787esm15983543edz.6.2022.06.22.08.12.01 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jun 2022 08:12:01 -0700 (PDT) In-Reply-To: <831qvgkc8d.fsf@gnu.org> X-Readdle-Message-ID: e2818b28-245a-448f-827a-60cc7ceb738f@Spark 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:235032 Archived-At: --62b33140_21faa2fa_588f Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Maybe I have something.=C2=A0=C2=A0Could you please check=3F Please read the following list from the bottom up, i.e. re=5Fmatch... cal= ls maybe=5Fquit etc. maybe=5Fgc =46funcall call2 signal=5For=5Fquit (eval.c:1741) quit (eval.c:1697) process=5Fquit=5Fflag (eval.c:1657) probably=5Fquit (eval.c:1864) maybe=5Fquit (lisp.h:3681) re=5Fmatch=5F2=5Finternal (regexp-emacs.c:4691) If this is true a GC can be triggered under very specific circumstances i= nvolving edebug, if the comment in signal=5For=5Fquit is right. And I might have used edebug, I'm not 100% sure anymore. --62b33140_21faa2fa_588f Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline


Maybe I have something.&=23160;&=23160;Could you please check=3F

Please read the following list from the bottom up, i.e. re=5Fmatch... cal= ls maybe=5Fquit etc.

maybe=5Fgc
=46funcall
call2&=23160;
signal=5For=5Fquit (eval.c:1741)
quit (eval.c:1697)
process=5Fquit=5Fflag (eval.c:1657)
probably=5Fquit (eval.c:1864)
maybe=5Fquit (lisp.h:3681)
re=5Fmatch=5F2=5Finternal (regexp-emacs.c:4691)

If this is true a GC can be triggered under very specific circumstances i= nvolving edebug, if the comment in signal=5For=5Fquit is right.&=23160;&=23= 160;

And I might have used edebug, I'm not 100% sure anymore.
--62b33140_21faa2fa_588f--