steampipe icon indicating copy to clipboard operation
steampipe copied to clipboard

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

Open kartik7153 opened this issue 1 year ago • 5 comments

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

kartik7153 avatar Jan 30 '24 05:01 kartik7153

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

kaidaguerre avatar Jan 30 '24 14:01 kaidaguerre

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

Thanks,

og-stevelee avatar Mar 08 '24 16:03 og-stevelee

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

jeffreymp17 avatar May 06 '24 23:05 jeffreymp17

@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

kaidaguerre avatar Jun 06 '24 10:06 kaidaguerre

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

jeffreymp17 avatar Jun 25 '24 03:06 jeffreymp17

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] avatar Aug 24 '24 08:08 github-actions[bot]