[Libguestfs] guestfsd crashes when the handle is closed
Richard W.M. Jones
rjones at redhat.com
Wed May 14 22:16:09 UTC 2014
On Wed, May 14, 2014 at 06:07:37PM +0200, Safa Rekik wrote:
> Hello,
>
> I launched guestfsd in my guest with this command : guestfsd* -rv*.
> When i close the handle the deamon crashes.
>
> This is the output i got (Deamon side) :
> guestfsd: main_loop : new request, len 0x28
> fsync /dev/sda
> /dev/sr0 : No medium found
> guestfsd : main_loop : proc 282
> (internal_autosynx) took 0.19 seconds
> *read: unexpected end of file on fd 3 *
>
> I got the same error with both ubuntu12.04 and fedora 20 guests. I know
> that in ubuntu the guestfsd version is quite but fedora 20 has 1.26
> libguestfs version i think.
Can you attach a debugger to it and find out where it crashes or
exits. Something like:
# gdb /usr/sbin/guestfsd `pidof guestfsd`
(gdb) break exit
(gdb) cont
... when it exits ...
(gdb) bt
As discussed on IRC, guestfsd is single-threaded at the moment, but
one of the jobs for 1.28 is to add support for multiple parallel
connections.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v
More information about the Libguestfs
mailing list