From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::229]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 610E678495 for ; Thu, 20 Feb 2014 12:26:14 -0800 (PST) Received: by mail-wi0-f169.google.com with SMTP id e4so177756wiv.2 for ; Thu, 20 Feb 2014 12:25:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=7Aqg7PhYXoUdsg0TnV/Lq7PPxETu5fue2OePIfcuLEA=; b=o6QD/9BmWL+3a3p5qibRS9pKlH1I3e+9xDU1ED3WSfTorOTsl6Qr1fTSM0il2wGRAj dKB3gVUOQOEqo4c7qqmL9XwN9gHQKuCDjHGj2q4aDxcJ4Xws0R/YrtYz1yCDVKSfFOD8 U9KFM6P16dxo2RSjJETLp0ka4XI+wuGUDouxUSMBjvObvprXiwDD51yGMSlZkNRQmhBJ +7rseSwis4Cd3FlHvdjek3NpF9uxWFfFw1+g/tpoJgSnij7SY43sQ9CZOYLfoQXhyNOD VJL7XtjC29mZM71o7o+6bV1VRHH6Oinr94FS1xMshDhMl1qXyrCCe/6qFqjrTTDaHHcu wnUQ== X-Received: by 10.180.165.238 with SMTP id zb14mr54412wib.51.1392927918786; Thu, 20 Feb 2014 12:25:18 -0800 (PST) Received: from toaster.adamthompson.me.uk (toaster.adamthompson.me.uk. [2001:8b0:1142:9042::2]) by mx.google.com with ESMTPSA id d6sm1432407wiz.4.2014.02.20.12.25.16 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 20 Feb 2014 12:25:17 -0800 (PST) Date: Thu, 20 Feb 2014 20:25:14 +0000 From: Adam Thompson To: Karl Dahlke Message-ID: <20140220202514.GT28870@toaster.adamthompson.me.uk> References: <20140120100102.eklhad@comcast.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140120100102.eklhad@comcast.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Edbrowse-dev@lists.the-brannons.com Subject: Re: [Edbrowse-dev] infinite loop 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: Thu, 20 Feb 2014 20:26:14 -0000 On Thu, Feb 20, 2014 at 10:01:02AM -0500, Karl Dahlke wrote: > I will respond to some of your other questions in a bit, but first ... > > the hog memory button, as it is today, with jspool = 8, though I don't > think pool size matters, I push it , get my numbers, get the error; > then I push it again and edbrowse falls into an infinite spinning loop inside > JS_CallFunctionName(). > The load average jumps up to 1. > You have to ^| quit to break out. > > Now, even stranger, in buffers .c, > at line 4346 is jSyncup(). > Just before that put this line in. > > printf("findField returns xx\n", 27); > > It's just a print statement, that's all, but it fixes the infinite loop. > > Even stranger, remove the argument 27 from the print statement, > it isn't being used anyways, and the infinite loop is back. > Probably the strangest repeatable thing I've seen in 30 years of programming. Yeah, that's both weird and concerning. I've got no idea why this would happen, particularly as I don't seem to be able to repeat it. Any idea what the infinite loop is supposed to be doing ?