You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Initialize a session from chdb-go
Set up a listener for the SIGINT signal
Run the application
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.
Hi @xantinium, thank you for your report. The current implementation of libchdb.so intercepts SIGINT and SIGQUIT signals by default, which can interfere with signal handling in Go programs. This behavior will be addressed in a future update to libchdb.so.
see chdb-io/chdb#321
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:
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
The text was updated successfully, but these errors were encountered: