osquery / osquery-go

Go bindings for osquery
MIT License
388 stars 79 forks source link

quitting osqueryi with an extension running freezes both osqueryi and the extension #22

Closed groob closed 6 years ago

groob commented 7 years ago

Repro:

1) start osqueryi with

sudo osqueryi --nodisable_extensions

2) run a table extension 3) use CTRL+C to quit osqueryi

Both osqueryi and the extension become unresponsive. Possible bug with my handling of signal in server.Run() ? Do we need to trap a specific signal?

quiting the extension while osqueryi is still running works fine.

groob commented 6 years ago

I'm no longer seeing this happening.