[Spice-devel] spice crashes
Alon Levy
alevy at redhat.com
Tue Jan 22 05:28:10 PST 2013
> 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
>
More information about the Spice-devel
mailing list