From unknown Wed Jun 18 22:57:08 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#63363 <63363@debbugs.gnu.org> To: bug#63363 <63363@debbugs.gnu.org> Subject: Status: 28.2; emacs freezes opening python file w/ unclosed quotes Reply-To: bug#63363 <63363@debbugs.gnu.org> Date: Thu, 19 Jun 2025 05:57:08 +0000 retitle 63363 28.2; emacs freezes opening python file w/ unclosed quotes reassign 63363 emacs submitter 63363 James Mazer severity 63363 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon May 08 03:23:50 2023 Received: (at submit) by debbugs.gnu.org; 8 May 2023 07:23:50 +0000 Received: from localhost ([127.0.0.1]:39018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvvDn-00089y-Jt for submit@debbugs.gnu.org; Mon, 08 May 2023 03:23:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:39456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvpH2-0005JM-Hy for submit@debbugs.gnu.org; Sun, 07 May 2023 21:02:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pvpH0-0003al-3E for bug-gnu-emacs@gnu.org; Sun, 07 May 2023 21:02:42 -0400 Received: from mail-yb1-xb2c.google.com ([2607:f8b0:4864:20::b2c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pvpGv-0007Y9-D1 for bug-gnu-emacs@gnu.org; Sun, 07 May 2023 21:02:41 -0400 Received: by mail-yb1-xb2c.google.com with SMTP id 3f1490d57ef6-b9a7e639656so6281321276.0 for ; Sun, 07 May 2023 18:02:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683507755; x=1686099755; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=oaBRqTSdWREEH5VxQx6DNs4FWqoZlzvNGkGgGIboNpc=; b=aOaRpm/dOv2i6fjZCKB2GizDtWoeCc7i2vepXxjBHM2hKJHntErobMohAfmlCOFQrq CIWsb1r8k2+bGGeUW3cAgUnHxsjlxHVEThFvIEdmrZgwG7DFf33wa3k4MwFXf9upvREW H4VvaUCxNaf3USt4rQM/yyIdMZOsBfIXDcq1A2mRXapud1VN+TZFRhTcS/l9DYvJI90T 5HOBMIhrfqYJmac6sS5H6nLAUt0RvTVips1GYulvezJCj8po7Ih4J8jiuHDFfIOu+vJm 7/Q19LvfVs3JkOPTIFMyfwUd79ObLfFSEIxJynJkxsGlssdCLfQU1oHAZ9yXIhBuKoK3 /bdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683507755; x=1686099755; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=oaBRqTSdWREEH5VxQx6DNs4FWqoZlzvNGkGgGIboNpc=; b=S5TJtQvPxBDx54AKvzRjCD+nz5S6YCONahm0LTgAw2SSwmLvvroDF8OYDnNlrLcMrZ glKSN71Wkg9E5oSyZVyyKNB6RjW+fFg3Bl873CotAWk0PO3LXzR58fqARK9eT3/YRg3+ ZPUwx8+9x0EV509TlyhdVoku8rO4yu0e2+Z7KLuNH3s0Sa1yze/0Bhn+g5KJEs+FZMGv E5ZJ6OhwRbnoIMsEknmwcnfKz61LMCQQPfdqCW2guU/5W3ciubzI5ABMrG88xFhQECwQ p8d95q167sjoWSCAX6prqw6ZnZ517eZeJ78uxUrSnNKjc7u5b9tpAkUPNtdj8unn+bQk 9pqg== X-Gm-Message-State: AC+VfDywYOP3luzeMn5cJo7Mr6FC9HkqoGgllGE/GJPU0ObY/s1G7MwN ufMUZsWzRwwnpq0GU1sFQS7PCr9ju5C72xOzJji+ib0wHF4= X-Google-Smtp-Source: ACHHUZ4v7a4WSR1QDiOt68jN0j4iFN7xKUXhq8DzP2gCvoFVQ0p9Nq07Wpc6eskAsyDupX7jJni4d3eidwbAfcm27l4= X-Received: by 2002:a25:bd0:0:b0:b99:4af6:185d with SMTP id 199-20020a250bd0000000b00b994af6185dmr10234457ybl.6.1683507754954; Sun, 07 May 2023 18:02:34 -0700 (PDT) MIME-Version: 1.0 From: James Mazer Date: Sun, 7 May 2023 19:02:24 -0600 Message-ID: Subject: 28.2; emacs freezes opening python file w/ unclosed quotes To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="000000000000b5f53f05fb2431db" Received-SPF: pass client-ip=2607:f8b0:4864:20::b2c; envelope-from=mazerj2006@gmail.com; helo=mail-yb1-xb2c.google.com X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 08 May 2023 03:23:39 -0400 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.1 (--) --000000000000b5f53f05fb2431db Content-Type: text/plain; charset="UTF-8" Emacs 28.2 (and I think 28.1 at least) locks up when opening file containing unclosed triple quotes in a docstring (ie, docstring started, but not yet closed) in vanilla python mode. To replicate, save the following to a file, say `foo.py` -------cut here------- def Foo: # comment out next line and works ok, incomplete comment -> locks up """ pass class Bar: labelmasks: torch.Tensor """blah blah blah - single line common ok, >1 line locks up """ class Baz: def __init__(self): """apostrophe in this quote causes lock up. It's better to...""" pass -------end cut------- And then just run `emacs -Q foo.py`. Under X11, window appears and is completely frozen, must be killed from another window. Same happens if you open file with `find-file` etc. Seems to be something related to trying to fontify the buffer in python-mode. This also happens periodically when typing into a buffer if you create an unclosed docstring. I can't reliably replicate that conditions, but appears to be the same problem. Can also see this issue on github where it was originally posted (thinking it was an issue with the linux snap distribution): https://github.com/alexmurray/emacs-snap/issues/44. This does not appear to be related to the snap distribution and github issue indicates that this also occurs in emacs-29. Sending SIGUSR2 generates the following backtrace: > Debugger entered--entering a function: > * #f(compiled-function () #)() > font-lock-fontify-syntactically-region(1 347 nil) > font-lock-default-fontify-region(1 347 nil) > font-lock-fontify-region(1 347) > #f(compiled-function (fun) #)(font-lock-fontify-region) > jit-lock--run-functions(1 347) > jit-lock-fontify-now(1 1501) > jit-lock-function(1) > redisplay_internal\ \(C\ function\)() In GNU Emacs 28.2 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2023-04-26 built on lcy02-amd64-043 Repository revision: 34c90cc5f22e16b027a731d10c3f58f9e44101e9 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12013000 System Description: Linux Mint 20.2 Configured using: 'configure --prefix=/snap/emacs/current/usr --with-x-toolkit=gtk3 --without-xaw3d --with-modules --with-cairo --with-native-compilation 'CFLAGS=-isystem/build/emacs/parts/emacs/install/usr/include -isystem/build/emacs/parts/emacs/install/usr/include/x86_64-linux-gnu -O2' 'CPPFLAGS=-isystem/build/emacs/parts/emacs/install/usr/include -isystem/build/emacs/parts/emacs/install/usr/include/x86_64-linux-gnu' 'LDFLAGS=-L/build/emacs/parts/emacs/install/lib -L/build/emacs/parts/emacs/install/usr/lib -L/build/emacs/parts/emacs/install/lib/x86_64-linux-gnu -L/build/emacs/parts/emacs/install/usr/lib/x86_64-linux-gnu'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-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 indent-tabs-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode 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 lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 68541 8782) (symbols 48 6639 0) (strings 32 19479 2438) (string-bytes 1 666720) (vectors 16 14703) (vector-slots 8 301741 11225) (floats 8 22 32) (intervals 56 266 0) (buffers 992 11)) -- James Mazer mazerj@gmail.com --000000000000b5f53f05fb2431db Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Emacs 28.2 (and I think 28.1 at least) locks up when openi= ng file containing unclosed triple quotes in a docstring (ie, docstring sta= rted, but not yet closed) in vanilla python mode.

To replicate, save= the following to a file, say `foo.py`
-------cut here-------
def Foo= :
=C2=A0 =C2=A0 # comment out next line and works ok, incomplete comment= -> locks up
=C2=A0 =C2=A0 """
=C2=A0 =C2=A0 pass=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
class Bar:
= =C2=A0 =C2=A0 labelmasks: torch.Tensor
=C2=A0 =C2=A0 """b= lah blah blah - single line common ok, >1 line locks up
=C2=A0 =C2=A0= """ =C2=A0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
class B= az:
=C2=A0 =C2=A0 def __init__(self):
"""apostrophe i= n this quote causes lock up. It's better to..."""
pa= ss
-------end cut-------

And then just run `emacs -Q foo.py`. Und= er X11, window appears and is completely frozen, must be killed from anothe= r window. Same happens
if you open file with `find-file` etc. Seems to b= e something related to trying to fontify the buffer in python-mode.

= This also happens periodically when typing into a buffer if you create an u= nclosed docstring. I can't reliably replicate that conditions, but appe= ars to be the same problem. Can also see this issue on=C2=A0 github where i= t was originally posted (thinking it was an issue with the linux snap distr= ibution): ht= tps://github.com/alexmurray/emacs-snap/issues/44. This does not appear = to be related to the snap distribution and github issue indicates that this= also occurs in emacs-29.

Sending SIGUSR2 generates the following ba= cktrace:
> Debugger entered--entering a function:
> * #f(compil= ed-function () #<bytecode 0xb8840b003fb641a>)()
> =C2=A0 font-l= ock-fontify-syntactically-region(1 347 nil)
> =C2=A0 font-lock-defaul= t-fontify-region(1 347 nil)
> =C2=A0 font-lock-fontify-region(1 347)<= br>> =C2=A0 #f(compiled-function (fun) #<bytecode 0x19ba0d15e0d0b9bd&= gt;)(font-lock-fontify-region)
> =C2=A0 jit-lock--run-functions(1 347= )
> =C2=A0 jit-lock-fontify-now(1 1501)
> =C2=A0 jit-lock-funct= ion(1)
> =C2=A0 redisplay_internal\ \(C\ function\)()

In GNU E= macs 28.2 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo versio= n 1.16.0)
=C2=A0of 2023-04-26 built on lcy02-amd64-043
Repository rev= ision: 34c90cc5f22e16b027a731d10c3f58f9e44101e9
Repository branch: maste= r
Windowing system distributor 'The X.Org Foundation', version 1= 1.0.12013000
System Description: Linux Mint 20.2

Configured using= :
=C2=A0'configure --prefix=3D/snap/emacs/current/usr --with-x-toolk= it=3Dgtk3
=C2=A0--without-xaw3d --with-modules --with-cairo --with-nativ= e-compilation
=C2=A0'CFLAGS=3D-isystem/build/emacs/parts/emacs/insta= ll/usr/include
=C2=A0-isystem/build/emacs/parts/emacs/install/usr/includ= e/x86_64-linux-gnu
=C2=A0-O2' 'CPPFLAGS=3D-isystem/build/emacs/p= arts/emacs/install/usr/include
=C2=A0-isystem/build/emacs/parts/emacs/in= stall/usr/include/x86_64-linux-gnu'
=C2=A0'LDFLAGS=3D-L/build/em= acs/parts/emacs/install/lib
=C2=A0-L/build/emacs/parts/emacs/install/usr= /lib
=C2=A0-L/build/emacs/parts/emacs/install/lib/x86_64-linux-gnu
= =C2=A0-L/build/emacs/parts/emacs/install/usr/lib/x86_64-linux-gnu''=

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS= GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIB= XML2 M17N_FLT MODULES
NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOM= P SOUND THREADS TIFF
TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB
<= br>Important settings:
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 loca= le-coding-system: utf-8-unix

Major mode: Lisp Interaction

Min= or modes in effect:
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: = t
=C2=A0 eldoc-mode: t
=C2=A0 show-paren-mode: t
=C2=A0 electric-i= ndent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
= =C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global= -font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode:= t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
= =C2=A0 auto-compression-mode: t
=C2=A0 line-number-mode: t
=C2=A0 ind= ent-tabs-mode: t
=C2=A0 transient-mark-mode: t

Load-path shadows:=
None found.

Features:
(shadow sort mail-extr emacsbug message= rmc puny dired dired-loaddefs
rfc822 mml mml-sec epa derived epg rfc606= 8 epg-config gnus-util rmail
rmail-loaddefs auth-source cl-seq eieio eie= io-core cl-macs
eieio-loaddefs password-cache json map text-property-sea= rch time-date
subr-x seq byte-opt gv bytecomp byte-compile cconv mm-deco= de mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheade= r cl-loaddefs
cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-pr= svr mail-utils
iso-transl tooltip eldoc paren electric uniquify ediff-ho= ok vc-hooks
lisp-float-type elisp-mode mwheel term/x-win x-win term/comm= on-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list= replace
newcomment text-mode lisp-mode prog-mode register page tab-bar = menu-bar
rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-= lock
font-lock syntax font-core term/tty-colors frame minibuffer cl-gene= ric
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet = lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech<= br>european ethiopic indian cyrillic chinese composite emoji-zwj charscript=
charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarraycl-preloaded nadvice button loaddefs faces cus-face macroexp files
win= dow text-properties overlay sha1 md5 base64 format env code-pages
mule c= ustom widget hashtable-print-readable backquote threads dbusbind
inotify= lcms2 dynamic-setting system-font-setting font-render-setting
cairo mov= e-toolbar gtk x-toolkit x multi-tty make-network-process
native-compile = emacs)

Memory information:
((conses 16 68541 8782)
=C2=A0(symb= ols 48 6639 0)
=C2=A0(strings 32 19479 2438)
=C2=A0(string-bytes 1 66= 6720)
=C2=A0(vectors 16 14703)
=C2=A0(vector-slots 8 301741 11225)=C2=A0(floats 8 22 32)
=C2=A0(intervals 56 266 0)
=C2=A0(buffers 992= 11))

--
James Mazer
--000000000000b5f53f05fb2431db-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 08 03:47:51 2023 Received: (at 63363) by debbugs.gnu.org; 8 May 2023 07:47:52 +0000 Received: from localhost ([127.0.0.1]:39037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvvb5-0000Ll-Ah for submit@debbugs.gnu.org; Mon, 08 May 2023 03:47:51 -0400 Received: from netyu.xyz ([152.44.41.246]:56642 helo=mail.netyu.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvvb3-0000LP-IS for 63363@debbugs.gnu.org; Mon, 08 May 2023 03:47:50 -0400 Received: from smtpclient.apple ( [112.97.61.182]) by netyu.xyz (OpenSMTPD) with ESMTPSA id 0a1a5aba (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 8 May 2023 07:47:48 +0000 (UTC) Content-Type: multipart/alternative; boundary=Apple-Mail-6B20FF75-021D-4231-A25B-84BCC756823D Content-Transfer-Encoding: 7bit From: Ruijie Yu Mime-Version: 1.0 (1.0) Subject: Re: bug#63363: 28.2; emacs freezes opening python file w/ unclosed quotes Date: Mon, 8 May 2023 15:47:29 +0800 Message-Id: <17BB823F-A919-44FB-87E1-1CAC9BD7426B@netyu.xyz> References: In-Reply-To: To: James Mazer X-Mailer: iPhone Mail (20E252) X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 63363 Cc: 63363@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: 0.8 (/) --Apple-Mail-6B20FF75-021D-4231-A25B-84BCC756823D Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable This is probably a duplicate of bug#62325, w= hich is fixed not in 28 but in 29. 

--
Best= , 


RY

On May 8, 2023, at 15:25, James Mazer <m= azerj2006@gmail.com> wrote:

=EF=BB=BF
Emacs 28.2 (and I think 28= .1 at least) locks up when opening file containing unclosed triple quotes in= a docstring (ie, docstring started, but not yet closed) in vanilla python m= ode.

To replicate, save the following to a file, say `foo.py`
----= ---cut here-------
def Foo:
    # comment out next line and w= orks ok, incomplete comment -> locks up
    """
  &n= bsp; pass
               
clas= s Bar:
    labelmasks: torch.Tensor
    """blah bl= ah blah - single line common ok, >1 line locks up
    """ &n= bsp;
         
class Baz:
    de= f __init__(self):
"""apostrophe in this quote causes lock up. It's be= tter to..."""
pass
-------end cut-------

And then just r= un `emacs -Q foo.py`. Under X11, window appears and is completely frozen, mu= st be killed from another window. Same happens
if you open file with `fin= d-file` etc. Seems to be something related to trying to fontify the buffer i= n python-mode.

This also happens periodically when typing into a buff= er if you create an unclosed docstring. I can't reliably replicate that cond= itions, but appears to be the same problem. Can also see this issue on = github where it was originally posted (thinking it was an issue with the li= nux snap distribution): https://github.com/alexmurray/emacs-snap/issues/44. This does= not appear to be related to the snap distribution and github issue indicate= s that this also occurs in emacs-29.

Sending SIGUSR2 generates the fo= llowing backtrace:
> Debugger entered--entering a function:
> * #= f(compiled-function () #<bytecode 0xb8840b003fb641a>)()
>  = font-lock-fontify-syntactically-region(1 347 nil)
>   font-lock-= default-fontify-region(1 347 nil)
>   font-lock-fontify-region(1 3= 47)
>   #f(compiled-function (fun) #<bytecode 0x19ba0d15e0d0b9= bd>)(font-lock-fontify-region)
>   jit-lock--run-functions(1 3= 47)
>   jit-lock-fontify-now(1 1501)
>   jit-lock-func= tion(1)
>   redisplay_internal\ \(C\ function\)()

In GNU E= macs 28.2 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version= 1.16.0)
 of 2023-04-26 built on lcy02-amd64-043
Repository revis= ion: 34c90cc5f22e16b027a731d10c3f58f9e44101e9
Repository branch: masterWindowing system distributor 'The X.Org Foundation', version 11.0.12013000=
System Description: Linux Mint 20.2

Configured using:
 'c= onfigure --prefix=3D/snap/emacs/current/usr --with-x-toolkit=3Dgtk3
 = ;--without-xaw3d --with-modules --with-cairo --with-native-compilation
&n= bsp;'CFLAGS=3D-isystem/build/emacs/parts/emacs/install/usr/include
 = -isystem/build/emacs/parts/emacs/install/usr/include/x86_64-linux-gnu
&nb= sp;-O2' 'CPPFLAGS=3D-isystem/build/emacs/parts/emacs/install/usr/include
=  -isystem/build/emacs/parts/emacs/install/usr/include/x86_64-linux-gnu'=
 'LDFLAGS=3D-L/build/emacs/parts/emacs/install/lib
 -L/buil= d/emacs/parts/emacs/install/usr/lib
 -L/build/emacs/parts/emacs/inst= all/lib/x86_64-linux-gnu
 -L/build/emacs/parts/emacs/install/usr/lib= /x86_64-linux-gnu''

Configured features:
ACL CAIRO DBUS FREETYPE G= IF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELIN= UX LIBSYSTEMD LIBXML2 M17N_FLT MODULES
NATIVE_COMP NOTIFY INOTIFY PDUMPER= PNG RSVG SECCOMP SOUND THREADS TIFF
TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM= GTK3 ZLIB

Important settings:
  value of $LANG: en_US.UTF-8<= br>  locale-coding-system: utf-8-unix

Major mode: Lisp Interacti= on

Minor modes in effect:
  tooltip-mode: t
  global-= eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
 = electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mo= de: t
  menu-bar-mode: t
  file-name-shadow-mode: t
 = ; global-font-lock-mode: t
  font-lock-mode: t
  blink-curso= r-mode: t
  auto-composition-mode: t
  auto-encryption-mode:= t
  auto-compression-mode: t
  line-number-mode: t
 = ; indent-tabs-mode: t
  transient-mark-mode: t

Load-path shad= ows:
None found.

Features:
(shadow sort mail-extr emacsbug mess= age rmc puny dired dired-loaddefs
rfc822 mml mml-sec epa derived epg rfc6= 068 epg-config gnus-util rmail
rmail-loaddefs auth-source cl-seq eieio ei= eio-core cl-macs
eieio-loaddefs password-cache json map text-property-sea= rch time-date
subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decod= e mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader c= l-loaddefs
cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr m= ail-utils
iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-= hooks
lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x= -dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace<= br>newcomment text-mode lisp-mode prog-mode register page tab-bar menu-barrfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
fon= t-lock syntax font-core term/tty-colors frame minibuffer cl-generic
cham g= eorgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean j= apanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethi= opic indian cyrillic chinese composite emoji-zwj charscript
charprop case= -table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nad= vice button loaddefs faces cus-face macroexp files
window text-properties= overlay sha1 md5 base64 format env code-pages
mule custom widget hashtab= le-print-readable backquote threads dbusbind
inotify lcms2 dynamic-settin= g system-font-setting font-render-setting
cairo move-toolbar gtk x-toolki= t x multi-tty make-network-process
native-compile emacs)

Memory in= formation:
((conses 16 68541 8782)
 (symbols 48 6639 0)
 = (strings 32 19479 2438)
 (string-bytes 1 666720)
 (vectors 1= 6 14703)
 (vector-slots 8 301741 11225)
 (floats 8 22 32) (intervals 56 266 0)
 (buffers 992 11))

--
James Mazer
= --Apple-Mail-6B20FF75-021D-4231-A25B-84BCC756823D-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 08 07:39:46 2023 Received: (at 63363) by debbugs.gnu.org; 8 May 2023 11:39:46 +0000 Received: from localhost ([127.0.0.1]:39465 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvzDV-0001fI-OZ for submit@debbugs.gnu.org; Mon, 08 May 2023 07:39:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52184) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvzDU-0001f5-In for 63363@debbugs.gnu.org; Mon, 08 May 2023 07:39:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pvzDP-0007QV-3m; Mon, 08 May 2023 07:39:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=nU6RKDdqF9cTfKJxIU0G375ABk4eIiPsZpa/HPXhv3Q=; b=odRDXEj3rvft eYMVtFm/ayfIGWoMHz2IJ7+YchaBAzwjKfzrFKcKjtNxcghnG/ABGmHC6BiFPkRKPrroHVU5YmDXn Vc/W6wxw9r38XDpF6PcJUIDqOcCywEMMYOr2Z7MbCxbOyLpHYFRYUDD2VBVV4qHJCyo4xjBAJ6yoQ EeTyO53vo4yjP1si72nAoadxSQJ31EgwC6ZHVcl2g4IHwi6vBkkx1AD0SmM/yuNmBXlFQLLilcfGF SFGxMQgG0N1Z83a5IzZM6K7vE4nU6Tg9x/UFLvFpM6V1iqNIoGceOVmsmr5+0F7e3aJL/4D3p+393 WZKwnf/OWeff+HGlvSuofg==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pvzDO-0002Fp-FO; Mon, 08 May 2023 07:39:38 -0400 Date: Mon, 08 May 2023 14:40:39 +0300 Message-Id: <83lehzcaq0.fsf@gnu.org> From: Eli Zaretskii To: Ruijie Yu In-Reply-To: <17BB823F-A919-44FB-87E1-1CAC9BD7426B@netyu.xyz> (bug-gnu-emacs@gnu.org) Subject: Re: bug#63363: 28.2; emacs freezes opening python file w/ unclosed quotes References: <17BB823F-A919-44FB-87E1-1CAC9BD7426B@netyu.xyz> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 63363 Cc: 63363@debbugs.gnu.org, mazerj2006@gmail.com 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: -3.3 (---) > Cc: 63363@debbugs.gnu.org > Date: Mon, 8 May 2023 15:47:29 +0800 > From: Ruijie Yu via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > This is probably a duplicate of bug#62325, which is fixed not in 28 but in 29. FWIW, I cannot reproduce this neither in Emacs 28 nor in Emacs 29. From debbugs-submit-bounces@debbugs.gnu.org Mon May 08 12:29:17 2023 Received: (at 63363) by debbugs.gnu.org; 8 May 2023 16:29:17 +0000 Received: from localhost ([127.0.0.1]:41451 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pw3jh-000521-CY for submit@debbugs.gnu.org; Mon, 08 May 2023 12:29:17 -0400 Received: from mail-yw1-f171.google.com ([209.85.128.171]:48560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pw3jg-00051n-1C for 63363@debbugs.gnu.org; Mon, 08 May 2023 12:29:16 -0400 Received: by mail-yw1-f171.google.com with SMTP id 00721157ae682-55d2e87048cso70643967b3.1 for <63363@debbugs.gnu.org>; Mon, 08 May 2023 09:29:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683563350; x=1686155350; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=pZIcVA2C2s40Gd3fjSGm0p+ugwlZhG0XHn7H7Swxg+Q=; b=kPl1LTrzlC9XrN63UHIPw1EJc+frr5vRNRNgMkEojbFLttMDJJE44B00nDrgzP6feV NiobmU42eYpylHW0s11KBaHLW4FhFFIJxtgGve2h57l2OpjrGw4ipMi5jbn8uFXr1+pJ w3ESWiX3gbLTH42pvGR34rsLLEGQvUoUyHjRQNoJzNU8o++/iOICKnktu5B70JuH181T 9fgTpLkDZmX/wRJYTcnTTCAxkwicgmpmdy/jt1RMPD/UWuZbxK+IswMqR0WpHLtRAzAZ elp3CkCIZU3ix39+0OKLznOevqGJCPNfilOL2HOn/K1hZ3VRe0tqIxWD8qUDaTYH7UMI z2ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683563350; x=1686155350; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pZIcVA2C2s40Gd3fjSGm0p+ugwlZhG0XHn7H7Swxg+Q=; b=dziDwGCwxa+gsWuFSCG2vV5e3uhwZriwjSMnnBXHYe/FnwS0LL1Z2VKahpDxVUTvNs pY2jDMSqFF7mHyFqkMAV1XJ1n4Cw/dIcJJ/5zY25djzhUI3o/vXYuUwikd/GpZHsA+E7 4+ntidpJWRnUkLUQH3xw6pfQUnVbRgvW9nZxIOFtrPyeE14RI6XLsXoJLIJplBrBMolZ SWqtMxznzBRAAE8mW+J2kAq4SRtAv9yI1BApDWeFfoBnIQ3OORr7naD3FUcNKDPlq8M3 K345m6zprJVIToRld7UHrW9peCHBgzR/FG6tGEbV/WPu6ipeMuNUrHXo3i3u7KkxoQme aRaw== X-Gm-Message-State: AC+VfDzZLtWtTQ1ofntFKhnmHbFxNO6pJvBhjhklUkuKIgOZ8LOmVmfx HPaCcPQNAcyjU4eOWq7NmoFAB7PBBJ7hTVfXu0Q= X-Google-Smtp-Source: ACHHUZ6DicMHDJLgU1sVfWK++CmBdkWuoZ1d72JdSajyIrXYMtyZ/4i+Imk/yIMzVdztpIFtRxIdTJbzzJUAmFvl7OM= X-Received: by 2002:a0d:d303:0:b0:55d:c0df:f0d with SMTP id v3-20020a0dd303000000b0055dc0df0f0dmr9070086ywd.43.1683563350171; Mon, 08 May 2023 09:29:10 -0700 (PDT) MIME-Version: 1.0 References: <17BB823F-A919-44FB-87E1-1CAC9BD7426B@netyu.xyz> <83lehzcaq0.fsf@gnu.org> In-Reply-To: <83lehzcaq0.fsf@gnu.org> From: James Mazer Date: Mon, 8 May 2023 10:28:59 -0600 Message-ID: Subject: Re: bug#63363: 28.2; emacs freezes opening python file w/ unclosed quotes To: Eli Zaretskii Content-Type: multipart/alternative; boundary="00000000000071a46405fb312334" X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Can you give me any info on how you tried to reproduce it? OS, installation method etc? I get it pretty reliably and the snap package maintainer reported the recipe I provided locks up for him on both [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (mazerj2006[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.171 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (mazerj2006[at]gmail.com) 0.0 HTML_MESSAGE BODY: HTML included in message -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.171 listed in wl.mailspike.net] 1.0 FREEMAIL_REPLY From and body contain different freemails X-Debbugs-Envelope-To: 63363 Cc: Ruijie Yu , 63363@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: -0.7 (/) --00000000000071a46405fb312334 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Can you give me any info on how you tried to reproduce it? OS, installation method etc? I get it pretty reliably and the snap package maintainer reported the recipe I provided locks up for him on both 28 and 29. If doesn't happen for you, I can try to replicate your setup.. Thanks On Mon, May 8, 2023 at 5:39=E2=80=AFAM Eli Zaretskii wrote: > > Cc: 63363@debbugs.gnu.org > > Date: Mon, 8 May 2023 15:47:29 +0800 > > From: Ruijie Yu via "Bug reports for GNU Emacs, > > the Swiss army knife of text editors" > > > > This is probably a duplicate of bug#62325, which is fixed not in 28 but > in 29. > > FWIW, I cannot reproduce this neither in Emacs 28 nor in Emacs 29. > --=20 James Mazer mazerj@gmail.com --00000000000071a46405fb312334 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Can you give me any info on how you tried to reproduce it?= OS, installation method etc?
I get it pretty reliably and the snap pac= kage maintainer reported the recipe I provided locks up for him on both 28 = and 29.
If doesn't happen for you, I can try to replicate you= r setup..
Thanks


On Mon, May 8, 2023 at 5:39= =E2=80=AFAM Eli Zaretskii <eliz@gnu.org<= /a>> wrote:
&= gt; Cc: 63363@de= bbugs.gnu.org
> Date: Mon, 8 May 2023 15:47:29 +0800
> From:=C2=A0 Ruijie Yu via "Bug reports for GNU Emacs,
>=C2=A0 the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>
> This is probably a duplicate of bug#62325, which is fixed not in 28 bu= t in 29.

FWIW, I cannot reproduce this neither in Emacs 28 nor in Emacs 29.


--
James = Mazer
--00000000000071a46405fb312334-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 08 12:41:02 2023 Received: (at 63363) by debbugs.gnu.org; 8 May 2023 16:41:02 +0000 Received: from localhost ([127.0.0.1]:41464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pw3v4-0005Mt-A2 for submit@debbugs.gnu.org; Mon, 08 May 2023 12:41:02 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pw3v2-0005MT-8w for 63363@debbugs.gnu.org; Mon, 08 May 2023 12:41:00 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pw3uw-0007gw-JH; Mon, 08 May 2023 12:40:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=yB0SX9VOfsbrviTLLL+rv8Gy4Pqqo5jq6a+UOnIv91s=; b=WGkyR9VpLslq kAH9aKfibJESNaHvSHw/LMAUdjkAA2TQSJjQeJHHi2znbdCdTDmEPTEXqTjd144V2aSKIb+misZoV +nMX4wgpm3sgEfZQu8Tk5hhDedheBMI2vqdhdhs/unxKJjRCVHSs+aEDfZJdv/Dwv6BztuqqZSrF3 2mg9gRBimbXICtL0/SBfPmQWYAmUh7zcjRf6PkI/SNbkmtBFdhQGWxGzGmfOiUT4GesI82qJxSBXf PKb0VdHEafaSWXC2De/MATvCJJzAfcpEEMe67MA2AVG8PrNcC8fy8HPZK3PrfXuk9vn8ErEf0+Nvg CPRZ7yZsXtfZA9keOUH7dw==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pw3uw-0006It-3J; Mon, 08 May 2023 12:40:54 -0400 Date: Mon, 08 May 2023 19:41:55 +0300 Message-Id: <83v8h2bwrw.fsf@gnu.org> From: Eli Zaretskii To: James Mazer In-Reply-To: (message from James Mazer on Mon, 8 May 2023 10:28:59 -0600) Subject: Re: bug#63363: 28.2; emacs freezes opening python file w/ unclosed quotes References: <17BB823F-A919-44FB-87E1-1CAC9BD7426B@netyu.xyz> <83lehzcaq0.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 63363 Cc: ruijie@netyu.xyz, 63363@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: -3.3 (---) > From: James Mazer > Date: Mon, 8 May 2023 10:28:59 -0600 > Cc: Ruijie Yu , 63363@debbugs.gnu.org > > Can you give me any info on how you tried to reproduce it? OS, installation method etc? I did exactly what you said I should do: emacs -Q foo.py I also tried starting "emacs -Q" and "C-x C-f foo.py" from inside Emacs. Neither of these two reproduced the problem. As for the OS, I tried this on GNU/Linux and on MS-Windows, with negative results in both cases. My Emacs is built by myself and installed on the system where it was built. From debbugs-submit-bounces@debbugs.gnu.org Mon May 08 13:09:59 2023 Received: (at 63363) by debbugs.gnu.org; 8 May 2023 17:09:59 +0000 Received: from localhost ([127.0.0.1]:41476 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pw4N4-0006JJ-KC for submit@debbugs.gnu.org; Mon, 08 May 2023 13:09:58 -0400 Received: from mail-yb1-f171.google.com ([209.85.219.171]:44324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pw4N0-0006J2-3m for 63363@debbugs.gnu.org; Mon, 08 May 2023 13:09:57 -0400 Received: by mail-yb1-f171.google.com with SMTP id 3f1490d57ef6-b9d8e8898eeso6340966276.1 for <63363@debbugs.gnu.org>; Mon, 08 May 2023 10:09:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683565788; x=1686157788; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=771xS6m2Bn3eoiOw0JRFBiRSiqUdD8LdhtPTDJOflak=; b=euG5WfmKqvNEgWauMls+bF39/Yp3zwucD8gUna+9FG3PbIARANiZKzAunLVDJvElJ1 F0KrziQoBOre5gIiznImNvuoCdPcs7LRMVO0j0eCMKeHKVnhbXGtreda9fl7hpt7mXZg v0ulwQs2LeOo2S11xRG6e+75X/MpCFIDmqYGZTPcZNTSIufg9J6lKXVXfDZ4Sd+9b8Ls +p+f0vpApyGkv/aOgLMJH1T4zpfGUHg1QAORJJ6lsA4zyV2H0gTBUZYb4vlz0zmjptRl CWjXL/q+5Q47AenoKJe1O6bK2LAHyN4RB6Hg53G4COiyRsyR0s3VNqGPuFnKjzyjM0jD 7K1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683565788; x=1686157788; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=771xS6m2Bn3eoiOw0JRFBiRSiqUdD8LdhtPTDJOflak=; b=B2cDZyiuLN5/cQVCecTdCivm96g7B9vO1zrcm6s6vEkTkszOAcyekbCwWTCtty3lbh Aiw/9Oflv7ALY1S7rzBmu9kma15hjuEXvEAh74dRW7KFLtucIXuvFmsspwVmqDtV5P2Q UfC/t3uSPF9QyY7vf3VQhHUYPXWgOCvbm56J8mB/hMEfwQRVpLwOVg3238cnXjnIiDFJ S6vM2XwCUolL3xt7yqcSWBOriBXAoeOd1QE9gsFBIlm/okA6HHNC1TXBjcC2lQff34Xf j0fhAgOMIQg/soIawIoc6bhs4IUoDr9/SvsP7r7TMeWhZYLhOLbwtN1QZ8fGvruMSlUA w03g== X-Gm-Message-State: AC+VfDzjWvdLRmWszmfTN56olZSn2fbVosNGSaPipWrP8u4wBgosvUc4 YBfczzo1Jb08MeSol/gCCbCLKaHBPbicUulHGkk= X-Google-Smtp-Source: ACHHUZ419+skNwF1u0qKRq8ArPIdfscNFg+YqROm7tUUpY5Q1h6hlwJvbBxKI7RrzJ4z8BJpU5hiSPcWaIDZZTiVQxE= X-Received: by 2002:a25:d352:0:b0:ba2:16b6:b11e with SMTP id e79-20020a25d352000000b00ba216b6b11emr10214604ybf.0.1683565788292; Mon, 08 May 2023 10:09:48 -0700 (PDT) MIME-Version: 1.0 References: <17BB823F-A919-44FB-87E1-1CAC9BD7426B@netyu.xyz> <83lehzcaq0.fsf@gnu.org> <83v8h2bwrw.fsf@gnu.org> In-Reply-To: <83v8h2bwrw.fsf@gnu.org> From: James Mazer Date: Mon, 8 May 2023 11:09:37 -0600 Message-ID: Subject: Re: bug#63363: 28.2; emacs freezes opening python file w/ unclosed quotes To: Eli Zaretskii Content-Type: multipart/alternative; boundary="000000000000c46a9e05fb31b498" X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Don't have time right now to do a custom build, but as sanity check, I just quickly pulled the 28.2 gnu.org.emacs flatpak and tried that and I get exactly the same issue, so it doesn't appear to be sp [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 T_PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: netyu.xyz (xyz)] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (mazerj2006[at]gmail.com) -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.219.171 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.219.171 listed in list.dnswl.org] 0.0 T_SPF_HELO_TEMPERROR SPF: test of HELO record failed (temperror) -0.0 SPF_PASS SPF: sender matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (mazerj2006[at]gmail.com) 0.0 HTML_MESSAGE BODY: HTML included in message 1.0 FREEMAIL_REPLY From and body contain different freemails X-Debbugs-Envelope-To: 63363 Cc: ruijie@netyu.xyz, 63363@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: -0.7 (/) --000000000000c46a9e05fb31b498 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Don't have time right now to do a custom build, but as sanity check, I just quickly pulled the 28.2 gnu.org.emacs flatpak and tried that and I get exactly the same issue, so it doesn't appear to be specific to the snap build. I can't find a 29 snap or flatpak to test, though. On Mon, May 8, 2023 at 10:40=E2=80=AFAM Eli Zaretskii wrote: > > From: James Mazer > > Date: Mon, 8 May 2023 10:28:59 -0600 > > Cc: Ruijie Yu , 63363@debbugs.gnu.org > > > > Can you give me any info on how you tried to reproduce it? OS, > installation method etc? > > I did exactly what you said I should do: > > emacs -Q foo.py > > I also tried starting "emacs -Q" and "C-x C-f foo.py" from inside > Emacs. Neither of these two reproduced the problem. > > As for the OS, I tried this on GNU/Linux and on MS-Windows, with > negative results in both cases. > > My Emacs is built by myself and installed on the system where it was > built. > --=20 James Mazer mazerj@gmail.com --000000000000c46a9e05fb31b498 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Don't have time right now to do a custom build, but as= sanity check, I just quickly pulled the 28.2 gnu.org.emacs flatpak and tri= ed that and I get exactly the same issue, so it doesn't appear to be sp= ecific to the snap build. I can't find a 29 snap or flatpak to test, th= ough.



On Mon, May 8, 2023 at 10:40=E2=80=AFAM = Eli Zaretskii <eliz@gnu.org> wrot= e:
> From: Ja= mes Mazer <maz= erj2006@gmail.com>
> Date: Mon, 8 May 2023 10:28:59 -0600
> Cc: Ruijie Yu <ruijie@netyu.xyz>, 63363@debbugs.gnu.org
>
> Can you give me any info on how you tried to reproduce it? OS, install= ation method etc?

I did exactly what you said I should do:

=C2=A0 emacs -Q foo.py

I also tried starting "emacs -Q" and "C-x C-f foo.py" f= rom inside
Emacs.=C2=A0 Neither of these two reproduced the problem.

As for the OS, I tried this on GNU/Linux and on MS-Windows, with
negative results in both cases.

My Emacs is built by myself and installed on the system where it was
built.


--
James = Mazer
--000000000000c46a9e05fb31b498-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 08 23:09:42 2023 Received: (at 63363) by debbugs.gnu.org; 9 May 2023 03:09:42 +0000 Received: from localhost ([127.0.0.1]:42104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwDjR-0001m8-Mz for submit@debbugs.gnu.org; Mon, 08 May 2023 23:09:41 -0400 Received: from netyu.xyz ([152.44.41.246]:55218 helo=mail.netyu.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwDjO-0001lx-Ox for 63363@debbugs.gnu.org; Mon, 08 May 2023 23:09:39 -0400 Received: from fw.net.yu.netyu.xyz ( [222.248.4.98]) by netyu.xyz (OpenSMTPD) with ESMTPSA id abec5560 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 9 May 2023 03:09:37 +0000 (UTC) References: <17BB823F-A919-44FB-87E1-1CAC9BD7426B@netyu.xyz> <83lehzcaq0.fsf@gnu.org> <83v8h2bwrw.fsf@gnu.org> User-agent: mu4e 1.11.3; emacs 30.0.50 From: Ruijie Yu To: James Mazer Subject: Re: bug#63363: 28.2; emacs freezes opening python file w/ unclosed quotes Date: Tue, 09 May 2023 09:54:42 +0800 In-reply-to: Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63363 Cc: Eli Zaretskii , 63363@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: 0.0 (/) James Mazer writes: > Don't have time right now to do a custom build, but as sanity check, I just quickly pulled the 28.2 gnu.org.emacs flatpak and tried that and I get > exactly the same issue, so it doesn't appear to be specific to the snap build. I can't find a 29 snap or flatpak to test, though. There is also another bug report (closed as fixed on 29), #62794, that I think is the same as this report and #62325. In particular, see this message within that bug report: msgid:ZDdE/j6dDbhCw1QF@nicku.org https://mail.gnu.org/archive/html/bug-gnu-emacs/2023-04/msg00798.html What Nick described in #62794 sounds exactly the same as your issue and Eli's observation: that only _some type(s) of_ python files trigger the error. I, as well as Eli, were able to reproduce the issue of #62794 via using the file Nick attached in that message. James, can you confirm that Nick's issue on #62794 is exactly the same as yours in this bug report, and that you can also reproduce the issue using Nick's attachment from that message? And also, if you want to get a version of 29 to test, you can either get the pretest or clone the code and run "make". The resultant emacs binary is located at "src/emacs". Let me know if this is unclear. -- Best, RY From debbugs-submit-bounces@debbugs.gnu.org Tue May 09 11:23:50 2023 Received: (at 63363) by debbugs.gnu.org; 9 May 2023 15:23:50 +0000 Received: from localhost ([127.0.0.1]:44172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwPBt-0004b4-Tu for submit@debbugs.gnu.org; Tue, 09 May 2023 11:23:50 -0400 Received: from mail-yb1-f177.google.com ([209.85.219.177]:59470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwPBs-0004aq-TB for 63363@debbugs.gnu.org; Tue, 09 May 2023 11:23:49 -0400 Received: by mail-yb1-f177.google.com with SMTP id 3f1490d57ef6-b9a6d9dcbebso5290947276.2 for <63363@debbugs.gnu.org>; Tue, 09 May 2023 08:23:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683645823; x=1686237823; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=dFve/AHNdc4/l0aZpVxsdysH1jVicz7OPrjFaqGOY20=; b=A9ylckw+EpD4Fw2jvXY4TPYbXlkDK2y0CkgN6dc+3usH6uEQ7A1aei6GFY+Iqr84iR vH5sUlMMWwkgSOvcQHZHLwGrI3cRHmdLF8kTKEnfK238rhKPb96PpQnSdYUnqUCfwkI2 C+5cRCjuT0G/gcN36qgwlInJlFfmhjGkj/3Pad/eFm8nYa6nJtEayBVnxSkUAW4CU2vP T94aY5f7VtvGbw7Dtvc+9ot/zb2V8HCPbhscTh0V1drlvCjB3NzduJ7IuLasHuXqImqe P4uOo4uRwJN0ZSf9u2cUup5/wM3lIYKOT4sPzkROu7G0UDXXHKIIh7o9VRZPuXzP9mTC MLFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683645823; x=1686237823; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dFve/AHNdc4/l0aZpVxsdysH1jVicz7OPrjFaqGOY20=; b=N56mqAxpo3QMhZRX9vaSfbq1kWquQsKTrjgwLiKXmayRDYwz1JZOoNfAkI/LCx9xna nO7TMoKsv8tRztLy7Cd1Itbzhcb9hdO/CJvck3UNe6wPWFyUGeKsvGV0Vd9M30b4i3PA lW3gvZ9MFJYcDqK/sQ8wtG1P+oFqVvjHt8ZK1DQ11idkWjyFavk7LgwbL5P6X8P5+NiX PWLNjgggzPA+RM9Zt0vxGBf0oV5/V2WuDI4fOU/ErkIRIR1+i5rXPuchZD6ThcA43CHv pp2QGl5LXzwhvLJiUSFhglowDD0SEgJZIF8QlavO8ncALMCv8AC6L2GbZiuZNWpDASRv k9DQ== X-Gm-Message-State: AC+VfDx9WyRHW2p8cLgnR9jiLPREVqVCyxhkAJSNTGbFSQ1LN5/FoHGg qXTCr7aBjbBbeSlQ6cWgjmckz9jE/9wXCT4tDbg= X-Google-Smtp-Source: ACHHUZ6lBV417DulRqHue/c/ZeayjW/nVv09fz8aThUIyvUgam21ZdLT4Fk5QM3t0LIaqNEgd1Zh09Llg876rCEc4Is= X-Received: by 2002:a25:ac09:0:b0:b8f:52e2:9693 with SMTP id w9-20020a25ac09000000b00b8f52e29693mr17479022ybi.52.1683645822884; Tue, 09 May 2023 08:23:42 -0700 (PDT) MIME-Version: 1.0 References: <17BB823F-A919-44FB-87E1-1CAC9BD7426B@netyu.xyz> <83lehzcaq0.fsf@gnu.org> <83v8h2bwrw.fsf@gnu.org> In-Reply-To: From: James Mazer Date: Tue, 9 May 2023 09:23:32 -0600 Message-ID: Subject: Re: bug#63363: 28.2; emacs freezes opening python file w/ unclosed quotes To: Ruijie Yu Content-Type: multipart/alternative; boundary="0000000000003361f305fb4457ee" X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Yes, seems to be the same issue. I just tried replicating his trigger and locked up an emacs window.. here's the backtrace after sigusr2: > Debugger entered--entering a function: > * #f(compiled-function () #)() > syntax-ppss() > python-nav-end-of-statement() > python-nav-end-of-block() > python-info-statemen [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 T_PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: netyu.xyz (xyz)] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (mazerj2006[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.219.177 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (mazerj2006[at]gmail.com) -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.219.177 listed in wl.mailspike.net] 0.0 HTML_MESSAGE BODY: HTML included in message 1.0 FREEMAIL_REPLY From and body contain different freemails X-Debbugs-Envelope-To: 63363 Cc: Eli Zaretskii , 63363@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: -0.7 (/) --0000000000003361f305fb4457ee Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Yes, seems to be the same issue. I just tried replicating his trigger and locked up an emacs window.. here's the backtrace after sigusr2: > Debugger entered--entering a function: > * #f(compiled-function () #)() > syntax-ppss() > python-nav-end-of-statement() > python-nav-end-of-block() > python-info-statement-ends-block-p() > python-nav--forward-sexp(-1 nil nil) > python-nav-forward-sexp(-1 nil nil) > python-nav-backward-sexp() > python-info-docstring-p((0 nil 390 34 nil nil 0 nil 427 nil nil)) > python-font-lock-syntactic-face-function((0 nil 390 34 nil nil 0 nil 42= 7 > nil nil)) > font-lock-fontify-syntactically-region(180 1700 nil) > font-lock-default-fontify-region(184 1684 nil) > font-lock-fontify-region(184 1684) > #f(compiled-function (fun) # 0x19ba0a4f10e54dbd>)(font-lock-fontify-region) > jit-lock--run-functions(184 1684) > jit-lock-fontify-now(184 1684) > jit-lock-function(184) > redisplay_internal\ \(C\ function\)() I'll see if I can spin up a version of 29. Been a while since I compiled emacs from scratch... I'm actually surprised that there aren't packages for 28 and 29 more readily available for ubuntu. Not sure what's up with that. On Mon, May 8, 2023 at 9:09=E2=80=AFPM Ruijie Yu wrote: > > James Mazer writes: > > > Don't have time right now to do a custom build, but as sanity check, I > just quickly pulled the 28.2 gnu.org.emacs flatpak and tried that and I g= et > > exactly the same issue, so it doesn't appear to be specific to the snap > build. I can't find a 29 snap or flatpak to test, though. > > There is also another bug report (closed as fixed on 29), #62794, that I > think is the same as this report and #62325. In particular, see this > message within that bug report: > > msgid:ZDdE/j6dDbhCw1QF@nicku.org > https://mail.gnu.org/archive/html/bug-gnu-emacs/2023-04/msg00798.html > > What Nick described in #62794 sounds exactly the same as your issue and > Eli's observation: that only _some type(s) of_ python files trigger the > error. I, as well as Eli, were able to reproduce the issue of #62794 > via using the file Nick attached in that message. > > James, can you confirm that Nick's issue on #62794 is exactly the same > as yours in this bug report, and that you can also reproduce the issue > using Nick's attachment from that message? > > And also, if you want to get a version of 29 to test, you can either get > the pretest or clone the code and run "make". The resultant emacs > binary is located at "src/emacs". Let me know if this is unclear. > > -- > Best, > > > RY > --=20 James Mazer mazerj@gmail.com --0000000000003361f305fb4457ee Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes, seems to be the same issue. I just tried replica= ting his trigger and locked up an emacs window.. here's the backtrace a= fter sigusr2:
Debugg= er entered--entering a function:
* #f(compiled-function () #<bytecode= 0xb893e2c8c539dfa>)()
=C2=A0 syntax-ppss()
=C2=A0 python-nav-end-= of-statement()
=C2=A0 python-nav-end-of-block()
=C2=A0 python-info-st= atement-ends-block-p()
=C2=A0 python-nav--forward-sexp(-1 nil nil)
= =C2=A0 python-nav-forward-sexp(-1 nil nil)
=C2=A0 python-nav-backward-se= xp()
=C2=A0 python-info-docstring-p((0 nil 390 34 nil nil 0 nil 427 nil = nil))
=C2=A0 python-font-lock-syntactic-face-function((0 nil 390 34 nil = nil 0 nil 427 nil nil))
=C2=A0 font-lock-fontify-syntactically-region(18= 0 1700 nil)
=C2=A0 font-lock-default-fontify-region(184 1684 nil)
=C2= =A0 font-lock-fontify-region(184 1684)
=C2=A0 #f(compiled-function (fun)= #<bytecode 0x19ba0a4f10e54dbd>)(font-lock-fontify-region)
=C2=A0 = jit-lock--run-functions(184 1684)
=C2=A0 jit-lock-fontify-now(184 1684)<= br>=C2=A0 jit-lock-function(184)
=C2=A0 redisplay_internal\ \(C\ functio= n\)()
=C2=A0
I'll see if I can spin up a ver= sion of 29. Been a while since I compiled emacs from scratch... I'm act= ually surprised that there aren't packages for 28 and 29 more readily a= vailable for ubuntu. Not sure what's up with that.

=

= On Mon, May 8, 2023 at 9:09=E2=80=AFPM Ruijie Yu <ruijie@netyu.xyz> wrote:

James Mazer <m= azerj2006@gmail.com> writes:

> Don't have time right now to do a custom build, but as sanity chec= k, I just quickly pulled the 28.2 gnu.org.emacs flatpak and tried that and = I get
> exactly the same issue, so it doesn't appear to be specific to the= snap build. I can't find a 29 snap or flatpak to test, though.

There is also another bug report (closed as fixed on 29), #62794, that I think is the same as this report and #62325.=C2=A0 In particular, see this<= br> message within that bug report:

msgid:ZDdE/j6dDb= hCw1QF@nicku.org
https://mail.gnu.org/archive/ht= ml/bug-gnu-emacs/2023-04/msg00798.html

What Nick described in #62794 sounds exactly the same as your issue and
Eli's observation: that only _some type(s) of_ python files trigger the=
error.=C2=A0 I, as well as Eli, were able to reproduce the issue of #62794<= br> via using the file Nick attached in that message.

James, can you confirm that Nick's issue on #62794 is exactly the same<= br> as yours in this bug report, and that you can also reproduce the issue
using Nick's attachment from that message?

And also, if you want to get a version of 29 to test, you can either get the pretest or clone the code and run "make".=C2=A0 The resultant= emacs
binary is located at "src/emacs".=C2=A0 Let me know if this is un= clear.

--
Best,


RY


--
James = Mazer
--0000000000003361f305fb4457ee-- From debbugs-submit-bounces@debbugs.gnu.org Wed May 10 19:01:22 2023 Received: (at 63363) by debbugs.gnu.org; 10 May 2023 23:01:22 +0000 Received: from localhost ([127.0.0.1]:49211 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwsoD-0005vL-V2 for submit@debbugs.gnu.org; Wed, 10 May 2023 19:01:22 -0400 Received: from mail-yb1-f182.google.com ([209.85.219.182]:55445) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwsoB-0005v6-P5 for 63363@debbugs.gnu.org; Wed, 10 May 2023 19:01:20 -0400 Received: by mail-yb1-f182.google.com with SMTP id 3f1490d57ef6-b9a6869dd3cso10214088276.2 for <63363@debbugs.gnu.org>; Wed, 10 May 2023 16:01:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683759674; x=1686351674; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=iCm3GOVYH8Y6wzhYJYojY0cT1Ii8UfedqpX8R9WcbBc=; b=J/OOVPo1gfM2zLrUVN6PYDfT2DD2l8nIVqMdIBb5t0O+lW2ge7O0X4dDuU06aveNDj K14IfnCErk8LNLXZFpg7Gy+ctY64aQJ4LoKVtr4pn7Tl6uC/eY7qKqTTmeN4rGYA0eaZ 0BaAgmS2O4eFjS2STfJdZ5t/lHA8JDEcHbomTnnZGdOJFEmULv0cfeMOH0BFSy84/0rF fdH62utVbCV+9EWqBNsxALnvYC0Gu4LK0pUERhD97LB77uiOunr5y8zKZcVQvNhvt+Cm sxE2pz5GTDKVWJ6v7YguYH2kY6vgC0BvL134cz5LSgik/TTWLqdEd0Dpv+qEoCD+rzg9 EfCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683759674; x=1686351674; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=iCm3GOVYH8Y6wzhYJYojY0cT1Ii8UfedqpX8R9WcbBc=; b=OPV9hsAG/cyJCHMz2EiYCnTZweeZHZyNHVpQBCH8NTAsvbBqhNM4cQ7SEx1bqmC6CH A8sZJcS8fq9tizw8G9yWU5yS4WfUmwrDMj4Yp9+1R2QN5HlHIaH1l1gDIcOkrrGTXaZK IFuExElkfzFryc1FwJK8aNa8J8L92oc60VTwhfgipormnmnwpXNYshHFbACZDFZEfDYz sBoawVI5QTmaaZJhjOC+70T80ARTdDo7/QYsYNgCHpewrT+duplwI7Y6QQw2Eg0vwY0H OuA0vJ2xKTXc0dYulTSWbFv+7J2skNvi2NE1VjbsyvBMNSB1A60h+43YJZSpPFMYchXq QCxw== X-Gm-Message-State: AC+VfDyXeaIDfobD3Y3hPxXvI+J2AbxCVI/POoVLJi+nrd3RPmo6rSgZ 6AvUCFooC9zO2/xK1JEpEl9g+YnO+vWmWDGxyDg= X-Google-Smtp-Source: ACHHUZ6t3Q/jXUdtAdR1mVWI9a8/Wp3mmZwBb+8uUkTrVsYO4ichKyL531qwZNH2Ir8PsxdUHsC44QZYqrnNbysXxtc= X-Received: by 2002:a25:d74b:0:b0:ba6:954c:870a with SMTP id o72-20020a25d74b000000b00ba6954c870amr856929ybg.17.1683759673833; Wed, 10 May 2023 16:01:13 -0700 (PDT) MIME-Version: 1.0 References: <17BB823F-A919-44FB-87E1-1CAC9BD7426B@netyu.xyz> <83lehzcaq0.fsf@gnu.org> <83v8h2bwrw.fsf@gnu.org> In-Reply-To: From: James Mazer Date: Wed, 10 May 2023 17:01:02 -0600 Message-ID: Subject: Re: bug#63363: 28.2; emacs freezes opening python file w/ unclosed quotes To: Ruijie Yu Content-Type: multipart/alternative; boundary="0000000000003f0b2a05fb5ed9d7" X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Just confirmed that with an emacs 29.0.90 snap (beta) I'm not seeing the lock up. So it appears to be fixed downstream, but would be nice to be able to fix in 28 until 29 is actually released :-) On Tue, May 9, 2023 at 9:23 AM James Mazer wrote: Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 T_PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: netyu.xyz (xyz)] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (mazerj2006[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (mazerj2006[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.219.182 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.219.182 listed in wl.mailspike.net] 0.0 HTML_MESSAGE BODY: HTML included in message 1.0 FREEMAIL_REPLY From and body contain different freemails X-Debbugs-Envelope-To: 63363 Cc: Eli Zaretskii , 63363@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: -0.7 (/) --0000000000003f0b2a05fb5ed9d7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Just confirmed that with an emacs 29.0.90 snap (beta) I'm not seeing the lock up. So it appears to be fixed downstream, but would be nice to be able to fix in 28 until 29 is actually released :-) On Tue, May 9, 2023 at 9:23=E2=80=AFAM James Mazer w= rote: > Yes, seems to be the same issue. I just tried replicating his trigger and > locked up an emacs window.. here's the backtrace after sigusr2: > >> Debugger entered--entering a function: >> * #f(compiled-function () #)() >> syntax-ppss() >> python-nav-end-of-statement() >> python-nav-end-of-block() >> python-info-statement-ends-block-p() >> python-nav--forward-sexp(-1 nil nil) >> python-nav-forward-sexp(-1 nil nil) >> python-nav-backward-sexp() >> python-info-docstring-p((0 nil 390 34 nil nil 0 nil 427 nil nil)) >> python-font-lock-syntactic-face-function((0 nil 390 34 nil nil 0 nil >> 427 nil nil)) >> font-lock-fontify-syntactically-region(180 1700 nil) >> font-lock-default-fontify-region(184 1684 nil) >> font-lock-fontify-region(184 1684) >> #f(compiled-function (fun) #> 0x19ba0a4f10e54dbd>)(font-lock-fontify-region) >> jit-lock--run-functions(184 1684) >> jit-lock-fontify-now(184 1684) >> jit-lock-function(184) >> redisplay_internal\ \(C\ function\)() > > > I'll see if I can spin up a version of 29. Been a while since I compiled > emacs from scratch... I'm actually surprised that there aren't packages f= or > 28 and 29 more readily available for ubuntu. Not sure what's up with that= . > > > On Mon, May 8, 2023 at 9:09=E2=80=AFPM Ruijie Yu wrote= : > >> >> James Mazer writes: >> >> > Don't have time right now to do a custom build, but as sanity check, I >> just quickly pulled the 28.2 gnu.org.emacs flatpak and tried that and I = get >> > exactly the same issue, so it doesn't appear to be specific to the sna= p >> build. I can't find a 29 snap or flatpak to test, though. >> >> There is also another bug report (closed as fixed on 29), #62794, that I >> think is the same as this report and #62325. In particular, see this >> message within that bug report: >> >> msgid:ZDdE/j6dDbhCw1QF@nicku.org >> https://mail.gnu.org/archive/html/bug-gnu-emacs/2023-04/msg00798.html >> >> What Nick described in #62794 sounds exactly the same as your issue and >> Eli's observation: that only _some type(s) of_ python files trigger the >> error. I, as well as Eli, were able to reproduce the issue of #62794 >> via using the file Nick attached in that message. >> >> James, can you confirm that Nick's issue on #62794 is exactly the same >> as yours in this bug report, and that you can also reproduce the issue >> using Nick's attachment from that message? >> >> And also, if you want to get a version of 29 to test, you can either get >> the pretest or clone the code and run "make". The resultant emacs >> binary is located at "src/emacs". Let me know if this is unclear. >> >> -- >> Best, >> >> >> RY >> > > > -- > James Mazer > mazerj@gmail.com > > --=20 James Mazer mazerj@gmail.com --0000000000003f0b2a05fb5ed9d7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Just confirmed that with an emacs 29.0.90 snap (beta) I= 9;m not seeing the lock up. So it appears to be fixed downstream, but would= be nice to be able to fix in 28 until 29 is actually released :-)

=

On Tue, May 9, 2023 at 9:23=E2=80=AFAM James Mazer <mazerj2006@gmail.com> wrote:
Yes, se= ems to be the same issue. I just tried replicating his trigger and locked u= p an emacs window.. here's the backtrace after sigusr2:
Debugger entered--entering a functi= on:
* #f(compiled-function () #<bytecode 0xb893e2c8c539dfa>)()
= =C2=A0 syntax-ppss()
=C2=A0 python-nav-end-of-statement()
=C2=A0 pyth= on-nav-end-of-block()
=C2=A0 python-info-statement-ends-block-p()
=C2= =A0 python-nav--forward-sexp(-1 nil nil)
=C2=A0 python-nav-forward-sexp(= -1 nil nil)
=C2=A0 python-nav-backward-sexp()
=C2=A0 python-info-docs= tring-p((0 nil 390 34 nil nil 0 nil 427 nil nil))
=C2=A0 python-font-loc= k-syntactic-face-function((0 nil 390 34 nil nil 0 nil 427 nil nil))
=C2= =A0 font-lock-fontify-syntactically-region(180 1700 nil)
=C2=A0 font-loc= k-default-fontify-region(184 1684 nil)
=C2=A0 font-lock-fontify-region(1= 84 1684)
=C2=A0 #f(compiled-function (fun) #<bytecode 0x19ba0a4f10e54= dbd>)(font-lock-fontify-region)
=C2=A0 jit-lock--run-functions(184 16= 84)
=C2=A0 jit-lock-fontify-now(184 1684)
=C2=A0 jit-lock-function(18= 4)
=C2=A0 redisplay_internal\ \(C\ function\)()
=C2=A0<= /div>
I'll see if I can spin up a version of 29. Been a while since= I compiled emacs from scratch... I'm actually surprised that there are= n't packages for 28 and 29 more readily available for ubuntu. Not sure = what's up with that.


On Mon, May 8, 2023 at 9:09=E2= =80=AFPM Ruijie Yu <ruijie@netyu.xyz> wrote:

James Mazer <m= azerj2006@gmail.com> writes:

> Don't have time right now to do a custom build, but as sanity chec= k, I just quickly pulled the 28.2 gnu.org.emacs flatpak and tried that and = I get
> exactly the same issue, so it doesn't appear to be specific to the= snap build. I can't find a 29 snap or flatpak to test, though.

There is also another bug report (closed as fixed on 29), #62794, that I think is the same as this report and #62325.=C2=A0 In particular, see this<= br> message within that bug report:

msgid:ZDdE/j6dDb= hCw1QF@nicku.org
https://mail.gnu.org/archive/ht= ml/bug-gnu-emacs/2023-04/msg00798.html

What Nick described in #62794 sounds exactly the same as your issue and
Eli's observation: that only _some type(s) of_ python files trigger the=
error.=C2=A0 I, as well as Eli, were able to reproduce the issue of #62794<= br> via using the file Nick attached in that message.

James, can you confirm that Nick's issue on #62794 is exactly the same<= br> as yours in this bug report, and that you can also reproduce the issue
using Nick's attachment from that message?

And also, if you want to get a version of 29 to test, you can either get the pretest or clone the code and run "make".=C2=A0 The resultant= emacs
binary is located at "src/emacs".=C2=A0 Let me know if this is un= clear.

--
Best,


RY


--
=
James Mazer



--
--0000000000003f0b2a05fb5ed9d7-- From debbugs-submit-bounces@debbugs.gnu.org Wed May 10 19:12:05 2023 Received: (at 63363) by debbugs.gnu.org; 10 May 2023 23:12:05 +0000 Received: from localhost ([127.0.0.1]:49229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwsya-0006ES-P0 for submit@debbugs.gnu.org; Wed, 10 May 2023 19:12:05 -0400 Received: from mail-yw1-f175.google.com ([209.85.128.175]:49165) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwsyX-0006Dv-Ic for 63363@debbugs.gnu.org; Wed, 10 May 2023 19:12:03 -0400 Received: by mail-yw1-f175.google.com with SMTP id 00721157ae682-55a44a2637bso117328287b3.2 for <63363@debbugs.gnu.org>; Wed, 10 May 2023 16:12:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683760316; x=1686352316; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=XuDqRRSqEpglE6761CsCKjfdHS3lynRZrS22a/d64ek=; b=UJdvAuiI72LAGjdiMiEpMB4CQHBcGAWMlLz6iYMPB+4IfBhD/ci0zT2N7KAFlxyDTW m9ij6vDzsjDjQVz2m9ls4IgUPXJdrjq4rO98Pji25zej6P6TWNjA6IN3b0mhxEG1F++e hQM8VpN8/+PRNGUPJDCFXigoke205EZCFH1uRGU6YuANBxGdH+IxakxvrmloRnZKZZCY ifzDk5m+vYnakQ1G1PyHURzm4jIMrqh1Ae1pHY8jC1iu19M+P4No2jS8+2b27qpcXJJT tEEI6yOcp7tyncn5FQPio8kP7PF1NBw2owZEU8WinLg0o30JSmGtzrhaHf3h29YR5n4g /hQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683760316; x=1686352316; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XuDqRRSqEpglE6761CsCKjfdHS3lynRZrS22a/d64ek=; b=Am4gDaxhp0VnRkYOX1s2MXHtk9pDCgB6SdlmfTCUYJuIvl4UmD83atgfgtPG008DaY A2ZGIBWZhWjXnwMPWWDCcbenjRZJpGUe+nN3hxmPeQhqgKf5ogVc6qQWdq5KuWICHOhv 2fkOc9oRTPOW9+wagtnvuDzBrPA9dqe4iN1sZVMWAA0h5evfD83lqPWQFoKsDRypswwh GBNfTP8zXnQEqdyox+cTDmHurP7TMITedzJyPtsnv53hubqBUx6ooP6qJMrUSZZPrNsZ 2WnG7bHp+xz95oNJsEvzlUHM/iOk/z4Sry8SyB8DMzquSOXVjze2ww229Yy12iQg5fST BwMA== X-Gm-Message-State: AC+VfDyQPjahHZxdXnT2YIrmCOllUKeWmns0fxBh/BkCW//4enkUZMc6 Zyvu7L3nVbP7rzROoC0bQp4ODdhTlkUKY7F21zhjGKU+bwg= X-Google-Smtp-Source: ACHHUZ4AvcwNevx6BmiaguUl/w3PNBf9BtTwUwyMU28FUCKztKoNQH888iXnQNkCw0ZsAqrhShoAxtS4LD/oshNOfMM= X-Received: by 2002:a0d:d942:0:b0:55a:a57e:7de6 with SMTP id b63-20020a0dd942000000b0055aa57e7de6mr20724107ywe.15.1683760315572; Wed, 10 May 2023 16:11:55 -0700 (PDT) MIME-Version: 1.0 References: <17BB823F-A919-44FB-87E1-1CAC9BD7426B@netyu.xyz> <83lehzcaq0.fsf@gnu.org> <83v8h2bwrw.fsf@gnu.org> In-Reply-To: From: James Mazer Date: Wed, 10 May 2023 17:11:44 -0600 Message-ID: Subject: Re: bug#63363: 28.2; emacs freezes opening python file w/ unclosed quotes To: Ruijie Yu Content-Type: multipart/alternative; boundary="0000000000007f243105fb5effa5" X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Disregard that -- until 29 is out, I just added > > (defun python-nav-end-of-statement--bug-override (orig-fn &optional noend) > (forward-line 1)) > (advice-add 'python-nav-end-of-statement :around > [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 T_PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: netyu.xyz (xyz)] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (mazerj2006[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (mazerj2006[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.175 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.175 listed in wl.mailspike.net] 0.0 HTML_MESSAGE BODY: HTML included in message 1.0 FREEMAIL_REPLY From and body contain different freemails X-Debbugs-Envelope-To: 63363 Cc: Eli Zaretskii , 63363@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: -0.7 (/) --0000000000007f243105fb5effa5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Disregard that -- until 29 is out, I just added > > (defun python-nav-end-of-statement--bug-override (orig-fn &optional noend= ) > (forward-line 1)) > (advice-add 'python-nav-end-of-statement :around > #'python-nav-end-of-statement--bug-override) to my init.el (from https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D58780). Seems to do the trick for now -- no more lost buffers :-) On Wed, May 10, 2023 at 5:01=E2=80=AFPM James Mazer = wrote: > Just confirmed that with an emacs 29.0.90 snap (beta) I'm not seeing the > lock up. So it appears to be fixed downstream, but would be nice to be ab= le > to fix in 28 until 29 is actually released :-) > > > On Tue, May 9, 2023 at 9:23=E2=80=AFAM James Mazer = wrote: > >> Yes, seems to be the same issue. I just tried replicating his trigger an= d >> locked up an emacs window.. here's the backtrace after sigusr2: >> >>> Debugger entered--entering a function: >>> * #f(compiled-function () #)() >>> syntax-ppss() >>> python-nav-end-of-statement() >>> python-nav-end-of-block() >>> python-info-statement-ends-block-p() >>> python-nav--forward-sexp(-1 nil nil) >>> python-nav-forward-sexp(-1 nil nil) >>> python-nav-backward-sexp() >>> python-info-docstring-p((0 nil 390 34 nil nil 0 nil 427 nil nil)) >>> python-font-lock-syntactic-face-function((0 nil 390 34 nil nil 0 nil >>> 427 nil nil)) >>> font-lock-fontify-syntactically-region(180 1700 nil) >>> font-lock-default-fontify-region(184 1684 nil) >>> font-lock-fontify-region(184 1684) >>> #f(compiled-function (fun) #>> 0x19ba0a4f10e54dbd>)(font-lock-fontify-region) >>> jit-lock--run-functions(184 1684) >>> jit-lock-fontify-now(184 1684) >>> jit-lock-function(184) >>> redisplay_internal\ \(C\ function\)() >> >> >> I'll see if I can spin up a version of 29. Been a while since I compiled >> emacs from scratch... I'm actually surprised that there aren't packages = for >> 28 and 29 more readily available for ubuntu. Not sure what's up with tha= t. >> >> >> On Mon, May 8, 2023 at 9:09=E2=80=AFPM Ruijie Yu wrot= e: >> >>> >>> James Mazer writes: >>> >>> > Don't have time right now to do a custom build, but as sanity check, = I >>> just quickly pulled the 28.2 gnu.org.emacs flatpak and tried that and I= get >>> > exactly the same issue, so it doesn't appear to be specific to the >>> snap build. I can't find a 29 snap or flatpak to test, though. >>> >>> There is also another bug report (closed as fixed on 29), #62794, that = I >>> think is the same as this report and #62325. In particular, see this >>> message within that bug report: >>> >>> msgid:ZDdE/j6dDbhCw1QF@nicku.org >>> https://mail.gnu.org/archive/html/bug-gnu-emacs/2023-04/msg00798.html >>> >>> What Nick described in #62794 sounds exactly the same as your issue and >>> Eli's observation: that only _some type(s) of_ python files trigger the >>> error. I, as well as Eli, were able to reproduce the issue of #62794 >>> via using the file Nick attached in that message. >>> >>> James, can you confirm that Nick's issue on #62794 is exactly the same >>> as yours in this bug report, and that you can also reproduce the issue >>> using Nick's attachment from that message? >>> >>> And also, if you want to get a version of 29 to test, you can either ge= t >>> the pretest or clone the code and run "make". The resultant emacs >>> binary is located at "src/emacs". Let me know if this is unclear. >>> >>> -- >>> Best, >>> >>> >>> RY >>> >> >> >> -- >> James Mazer >> mazerj@gmail.com >> >> > > -- > James Mazer > mazerj@gmail.com > > --=20 James Mazer mazerj@gmail.com --0000000000007f243105fb5effa5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, May 10, 2023 at 5:01= =E2=80=AFPM James Mazer <mazerj2= 006@gmail.com> wrote:
Just confirmed that with an emacs 29.0.90 sna= p (beta) I'm not seeing the lock up. So it appears to be fixed downstre= am, but would be nice to be able to fix in 28 until 29 is actually released= :-)


On Tue, May 9, 2023 at 9:23=E2=80=AFAM James Mazer <<= a href=3D"mailto:mazerj2006@gmail.com" target=3D"_blank">mazerj2006@gmail.c= om> wrote:
Yes, seems to be the same issue. I just tried repli= cating his trigger and locked up an emacs window.. here's the backtrace= after sigusr2:
Debu= gger entered--entering a function:
* #f(compiled-function () #<byteco= de 0xb893e2c8c539dfa>)()
=C2=A0 syntax-ppss()
=C2=A0 python-nav-en= d-of-statement()
=C2=A0 python-nav-end-of-block()
=C2=A0 python-info-= statement-ends-block-p()
=C2=A0 python-nav--forward-sexp(-1 nil nil)
= =C2=A0 python-nav-forward-sexp(-1 nil nil)
=C2=A0 python-nav-backward-se= xp()
=C2=A0 python-info-docstring-p((0 nil 390 34 nil nil 0 nil 427 nil = nil))
=C2=A0 python-font-lock-syntactic-face-function((0 nil 390 34 nil = nil 0 nil 427 nil nil))
=C2=A0 font-lock-fontify-syntactically-region(18= 0 1700 nil)
=C2=A0 font-lock-default-fontify-region(184 1684 nil)
=C2= =A0 font-lock-fontify-region(184 1684)
=C2=A0 #f(compiled-function (fun)= #<bytecode 0x19ba0a4f10e54dbd>)(font-lock-fontify-region)
=C2=A0 = jit-lock--run-functions(184 1684)
=C2=A0 jit-lock-fontify-now(184 1684)<= br>=C2=A0 jit-lock-function(184)
=C2=A0 redisplay_internal\ \(C\ functio= n\)()
=C2=A0
I'll see if I can spin up a ver= sion of 29. Been a while since I compiled emacs from scratch... I'm act= ually surprised that there aren't packages for 28 and 29 more readily a= vailable for ubuntu. Not sure what's up with that.

=

= On Mon, May 8, 2023 at 9:09=E2=80=AFPM Ruijie Yu <ruijie@netyu.xyz> wrote:

James Mazer <m= azerj2006@gmail.com> writes:

> Don't have time right now to do a custom build, but as sanity chec= k, I just quickly pulled the 28.2 gnu.org.emacs flatpak and tried that and = I get
> exactly the same issue, so it doesn't appear to be specific to the= snap build. I can't find a 29 snap or flatpak to test, though.

There is also another bug report (closed as fixed on 29), #62794, that I think is the same as this report and #62325.=C2=A0 In particular, see this<= br> message within that bug report:

msgid:ZDdE/j6dDb= hCw1QF@nicku.org
https://mail.gnu.org/archive/ht= ml/bug-gnu-emacs/2023-04/msg00798.html

What Nick described in #62794 sounds exactly the same as your issue and
Eli's observation: that only _some type(s) of_ python files trigger the=
error.=C2=A0 I, as well as Eli, were able to reproduce the issue of #62794<= br> via using the file Nick attached in that message.

James, can you confirm that Nick's issue on #62794 is exactly the same<= br> as yours in this bug report, and that you can also reproduce the issue
using Nick's attachment from that message?

And also, if you want to get a version of 29 to test, you can either get the pretest or clone the code and run "make".=C2=A0 The resultant= emacs
binary is located at "src/emacs".=C2=A0 Let me know if this is un= clear.

--
Best,


RY


--
=
James Mazer



--


--
--0000000000007f243105fb5effa5-- From debbugs-submit-bounces@debbugs.gnu.org Thu May 11 01:43:56 2023 Received: (at 63363-done) by debbugs.gnu.org; 11 May 2023 05:43:56 +0000 Received: from localhost ([127.0.0.1]:49459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwz5o-00019b-1Y for submit@debbugs.gnu.org; Thu, 11 May 2023 01:43:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwz5k-00019M-Vt for 63363-done@debbugs.gnu.org; Thu, 11 May 2023 01:43:54 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pwz5f-0000SQ-Od; Thu, 11 May 2023 01:43:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=+l6By9HUdXnL9zxDdlOMJd4G2UfQO6fKUouf4cOcRl0=; b=Y3tOk492wwn3 8rrzx60i7sVeRQVbRgs5IuLVjHYIZme20+EmVGnSVh0Iscjce08nYagQaAz0cdwA5JR75ykQerNN+ ZN7hRiZfILWG85jxkg1+ZL7zlaBFtYaPXb4cZUq2PQ19+0nUUliHONnWiH4Czq16KlxqAevDxCv4M Ocvs3r+QY/jcpDRkdo6KGmNs8pprwXed3QvK7xz9efJ1s9sZAIO5QyW17CYKt8OJi7F4qsDdOkbGI F7v51RpaCp7lj9Vab5vuEgU+//NQMHiohL0KmieAdgVffywoijIJZNc+/P7kuhCOuunsE1X9bjtti U15KwWEsqdn82DrGmRHLHw==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pwz5e-0002P0-7W; Thu, 11 May 2023 01:43:46 -0400 Date: Thu, 11 May 2023 08:44:54 +0300 Message-Id: <838rdv776x.fsf@gnu.org> From: Eli Zaretskii To: James Mazer In-Reply-To: (message from James Mazer on Wed, 10 May 2023 17:01:02 -0600) Subject: Re: bug#63363: 28.2; emacs freezes opening python file w/ unclosed quotes References: <17BB823F-A919-44FB-87E1-1CAC9BD7426B@netyu.xyz> <83lehzcaq0.fsf@gnu.org> <83v8h2bwrw.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 63363-done Cc: ruijie@netyu.xyz, 63363-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: -3.3 (---) > From: James Mazer > Date: Wed, 10 May 2023 17:01:02 -0600 > Cc: Eli Zaretskii , 63363@debbugs.gnu.org > > Just confirmed that with an emacs 29.0.90 snap (beta) I'm not seeing the lock up. So it appears to be > fixed downstream, but would be nice to be able to fix in 28 until 29 is actually released :-) Thanks for testing in Emacs 29. I'm therefore closing this bug. From unknown Wed Jun 18 22:57:08 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 08 Jun 2023 11:24:08 +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