[Bug 91350] New: webdav: memory not been freed makes qemu crash
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jul 15 09:43:35 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=91350
Bug ID: 91350
Summary: webdav: memory not been freed makes qemu crash
Product: Spice
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: critical
Priority: medium
Component: server
Assignee: spice-bugs at lists.freedesktop.org
Reporter: me at victortoso.com
spice-server and QEMU from git master.
The memory consumption by qemu process grows by about the size of the file that
is being copied from client to guest with webdav. Copying a 4GB made my system
freeze.
Steps to reproduce!
1-) build spice-gtk with --enable-webdav=yes
2-) enable webdav in your VM by following:
https://elmarco.fedorapeople.org/manual.html#_folder_sharing
3-) using remote-viewer with webdav patches, connects to a fedora guest
4-) Open nautilus, go to 'Browse Network'
5-) On remote-viewer, enable shared folder by File > Preferences > [X] Share
folder
6-) The spice client folder should appear: Double-click to mount it.
7-) Check the memory of your qemu process
8-) Copy a big file (let's say, 300 MB) from the shared folder to local VM
9-) See the memory consumption of qemu grows by a lot;
As far as I could follow in the code, the server does free after
reading/writing. Not sure if it could be a bug in QEMU itself.
* Valgrind did not help as when the machine is shutdown, the memory is released
correctly (apparently)
* Disconnecting the client does not free the memory
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-bugs/attachments/20150715/682fbef8/attachment.html>
More information about the spice-bugs
mailing list