<div dir="ltr">Hello,<div><br></div><div>So in ubuntu1204 guest This is what i got :</div><div><br></div><div>    <b>(gdb)</b> bt full</div><div>   <b> #0</b>  0x005a9fc0 in exit () from /lib/i386-linux-gnu/libc.so.6 </div>
<div>    No symbol table info available.</div><div>  <b>  #1</b>  0x0805f7dd in ?? () </div><div>    No symbol table info available.</div><div>   <b> #2</b>  0x0804aedf in ?? ()</div><div>    No symbol table info available.</div>
<div>    <b>#3</b>  0x005904d3 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6</div><div>   No symbol table info available.</div><div>   <b>#4</b>  0x0804b025 in ?? ()</div><div>   No symbol table info available.</div>
<div><br></div><div>i also tried to print information about each frame, i found unknown addresses in frame 4 and 3, here are the details :</div><div>========================================</div><div>--frame 4 :  </div><div>
<b>            (gdb) info frame</b></div><div>           Stack level 4, frame at 0x0:</div><div>          eip = 0x804b025; saved eip 0x804b025</div><div>          Outermost frame: outermost</div><div>         caller of frame at 0xbfd55210</div>
<div>        Arglist at<b> unknown address.</b></div><div>         Locals at<b> unknown address</b>, Previous frame's sp in esp</div><div><b>--</b>frame 3:</div><div><b>             (gdb) info frame </b></div><div>             Stack level 3, frame at 0xbfd55210:</div>
<div>              eip = 0x5904d3 in __libc_start_main; saved eip 0x804b025</div><div>             called by frame at 0x0, caller of frame at 0xbfd551a0</div><div>            Arglist at <b>unknown address</b>.</div><div>             Locals at <b>unknown address</b>, Previous frame's sp is           0xbfd55210</div>
<div>             Saved registers:</div><div>           ebx at 0xbfd551fc, ebp at 0xbfd55208, esi at 0xbfd55200, edi at            0xbfd55204,</div><div>           eip at 0xbfd5520c</div><div>=========================================</div>
<div><br></div><div>For fedora 20 guest, this is the back trace output :</div><div>=====================================</div><div><b>(gdb) bt full</b></div><div>#0  0xb73e2040 in exit () from /lib/libc.so.6</div><div>No symbol table info available.</div>
<div>#1  0xb77263a8 in main_loop ()</div><div>No symbol table info available.</div><div>#2  0xb76fe190 in main ()</div><div>No symbol table info available.</div><div><br></div><div><b>(gdb) frame 0</b></div><div>#0  0xb73e2040 in exit () from /lib/libc.so.6</div>
<div>(gdb) info frame</div><div>Stack level 0, frame at 0xbfb022a0:</div><div> eip = 0xb73e2040 in exit; saved eip 0xb77263a8</div><div> called by frame at 0xbfb02350</div><div> Arglist at 0xbfb02298, args: </div><div> Locals at 0xbfb02298, Previous frame's sp is 0xbfb022a0</div>
<div> Saved registers:</div><div>  eip at 0xbfb0229c</div><div><br></div><div><b>(gdb) frame 1</b></div><div>#1  0xb77263a8 in main_loop ()</div><div>(gdb) info frame</div><div>Stack level 1, frame at 0xbfb02350:</div><div>
 eip = 0xb77263a8 in main_loop; saved eip 0xb76fe190</div><div> called by frame at 0xbfb025f0, caller of frame at 0xbfb022a0</div><div> Arglist at 0xbfb022ac, args: </div><div> Locals at 0xbfb022ac, Previous frame's sp is 0xbfb02350</div>
<div> Saved registers:</div><div>  ebx at 0xbfb0233c, ebp at 0xbfb02348, esi at 0xbfb02340, edi at 0xbfb02344,</div><div>  eip at 0xbfb0234c</div><div><br></div><div><b>(gdb) frame 2</b></div><div>#2  0xb76fe190 in main ()</div>
<div>(gdb) info frame</div><div>Stack level 2, frame at 0xbfb025f0:</div><div> eip = 0xb76fe190 in main; saved eip 0xb73c9b83</div><div> caller of frame at 0xbfb02350</div><div> Arglist at 0xbfb025e8, args: </div><div> Locals at 0xbfb025e8, Previous frame's sp is 0xbfb025f0</div>
<div> Saved registers:</div><div>  ebx at 0xbfb025dc, ebp at 0xbfb025e8, esi at 0xbfb025e0, edi at 0xbfb025e4,</div><div>  eip at 0xbfb025ec</div><div>=============================================  </div><div><br></div><div>
As for parallel connections,  we are looking forward for 1.28 :-). Meanwhile we are trying to test things with a single handle. </div><div><br></div><div>Thanks !</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2014-05-15 0:16 GMT+02:00 Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com" target="_blank">rjones@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On Wed, May 14, 2014 at 06:07:37PM +0200, Safa Rekik wrote:<br>
> Hello,<br>
><br>
</div>> I launched guestfsd in my guest with this command : guestfsd* -rv*.<br>
<div class="">> When i close the handle the deamon crashes.<br>
><br>
> This is the output i got (Deamon side) :<br>
>                              guestfsd: main_loop : new request, len 0x28<br>
>                              fsync /dev/sda<br>
>                              /dev/sr0 : No medium found<br>
>                              guestfsd : main_loop : proc 282<br>
> (internal_autosynx) took 0.19  seconds<br>
</div>>                              *read: unexpected end of file on fd 3 *<br>
<div class="">><br>
> I got the same error with both ubuntu12.04 and fedora 20 guests. I know<br>
> that in ubuntu the guestfsd version is quite but fedora 20 has 1.26<br>
> libguestfs version i think.<br>
<br>
</div>Can you attach a debugger to it and find out where it crashes or<br>
exits.  Something like:<br>
<br>
  # gdb /usr/sbin/guestfsd `pidof guestfsd`<br>
  (gdb) break exit<br>
  (gdb) cont<br>
  ... when it exits ...<br>
  (gdb) bt<br>
<br>
As discussed on IRC, guestfsd is single-threaded at the moment, but<br>
one of the jobs for 1.28 is to add support for multiple parallel<br>
connections.<br>
<br>
Rich.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones" target="_blank">http://people.redhat.com/~rjones</a><br>
Read my programming and virtualization blog: <a href="http://rwmj.wordpress.com" target="_blank">http://rwmj.wordpress.com</a><br>
virt-p2v converts physical machines to virtual machines.  Boot with a<br>
live CD or over the network (PXE) and turn machines into KVM guests.<br>
<a href="http://libguestfs.org/virt-v2v" target="_blank">http://libguestfs.org/virt-v2v</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><span style="color:rgb(192,192,192)"></span><br>Safa REKIK<br></div>
</div>