Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

METABUG - regex stack overflow issues #6862

Closed
p5pRT opened this issue Oct 23, 2003 · 6 comments
Closed

METABUG - regex stack overflow issues #6862

p5pRT opened this issue Oct 23, 2003 · 6 comments

Comments

@p5pRT
Copy link

p5pRT commented Oct 23, 2003

Migrated from rt.perl.org#24274 (status was 'resolved')

Searchable as RT24274$

@p5pRT
Copy link
Author

p5pRT commented Oct 23, 2003

From @rspier

This is a meta-bug. It's purpose is to be linked to/from other
tickets of the same type for tracking purposes. (Via "DependsOn")

This ticket is for bugs related to the overflow of the OS stack during
recursion in the perl regex engine.

Generally they can be "worked around" by increasing the stack size by
using ulimit (bash/sh/ksh/zsh) or limit (csh/tcsh).

The long term plan is to rewrite the regex engine to not use the stack
for recursion.

@p5pRT
Copy link
Author

p5pRT commented Mar 29, 2006

From @smpeters

[rspier@​pobox.com - Wed Oct 22 21​:35​:51 2003]​:

This is a meta-bug. It's purpose is to be linked to/from other
tickets of the same type for tracking purposes. (Via "DependsOn")

This ticket is for bugs related to the overflow of the OS stack during
recursion in the perl regex engine.

Generally they can be "worked around" by increasing the stack size by
using ulimit (bash/sh/ksh/zsh) or limit (csh/tcsh).

The long term plan is to rewrite the regex engine to not use the stack
for recursion.

All other tickets depending on this ticket have been resolved.

@p5pRT
Copy link
Author

p5pRT commented Mar 29, 2006

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Mar 29, 2006

@smpeters - Status changed from 'open' to 'resolved'

@p5pRT p5pRT closed this as completed Mar 29, 2006
@p5pRT
Copy link
Author

p5pRT commented Mar 29, 2006

From @hvds

"Steve Peters via RT" <perlbug-followup@​perl.org> wrote​:
:All other tickets depending on this ticket have been resolved.

Cool, but expect to find many more that weren't linked to the metabug.

Hugo

@p5pRT
Copy link
Author

p5pRT commented Mar 29, 2006

From @smpeters

On Wed, Mar 29, 2006 at 11​:56​:35AM +0100, hv@​crypt.org wrote​:

"Steve Peters via RT" <perlbug-followup@​perl.org> wrote​:
:All other tickets depending on this ticket have been resolved.

Cool, but expect to find many more that weren't linked to the metabug.

Yes, I'm looking into the additional tickets related to this problem. The
nice thing to notice, so far, is that there seems to have been an
unintended optimization. I haven't benchmarked anything before or after
the change, but it certainly seems that blowing the stack was quite time
consuming :)

Steve Peters
steve@​fisharerojo.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant