bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#54996: Emacs hangs when editing Python code with debug-on-error set


From: Lars Ingebrigtsen
Subject: bug#54996: Emacs hangs when editing Python code with debug-on-error set to t
Date: Mon, 18 Apr 2022 13:18:49 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

But here we go -- I instrumented Fsignal after loading everything.

gdb) xbacktrace 
"signal" (0xeabde738)
"error" (0xffff8378)
"apply" (0xeabde6e0)
"cl--assertion-failed" (0xeabde668)
"python-nav-end-of-statement" (0xeabde620)
"python-info-end-of-statement-p" (0xeabde5f0)
"python-info-end-of-block-p" (0xeabde598)
"python-nav--forward-sexp" (0xeabde518)
"python-nav-forward-sexp" (0xeabde4c0)
"python-nav-backward-sexp" (0xeabde468)
"python-info-docstring-p" (0xeabde408)
"python-font-lock-syntactic-face-function" (0xeabde3a8)
"font-lock-fontify-syntactically-region" (0xeabde320)
"font-lock-default-fontify-region" (0xeabde2b0)
"font-lock-fontify-region" (0xeabde240)
0x566c35a8 PVEC_COMPILED
"run-hook-wrapped" (0xeabde1c8)

I've now fixed this by avoiding cl-assert (which probably should never
be used inside a function called from font-lock).

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no






reply via email to

[Prev in Thread] Current Thread [Next in Thread]