From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/6567 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: webkitfltk segfaults in do_relocs Date: Wed, 19 Nov 2014 14:13:11 -0500 Message-ID: <20141119191311.GM22465@brightrain.aerifal.cx> References: <20141119164412.GB16895@newbook> <20141119165050.GK22465@brightrain.aerifal.cx> <20141119190444.GA17350@newbook> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1416424415 15919 80.91.229.3 (19 Nov 2014 19:13:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Nov 2014 19:13:35 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-6580-gllmg-musl=m.gmane.org@lists.openwall.com Wed Nov 19 20:13:30 2014 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1XrAgz-0000Bz-5Y for gllmg-musl@m.gmane.org; Wed, 19 Nov 2014 20:13:30 +0100 Original-Received: (qmail 10238 invoked by uid 550); 19 Nov 2014 19:13:26 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 10221 invoked from network); 19 Nov 2014 19:13:24 -0000 Content-Disposition: inline In-Reply-To: <20141119190444.GA17350@newbook> User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:6567 Archived-At: On Wed, Nov 19, 2014 at 11:04:47AM -0800, Isaac Dunham wrote: > On Wed, Nov 19, 2014 at 11:50:50AM -0500, Rich Felker wrote: > > On Wed, Nov 19, 2014 at 08:44:15AM -0800, Isaac Dunham wrote: > > > Hello, > > > I've been trying to get WebkitFLTK[1] working on Alpine, and I have it > > > building. > > > But as usual, that's the easy part. The test program, > > > Source/WebKit/fltk/testapp/testapp, segfaults in do_relocs. > > > I'm attaching the output of bt full. > > > > Could you also provide a disassembly and register dump at the point of > > crash? > > > Attaching output of gdb disassemble and info all-registers. > > It's segfaulting "at line 365 of src/ldso/dynlink.c", for what that's worth. > > I'm providing the link command as well in case the problem is there. It looks like it's trying to apply a relocation to a read-only part of the mapping. Could you provide the output of readelf -a testapp? That would let me get an idea what's going on. It's probably too big to send as an attachment raw but compressing it with gzip will probably make it okay, or you could just send a link to a pastebin or similar (sprunge.us preferred). Rich