unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Sven Joachim <svenjoac@gmx.de>
To: 11109@debbugs.gnu.org
Subject: bug#11109: 24.0.94; vc-git-state: Stack overflow in regexp matcher
Date: Wed, 28 Mar 2012 09:41:40 +0200	[thread overview]
Message-ID: <87ehsdw4sr.fsf@turtle.gmx.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 5006 bytes --]

I'm getting frequent "Stack overflow in regexp matcher" errors when
visiting files under git version control with uncommitted changes.  This
started to happen rather recently.

This is an excerpt from the backtrace with the second line truncated
since it is *very* long.  Full backtrace is attached at the end of this
mail.

,----
| Debugger entered--Lisp error: (error "Stack overflow in regexp matcher")
|   string-match(":[0-7]\\{6\\} [0-7]\\{6\\} [0-9a-f]\\{40\\} [0-9a-f]\\{40\\} \\([ADMUT]\\).[^.]+.\\(\\(?:.\\|\n\\)*\\)\\'" ":100644 100644 04163e01d122e6a0b2e6172b91c7bdc69e496f25 0000000000000000000000000000000000000000 [...]
|   vc-git-state("/usr/local/src/deb-src/ncurses/ncurses/misc/terminfo.src")
|   apply(vc-git-state "/usr/local/src/deb-src/ncurses/ncurses/misc/terminfo.src")
|   vc-call-backend(Git state "/usr/local/src/deb-src/ncurses/ncurses/misc/terminfo.src")
|   vc-default-state-heuristic(Git "/usr/local/src/deb-src/ncurses/ncurses/misc/terminfo.src")
|   apply(vc-default-state-heuristic Git "/usr/local/src/deb-src/ncurses/ncurses/misc/terminfo.src")
|   vc-call-backend(Git state-heuristic "/usr/local/src/deb-src/ncurses/ncurses/misc/terminfo.src")
|   vc-state-refresh("/usr/local/src/deb-src/ncurses/ncurses/misc/terminfo.src" Git)
|   vc-state("/usr/local/src/deb-src/ncurses/ncurses/misc/terminfo.src" Git)
|   vc-default-mode-line-string(Git "/usr/local/src/deb-src/ncurses/ncurses/misc/terminfo.src")
|   vc-git-mode-line-string("/usr/local/src/deb-src/ncurses/ncurses/misc/terminfo.src")
|   apply(vc-git-mode-line-string "/usr/local/src/deb-src/ncurses/ncurses/misc/terminfo.src")
|   vc-call-backend(Git mode-line-string "/usr/local/src/deb-src/ncurses/ncurses/misc/terminfo.src")
|   vc-mode-line("/usr/local/src/deb-src/ncurses/ncurses/misc/terminfo.src" Git)
|   vc-find-file-hook()
|   run-hooks(find-file-hook)
|   after-find-file(nil t)
|   find-file-noselect-1(#<buffer terminfo.src> "/usr/local/src/deb-src/ncurses/ncurses/misc/terminfo.src" nil nil "/usr/local/src/deb-src/ncurses/ncurses/misc/terminfo.src" (665028 2055))
|   find-file-noselect("/usr/local/src/deb-src/ncurses/ncurses/misc/terminfo.src" nil nil t)
|   find-file("/usr/local/src/deb-src/ncurses/ncurses/misc/terminfo.src" t)
|   call-interactively(find-file nil nil)
`----


In GNU Emacs 24.0.94.2 (i486-pc-linux-gnu, GTK+ Version 2.24.10)
 of 2012-03-28 on turtle
Windowing system distributor `The X.Org Foundation', version 11.0.11200000
Configured using:
 `configure '--build=i486-pc-linux-gnu' '--without-gconf'
 'build_alias=i486-pc-linux-gnu''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  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: de_DE.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Debugger

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-x C-f / u s r <tab> l o c <tab> s r <tab> d e b <tab> 
n c <tab> / n c <tab> / m i s <tab> t e r m <tab> <return> 
C-x C-b C-x o <down> <down> d x M-x t o g g l e - d 
e b <tab> e r r <tab> <return> C-x C-f <up> <return> 
<up> C-SPC <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
M-w M-x r e p o r t - e m <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Loading vc-git...done
vc-git-state: Stack overflow in regexp matcher
Debug on Error enabled globally
Entering debugger...
Mark set

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils help-mode easymenu view debug cus-start
cus-load vc-git time-date tooltip ediff-hook vc-hooks lisp-float-type
mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs
button faces cus-face files text-properties overlay sha1 md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty emacs)


[-- Attachment #2: Full backtrace --]
[-- Type: application/octet-stream, Size: 17335 bytes --]

             reply	other threads:[~2012-03-28  7:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-28  7:41 Sven Joachim [this message]
2012-03-28  8:36 ` bug#11109: 24.0.94; vc-git-state: Stack overflow in regexp matcher Andreas Schwab
2012-03-28  8:49   ` Sven Joachim
2012-03-28 10:19     ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ehsdw4sr.fsf@turtle.gmx.de \
    --to=svenjoac@gmx.de \
    --cc=11109@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).