qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: srange crash in virtio-gpu


From: Daniel P . Berrangé
Subject: Re: srange crash in virtio-gpu
Date: Thu, 24 Sep 2020 11:48:25 +0100
User-agent: Mutt/1.14.6 (2020-07-11)

On Thu, Sep 24, 2020 at 12:35:06PM +0200, Christian Borntraeger wrote:
> Gerd,
> 
> with current master build via a slightly fixed up fedora spec file I do get a 
> crash in virtio-gpu
> when libvirt queries the qemu. 
> I can trigger that also via command line
> 
> $ /usr/bin/qemu-system-s390x -device virtio-gpu-pci,help
> qemu-system-s390x: -device virtio-gpu-pci,help: missing object type 
> 'virtio-gpu-device'
> Aborted (core dumped)
> $ /usr/bin/qemu-system-s390x -device virtio-gpu-ccw,help
> qemu-system-s390x: -device virtio-gpu-ccw,help: missing object type 
> 'virtio-gpu-device'
> Aborted (core dumped)
> 
> Since I cannot reproduce the same when I build it without the spec file this 
> must
> be something configuration specific.

The Fedora spec builds using  --enable-modules, and the error message
shows that you don't have the .so for virtio-gpu on disk.

> The call trace is:
> 
> (gdb) bt
> #0  0x000003ff9e349026 in raise () at /lib64/libc.so.6
> #1  0x000003ff9e32b162 in abort () at /lib64/libc.so.6
> #2  0x000002aa274abfca in object_initialize (data=<optimized out>, 
> size=<optimized out>, typename=0x2aa2754904e "virtio-gpu-device") at 
> ../qom/object.c:531

This abort is evil though

We need this to get into the "Device '<blah>' not found"  code path
to report a nice error.


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




reply via email to

[Prev in Thread] Current Thread [Next in Thread]