From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (unknown [IPv6:2602:4b:a4ef:2500:12bf:48ff:fe7c:5584]) by hurricane.the-brannons.com (Postfix) with ESMTPSA id 7686377889 for ; Fri, 17 Jan 2014 10:42:30 -0800 (PST) From: Chris Brannon To: edbrowse-dev@lists.the-brannons.com References: <20140008060551.eklhad@comcast.net> <20140108124047.GB3935@toaster.adamthompson.me.uk> <87y52iuwej.fsf@mushroom.PK5001Z> <20140114212737.GC31480@toaster.adamthompson.me.uk> <87txd6us1n.fsf@mushroom.PK5001Z> <20140117120949.GC21779@spoons.adamthompson.me.uk> Date: Fri, 17 Jan 2014 10:42:25 -0800 In-Reply-To: <20140117120949.GC21779@spoons.adamthompson.me.uk> (Adam Thompson's message of "Fri, 17 Jan 2014 12:09:49 +0000") Message-ID: <87d2jqv4a6.fsf@mushroom.PK5001Z> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Edbrowse-dev] js progress update X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.17 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jan 2014 18:42:30 -0000 Adam Thompson writes: > Yeah, particularly if using a debug build of smjs. Also -- and you may have already discovered this -- it seems that you need openssl built with -DPURIFY in CFLAGS to make running under valgrind effective. Otherwise, you get a bunch of spurious "uninitialized value" errors caused by openssl. I've started running under valgrind. So far, the only memory leak I've found is not JS-related at all; it's in htmlAttrVal. I believe it's caused by returning NULL / 0 in the middle of the function without calling nzFree on a now-unreachable allocated string. So I'll keep on testing for other leaks. PS. I managed to crash the latest yesterday, running under mozjs 24, while browsing netflix.com. I couldn't repeat it, though. -- Chris