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

qemu-ga: segmentation fault on VM shutdown from host #25209

Open
val-kulkov opened this issue Oct 27, 2024 · 0 comments
Open

qemu-ga: segmentation fault on VM shutdown from host #25209

val-kulkov opened this issue Oct 27, 2024 · 0 comments

Comments

@val-kulkov
Copy link
Contributor

Maintainer: @yousong
Environment: x86_64, generic, OpenWrt SNAPSHOT r27910-1dc86af356
Package version:
qemu-firmware-seabios - 9.1.0-r2
qemu-ga - 9.1.0-r2

Description:
A host-initiated shutdown of a VM with OpenWrt never completes. The kvm process running on the host has to be manually killed for the VM to stop.

qemu-ga running in the foreground on the guest OpenWrt machine produces the following on stdout:

...
1730056540.243011: debug: received EOF
1730056540.343262: debug: read data, count: 109, data: {"arguments":{"id":3042929038},"execute":"guest-sync-delimited"}
{"arguments":{},"execute":"guest-shutdown"}

1730056540.343402: debug: process_event: called
1730056540.343427: debug: processing command
1730056540.343492: debug: sending data, count: 24
1730056540.343639: debug: process_event: called
1730056540.343680: debug: processing command
1730056540.343773: debug: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead
Segmentation fault

I believe the second last line in the output above gives a hint about what might be going wrong.

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

No branches or pull requests

1 participant