<div>Hi Daniel,</div>
<div> </div>
<div>Thanks for your time.</div>
<div> </div>
<div>Please find the requested output.</div>
<div> </div>
<div># ulimit -a<br>core file size          (blocks, -c) 1000000<br>data seg size           (kbytes, -d) unlimited<br>scheduling priority             (-e) 0<br>file size               (blocks, -f) unlimited<br>pending signals                 (-i) 63706<br>
max locked memory       (kbytes, -l) 64<br>max memory size         (kbytes, -m) unlimited<br>open files                      (-n) 1024<br>pipe size            (512 bytes, -p) 8<br>POSIX message queues     (bytes, -q) 819200<br>
real-time priority              (-r) 0<br>stack size              (kbytes, -s) 8192<br>cpu time               (seconds, -t) unlimited<br>max user processes              (-u) 1024<br>virtual memory          (kbytes, -v) unlimited<br>
file locks                      (-x) unlimited<br><br>Please let us know if you want the internal log buffer when libvirt. crashed.</div>
<div> </div>
<div>Thanks and Regards,</div>
<div>Shree Duth Awasthi.<br></div>
<div class="gmail_quote">On Fri, Apr 12, 2013 at 2:24 PM, Daniel P. Berrange <span dir="ltr"><<a href="mailto:berrange@redhat.com" target="_blank">berrange@redhat.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div class="HOEnZb">
<div class="h5">On Fri, Apr 12, 2013 at 02:02:20PM +0200, SHREE DUTH AWASTHI wrote:<br>> Hi Michal,<br>><br>> Open source developers of libgcrypt are pointing out to be a problem with<br>> libvirt.<br>><br>
> It seems that virsh does not make proper use of libgcrypt or gnutls.  In<br>> fact, Libgcrypt is telling us what has been done wrong. Please find the<br>> latest GDB and let us know comments for the same.<br>><br>
> GDB:<br>><br>> Breakpoint 3, 0x00007f555bb07410 in gnutls_handshake () from<br>> /usr/lib64/libgnutls.so.26<br>> (gdb) c<br>> Continuing.<br>> Program received signal SIGABRT, Aborted.<br>> 0x00007f555a096005 in raise () from /lib64/libc.so.6<br>
> (gdb) bt<br>> #0  0x00007f555a096005 in raise () from /lib64/libc.so.6<br>> #1  0x00007f555a098e40 in abort () from /lib64/libc.so.6<br>> #2  0x00007f555b87fdc5 in _gcry_logv (level=50, fmt=0x7f555b8c6170 "operation<br>
> is not possible without initialized secure memory\n",<br>>     arg_ptr=0x7fff546e1130) at misc.c:136<br>> #3  0x00007f555b8803d5 in _gcry_log_bug (fmt=0x48e0 <Address 0x48e0 out of<br>> bounds>) at misc.c:220<br>
> #4  0x00007f555b885697 in _gcry_secmem_malloc_internal (size=<value<br>> optimized out>) at secmem.c:497<br>> #5  0x00007f555b88579c in _gcry_secmem_malloc (size=136) at secmem.c:522<br>> #6  0x00007f555b880a65 in do_malloc (n=18656, flags=<value optimized out>,<br>
> mem=0x7fff546e1290) at global.c:553<br>> #7  0x00007f555b880aa9 in _gcry_malloc_secure (n=18656) at global.c:592<br>> #8  0x00007f555b880b19 in _gcry_xmalloc_secure (n=136) at global.c:746<br>> #9  0x00007f555b8c35df in _gcry_mpi_alloc_limb_space (nlimbs=17,<br>
> secure=18656) at mpiutil.c:92<br>> #10 0x00007f555b8c365f in _gcry_mpi_alloc_secure (nlimbs=17) at mpiutil.c:75<br>> #11 0x00007f555b8b025a in secret (output=0x17cfa20, input=0x17d0480,<br>> skey=0x6) at rsa.c:365<br>
> #12 0x00007f555b8b045a in _gcry_rsa_sign (algo=<value optimized out>,<br>> resarr=0x17d0660, data=0x17d0480, skey=<value optimized out>) at rsa.c:608<br>> #13 0x00007f555b88c1ef in pubkey_sign (r_sig=0x7fff546e1488, s_hash=<value<br>
> optimized out>, s_skey=<value optimized out>) at pubkey.c:692<br>> #14 _gcry_pk_sign (r_sig=0x7fff546e1488, s_hash=<value optimized out>,<br>> s_skey=<value optimized out>) at pubkey.c:1807<br>
> ---Type <return> to continue, or q <return> to quit---<br>> #15 0x00007f555bb29d8c in ?? () from /usr/lib64/libgnutls.so.26<br>> #16 0x00007f555bb15e7a in ?? () from /usr/lib64/libgnutls.so.26<br>> #17 0x00007f555bb1ddd6 in ?? () from /usr/lib64/libgnutls.so.26<br>
> #18 0x00007f555bb1e67f in ?? () from /usr/lib64/libgnutls.so.26<br>> #19 0x00007f555bb1edaf in ?? () from /usr/lib64/libgnutls.so.26<br>> #20 0x00007f555bb0af85 in ?? () from /usr/lib64/libgnutls.so.26<br>> #21 0x00007f555bb06c55 in ?? () from /usr/lib64/libgnutls.so.26<br>
> #22 0x00007f555bb07437 in gnutls_handshake () from<br>> /usr/lib64/libgnutls.so.26<br>> #23 0x00007f555c8a961b in virNetTLSSessionHandshake () from<br>> /usr/lib64/libvirt.so.0<br>> #24 0x00007f555c89ea2b in virNetServerClientInit () from<br>
> /usr/lib64/libvirt.so.0<br>> #25 0x00007f555c89c821 in ?? () from /usr/lib64/libvirt.so.0<br>> #26 0x00007f555c8a012a in ?? () from /usr/lib64/libvirt.so.0<br>> #27 0x00007f555c79fbf5 in virEventPollRunOnce () from<br>
> /usr/lib64/libvirt.so.0<br>> #28 0x00007f555c79e825 in virEventRunDefaultImpl () from<br>> /usr/lib64/libvirt.so.0<br>> #29 0x00007f555c89c20d in virNetServerRun () from /usr/lib64/libvirt.so.0<br>> #30 0x000000000040c830 in ?? ()<br>
<br></div></div>What does 'ulimit -a' show for the user that you are running libvirtd<br>as ?<br><span class="HOEnZb"><font color="#888888"><br><br>Daniel<br>--<br>|: <a href="http://berrange.com/" target="_blank">http://berrange.com</a>      -o-    <a href="http://www.flickr.com/photos/dberrange/" target="_blank">http://www.flickr.com/photos/dberrange/</a> :|<br>
|: <a href="http://libvirt.org/" target="_blank">http://libvirt.org</a>              -o-             <a href="http://virt-manager.org/" target="_blank">http://virt-manager.org</a> :|<br>|: <a href="http://autobuild.org/" target="_blank">http://autobuild.org</a>       -o-         <a href="http://search.cpan.org/~danberr/" target="_blank">http://search.cpan.org/~danberr/</a> :|<br>
|: <a href="http://entangle-photo.org/" target="_blank">http://entangle-photo.org</a>       -o-       <a href="http://live.gnome.org/gtk-vnc" target="_blank">http://live.gnome.org/gtk-vnc</a> :|<br></font></span></blockquote>
</div><br>