Skip to content

Unexpected behaviour of process interrupting when using chdb #24

Closed
@xantinium

Description

@xantinium

Hi there!

Encountered an issue: when using chdb-go, the process cannot terminate successfully upon receiving a stop signal. It appears that the library intercepts the signal, preventing the Go program from receiving it.

Steps to reproduce:

  1. Initialize a session from chdb-go
  2. Set up a listener for the SIGINT signal
  3. Run the application
  4. Send a stop signal (Ctrl+C)

Expected behavior: the program receives the stop signal and terminates successfully.
Actual behavior: the program hangs / the program terminates prematurely without receiving the stop signal.

Minimal repro: https://github.com/xantinium/chdb-stop-sig

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions