From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-x234.google.com (mail-we0-x234.google.com [IPv6:2a00:1450:400c:c03::234]) by hurricane.the-brannons.com (Postfix) with ESMTPS id CCB5B77C3B for ; Thu, 24 Apr 2014 02:03:22 -0700 (PDT) Received: by mail-we0-f180.google.com with SMTP id k48so1911543wev.25 for ; Thu, 24 Apr 2014 02:02:58 -0700 (PDT) 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=IyPAIsTBYYV5NQNonk0VppiOG59iIUjd16jGaDlFh0U=; b=PvDSYjROPDkcfbnJQNGnuAyLCBQ1xEill/xPbEHjDY8IrDrXjQiZcTzC6hYFVaor+Q ZI2LDfK20JwGbvdczX6tbMEk4hzZ7ihkFsaM5GZQAzNCvtxagUBsPWPZqs4QCgyok/c2 1oUuVyN2j2qqIiFOljnlpGpco0KYsmbXi1nvOHZg6Ku8MDw1EzSCGakLvj0pD+Gi5QEf 1iq9ItzL3arKgOijyW4nVmD/4F7IpJKhc3fmJHz8/ZQIAhlF6Uuu1YRQ+S1/BscDpJ+d PtcDi9UIa/EBaPgpQgc/Zr3AFFe6WqHRiRen0/vG8n3S6lUOsCztKZHC0F8zJIVXrEm/ U62g== X-Received: by 10.194.9.8 with SMTP id v8mr498799wja.53.1398330178745; Thu, 24 Apr 2014 02:02:58 -0700 (PDT) Received: from toaster.adamthompson.me.uk (toaster.adamthompson.me.uk. [2001:8b0:1142:9042::2]) by mx.google.com with ESMTPSA id ft8sm34123554wib.13.2014.04.24.02.02.52 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 24 Apr 2014 02:02:57 -0700 (PDT) Date: Thu, 24 Apr 2014 10:02:43 +0100 From: Adam Thompson To: Karl Dahlke Message-ID: <20140424090243.GL23557@toaster.adamthompson.me.uk> References: <20140323145439.eklhad@comcast.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SgT04PEqo/+yUDw3" Content-Disposition: inline In-Reply-To: <20140323145439.eklhad@comcast.net> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Edbrowse-dev@lists.the-brannons.com Subject: Re: [Edbrowse-dev] URL assert 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, 24 Apr 2014 09:03:23 -0000 --SgT04PEqo/+yUDw3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 23, 2014 at 02:54:39PM +0000, Karl Dahlke wrote: > Yes the URL class is a royal pain. > See jsrt line 537 for all the stuff it's suppose to do. > Lots of side effects, lots of setters. Yeah I've had a *brief* look at it and it looks crazy. > If you find a reproducible pathway to make the assert happen > I'll track through the code and look for something amiss. > I don't have a debug version build, but the regular version from Redhat > I can't get to fail, and I've tried running large blocks > of my jsrt code in a loop 100,000 times over and it seems to work. > So I guess I'm just not hitting the right combination. No, it's just the asserts aren't present in the non-debug builds apparently. The only way you'll see this is to build a debug build of mozjs (as recomme= nded for debugging and development on their website). I suspect there's probably a bug somewhere which is being caught by the deb= ug build but hasn't (yet) manifested itself. As for making the assert happen, it's simply a case of loading jsrt (or seemingly anything) with js enabled on my build of mozjs. > I have no changes pending, nothing in work. > Chris is working on something but it's all over in sendmail.c land. > So if you do have time and want to investigate, the *cpp files are quiesc= ent. > If other things are going on in your world I understand; > maybe you can just make the assert happen and I'll take it from there. I had a *quick* go at debugging this yesterday but I really don't have time= to go through the mozjs code to try and understand why we're breaking somethin= g now. This is because I'm in the final year of my university course and have a co= uple of assignments, one of which being an 8000 plus word report, due in for next week. After that I've got final exams to revise for but I *might* have a bit more time to do edbrowse related development after next= =20 Friday. Cheers, Adam. --SgT04PEqo/+yUDw3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJTWNMzAAoJELZ22lNQBzHOSF8H/iHQYUhVbHikHsDbb3dVfe7I Fr+ErPhZp3gYxtlsIYP9XwpLoRYxBhCZBW3+ziHYtiKHeX/dw8DYIZY/boT7O9pD rr+sF8cbh9MiGB/QJFo+n1aej7H8Y2NAkTh12xbg9mCo6IS1laDiEEHgDf6DTYnw uhXIZaYteOIyIVHsK0St5ALizlJSjjOlC7sHK9ZLGbh0fLbVmTC7ry54xjTjsw4z aChWg3VPQkUsmgeN0wEwfCDZE2Dzuj0ljHq7qS1l4YJPl6tBpchYgMwXkTWaUg+Q 3o7tkPLymVnoJi1lIzlET6DRjyHCCpQ/6VyJMTiiGc0NpNNAdkqu/o0d1Rtv+3E= =vBGq -----END PGP SIGNATURE----- --SgT04PEqo/+yUDw3--