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

Running a query containing the REGEXP function with an invalid pattern breaks #307

Closed
se7entyse7en opened this issue Jan 23, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@se7entyse7en
Copy link
Contributor

If the query contains the REGEXP function and the pattern is invalid, then the server stops working and doesn't recover anymore. At the first run it answers:

screenshot 2019-01-23 at 20 30 06

From the second run and on it answers:

screenshot 2019-01-23 at 20 29 29

From the log it seems that the bug is caused by how the wrong pattern is handled in gitbase. Here's the log:

screenshot 2019-01-23 at 20 32 26

@se7entyse7en se7entyse7en added the bug Something isn't working label Jan 23, 2019
@smacker
Copy link
Contributor

smacker commented Jan 23, 2019

it's a panic in gitbase. You better open an issue in https://github.com/src-d/gitbase
Thanks!

@carlosms
Copy link
Contributor

Closing since this is already tracked in https://github.com/src-d/gitbase/issues/682

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants