Actually I had. But, I ran it again to be sure. Does not show any memory leaks.<br><br><div class="gmail_quote">On Fri, Aug 10, 2012 at 2:41 PM, Peter Jśno¹ <span dir="ltr"><<a href="mailto:petoju@gmail.com" target="_blank">petoju@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
did you try running it using Valgrind? It could help you to find bugs,<br>
independently of their position (your app x libnl).<br>
--<br>
Peter Jśno¹ <<a href="mailto:petoju@gmail.com">petoju@gmail.com</a>><br>
<br>
V Piatok, 10. august 2012 o 14:34 -0400, samriti katoch napķsal(a):<br>
<div><div class="h5">> Hi,<br>
><br>
> I am using libnl-3-200_3.2.7-2_i386.deb and<br>
> libnl-route-3-200_3.2.7-2_i386.deb on Ubuntu to resolve IPv6 addresses<br>
> into corresponding MAC addresses, in a multi-threaded application. I<br>
> see the application crash with Segmentation fault after resolving<br>
> close to 30,000 IPv6 addresses.<br>
> The application creates a cache manager for both route/link and<br>
> route/neigh and then uses nl_cache_mngr_poll function to receive<br>
> neighbor cache updates. Here is a backtrace from gdb after the<br>
> segmentation fault:<br>
><br>
> Program received signal SIGSEGV, Segmentation fault.<br>
> [Switching to Thread -378549344 (LWP 3159)]<br>
> 0xf7e081b3 in main_arena () from /lib/tls/i686/cmov/libc.so.6<br>
> (gdb) bt<br>
> #0 0xf7e081b3 in main_arena () from /lib/tls/i686/cmov/libc.so.6<br>
> #1 0xf7f968b6 in nl_recvmsgs () from /lib/libnl-3.so.200<br>
> #2 0xf7f96e52 in nl_recvmsgs_default () from /lib/libnl-3.so.200<br>
> #3 0xf7f929ee in nl_cache_mngr_data_ready () from /lib/libnl-3.so.200<br>
> #4 0xf7f92a8a in nl_cache_mngr_poll () from /lib/libnl-3.so.200<br>
><br>
> I looked through logs of recent commits and did not find anything that<br>
> mentions this problem.<br>
> I would appreciate it if I could get your inputs on this, and also if<br>
> libnl can handle high load from a multi-threaded applications.<br>
><br>
> Thanks,<br>
> Samriti<br>
</div></div>> _______________________________________________<br>
> libnl mailing list<br>
> <a href="mailto:libnl@lists.infradead.org">libnl@lists.infradead.org</a><br>
> <a href="http://lists.infradead.org/mailman/listinfo/libnl" target="_blank">http://lists.infradead.org/mailman/listinfo/libnl</a><br>
<br>
</blockquote></div><br>