[Spice-devel] spice crashes
Klaus Hochlehnert
Mailings at kh-dev.de
Wed Jan 30 17:15:30 PST 2013
Hi,
is there any news on this?
Does maybe an older version (e.g. 0.12.0) of spice help?
I'm also using the latest released packages and experience a lot of crashes.
Sometimes when connecting, sometimes during a running session.
Thanks
Klaus
-----Ursprüngliche Nachricht-----
Von: spice-devel-bounces+mailings=kh-dev.de at lists.freedesktop.org [mailto:spice-devel-bounces+mailings=kh-dev.de at lists.freedesktop.org] Im Auftrag von Trebor Forban
Gesendet: Mittwoch, 23. Januar 2013 14:40
An: Alon Levy
Cc: spice-devel at lists.freedesktop.org
Betreff: Re: [Spice-devel] spice crashes
Hello Alon.
Thanks for your help.
This is what I get with the qemu debugging options:
qxl/guest-0: 1120951392537: qxldd: __PutBytesAlign
qxl/guest-0: 1120951398601: qxldd: __PutBytesAlign: done
qxl/guest-0: 1120951404632: qxldd: __PutBytesAlign
qxl/guest-0: 1120951410705: qxldd: __PutBytesAlign: done
qxl/guest-0: 1120951416744: qxldd: GetPallette
qxl/guest-0: 1120951422887: qxldd: GetBitmapImage: done
qxl/guest-0: 1120951429534: qxldd: QXLGetBitmap: cache_me 3036866299
qxl/guest-0: 1120951435832: qxldd: AddRes
qxl/guest-0: 1120951441931: qxldd: AddRes: done
qxl/guest-0: 1120951448525: qxldd: WaitForCmdRing: 0xfc5ff010
qxl/guest-0: 1120951454964: qxldd: DrvTransparentBlt: done
(/usr/local/bin/qemu-system-x86_64:20029): SpiceWorker-ERROR **:
../spice-common/common/ring.h:83:ring_remove: assertion `item->next != NULL && item->prev != NULL' failed
I haven't recompiled with debugging for the stack trace yet; is it still necessary, or does the information above suffice?
Regards,
TF
2013/1/22 Alon Levy <alevy at redhat.com>:
>> Hello All,
>>
>> while using remote-viewer, qemu and libs as compiled below, my
>> 32bit-win7-VMs (spice-guest-tools-0.3.exe) are crashing quit
>> frequently, and the following error is shown in the hosts dmesg log:
>>
>> segfault at 50 ip 00007f8b6bab3119 sp 00007f8b64db3b00 error 6 in
>> libspice-server.so.1.6.0[7f8b6ba70000+11b000]
>
> Can you install debug information and provide a stack trace?
>
> You can also try running qemu with debug parameters:
>
> qemu ... --global qxl-vga.debug=1 -global qxl-vga.guestdebug=20
>
> it produces huge amount of output, and may be irrelevant (only relevant if it's a driver or driver/host interaction bug) so redirect to some file, i.e.
>
> qemu ... 2>&1 | cat > qemu_crash.log
>
>>
>> Host system: 3.2.0-35-generic #55-Ubuntu SMP Wed Dec 5 17:42:16 UTC
>> 2012 x86_64 x86_64 x86_64 GNU/Linux
>>
>> I know/assume this is far too vague to receive a "real" answer, but
>> I'm hoping someone can give me some tips for a follow-up email.
>>
>> Should I be using the older versions on:
>> http://spice-space.org/download.html?
>> How can I go about debugging?
>>
>> Regards,
>> TF
>>
>>
>> INST_ROOT=/usr/local
>> [ -d $INST_ROOT ] || mkdir -p $INST_ROOT
>>
>> export
>> PKG_CONFIG_PATH=$INST_ROOT/lib/pkgconfig:$INST_ROOT/share/pkgconfig
>>
>> cd $SRC_ROOT
>> git clone git://libusbx.git.sourceforge.net/gitroot/libusbx/libusbx
>> mv libusbx swos-libusbx-$STAMP
>> cd swos-libusbx-$STAMP
>> ./autogen.sh --prefix=${INST_ROOT}
>> make && make install && ldconfig
>>
>> cd $SRC_ROOT
>> wget -c http://spice-space.org/download/usbredir/usbredir-0.6.tar.bz2
>> tar xf usbredir-0.6.tar.bz2 && mv usbredir-0.6 swos-usbredir-0.6 cd
>> swos-usbredir-0.6 ./configure --prefix=${INST_ROOT} make -j2 && make
>> install && ldconfig
>>
>> cd $SRC_ROOT
>> wget -c
>> http://spice-space.org/download/releases/spice-protocol-0.12.3.tar.bz
>> 2 tar xf spice-protocol-0.12.3.tar.bz2 && mv spice-protocol-0.12.3
>> swos-spice-protocol-0.12.3
>> cd swos-spice-protocol-0.12.3
>> ./configure --prefix=${INST_ROOT}
>> make -j2 && make install && ldconfig
>>
>> cd $SRC_ROOT
>> wget -c
>> http://downloads.us.xiph.org/releases/celt/celt-0.5.1.3.tar.gz
>> tar xf celt-0.5.1.3.tar.gz && mv celt-0.5.1.3 swos-celt-0.5.1.3 cd
>> swos-celt-0.5.1.3 ./configure --prefix=${INST_ROOT} make -j2 && make
>> install && ldconfig
>>
>> cd $SRC_ROOT
>> wget -c http://spice-space.org/download/releases/spice-0.12.2.tar.bz2
>> tar xf spice-0.12.2.tar.bz2 && mv spice-0.12.2 swos-spice-0.12.2 cd
>> swos-spice-0.12.2 ./configure --prefix=${INST_ROOT}
>> --enable-smartcard=no make -j2 && make install && ldconfig
>>
>> cd $SRC_ROOT
>> wget -c http://spice-space.org/download/gtk/spice-gtk-0.16.tar.bz2
>> tar xf spice-gtk-0.16.tar.bz2 && mv spice-gtk-0.16
>> swos-spice-gtk-0.16
>> cd swos-spice-gtk-0.16
>> ./configure --prefix=${INST_ROOT} --enable-smartcard=no make -j2 &&
>> make install && ldconfig
>>
>> cd $SRC_ROOT
>> git clone git://cgit.freedesktop.org/spice/slirp swos-slirp-$STAMP cd
>> swos-slirp-$STAMP ./autogen.sh --prefix=${INST_ROOT} ./configure
>> --enable-smartcard=no make -j2 && make install && ldconfig
>>
>> LD_LIBRARY_PATH=$INST_ROOT/lib:${LD_LIBRARY_PATH}
>>
>> cd $SRC_ROOT
>> wget -c http://wiki.qemu.org/download/qemu-1.3.0.tar.bz2
>> tar xf qemu-1.3.0.tar.bz2 && mv qemu-1.3.0 swos-qemu-1.3.0 cd
>> swos-qemu-1.3.0 ./configure --prefix=${INST_ROOT}
>> --target-list=x86_64-softmmu --disable-werror --enable-spice
>> --enable-kvm --enable-linux-aio --enable-vde --enable-vhost-net
>> --audio-drv-list=alsa,oss make -j2 PREFIX=${INST_ROOT} && make
>> PREFIX=${INST_ROOT} install && ldconfig
>>
>> cd $SRC_ROOT
>> wget -c http://libvirt.org/sources/libvirt-1.0.1.tar.gz
>> tar xf libvirt-1.0.1.tar.gz && mv libvirt-1.0.1 swos-libvirt-1.0.1 cd
>> swos-libvirt-1.0.1 ./autogen.sh --prefix=${INST_ROOT} ./configure
>> make -j2 && make install && ldconfig
>>
>> cd $SRC_ROOT
>> wget -c
>> http://virt-manager.org/download/sources/virt-viewer/virt-viewer-0.5.
>> 4.tar.gz tar xf virt-viewer-0.5.4.tar.gz && mv virt-viewer-0.5.4
>> swos-virt-viewer-0.5.4
>> cd swos-virt-viewer-0.5.4
>> ./configure --with-gtk=3.0
>> make -j2 && make install && ldconfig
>> _______________________________________________
>> Spice-devel mailing list
>> Spice-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>>
_______________________________________________
Spice-devel mailing list
Spice-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel
More information about the Spice-devel
mailing list