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

Handle PCRE2 exception: match limit exceeded #113

Closed
Morantron opened this issue Jan 15, 2024 · 3 comments
Closed

Handle PCRE2 exception: match limit exceeded #113

Morantron opened this issue Jan 15, 2024 · 3 comments

Comments

@Morantron
Copy link
Owner

Originally pointed out here #112 (comment)

It seems to be a PCRE2 exception, although I still don't know under which circumstances it's raised.

@Morantron
Copy link
Owner Author

@NeilHanlon can you share the contents of the pane that triggered the exception? You mentioned it crashed on empty panes right? I think it could be related to characters in the shell prompt.

  • You can open a new pane and figure out the pane id by running echo $TMUX_PANE
  • Clear screen in that pane.
  • In another shell or pane run tmux capture-pane -J -p -t <value-of-tmux-pane> > /tmp/pane-contents

@NeilHanlon
Copy link

So, I went to try and reproduce this... and I can't.

I rebooted over the weekend, so, I guess it is possible that has something to do with it.

I've tried now in a few different panes with varied histories, and I can't seem to reproduce it, so, I think it's safe to close this for now.

Sorry for the noise, and thank you for your work on Fingers :)

@Morantron
Copy link
Owner Author

No prob! Thank you! Let me know if it happens to you again

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

No branches or pull requests

2 participants