-
Notifications
You must be signed in to change notification settings - Fork 567
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
SIGSEGV: segmentation violation on fast use of library #957
Comments
Hi @pankajsoni19 |
This is definitely related to ConnMaxLifetime as it occurs just post that. I also tried adding a ping to validate the connection, but that doesn't help either. Ping is successful, but breaks on query for now, I have switched driver to |
@pankajsoni19 thanks. I confirm it's a race condition in a situation when the query is triggered at a time idle connection is being closed. Please see a PR: #958. I added a test case there. I will release a new version with a revert until I figure out these. |
Looks like the connection would be force closed without checking the buffer status in |
Describe the bug
Expected behaviour
Code example
Error log
Configuration
Environment
go.mod >
github.com/ClickHouse/clickhouse-go/v2 v2.8.2
ClickHouse server
ClickHouse Server version:
23.3.1
CREATE TABLE
statements for tables involved:The text was updated successfully, but these errors were encountered: