mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: webkitfltk segfaults in do_relocs
Date: Wed, 19 Nov 2014 14:13:11 -0500	[thread overview]
Message-ID: <20141119191311.GM22465@brightrain.aerifal.cx> (raw)
In-Reply-To: <20141119190444.GA17350@newbook>

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


  reply	other threads:[~2014-11-19 19:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-19 16:44 Isaac Dunham
2014-11-19 16:50 ` Rich Felker
2014-11-19 19:04   ` Isaac Dunham
2014-11-19 19:13     ` Rich Felker [this message]
2014-11-19 19:48       ` Isaac Dunham
2014-11-19 19:58         ` Rich Felker
2014-11-19 20:20           ` Isaac Dunham
2014-11-19 20:56             ` Rich Felker
2014-11-19 22:43               ` Isaac Dunham
2014-11-20  6:14                 ` Timo Teras
2014-11-22  5:24 ` webkitfltk segfaults in do_relocs (partly solved) Isaac Dunham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141119191311.GM22465@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).