[Spice-devel] virt-viewer 0.5.4 crashes on debian wheezy

Dominique Rodrigues dominique.rodrigues at nanocloud.com
Thu Sep 20 15:23:30 PDT 2012



I guess I got the issue. 

In my case, to keep remote-viewer stable, the
following option is mandatory : 

-device virtio-serial-pci 

when I launch
a VM with qemu-kvm. 

I did not have problem previsously, and still not,
with VM configurations already with that option. 

So I just have to change
configs where this line is missing. 

However, commands from "Send Key"
menu, such as "Ctrl+alt+del", are still not active when localized (in
french in my case). 

Other menus work. 

Dominique 

On Thu, 20 Sep 2012
18:49:22 +0200, Dominique Rodrigues  wrote:  Le 20/09/2012 12:32,
Christophe Fergeau a écrit :  
Hey,

On Thu, Sep 20, 2012 at 01:35:13AM
+0200, Dominique Rodrigues wrote:

Hi all, 

I recently downloaded
virt-viewer in verion 0.5.4 and
recompiled it on Debian Wheezy. 

I did not
have problems the first day I
tried it (excepted concerning localisation:
Send key menu has not effect
when localized). 

But today, I got a crash
:

Would it be possible to get a gdb backtrace with debugging
symbols
installed? A valgrind run would probably be helpful as
well.
Thanks,

Christophe

 I will install gdb and valgrind. 

 What are
the options to compile in debug mode ? 

 ./configure -CFLAGS="-g" ?


Cheers


Dominique

############################################################################

dominique at nanoClouD:~$
remote-viewer spice://localhost:7177 

*** glibc
detected ***
remote-viewer: double free or corruption (out):
0x0000000000f01520 ***


======= Backtrace:
=========

/lib/x86_64-linux-gnu/libc.so.6(+0x75b76)[0x7f473247cb76]

/lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7f47324818ac]

remote-viewer[0x41a4d9]

/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_cclosure_marshal_VOID__ENUMv+0x89)[0x7f4732cb5059]

/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x11a03)[0x7f4732cb2a03]

/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x6f6)[0x7f4732ccb076]

/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7f4732ccb8c2]

/usr/local/lib/libspice-client-glib-2.0.so.8(+0x19eaa)[0x7f47364f0eaa]

/usr/local/lib/libspice-client-glib-2.0.so.8(+0x202f0)[0x7f47364f72f0]

/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x135)[0x7f47329f4205]

/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4a538)[0x7f47329f4538]

/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x72)[0x7f47329f4932]

/usr/lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_main+0x85)[0x7f473699d2d5]

remote-viewer(main+0x993)[0x40d373]

/lib/x86_64
-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x7f4732425ead]

remote-viewer[0x40d3b5]


======= Memory map: ========

00400000-00427000 r-xp 00000000 fe:00
1835343
/usr/local/bin/remote-viewer 

00626000-00628000 rw-p 00026000
fe:00
1835343 /usr/local/bin/remote-viewer 

00c1a000-00fe8000 rw-p
00000000
00:00 0 [heap] 

7f471c000000-7f471c021000 rw-p 00000000 00:00 0


7f471c021000-7f4720000000 ---p 00000000 00:00 0


7f4721e2c000-7f4722e2c000 rw-p 00000000 00:00 0


7f4722e2c000-7f4722e31000 r-xp 00000000 fe:00
1970489
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so

7f4722e31000-7f4723030000
---p 00005000 fe:00
1970489
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so

7f4723030000-7f4723031000
r--p 00004000 fe:00
1970489
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so

7f4723031000-7f4723032000
rw-p 00005000 fe:00
1970489
/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so

7f4723032000-7f4723051000
r--s 00000000 fe:00 1966610
/usr/share/mime/mime.cache


7f4723051000-7f4724a9b000 r--p 00000000 fe:00
2097228
/usr/share/icons/hicolor/icon-theme.cache

7f4724a9b000-7f472925e000 r--p
00000000 fe:00 2099794
/usr/share/icons/gnome/icon-theme.cache


7f472925e000-7f4729271000 r--p
00000000 fe:00
2622140
/usr/share/fonts/opentype/cantarell/Cantarell-Regular.otf

7f4729271000-7f4729273000
r-xp 00000000 fe:00
1967308
/usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so

7f4729273000-7f4729472000
---p 00002000 fe:00
1967308
/usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so

7f4729472000-7f4729473000
r--p 00001000 fe:00
1967308
/usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so

7f4729473000-7f4729474000
rw-p 00002000 fe:00
1967308
/usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so

7f4729474000-7f4729475000
r--s 00000000 fe:00
19270831
/var/cache/fontconfig/c05880de57d1f5e948fdfacc138775d9-le64.cache-3

7f4729475000-7f472947e000
r--s 00000000 fe:00
19270567
/var/cache/fontconfig/945677eb7aeaf62f1d50efc3fb3ec7d8-le64.cache-3

7f472947e000-7f472947f000
r--s 00000000 fe:00
19270829
/var/cache/fontconfig/617957603a337376ca8784972c6029f5-le64.cache-3

7f472947f000-7f4729484000
r--s 00000000 fe:00
19270828
/var/cache/fontconfig/6eb3985aa4124903f6ff08ba781cd364-le64.cache-3

7f4729484000-7f4729485000
r--s 00000000 fe:00
19270827
/var/cache/fontconfig/5a76b20910bc01daa5b6abd117531ab8-le64.cache-3

7f4729485000-7f472948e000
r--s 00000000 fe:00
19267868
/var/cache/fontconfig/6d41288fd70b0be22e8c3a91e032eec0-le64.cache-3

7f472948e000-7f472948f000
r--s 00000000 fe:00
19270824
/var/cache/fontconfig/9c956a7723ca69a44b382d9179c9802f-le64.cache-3

7f472948f000-7f4729490000
r--s 00000000 fe:00
19270823
/var/cache/fontconfig/9451a55048e8dbe8633e64d34165fdf2-le64.cache-3

7f4729490000-7f4729491000
r--s 00000000 fe:00
19267870
/var/cache/fontconfig/4794a0821666d79190d59a36cb4f44b5-le64.cache-3

7f4729491000-7f4729492000
r--s 00000000 fe:00
19270821
/var/cache/fontconfig/9eae20f1ff8cc0a7d125749e875856bd-le64.cache-3

7f4729492000-7f4729494000
r--s 00000000 fe:00
19270811
/var/cache/fontconfig/bf2c1853a9e9b00bb02fe2e9bcf1e201-le64.cache-3

7f4729494000-7f47294c2000
r--s 00000000 fe:00
19270806
/var/cache/fontconfig/365b55f210c0a22e9a19e35191240f32-le64.cache-3

7f47294c2000-7f47294c5000
r--s 00000000 fe:00
19270805
/var/cache/fontconfig/c57959a16110560c8d0fcea73374aeeb-le64.cache-3

7f47294c5000-7f47294ca000
r--s 00000000 fe:00
19270803
/var/cache/fontconfig/3047814df9a2f067bd2d96a2b9c36e5a-le64.cache-3

7f47294ca000-7f47294cd000
r--s 00000000 fe:00
19270802
/var/cache/fontconfig/14d493b97896515cad3840ba4896e372-le64.cache-3

7f47294cd000-7f47294ce000
r--s 00000000 fe:00
19270800
/var/cache/fontconfig/89034621ae2a8922916bb6bfa5799546-le64.cache-3

7f47294ce000-7f47294d1000
r--s 00000000 fe:00
19270781
/var/cache/fontconfig/e49e89034d371f0f9de17aab02136486-le64.cache-3

7f47294d1000-7f47294d3000
r--s 00000000 fe:00
19270522
/var/cache/fontconfig/4b14b093aebc79c320de5e86ae1d3314-le64.cache-3

7f47294d3000-7f47294e4000
r--s 00000000 fe:00
19270517
/var/cache/fontconfig/d52a8644073d54c13679302ca1180695-le64.cache-3

7f47294e4000-7f47294e5000
r--s 00000000 fe:00
19270516
/var/cache/fontconfig/68f2d919236642eff71955021bcf3e72-le64.cache-3

7f47294e5000-7f47294e6000
r--s 00000000 fe:00
19270422
/var/cache/fontconfig/0effc90d0106505626632cd26e63bb45-le64.cache-3

7f47294e6000-7f47294e8000
r--s 00000000 fe:00
19270417
/var/cache/fontconfig/ae26c1aac6606cb24499bf89ff8f20df-le64.cache-3

7f47294e8000-7f47294ef000
r--s 00000000 fe:00
19270273
/var/cache/fontconfig/3f7329c5293ffd510edef78f73874cfd-le64.cache-3

7f47294ef000-7f47294f9000
r--s 00000000 fe:00
19270091
/var/cache/fontconfig/83bf95040141907cd45bb53cf7c1c148-le64.cache-3

7f47294f9000-7f4729501000
r-xp 00000000 fe:00 9175266
/lib/x86_64-linux-gnu/libcrypt-2.13.so


7f4729501000-7f4729700000 ---p
00008000 fe:00 9175266
/lib/x86_64-linux-gnu/libcrypt-2.13.so

7f4729700000-7f4729701000 r--p
00007000 fe:00 9175266
/lib/x86_64-linux-gnu/libcrypt-2.13.so


7f4729701000-7f4729702000 rw-p
00008000 fe:00 9175266
/lib/x86_64-linux-gnu/libcrypt-2.13.so

7f4729702000-7f4729730000 rw-p
00000000 00:00 0 

7f4729730000-7f4729739000 r-xp 00000000 fe:00
1707641
/usr/lib/x86_64-linux-gnu/libltdl.so.7.3.0


7f4729739000-7f4729938000 ---p
00009000 fe:00 1707641
/usr/lib/x86_64-linux-gnu/libltdl.so.7.3.0

7f4729938000-7f4729939000 rw-p
00008000 fe:00 1707641
/usr/lib/x86_64-linux-gnu/libltdl.so.7.3.0


7f4729939000-7f472994a000 r-xp
00000000 fe:00 1706747
/usr/lib/x86_64-linux-gnu/libtdb.so.1.2.10

7f472994a000-7f4729b49000 ---p
00011000 fe:00 1706747
/usr/lib/x86_64-linux-gnu/libtdb.so.1.2.10


7f4729b49000-7f4729b4a000 rw-p
00010000 fe:00 1706747
/usr/lib/x86_64-linux-gnu/libtdb.so.1.2.10

7f4729b4a000-7f4729b52000 r-xp
00000000 fe:00
1705755
/usr/lib/x86_64-linux-gnu/libvorbisfile.so.3.3.4

7f4729b52000-7f4729d51000
---p 00008000 fe:00
1705755
/usr/lib/x86_64-linux-gnu/libvorbisfile.so.3.3.4

7f4729d51000-7f4729d52000
r--p 00007000 fe:00
1705755
/usr/lib/x86_64-linux-gnu/libvorbisfile.so.3.3.4

7f4729d52000-7f4729d53000
rw-p 00008000 fe:00
1705755
/usr/lib/x86_64-linux-gnu/libvorbisfile.so.3.3.4

7f4729d53000-7f4729d63000
r-xp 00000000 fe:00 1704341
/usr/lib/x86_64-linux-gnu/libcanberra.so.0.2.5


7f4729d63000-7f4729f62000
---p 00010000 fe:00 1704341
/usr/lib/x86_64-linux-gnu/libcanberra.so.0.2.5

7f4729f62000-7f4729f63000
r--p 0000f000 fe:00 1704341
/usr/lib/x86_64-linux-gnu/libcanberra.so.0.2.5


7f4729f63000-7f4729f64000
rw-p 00010000 fe:00 1704341
/usr/lib/x86_64-linux-gnu/libcanberra.so.0.2.5

7f4729f64000-7f4729f68000
r-xp 00000000 fe:00
1704611
/usr/lib/x86_64-linux-gnu/libcanberra-gtk3.so.0.1.8

7f4729f68000-7f472a167000
---p 00004000 fe:00
1704611
/usr/lib/x86_64-linux-gnu/libcanberra-gtk3.so.0.1.8

7f472a167000-7f472a168000
r--p 00003000 fe:00
1704611
/usr/lib/x86_64-linux-gnu/libcanberra-gtk3.so.0.1.8

7f472a168000-7f472a169000
rw-p 00004000 fe:00
1704611
/usr/lib/x86_64-linux-gnu/libcanberra-gtk3.so.0.1.8

7f472a169000-7f472a16e000
r-xp 00000000 fe:00
1970296
/usr/lib/x86_64-linux-gnu/gtk-3.0/modules/libcanberra-gtk3-module.so

7f472a16e000-7f472a36d000
---p 00005000 fe:00
1970296
/usr/lib/x86_64-linux-gnu/gtk-3.0/modules/libcanberra-gtk3-module.so

7f472a36d000-7f472a36e000
r--p 00004000 fe:00
1970296
/usr/lib/x86_64-linux-gnu/gtk-3.0/modules/libcanberra-gtk3-module.so

7f472a36e000-7f472a36f000
rw-p 00005000 fe:00
1970296
/usr/lib/x86_64-linux-gnu/gtk-3.0/modules/libcanberra-gtk3-module.so

7f472a36f000-7f472a3a7000
r-xp 00000000 fe:00
1707897
/usr/lib/x86_64-linux-gnu/libcroco-0.6.so.3.0.1


7f472a3a7000-7f472a5a6000
---p 00038000 fe:00 1707897
/usr/lib/x86_64-linux-gnu/libcroco-0.6.so.3.0.1

7f472a5a6000-7f472a5a9000
r--p 00037000 fe:00 1707897
/usr/lib/x86_64-linux-gnu/libcroco-0.6.so.3.0.1


7f472a5a9000-7f472a5aa000
rw-p 0003a000 fe:00 1707897
/usr/lib/x86_64-linux-gnu/libcroco-0.6.so.3.0.1

7f472a5aa000-7f472a5df000
r-xp 00000000 fe:00 1712694
/usr/lib/x86_64-linux-gnu/librsvg-2.so.2.36.1


7f472a5df000-7f472a7de000
---p 00035000 fe:00 1712694
/usr/lib/x86_64-linux-gnu/librsvg-2.so.2.36.1

7f472a7de000-7f472a7df000
r--p 00034000 fe:00 1712694
/usr/lib/x86_64-linux-gnu/librsvg-2.so.2.36.1


7f472a7df000-7f472a7e0000
rw-p 00035000 fe:00 1712694
/usr/lib/x86_64-linux-gnu/librsvg-2.so.2.36.1

7f472a7e3000-7f472a7e5000
r--s 00000000 fe:00
19270269
/var/cache/fontconfig/65f976e5259cbe6dc7697b8648396239-le64.cache-3

7f472a7e5000-7f472a7f1000
r--s 00000000 fe:00
19270090
/var/cache/fontconfig/53d14c92082a93e67d5078324eb314ca-le64.cache-3

7f472a7f1000-7f472a802000
r--s 00000000 fe:00
19270089
/var/cache/fontconfig/4ac51e5cfbc76fc3f983e470323a16d3-le64.cache-3

7f472a802000-7f472a806000
r-xp 00000000 fe:00
2228254
/usr/lib/gtk-3.0/3.0.0/theming-engines/libadwaita.so

7f472a806000-7f472aa06000
---p 00004000 fe:00
2228254
/usr/lib/gtk-3.0/3.0.0/theming-engines/libadwaita.so

7f472aa06000-7f472aa07000
r--p 00004000 fe:00
2228254
/usr/lib/gtk-3.0/3.0.0/theming-engines/libadwaita.so

7f472aa07000-7f472aa08000
rw-p 00005000 fe:00
2228254
/usr/lib/gtk-3.0/3.0.0/theming-engines/libadwaita.so

7f472aa08000-7f472aa36000
r-xp 00000000 fe:00 1706300
/usr/lib/x86_64-linux-gnu/libbluray.so.1.1.0


7f472aa36000-7f472ac36000
---p 0002e000 fe:00 1706300
/usr/lib/x86_64-linux-gnu/libbluray.so.1.1.0

7f472ac36000-7f472ac37000
r--p 0002e000 fe:00 1706300
/usr/lib/x86_64-linux-gnu/libbluray.so.1.1.0


7f472ac37000-7f472ac38000
rw-p 0002f000 fe:00 1706300
/usr/lib/x86_64-linux-gnu/libbluray.so.1.1.0

7f472ac38000-7f472ac3a000
r-xp 00000000 fe:00 9175403
/lib/x86_64-linux-gnu/libutil-2.13.so


7f472ac3a000-7f472ae39000 ---p
00002000 fe:00 9175403
/lib/x86_64-linux-gnu/libutil-2.13.so

7f472ae39000-7f472ae3a000 r--p
00001000 fe:00 9175403
/lib/x86_64-linux-gnu/libutil-2.13.so


7f472ae3a000-7f472ae3b000 rw-p
00002000 fe:00 9175403
/lib/x86_64-linux-gnu/libutil-2.13.so

7f472ae3b000-7f472ae53000 r-xp
00000000 fe:00 2496351
/usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so


7f472ae53000-7f472b052000
---p 00018000 fe:00 2496351
/usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so

7f472b052000-7f472b053000
r--p 00017000 fe:00 2496351
/usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so


7f472b053000-7f472b054000
rw-p 00018000 fe:00 2496351
/usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so

7f472b054000-7f472b07d000
r-xp 00000000 fe:00
1966951
/usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so

7f472b07d000-7f472b27d000
---p 00029000 fe:00
1966951
/usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so

7f472b27d000-7f472b27e000
r--p 00029000 fe:00
1966951
/usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so

7f472b27e000-7f472b27f000
rw-p 0002a000 fe:00
1966951
/usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so

7f472b27f000-7f472b2dc000
r--p 00000000 fe:00
3022840
/usr/share/themes/Adwaita/gtk-3.0/gtk.gresource


7f472b2dc000-7f472b2e7000
r-xp 00000000 fe:00 9175395
/lib/x86_64-linux-gnu/libnss_files-2.13.so

7f472b2e7000-7f472b4e6000 ---p
0000b000 fe:00 9175395
/lib/x86_64-linux-gnu/libnss_files-2.13.so


7f472b4e6000-7f472b4e7000 r--p
0000a000 fe:00 9175395
/lib/x86_64-linux-gnu/libnss_files-2.13.so

7f472b4e7000-7f472b4e8000 rw-p
0000b000 fe:00 9175395
/lib/x86_64-linux-gnu/libnss_files-2.13.so


7f472b4e8000-7f472b4f2000 r-xp
00000000 fe:00 9175360
/lib/x86_64-linux-gnu/libnss_nis-2.13.so

7f472b4f2000-7f472b6f1000 ---p
0000a000 fe:00 9175360
/lib/x86_64-linux-gnu/libnss_nis-2.13.so


7f472b6f1000-7f472b6f2000 r--p
00009000 fe:00 9175360
/lib/x86_64-linux-gnu/libnss_nis-2.13.so

7f472b6f2000-7f472b6f3000 rw-p
0000a000 fe:00 9175360
/lib/x86_64-linux-gnu/libnss_nis-2.13.so


7f472b6f3000-7f472b6fa000 r-xp
00000000 fe:00 9175277
/lib/x86_64-linux-gnu/libnss_compat-2.13.so

7f472b6fa000-7f472b8f9000 ---p
00007000 fe:00 9175277
/lib/x86_64-linux-gnu/libnss_compat-2.13.so


7f472b8f9000-7f472b8fa000
r--p 00006000 fe:00 9175277
/lib/x86_64-linux-gnu/libnss_compat-2.13.so

7f472b8fa000-7f472b8fb000 rw-p
00007000 fe:00 9175277
/lib/x86_64-linux-gnu/libnss_compat-2.13.soAbandon

############################################################################

Versions 0.5.3 and 0.5.2 don't crash. I use spice-protocol 0.12.2
spice
0.12.0 qemu-kvm 1.2.0 Only virt-viewer crashes, not qemu-kvm. By the
way,
it is always possible to reconnect the VM session under spice with
spicy. 
Cheers, 

-- 

DOMINIQUE RODRIGUES

 NANOCLOUD
 8, rue Lemercier

75017
Paris
 France
 standard : +33 1 77 69 64 38 529 002 743 R.C.S. Paris


_______________________________________________
Spice-devel mailing
list
Spice-devel at lists.freedesktop.org
[1]
http://lists.freedesktop.org/mailman/listinfo/spice-devel [2]

 --


DOMINIQUE RODRIGUES

DOMINIQUE RODRIGUES

  NANOCLOUD
 8, rue Lemercier

75017 Paris
 France
 standard : +33 1 77 69 64 38 529 002 743 R.C.S. Paris

  

Links:
------
[1] mailto:Spice-devel at lists.freedesktop.org
[2]
http://lists.freedesktop.org/mailman/listinfo/spice-devel
[3]
http://www.nanocloud.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120921/0d4cc8c4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nanologo_small.png
Type: image/png
Size: 28604 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120921/0d4cc8c4/attachment-0001.png>


More information about the Spice-devel mailing list