emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Stackoverflow in regexp matcher


From: Loris Bennett
Subject: Re: [O] Stackoverflow in regexp matcher
Date: Wed, 03 Feb 2016 08:36:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Hi Nick,

Nick Dokos <address@hidden> writes:

> "Loris Bennett" <address@hidden> writes:
>
>> Hi,
>>
>> On refreshing the #+TAGS via 'C-c C-c' I'm am getting the following error
>>
>> Stackoverflow in regexp matcher
>>
>
> Not "Stack overflow in ..."? I searched for Stackoverflow both in the
> org-mode directory and the emacs source directory (but I'm not up to
> date with either so I might have missed a recent change): I didn't find
> anything.

Sorry, "Stack overflow".

> I found the similar
>
> ./src/search.c:  error ("Stack overflow in regexp matcher");
>
>> I have tried bisecting the file, but the problem does not seem to be
>> caused by a specific part.  Instead it just seems to occur at a fairly
>> random point once the file becomes long enough.
>>
>> The file is a beamer presentation with 1375 lines.  If I add
>>
>> * 0123456789
>>
>> to the end of the file (or insert it at some other point), I can still
>> refresh.  If I add
>>
>> * 0123456789
>> 0
>>
>> I get "Stackoverflow in regexp matcher".
>>
>> Does anyone have any ideas how to proceed here?
>>
>
> M-x toggle-debug-on-error RET
>
> try to reproduce and send the backtrace (if any).

I got the following error when I opened the file this morning:

File mode specification error: (error "Stack overflow in regexp matcher")

I then toggled debugging and did 'C-c C-c' on the #+TAGS line and got
the following backtrace:

Debugger entered--Lisp error: (error "Stack overflow in regexp matcher")
  re-search-forward("^[^%]*\\\\usepackage.*{biblatex}" nil t)
  reftex-using-biblatex-p()
  reftex-locate-bibliography-files("/home/loris/git/doc.git/")
  byte-code("\306\307  
#\211\204\310!\211\203\311!\n\204%\312D\fB\313\314\315\"\210\212\316\317\"\210\320\n\321=?\"address@hidden
 \322D\fB\323 
A\324\216\325B!\210\315C\212\214~\210\326b\210\327D\315\321#\203\272\326\225\203\260E\203\242\330\331!\331\332O\333\230\204\242\334\335!\203\236\334\336!\203\236\337
 F\340\216\335 *E\235\206\232\337 F\341\216\336 
*E\235?\202\237\321\203U\342\330\326!G#\fB\202U\343\225\203\376\331\224G`Sf\344=\203\304\345u\210H!\211I\203U\346I8JKJ^KJKU\203\362\316\347\350JL\"@\351I8#\210I\fBIM\202U\332\225\203\330\332!N\352\315\353\354O\"\"\204U\355N\f
      
#\202U\356\225\2030\357\315\321\"address@hidden)Q\fB\202U\363\225\203\263\212\330\363!T\363\225b\210\337
 F\364\216\365\366T!!*U\367TV\"address@hidden 
\210\342UG\315\211%\211X\fB-\202U\371\372!\210\202U\373  address@hidden" [file 
master-dir file-found buf docstruct reftex-keep-temporary-buffers 
reftex-locate-file "tex" reftex-get-buffer-visiting buffer-file-name file-error 
throw exit nil message "Scanning file %s" reftex-get-file-buffer-force t bof 
syntax-table ((set-syntax-table saved-syntax)) set-syntax-table 1 
re-search-forward reftex-match-string 0 7 "label{" fboundp TeX-current-macro 
LaTeX-current-environment match-data ((byte-code "\301\302\"\207" 
[save-match-data-internal set-match-data evaporate] 3)) ((byte-code 
"\301\302\"\207" [save-match-data-internal set-match-data evaporate] 3)) 
reftex-label-info 3 92 -1 5 "Scanning %s %s ..." rassoc 6 delq mapcar #[(x) 
"\302 \"\207" [x include-file string-match] 3] reftex-parse-from-file 9 
reftex-init-section-numbers appendix 10 ...] 7)
  reftex-parse-from-file("/home/loris/git/doc.git/hpc-workshop.org" nil 
"/home/loris/git/doc.git/")
  reftex-do-parse(1 nil)
  reftex-access-scan-info((16))
  reftex-parse-all()
  (and (buffer-file-name) (file-exists-p (buffer-file-name)) (setq TeX-master 
t) (reftex-parse-all))
  org-mode-reftex-setup()
  run-hooks(change-major-mode-after-body-hook text-mode-hook outline-mode-hook 
org-mode-hook)
  apply(run-hooks (change-major-mode-after-body-hook text-mode-hook 
outline-mode-hook org-mode-hook))
  run-mode-hooks(org-mode-hook)
  org-mode()
  org-mode-restart()
  org-ctrl-c-ctrl-c(nil)
  call-interactively(org-ctrl-c-ctrl-c nil nil)
  command-execute(org-ctrl-c-ctrl-c)

Cheers,

Loris

-- 
This signature is currently under construction.




reply via email to

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