turbot / steampipe-plugin-sdk

Steampipe Plugin SDK is a simple abstraction layer to write a Steampipe plugin. Plugins automatically work across all engine types including the Steampipe CLI, Postgres FDW, SQLite extension and the export CLI.
https://hub.steampipe.io/plugins
Apache License 2.0
33 stars 16 forks source link

All queries hang after a specific crash on a prior query #332

Closed e-gineer closed 2 years ago

e-gineer commented 2 years ago

With the specific setup and configuration below I get a runtime error (which seems to be an issue with the plugin).

But, my concern in this issue, is that after I get that error all future queries to the plugin hang:

~/src/steampipe-mod-aws-compliance $ steampipe --version
steampipe version 0.14.6
~/src/steampipe-mod-aws-compliance $ steampipe plugin list | grep aws
| hub.steampipe.io/plugins/turbot/aws@latest         | 0.60.0  | aws         |
~/src/steampipe-mod-aws-compliance $ steampipe query
Welcome to Steampipe v0.14.6
For more information, type .help
> select
  arn as resource,
  inline_policies,
  attached_policy_arns,
  account_id
from
  aws_iam_user;
Error: runtime error: invalid memory address or nil pointer dereference (SQLSTATE HV000)
> select * from aws_account
⠇ Loading results...
ctrl78 commented 2 years ago

Same for me with exact version

kaidaguerre commented 2 years ago

Looking into it