[Spice-devel] spice crashes

Peter Styk polfilm at gmail.com
Wed Jan 23 12:41:14 PST 2013


Since we're talking about spice crashes:

On windows 8 bit64 running spicy.exe 0.15.1-845c-dirty, compiled with
--disable-smartcard --without-sasl --without-audio

Crashing at the beginning of every 5-8 runs but sometimes 2-3 times in a
row. Don't really know how to check how. Few weeks have passed since git
checkout so will retry when I have spare second. Once session get's going
it is very stable and no spontaneous crashes.  Sometimes having 5 sessions
at the same time and no problems as well when they get going. It's just
that initial run that sometimes kills the process.

Regards,
Peter Styk (polfilm)




On 23 January 2013 14:40, Trebor Forban <trebor.forban at gmail.com> wrote:

> 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.bz2
> >> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20130123/7d93ce74/attachment.html>


More information about the Spice-devel mailing list