turbot / steampipe

Zero-ETL, infinite possibilities. Live query APIs, code & more with SQL. No DB required.
https://steampipe.io
GNU Affero General Public License v3.0
7.02k stars 279 forks source link

Intermittently getting runtime error: invalid memory address or nil pointer dereference while using AWS plugin #4097

Closed kartik7153 closed 2 months ago

kartik7153 commented 10 months ago

Describe the bug We have been getting Intermittently nil pointer dereference. It works on the first execution of the query and when I try to execute it second time it fails.

Steampipe version (steampipe -v) Steampipe v0.21.4 hub.steampipe.io/plugins/turbot/aws@latest | 0.125.0

To reproduce

  1. Run the steampipe server.
  2. Execute the query - steampipe query "select * from lsq_dev.aws_ec2_launch_template"
  3. You will get correct results
  4. Execute it again - steampipe query "select * from lsq_dev.aws_ec2_launch_template"
  5. It fails with nil pointer dereference

Expected behavior Ideally it should have returned back with the same result.

Additional context correct-execution-logs.txt error-execution-logs.txt

kaidaguerre commented 10 months ago

thanks @kartik7153 - I've reproduced, looking for a fix

og-stevelee commented 9 months ago

@kaidaguerre , Is there an update with this issue? This is happening on the terraform_resource as well.

Thanks,

jeffreymp17 commented 7 months ago

Hi @kaidaguerre any update on this one? we're having issues on this using Azure plugin getting the same error

kaidaguerre commented 6 months ago

@jeffreymp17 apologies for delay on this one. Are you still seeing these issues? I cannot reproduce with steampipe v0.23.1 and aws v0.138.0

jeffreymp17 commented 5 months ago

Hi @kaidaguerre, I'm having the issue with some gcp queries as well I created this issue with the example queries https://github.com/turbot/steampipe/issues/4279

github-actions[bot] commented 3 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] commented 2 months ago

This issue was closed because it has been stalled for 90 days with no activity.