Fix error in "extractAllGroups" function by alexey-milovidov · Pull Request #14889 · ClickHouse/ClickHouse · GitHub
Skip to content

Fix error in "extractAllGroups" function#14889

Merged
alexey-milovidov merged 1 commit into
masterfrom
extract-all-groups-empty-match
Sep 17, 2020
Merged

Fix error in "extractAllGroups" function#14889
alexey-milovidov merged 1 commit into
masterfrom
extract-all-groups-empty-match

Conversation

@alexey-milovidov

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Bug Fix

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fix the issue when some invocations of extractAllGroups function may trigger "Memory limit exceeded" error. This fixes #13383

@robot-clickhouse robot-clickhouse added the pr-bugfix Pull request with bugfix, not backported by default label Sep 16, 2020
@alesapin alesapin self-assigned this Sep 17, 2020
@alesapin

Copy link
Copy Markdown
Member

@akuzm

akuzm commented Sep 17, 2020

Copy link
Copy Markdown
Contributor

AST Fuzzer:

 56 Aborted                 (core dumped) ./clickhouse-server --config-file db/config.xml -- --path db 2>&1

But no errors in the server log and in the fuzzer log.

No errors would be bad, better investigate. But I found the error in server log:

2020.09.17 03:44:13.654828 [ 71 ] {} <Trace> SystemLog (system.trace_log): Flushing system log, 24 entries to flush
<jemalloc>: ../contrib/jemalloc/include/jemalloc/internal/arena_inlines_a.h:45: Failed assertion: "newarena != NULL"
2020.09.17 03:44:13.657126 [ 63 ] {} <Trace> BaseDaemon: Received signal 6

It also looks very bad...

@akuzm

akuzm commented Sep 17, 2020

Copy link
Copy Markdown
Contributor

@alexey-milovidov alexey-milovidov merged commit 2413caa into master Sep 17, 2020
@alexey-milovidov alexey-milovidov deleted the extract-all-groups-empty-match branch September 17, 2020 13:02
alexey-milovidov added a commit that referenced this pull request Sep 17, 2020
Backport #14889 to 20.7: Fix error in "extractAllGroups" function
alexey-milovidov added a commit that referenced this pull request Sep 17, 2020
Backport #14889 to 20.8: Fix error in "extractAllGroups" function
alexey-milovidov added a commit that referenced this pull request Sep 17, 2020
Backport #14889 to 20.9: Fix error in "extractAllGroups" function
alexey-milovidov added a commit that referenced this pull request Sep 17, 2020
Backport #14889 to 20.6: Fix error in "extractAllGroups" function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-docs-needed pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

extactAllGroups[Horizonta|Vertical] stuck and high memory usage with specific regexp expression

5 participants