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

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

RE: Stack overflow in regexp matcher


From: Drew Adams
Subject: RE: Stack overflow in regexp matcher
Date: Mon, 10 Jul 2006 10:42:09 -0700

    > Debugger entered--Lisp error: (error "Stack overflow in
    regexp matcher")
    >   re-search-forward(": \\(.+\\): \\(?:Permission denied\\|No such
    > \\(?:file or directory\\|device or address\\)\\)$" 69633 t)

    The only way for this regexp to cause a stack overflow is if
    there's a *very*
    long line.
    We could maybe reduce the stack use by replacing ".+" with
    something like
    "\\([^:\n]*:\\)*[^:\n]*".

Yes, it was a **very** long line. For some reason, there was a
semantic.cache file in the src directory I got from nqemacs.  - Drew





reply via email to

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