Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected EOF in qemu builder causes crash in Packer 0.8.0 #2311

Closed
tylert opened this issue Jun 24, 2015 · 2 comments · Fixed by #2313
Closed

Unexpected EOF in qemu builder causes crash in Packer 0.8.0 #2311

tylert opened this issue Jun 24, 2015 · 2 comments · Fixed by #2313

Comments

@tylert
Copy link
Contributor

tylert commented Jun 24, 2015

My template works fine with Packer 0.7.5 but crashes with 0.8.0.

https://github.com/tylert/packer-build/blob/master/debian/jessie/base-64.json

On Mac OS X 10.10.3, "packer validate" causes a crash (no qemu binary there to test further). On Debian 8.1.0 for amd64, "packer validate" and "packer build -only=qemu" both cause the same crash.

Template validation failed. Errors are shown below.

Errors validating build 'qemu'. unexpected EOF


!!!!!!!!!!!!!!!!!!!!!!!!!!! PACKER CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!

Packer crashed! This is always indicative of a bug within Packer.
A crash log has been placed at "crash.log" relative to your current
working directory. It would be immensely helpful if you could please
report the crash with Packer[1] so that we can fix this.

[1]: https://github.com/mitchellh/packer/issues

!!!!!!!!!!!!!!!!!!!!!!!!!!! PACKER CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!

Contents of crash.log:
https://gist.github.com/tylert/8f6c157bf3d09c09cf9e

Please confirm this is not simply a "User Too Stupid Error".

@cbednarski
Copy link
Contributor

@tylert A crash is definitely our bad. Thanks for the report! The crash log and template are really helpful.

@mitchellh
Copy link
Contributor

Looks like the crash is actually coming from the compress post-processor. Retagging.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants