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

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

Re: c-mode imenu: Stack overflow in regexp matcher


From: Glenn Morris
Subject: Re: c-mode imenu: Stack overflow in regexp matcher
Date: Fri, 02 Feb 2007 22:10:40 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

I've reduced the problem to a regexp search called from:

(imenu--generic-function imenu-generic-expression)

Evaluating the following in a buffer visiting splash.xpm as text
causes a stack overflow in the regexp matcher:

  (goto-char (point-max))
  (re-search-backward 
"^\\<[^()]*[^[:alnum:]_:<>~]\\([[:alpha:]_][[:alnum:]_:<>~]*\\)\\([       
\n]\\|\\\\\n\\)*(\\([   \n]\\|\\\\\n\\)*\\([^   \n(*][^)]*\\)?)\\([     
\n]\\|\\\\\n\\)*[^      \n;(]" nil t ))


A 32-bit version works fine on x86_64, but the 64-bit version has the
problem.





reply via email to

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