<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
No problem Ben.
<div>As discussed I'm running valgrind again, this time for 5-7 days hopefully to catch the issue.</div>
<div>Will share the log once it's done.</div>
<div><br>
On mié, mar 6, 2019 at 2:06 AM, Ben Pfaff &lt;blp@ovn.org&gt; wrote:<br>
<blockquote type="cite">
<div class="plaintext" style="white-space: pre-wrap;">This is taking more time than I have to invest at the moment, so I'll plan to try again if the next valgrind run doesn't help enough. On Tue, Mar 05, 2019 at 04:15:49PM -0800, Ben Pfaff wrote:
<blockquote>OK, sorry I missed it earlier. This explains why the dump-heap scripts don't work. They assume glibc malloc. I am now reading the MUSL source to learn about how to write an equivalent tool for MUSL malloc. On Wed, Mar 06, 2019 at 12:13:32AM &#43;0000,
 Fernando Casas Schössow wrote: &gt; Indeed. &gt; &gt; I mentioned this in an email from yesterday with more details about the build (configure options, patches applied). &gt; &gt; I'm using OVS on Alpine Linux, which uses musl libc, rather than glibc. &gt; &gt; From my previous
 email: &gt; &gt; --------------------------------------------------------------------------quote------------------------------------------------------------------------- &gt; Alpine Linux is currently using OVS 2.10.1 and the source for the package comes from:
<a href="http://www.openvswitch.org/releases/openvswitch-2.10.1.tar.gz">http://www.openvswitch.org/releases/openvswitch-2.10.1.tar.gz</a> &gt; &gt; BTW I mentioned I'm running OVS on Alpine Linux a few times but just want to give you more details about the build.
 &gt; For what it worth Alpine uses musl libc. The configure command looks like this: &gt; &gt; ./configure --prefix=/usr \ &gt; --sysconfdir=/etc \ &gt; --mandir=/usr/share/man \ &gt; --infodir=/usr/share/info \ &gt; --localstatedir=/var \ &gt; --enable-ndebug \ &gt; --enable-libcapng
 \ &gt; PYTHON=/usr/bin/python2 &gt; &gt; And besides the ifupdown scripts the only patch it applies seems to be required by musl libc: &gt; &gt; musl-if_packet.patch &gt; --- openvswitch-2.4.0/lib/netdev-linux.c 2015-08-20 00:33:42.960971996 &#43;0000 &gt; &#43;&#43;&#43; openvswitch-2.4.0/lib/netdev-linux.c.new
 2015-08-22 18:16:10.741115156 &#43;0000 &gt; @@ -37,10 &#43;37,9 @@ &gt; #include &lt;sys/ioctl.h&gt; &gt; #include &lt;sys/socket.h&gt; &gt; #include &lt;sys/utsname.h&gt; &gt; -#include &lt;netpacket/packet.h&gt; &gt; #include &lt;net/if.h&gt; &gt; #include &lt;net/if_arp.h&gt; &gt; -#include &lt;net/if_packet.h&gt; &gt; &#43;#include
 &lt;linux/if_packet.h&gt; &gt; #include &lt;net/route.h&gt; &gt; #include &lt;netinet/in.h&gt; &gt; #include &lt;poll.h&gt; &gt; &gt; I'm mentioning all this in case it can be useful for the investigation since recently I reported a bug in QEMU that after a deep investigation with the devs seems
 to be mostly affecting Alpine because of the compiler optimizations it uses. &gt; ------------------------------------------------------------------------end quote----------------------------------------------------------------------- &gt; &gt; On mié, mar 6, 2019
 at 1:08 AM, Ben Pfaff &lt;<a href="mailto:blp@ovn.org">blp@ovn.org</a>&gt; wrote: &gt; From the core dump (that you sent me off-list), it looks like you are using MUSL libc, rather than glibc: blp@sigill:~/nicira/ovs/_build(127)$ ldd ./ovs-vswitchd linux-vdso.so.1
 (0x00007fff877bd000) libssl.so.1.1 =&gt; /lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007f6bc4526000) libcrypto.so.1.1 =&gt; /lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007f6bc423e000) libcap-ng.so.0 =&gt; /lib/x86_64-linux-gnu/libcap-ng.so.0 (0x00007f6bc4236000) libc.musl-x86_64.so.1
 =&gt; not found libdl.so.2 =&gt; /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f6bc4231000) libpthread.so.0 =&gt; /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f6bc4210000) libc.so.6 =&gt; /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6bc404d000) /lib/ld-musl-x86_64.so.1 =&gt; /lib64/ld-linux-x86-64.so.2
 (0x00007f6bc47fb000) blp@sigill:~/nicira/ovs/_build(0)$ Is that correct? On Tue, Mar 05, 2019 at 03:08:59PM -0800, Ben Pfaff wrote: &gt; That is worth a shot. Thank you. On Tue, Mar 05, 2019 at 11:06:08PM &#43;0000, Fernando Casas Schössow wrote: &gt; Too bad. :( &gt;
 &gt; Should I start over but leave it running for let's say 5-7 days instead? &gt; Maybe 48 hours was not enough. &gt; &gt; On mié, mar 6, 2019 at 12:03 AM, Ben Pfaff &lt;<a href="mailto:blp@ovn.org">blp@ovn.org</a>&lt;<a href="mailto:blp@ovn.org">mailto:blp@ovn.org</a>&gt;&gt; wrote:
 &gt; On Tue, Mar 05, 2019 at 09:56:30PM &#43;0000, Fernando Casas Schössow wrote: &gt; Please find attached valgrind log. It was running for around 48 hours. Hopefully it was enough otherwise let me know and I can run it again for more time. &gt; Thanks for the log. There
 are several suspicious warnings to look at in this log, and I will do that. But it does not point out any significant memory leaks--even if I consider all of the &quot;possible leaks&quot; it mentions as actual leaks (usually, they are not), they are much too small
 by orders of magnitudes to be the problem reported. &gt; &gt; &gt; &gt; </blockquote>
</div>
</blockquote>
<br>
<br>
</div>
</body>
</html>