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

safestack CHECK when build libguestfs 1.50.1 #143

Open
grass-lu opened this issue May 13, 2024 · 5 comments
Open

safestack CHECK when build libguestfs 1.50.1 #143

grass-lu opened this issue May 13, 2024 · 5 comments

Comments

@grass-lu
Copy link

Hi,rpmbuild the libguestfs , and it failed, error message :
supermin: renaming /root/rpmbuild/BUILD/libguestfs-1.50.1/tmp/.guestfs-0/appliance.d.f7xilpzo to /root/rpmbuild/BUILD/libguestfs-1.50.1/tmp/.guestfs-0/appliance.d
libguestfs: finished building supermin appliance
libguestfs: trace: disk_create "/root/rpmbuild/BUILD/libguestfs-1.50.1/tmp/libguestfsf2TJYa/overlay2.qcow2" "qcow2" -1 "backingfile:/root/rpmbuild/BUILD/libguestfs-1.50.1/tmp/.guestfs-0/appliance.d/root"
libguestfs: trace: disk_format "/root/rpmbuild/BUILD/libguestfs-1.50.1/tmp/.guestfs-0/appliance.d/root"
libguestfs: command: run: qemu-img --help | grep -sqE -- '\binfo\b.*-U\b'
libguestfs: command: run: qemu-img
libguestfs: command: run: \ info
libguestfs: command: run: \ -U
libguestfs: command: run: \ --output json
libguestfs: command: run: \ /root/rpmbuild/BUILD/libguestfs-1.50.1/tmp/.guestfs-0/appliance.d/root
safestack CHECK failed: /builddir/build/BUILD/compiler-rt-17.0.6.src/lib/safestack/safestack.cpp:95 MAP_FAILED != addr
libguestfs: error: qemu-img info: /root/rpmbuild/BUILD/libguestfs-1.50.1/tmp/.guestfs-0/appliance.d/root: qemu-img info killed by signal 6 (Aborted), see debug messages above
libguestfs: trace: disk_format = NULL (error)
libguestfs: trace: disk_create = -1 (error)

1. libguestfs: libguestfs-1.50.1-7.el9.src.rpm

  1. command : rpmbuild -bb ./SPECS/libguestfs.spec -v
  2. libguestfs source link : https://mirrors.tuna.tsinghua.edu.cn/centos-stream/9-stream/AppStream/source/tree/Packages/libguestfs-1.50.1-7.el9.src.rpm

the full message

@rwmjones
Copy link
Member

This seems to be a bug in qemu-img? Does qemu-img work generally?

@grass-lu
Copy link
Author

image

@rwmjones
Copy link
Member

Can you try the same command on a .qcow2 file. That would be more realistic.

@grass-lu
Copy link
Author

image

@rwmjones
Copy link
Member

I don't know then, but it's a crash that happens in qemu-img for some reason, not in libguestfs.

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

2 participants