all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#9234: 23.3; Long lines in compilation output cause stack overflow in regexp matcher
@ 2011-08-04  0:24 Gareth Rees
  2011-09-11  4:17 ` Lars Magne Ingebrigtsen
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Gareth Rees @ 2011-08-04  0:24 UTC (permalink / raw)
  To: 9234

In a fresh emacs -Q, type

    M-x compile RET for X in {1..100000}; do echo -n 1; done RET

The following message appears in the echo area:

    error in process filter: Stack overflow in regexp matcher

With debug-on-error turned on, I get the following backtrace:

Debugger entered--Lisp error: (error "Stack overflow in regexp matcher")
  re-search-forward("^ *\\([^ \n]+\\)(\\([0-9]+\\)): \\(?:error\\|warnin\\(g\\)\\|remar\\(k\\)\\)" 34233 t)
  font-lock-fontify-keywords-region(194 34233 nil)
  font-lock-default-fontify-region(33209 34233 nil)
  font-lock-fontify-region(33209 34233)
  font-lock-after-change-function(33209 34233 0)
  compilation-filter(#<process compilation> "1111111...1111111")

-- 
Gareth Rees

In GNU Emacs 23.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.35)
of 2011-03-10 on black.porkrind.org
Windowing system distributor `Apple', version 10.3.1138
configured using `configure  '--host=x86_64-apple-darwin' '--build=i686-apple-darwin' '--with-ns' 'build_alias=i686-apple-darwin' 'host_alias=x86_64-apple-darwin' 'CC=gcc -mmacosx-version-min=10.5''





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#9234: 23.3; Long lines in compilation output cause stack overflow in regexp matcher
  2011-08-04  0:24 bug#9234: 23.3; Long lines in compilation output cause stack overflow in regexp matcher Gareth Rees
@ 2011-09-11  4:17 ` Lars Magne Ingebrigtsen
  2014-02-06  1:33   ` Lars Ingebrigtsen
  2014-02-06  9:32 ` Gareth Rees
  2014-02-14  2:11 ` bug#9234: Still reproducible? Christian Henz
  2 siblings, 1 reply; 5+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-11  4:17 UTC (permalink / raw)
  To: Gareth Rees; +Cc: 9234

Gareth Rees <gdr@garethrees.org> writes:

> In a fresh emacs -Q, type
>
>     M-x compile RET for X in {1..100000}; do echo -n 1; done RET
>
> The following message appears in the echo area:
>
>     error in process filter: Stack overflow in regexp matcher
>
> With debug-on-error turned on, I get the following backtrace:
>
> Debugger entered--Lisp error: (error "Stack overflow in regexp matcher")
>   re-search-forward("^ *\\([^ \n]+\\)(\\([0-9]+\\)): \\(?:error\\|warnin\\(g\\)\\|remar\\(k\\)\\)" 34233 t)

I'm unable to reproduce this bug in Emacs 24...

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#9234: 23.3; Long lines in compilation output cause stack overflow in regexp matcher
  2011-09-11  4:17 ` Lars Magne Ingebrigtsen
@ 2014-02-06  1:33   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2014-02-06  1:33 UTC (permalink / raw)
  To: Gareth Rees; +Cc: 9234

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Gareth Rees <gdr@garethrees.org> writes:
>
>> In a fresh emacs -Q, type
>>
>>     M-x compile RET for X in {1..100000}; do echo -n 1; done RET
>>
>> The following message appears in the echo area:
>>
>>     error in process filter: Stack overflow in regexp matcher
>>
>> With debug-on-error turned on, I get the following backtrace:
>>
>> Debugger entered--Lisp error: (error "Stack overflow in regexp matcher")
>>   re-search-forward("^ *\\([^ \n]+\\)(\\([0-9]+\\)): \\(?:error\\|warnin\\(g\\)\\|remar\\(k\\)\\)" 34233 t)
>
> I'm unable to reproduce this bug in Emacs 24...

This bug report was previously marked "unreproducible" two years ago, so
I'm closing this report.  If this is still a problem, please reopen the
bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#9234: 23.3; Long lines in compilation output cause stack overflow in regexp matcher
  2011-08-04  0:24 bug#9234: 23.3; Long lines in compilation output cause stack overflow in regexp matcher Gareth Rees
  2011-09-11  4:17 ` Lars Magne Ingebrigtsen
@ 2014-02-06  9:32 ` Gareth Rees
  2014-02-14  2:11 ` bug#9234: Still reproducible? Christian Henz
  2 siblings, 0 replies; 5+ messages in thread
From: Gareth Rees @ 2014-02-06  9:32 UTC (permalink / raw)
  To: 9234

I can’t reproduce this in 24.3.1, so it looks fixed. Thank you!

-- 
Gareth Rees






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#9234: Still reproducible?
  2011-08-04  0:24 bug#9234: 23.3; Long lines in compilation output cause stack overflow in regexp matcher Gareth Rees
  2011-09-11  4:17 ` Lars Magne Ingebrigtsen
  2014-02-06  9:32 ` Gareth Rees
@ 2014-02-14  2:11 ` Christian Henz
  2 siblings, 0 replies; 5+ messages in thread
From: Christian Henz @ 2014-02-14  2:11 UTC (permalink / raw)
  To: 9234, gdr

Not sure if this applies, but executing the test case, I can still trigger stack overflow errors in 24.3.1:

    Error during redisplay: (jit-lock-function 155) signaled (error "Stack overflow in regexp matcher")
 
Not sure if this is the same error, as I could not get the debugger to catch this after setting debug-on-error.

GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu) of 2014-02-07 on bort





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-02-14  2:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-04  0:24 bug#9234: 23.3; Long lines in compilation output cause stack overflow in regexp matcher Gareth Rees
2011-09-11  4:17 ` Lars Magne Ingebrigtsen
2014-02-06  1:33   ` Lars Ingebrigtsen
2014-02-06  9:32 ` Gareth Rees
2014-02-14  2:11 ` bug#9234: Still reproducible? Christian Henz

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.