Subject: compilation--parse-region: Stack overflow in regexp matcher...

From: Dan Jacobson <[email-masked]>
Date: Mon, 13 Feb 2023 07:12:51 +0800

$ perl -we 'print 8 x 888888' > /tmp/8
$ emacs -Q /tmp/8 --eval '(compile "cat /tmp/8")'
Beeps three times,
Error during redisplay: (jit-lock-function 110) signaled (error "Stack overflow in regexp matcher") [150 times]
error in process filter: compilation--parse-region: Stack overflow in regexp matcher...
error in process filter: Stack overflow in regexp matcher
Compilation finished
Error during redisplay: (jit-lock-function 110) signaled (error "Stack overflow in regexp matcher")
$ emacs --version
GNU Emacs 28.2