Since we're talking about spice crashes:<div><br></div><div>On windows 8 bit64 running spicy.exe 0.15.1-845c-dirty, compiled with --disable-smartcard --without-sasl --without-audio<br><br>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.</div>
<div><br></div><div>Regards,</div><div>Peter Styk (polfilm)</div><div> </div><div><br></div><div><br><br><div class="gmail_quote">On 23 January 2013 14:40, Trebor Forban <span dir="ltr"><<a href="mailto:trebor.forban@gmail.com" target="_blank">trebor.forban@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Alon.<br>
<br>
Thanks for your help.<br>
<br>
This is what I get with the qemu debugging options:<br>
<br>
qxl/guest-0: 1120951392537: qxldd: __PutBytesAlign<br>
qxl/guest-0: 1120951398601: qxldd: __PutBytesAlign: done<br>
qxl/guest-0: 1120951404632: qxldd: __PutBytesAlign<br>
qxl/guest-0: 1120951410705: qxldd: __PutBytesAlign: done<br>
qxl/guest-0: 1120951416744: qxldd: GetPallette<br>
qxl/guest-0: 1120951422887: qxldd: GetBitmapImage: done<br>
qxl/guest-0: 1120951429534: qxldd: QXLGetBitmap: cache_me 3036866299<br>
qxl/guest-0: 1120951435832: qxldd: AddRes<br>
qxl/guest-0: 1120951441931: qxldd: AddRes: done<br>
qxl/guest-0: 1120951448525: qxldd: WaitForCmdRing: 0xfc5ff010<br>
qxl/guest-0: 1120951454964: qxldd: DrvTransparentBlt: done<br>
(/usr/local/bin/qemu-system-x86_64:20029): SpiceWorker-ERROR **:<br>
../spice-common/common/ring.h:83:ring_remove: assertion `item->next !=<br>
NULL && item->prev != NULL' failed<br>
<br>
<br>
I haven't recompiled with debugging for the stack trace yet; is it<br>
still necessary, or does the information above suffice?<br>
<br>
Regards,<br>
TF<br>
<br>
<br>
2013/1/22 Alon Levy <<a href="mailto:alevy@redhat.com">alevy@redhat.com</a>>:<br>
<div class="HOEnZb"><div class="h5">>> Hello All,<br>
>><br>
>> while using remote-viewer, qemu and libs as compiled below, my<br>
>> 32bit-win7-VMs (spice-guest-tools-0.3.exe) are crashing quit<br>
>> frequently, and the following error is shown in the hosts dmesg log:<br>
>><br>
>> segfault at 50 ip 00007f8b6bab3119 sp 00007f8b64db3b00 error 6 in<br>
>> libspice-server.so.1.6.0[7f8b6ba70000+11b000]<br>
><br>
> Can you install debug information and provide a stack trace?<br>
><br>
> You can also try running qemu with debug parameters:<br>
><br>
> qemu ... --global qxl-vga.debug=1 -global qxl-vga.guestdebug=20<br>
><br>
> 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.<br>
><br>
> qemu ... 2>&1 | cat > qemu_crash.log<br>
><br>
>><br>
>> Host system: 3.2.0-35-generic #55-Ubuntu SMP Wed Dec 5 17:42:16 UTC<br>
>> 2012 x86_64 x86_64 x86_64 GNU/Linux<br>
>><br>
>> I know/assume this is far too vague to receive a "real" answer, but<br>
>> I'm hoping someone can give me some tips for a follow-up email.<br>
>><br>
>> Should I be using the older versions on:<br>
>> <a href="http://spice-space.org/download.html" target="_blank">http://spice-space.org/download.html</a>?<br>
>> How can I go about debugging?<br>
>><br>
>> Regards,<br>
>> TF<br>
>><br>
>><br>
>> INST_ROOT=/usr/local<br>
>> [ -d $INST_ROOT ] || mkdir -p $INST_ROOT<br>
>><br>
>> export<br>
>> PKG_CONFIG_PATH=$INST_ROOT/lib/pkgconfig:$INST_ROOT/share/pkgconfig<br>
>><br>
>> cd $SRC_ROOT<br>
>> git clone git://<a href="http://libusbx.git.sourceforge.net/gitroot/libusbx/libusbx" target="_blank">libusbx.git.sourceforge.net/gitroot/libusbx/libusbx</a><br>
>> mv libusbx swos-libusbx-$STAMP<br>
>> cd swos-libusbx-$STAMP<br>
>> ./autogen.sh --prefix=${INST_ROOT}<br>
>> make && make install && ldconfig<br>
>><br>
>> cd $SRC_ROOT<br>
>> wget -c <a href="http://spice-space.org/download/usbredir/usbredir-0.6.tar.bz2" target="_blank">http://spice-space.org/download/usbredir/usbredir-0.6.tar.bz2</a><br>
>> tar xf usbredir-0.6.tar.bz2 && mv usbredir-0.6 swos-usbredir-0.6<br>
>> cd swos-usbredir-0.6<br>
>> ./configure --prefix=${INST_ROOT}<br>
>> make -j2 && make install && ldconfig<br>
>><br>
>> cd $SRC_ROOT<br>
>> wget -c<br>
>> <a href="http://spice-space.org/download/releases/spice-protocol-0.12.3.tar.bz2" target="_blank">http://spice-space.org/download/releases/spice-protocol-0.12.3.tar.bz2</a><br>
>> tar xf spice-protocol-0.12.3.tar.bz2 && mv spice-protocol-0.12.3<br>
>> swos-spice-protocol-0.12.3<br>
>> cd swos-spice-protocol-0.12.3<br>
>> ./configure --prefix=${INST_ROOT}<br>
>> make -j2 && make install && ldconfig<br>
>><br>
>> cd $SRC_ROOT<br>
>> wget -c<br>
>> <a href="http://downloads.us.xiph.org/releases/celt/celt-0.5.1.3.tar.gz" target="_blank">http://downloads.us.xiph.org/releases/celt/celt-0.5.1.3.tar.gz</a><br>
>> tar xf celt-0.5.1.3.tar.gz && mv celt-0.5.1.3 swos-celt-0.5.1.3<br>
>> cd swos-celt-0.5.1.3<br>
>> ./configure --prefix=${INST_ROOT}<br>
>> make -j2 && make install && ldconfig<br>
>><br>
>> cd $SRC_ROOT<br>
>> wget -c <a href="http://spice-space.org/download/releases/spice-0.12.2.tar.bz2" target="_blank">http://spice-space.org/download/releases/spice-0.12.2.tar.bz2</a><br>
>> tar xf spice-0.12.2.tar.bz2 && mv spice-0.12.2 swos-spice-0.12.2<br>
>> cd swos-spice-0.12.2<br>
>> ./configure --prefix=${INST_ROOT} --enable-smartcard=no<br>
>> make -j2 && make install && ldconfig<br>
>><br>
>> cd $SRC_ROOT<br>
>> wget -c <a href="http://spice-space.org/download/gtk/spice-gtk-0.16.tar.bz2" target="_blank">http://spice-space.org/download/gtk/spice-gtk-0.16.tar.bz2</a><br>
>> tar xf spice-gtk-0.16.tar.bz2 && mv spice-gtk-0.16<br>
>> swos-spice-gtk-0.16<br>
>> cd swos-spice-gtk-0.16<br>
>> ./configure --prefix=${INST_ROOT} --enable-smartcard=no<br>
>> make -j2 && make install && ldconfig<br>
>><br>
>> cd $SRC_ROOT<br>
>> git clone git://<a href="http://cgit.freedesktop.org/spice/slirp" target="_blank">cgit.freedesktop.org/spice/slirp</a> swos-slirp-$STAMP<br>
>> cd swos-slirp-$STAMP<br>
>> ./autogen.sh --prefix=${INST_ROOT}<br>
>> ./configure --enable-smartcard=no<br>
>> make -j2 && make install && ldconfig<br>
>><br>
>> LD_LIBRARY_PATH=$INST_ROOT/lib:${LD_LIBRARY_PATH}<br>
>><br>
>> cd $SRC_ROOT<br>
>> wget -c <a href="http://wiki.qemu.org/download/qemu-1.3.0.tar.bz2" target="_blank">http://wiki.qemu.org/download/qemu-1.3.0.tar.bz2</a><br>
>> tar xf qemu-1.3.0.tar.bz2 && mv qemu-1.3.0 swos-qemu-1.3.0<br>
>> cd swos-qemu-1.3.0<br>
>> ./configure --prefix=${INST_ROOT} --target-list=x86_64-softmmu<br>
>> --disable-werror --enable-spice --enable-kvm --enable-linux-aio<br>
>> --enable-vde --enable-vhost-net --audio-drv-list=alsa,oss<br>
>> make -j2 PREFIX=${INST_ROOT} && make PREFIX=${INST_ROOT} install &&<br>
>> ldconfig<br>
>><br>
>> cd $SRC_ROOT<br>
>> wget -c <a href="http://libvirt.org/sources/libvirt-1.0.1.tar.gz" target="_blank">http://libvirt.org/sources/libvirt-1.0.1.tar.gz</a><br>
>> tar xf libvirt-1.0.1.tar.gz && mv libvirt-1.0.1 swos-libvirt-1.0.1<br>
>> cd swos-libvirt-1.0.1<br>
>> ./autogen.sh --prefix=${INST_ROOT}<br>
>> ./configure<br>
>> make -j2 && make install && ldconfig<br>
>><br>
>> cd $SRC_ROOT<br>
>> wget -c<br>
>> <a href="http://virt-manager.org/download/sources/virt-viewer/virt-viewer-0.5.4.tar.gz" target="_blank">http://virt-manager.org/download/sources/virt-viewer/virt-viewer-0.5.4.tar.gz</a><br>
>> tar xf virt-viewer-0.5.4.tar.gz && mv virt-viewer-0.5.4<br>
>> swos-virt-viewer-0.5.4<br>
>> cd swos-virt-viewer-0.5.4<br>
>> ./configure --with-gtk=3.0<br>
>> make -j2 && make install && ldconfig<br>
>> _______________________________________________<br>
>> Spice-devel mailing list<br>
>> <a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br>
>> <a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
>><br>
_______________________________________________<br>
Spice-devel mailing list<br>
<a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br>
</div></div></blockquote></div><br></div>