2 Oct 2005 20:17
Re: 11.81; 11.81 lock-up
Ralf Angeli <angeli <at> iwi.uni-sb.de>
2005-10-02 18:17:57 GMT
2005-10-02 18:17:57 GMT
* Jan-Ake Larsson (2005-09-29) writes:
> When editing a large(ish) file, pressing C-k on a row with a preview
> (?) caused a lockup. Pressing C-g will return the cursor. This has
> occurred in several files. After 'quit any command will cause a
> lockup. Luck that C-x C-s saves before the lockup occurs. Reloading
> the file into the same buffer resets.
Cool! You found a way to let the kernel kill XEmacs. (c: If you
leave it running instead of typing `C-g' it will eventually suck up
all memory and get killed. (At least in my case where I tested it
with a version of circ.tex the content of which I copied and pasted
several times into the buffer.) It is related to stuff like that:
(let (arg pos)
(dotimes (i 100000)
(setq arg (concat arg "foo\n")))
(while (setq pos (string-match "\\s<.*[\n\r][ \t]*" arg pos))
(setq arg (replace-match "" t t arg 0))))
But that's only a symptom ...
> Shortened backtrace:
>
> Debugger entered--Lisp error: (quit)
> preview-canonical-spaces("....")
> mapcar(preview-canonical-spaces ("...." "$\\pact i$"))
> preview-relaxed-string=("...." "$\\pact i$")
> byte-code("..." [text ov extent-object buffer-substring-no-properties extent-start-position
extent-end-position 0 preview-delete extent-property preview-state disabled
(Continue reading)

RSS Feed