From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=91.121.71.147; helo=nautica.notk.org; envelope-from=asmadeus@notk.org; receiver= X-Greylist: delayed 320 seconds by postgrey-1.37 at hurricane.the-brannons.com; Fri, 05 Jan 2018 12:38:09 PST Received: from nautica.notk.org (nautica.notk.org [91.121.71.147]) by hurricane.the-brannons.com (Postfix) with ESMTPS id D2C72779FC for ; Fri, 5 Jan 2018 12:38:09 -0800 (PST) Received: by nautica.notk.org (Postfix, from userid 1001) id 5B081C009; Fri, 5 Jan 2018 21:35:47 +0100 (CET) Date: Fri, 5 Jan 2018 21:35:32 +0100 From: Dominique Martinet To: Chuck Hallenbeck Cc: Edbrowse Development Message-ID: <20180105203532.GA30696@nautica> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [Edbrowse-dev] Signing into my Amazon account X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.24 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jan 2018 20:38:10 -0000 Hi Chuck, Happy new year everyone. Chuck Hallenbeck wrote on Fri, Jan 05, 2018: > #1. No matter what, I always get the "Please enable > cookies to continue" message at the top of the sign-in page. This is likely a js problem, some variable/field must not be set somewhere so the text is displayed. > #3. When I enter my sign-in info and activate the submit button, > edbrowse segfaults. I can reproduce this segfault, it crahes in handlerGoBrowse (in html.c) after walking up the html tags till there is no parent anymore, and found no handler at all, then runs the handler of the document itself and since it is the first handler tries to get 'cf' from the null tag. I believe we should just remove this line 1800: cf = t->f0; (I'll defer to Karl on that) The problem is that, even after doing that, Amazon still does not log me in after filling the information. It reloads the same page and tells me the Email I entered is not valid, except that I think it should be, so there must be some more javascript failing? Running with -d3 gives me a few messages "TypeError: undefined not callable" so I am sure that something goes wrong somewhere, but not what. > Are there tricks I don't know about? Can others do this > successfully? If so, how? Can I generate more helpful information > somehow? Reporting something that others can reproduce is already very helpful! I have gotten the information I just gave from a tool called 'gdb'. You need to compile edbrowse with 'make EDDEBUG=1' then running edbrowse under gdb will give you more information about what happened during the crash. -- Dominique