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: Sun, 9 Jul 2006 17:30:06 -0700

Also, the *grep* buffer was filled (after the first several file hits, with
a **long** line hit from semantic.cache.

Should semantic.cache even be in directory src?


    -----Original Message-----
    I don't have a recipe from emacs -q for this, because I don't want to
    go through whatever I need to do to get Cygwin grep working with
    it. If this bug report helps as is, good. If not, ignore.

    In my own environment (using Cygwin and my own Elisp files), I tried
    this in an Emacs 22 src directory (not the same Emacs 22 version as
    shown below, but I was running the version shown below):

    M-x grep Fsort *

    Here is the backtrace (with text fit for email):

    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)
      font-lock-fontify-keywords-region(589 69633 nil)
      font-lock-default-fontify-region(589 69633 nil)
      font-lock-fontify-region(589 69633)
      font-lock-after-change-function(65537 69633 0)
      insert-before-markers("4300 74307])) :type \"int\") nil [74293
      74311]) (\"EXFUN\" function (:prototype-flag t :arguments ((\"\"
      variable (:type (\"Fchar_or_string_p\" type (:type \"class\") nil
      nil)) (reparse-symbol arg-sub-list) [74319 74337])) :type \"int\")
      nil [74312 74341]) (\"EXFUN\" function (:prototype-flag t :arguments
      ((\"\" variable (:type (\"Finteger_or_marker_p\" type (:type
      \"class\") nil nil)) (reparse-symbol arg-sub-list) [74349 74370]))
      :type \"int\") nil [74342 74374]) (\"EXFUN\" function
      (:prototype-flag t :arguments ((\"\" variable (:type (\"Ffloatp\"
      type (:type \"class\") nil nil)) (reparse-symbol arg-sub-list)
      [74382 74390])) :type \"int\") nil [74375 74394]) (\"EXFUN\"
      function (:prototype-flag t :arguments ((\"\" variable (:type
      (\"Finteger_or_floatp\" type (:type \"class\") nil nil))
      (reparse-symbol arg-sub-list) [74402 74421])) :type \"int\") nil
      [74395 74425]) (\"EXFUN\" function (:prototype-flag t :arguments
      ((\"\" variable (:type (\"Finteger_or_float_or_marker_p\" type
      (:type \"class\") nil nil)) (reparse-symbol arg-sub-list) [74433
      74463])) :type \"int\") nil [74426 74467]) (\"EXFUN\" function
      (:prototype-flag t :arguments ((\"\" variable (:type (\"Fcar\" type
      (:type \"class\") nil nil)) (reparse-symbol arg-sub-list) [74476
      74481])) :type \"int\") nil [74469 74485]) (\"EXFUN\" function
      (:prototype-flag t :arguments ((\"\" variable (:type (\"Fcar_safe\"
      type (:type \"class\") nil nil)) (reparse-symbol arg-sub-list)
      [74493 74503])) :type \"int\") nil [74486 74507]) (\"EXFUN\"
      function (:prototype-flag t :arguments ((\"\" variable (:type
      (\"Fcdr\" type (:type \"class\") nil nil)) (reparse-symbol
      arg-sub-list) [74515 74520])) :type \"int\") nil [74508 74524])
      (\"EXFUN\" function (:prototype-flag t :arguments ((\"\" variable
      (:type (\"Fcdr_safe\" type (:type \"class\") nil nil))
      (reparse-symbol arg-sub-list) [74532 74542])) :type \"int\") nil
      [74525 74546]) (\"EXFUN\" function (:prototype-flag t :arguments
      ((\"\" variable (:type (\"Fsetcar\" type (:type \"class\") nil nil))
      (reparse-symbol arg-sub-list) [74554 74562])) :type \"int\") nil
      [74547 74566]) (\"EXFUN\" function (:prototype-flag t :arguments
      ((\"\" variable (:type (\"Fsetcdr\" type (:type \"class\") nil nil))
      (reparse-symbol arg-sub-list) [74574 74582])) :type \"int\") nil
      [74567 74586]) (\"EXFUN\" function (:prototype-flag t :arguments
      ((\"\" variable (:type (\"Fboundp\" type (:type \"class\") nil nil))
      (reparse-symbol arg-sub-list) [74594 74602])) :type \"int\") nil
      [74587 74606]) (\"EXFUN\" function (:prototype-flag t :arguments
      ((\"\" variable (:type (\"Ffboundp\" type (:type \"class\") nil
      nil)) (reparse-symbol arg-sub-list) [74614 74623])) :type \"int\")
      nil [74607 74627]) (\"EXFUN\" function (:prototype-flag t :arguments
      ((\"\" variable (:type (\"Fmakunbound\" type (:type \"class\") nil
      nil)) (reparse-symbol arg-sub-list) [74635 74647])) :type \"int\")
      nil [74628 74651]) (\"EXFUN\" function (:prototype-flag t :arguments
      ((\"\" variable (:type (\"Ffmakunbound\" type (:type \"class\") nil
      nil)) (reparse-symbol arg-sub-list) [74659 74672])) :type \"int\")
      nil [74652 74676]) (\"EXFUN\" function (:prototype-flag t :arguments
      ((\"\" variable (:type (\"Fsymbol_function\" type (:type \"class\")
      nil nil)) (reparse-symbol arg-sub-list) [74684 74701])) :type
      \"int\") nil [74677 74705]) (\"EXFUN\" function (:prototype-flag t
      :arguments ((\"\" variable (:type (\"Fsymbol_plist\" type (:type
      \"class\") nil nil)) (reparse-symbol arg-sub-list) [74713 74727]))
      :type \"int\") nil [74706 74731]) (\"EXFUN\" function
      (:prototype-flag t :arguments ((\"\" variable (:type
      (\"Fsymbol_name\" type (:type \"class\") nil nil)) (reparse-symbol
      arg-sub-list) [74739 74752])) :type \"int\") nil [74732 74756])
      (\"P_\" function (:prototype-flag t :type (\"indirect_function\"
      type (:type \"class\") nil nil)) nil [74776 74813]) (\"EXFUN\"
      function (:prototype-flag t :arguments ((\"\" variable (:type
      (\"Findirect_function\" type (:type \"class\") nil nil))
      (reparse-symbol arg-sub-list) [74821 74840])) :type \"int\") nil
      [74814 74844]) (\"EXFUN\" function (:prototype-flag t :arguments
      ((\"\" variable (:type (\"Ffset\" type (:type \"class\") nil nil))
      (reparse-symbol arg-sub-list) [74852 74858])) :type \"int\") nil
      [74845 74862]) (\"EXFUN\" function (:prototype-flag t :arguments
      ((\"\" variable (:ty") compilation-filter(#<process grep> "4300
      74307])) :type \"int\") nil [74293 74311]) (\"EXFUN\" function
      (:prototype-flag t :arguments ((\"\" variable (:type
      (\"Fchar_or_string_p\" type (:type \"class\") nil nil))
      (reparse-symbol arg-sub-list) [74319 74337])) :type \"int\") nil
      [74312 74341]) (\"EXFUN\" function (:prototype-flag t :arguments
      ((\"\" variable (:type (\"Finteger_or_marker_p\" type (:type
      \"class\") nil nil)) (reparse-symbol arg-sub-list) [74349 74370]))
      :type \"int\") nil [74342 74374]) (\"EXFUN\" function
      (:prototype-flag t :arguments ((\"\" variable (:type (\"Ffloatp\"
      type (:type \"class\") nil nil)) (reparse-symbol arg-sub-list)
      [74382 74390])) :type \"int\") nil [74375 74394]) (\"EXFUN\"
      function (:prototype-flag t :arguments ((\"\" variable (:type
      (\"Finteger_or_floatp\" type (:type \"class\") nil nil))
      (reparse-symbol arg-sub-list) [74402 74421])) :type \"int\") nil
      [74395 74425]) (\"EXFUN\" function (:prototype-flag t :arguments
      ((\"\" variable (:type (\"Finteger_or_float_or_marker_p\" type
      (:type \"class\") nil nil)) (reparse-symbol arg-sub-list) [74433
      74463])) :type \"int\") nil [74426 74467]) (\"EXFUN\" function
      (:prototype-flag t :arguments ((\"\" variable (:type (\"Fcar\" type
      (:type \"class\") nil nil)) (reparse-symbol arg-sub-list) [74476
      74481])) :type \"int\") nil [74469 74485]) (\"EXFUN\" function
      (:prototype-flag t :arguments ((\"\" variable (:type (\"Fcar_safe\"
      type (:type \"class\") nil nil)) (reparse-symbol arg-sub-list)
      [74493 74503])) :type \"int\") nil [74486 74507]) (\"EXFUN\"
      function (:prototype-flag t :arguments ((\"\" variable (:type
      (\"Fcdr\" type (:type \"class\") nil nil)) (reparse-symbol
      arg-sub-list) [74515 74520])) :type \"int\") nil [74508 74524])
      (\"EXFUN\" function (:prototype-flag t :arguments ((\"\" variable
      (:type (\"Fcdr_safe\" type (:type \"class\") nil nil))
      (reparse-symbol arg-sub-list) [74532 74542])) :type \"int\") nil
      [74525 74546]) (\"EXFUN\" function (:prototype-flag t :arguments
      ((\"\" variable (:type (\"Fsetcar\" type (:type \"class\") nil nil))
      (reparse-symbol arg-sub-list) [74554 74562])) :type \"int\") nil
      [74547 74566]) (\"EXFUN\" function (:prototype-flag t :arguments
      ((\"\" variable (:type (\"Fsetcdr\" type (:type \"class\") nil nil))
      (reparse-symbol arg-sub-list) [74574 74582])) :type \"int\") nil
      [74567 74586]) (\"EXFUN\" function (:prototype-flag t :arguments
      ((\"\" variable (:type (\"Fboundp\" type (:type \"class\") nil nil))
      (reparse-symbol arg-sub-list) [74594 74602])) :type \"int\") nil
      [74587 74606]) (\"EXFUN\" function (:prototype-flag t :arguments
      ((\"\" variable (:type (\"Ffboundp\" type (:type \"class\") nil
      nil)) (reparse-symbol arg-sub-list) [74614 74623])) :type \"int\")
      nil [74607 74627]) (\"EXFUN\" function (:prototype-flag t :arguments
      ((\"\" variable (:type (\"Fmakunbound\" type (:type \"class\") nil
      nil)) (reparse-symbol arg-sub-list) [74635 74647])) :type \"int\")
      nil [74628 74651]) (\"EXFUN\" function (:prototype-flag t :arguments
      ((\"\" variable (:type (\"Ffmakunbound\" type (:type \"class\") nil
      nil)) (reparse-symbol arg-sub-list) [74659 74672])) :type \"int\")
      nil [74652 74676]) (\"EXFUN\" function (:prototype-flag t :arguments
      ((\"\" variable (:type (\"Fsymbol_function\" type (:type \"class\")
      nil nil)) (reparse-symbol arg-sub-list) [74684 74701])) :type
      \"int\") nil [74677 74705]) (\"EXFUN\" function (:prototype-flag t
      :arguments ((\"\" variable (:type (\"Fsymbol_plist\" type (:type
      \"class\") nil nil)) (reparse-symbol arg-sub-list) [74713 74727]))
      :type \"int\") nil [74706 74731]) (\"EXFUN\" function
      (:prototype-flag t :arguments ((\"\" variable (:type
      (\"Fsymbol_name\" type (:type \"class\") nil nil)) (reparse-symbol
      arg-sub-list) [74739 74752])) :type \"int\") nil [74732 74756])
      (\"P_\" function (:prototype-flag t :type (\"indirect_function\"
      type (:type \"class\") nil nil)) nil [74776 74813]) (\"EXFUN\"
      function (:prototype-flag t :arguments ((\"\" variable (:type
      (\"Findirect_function\" type (:type \"class\") nil nil))
      (reparse-symbol arg-sub-list) [74821 74840])) :type \"int\") nil
      [74814 74844]) (\"EXFUN\" function (:prototype-flag t :arguments
      ((\"\" variable (:type (\"Ffset\" type (:type \"class\") nil nil))
      (reparse-symbol arg-sub-list) [74852 74858])) :type \"int\") nil
      [74845 74862]) (\"EXFUN\" function (:prototype-flag t :arguments
      ((\"\" variable (:ty")


    In GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600)
     of 2006-03-20 on W2ONE
    X server distributor `Microsoft Corp.', version 5.1.2600
    configured using `configure --with-gcc (3.4) --cflags -Id:/g/include'

    Important settings:
      value of $LC_ALL: nil
      value of $LC_COLLATE: nil
      value of $LC_CTYPE: nil
      value of $LC_MESSAGES: nil
      value of $LC_MONETARY: nil
      value of $LC_NUMERIC: nil
      value of $LC_TIME: nil
      value of $LANG: ENU
      locale-coding-system: cp1252
      default-enable-multibyte-characters: t

    Major mode: Dired by name

    Minor modes in effect:
      encoded-kbd-mode: t
      tooltip-mode: t
      auto-compression-mode: t
      tool-bar-mode: t
      mouse-wheel-mode: t
      menu-bar-mode: t
      file-name-shadow-mode: t
      global-font-lock-mode: t
      font-lock-mode: t
      blink-cursor-mode: t
      unify-8859-on-encoding-mode: t
      utf-translate-cjk-mode: t
      line-number-mode: t

    Recent input:
    <help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
    <help-echo> <help-echo> <help-echo> <menu-bar> <help-menu>
    <report-emacs-bug>

    Recent messages:
    (C:\Emacs-22-2006-03-20\bin\emacs.exe -q --no-site-file
    --debug-init C:\drews-lisp-20)
    Loading encoded-kb...done
    For information about the GNU Project and its goals, type C-h C-p.
    Loading dired...
    Loading regexp-opt...done
    Loading dired...done
    Loading emacsbug...done






reply via email to

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