hashicorp / packer

Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.
http://www.packer.io
Other
15.03k stars 3.32k forks source link

Crash when building virtualbox-iso with HCL2 #8779

Closed kylelaker closed 4 years ago

kylelaker commented 4 years ago

Overview of the Issue

When I try to build, I get a crash dump and packer asked me to open an issue.

Reproduction Steps

Run the following in a directory with the below Buildfile and packer executable.

packer build .

Packer version

$ ./packer version
Packer v1.5.4

Simplified Packer Buildfile

https://gist.github.com/kylelaker/81bf6e470763b9e942e5479c573d98a6

Operating system and Environment details

ArchLinux AMD64 using packer downloaded from https://packer.io/downloads.html

Log Fragments and crash.log files

https://gist.github.com/kylelaker/560865c2f02500b8b1bb0d75a47f5da3

kylelaker commented 4 years ago

This might be a duplicate of #8730?

azr commented 4 years ago

Hey @kylelaker, yes this is the same cause and I am currently working on fixing this; hopefully this will be solved soon ! To 'fix this' you can give these variables a default value or set it in the command line. I'm going to close this issue in favor of #8730.

ghost commented 4 years ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

ghost commented 4 years ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.