|
Date: Tue, 6 Oct 2015 13:07:55 -0400 From: Rich Felker <dalias@...c.org> To: musl@...ts.openwall.com Subject: Re: musl bug or not, real or not? (Was: Update: pthread_getattr_np() vs explicit runtime) loader On Tue, Oct 06, 2015 at 01:34:51PM +0200, u-uy74@...ey.se wrote: > Either nobody cares or nobody has a gcc-5.x toolchain built with musl? > Wondering. > > gcc-5 looks like a case important enough to care. It's not that I'm uninterested, just that there does not yet seem to be any reason to believe it's a bug in musl or any easy test-case to reproduce the problem, so I wouldn't even know where to get started... I think you really need to find a way to use what debugging tools you have to figure out what's going on and where the actual source of the crash is. Rich > On Wed, Sep 30, 2015 at 10:35:48PM +0200, u-uy74@...ey.se wrote: > > On Wed, Sep 30, 2015 at 05:43:37PM +0200, u-uy74@...ey.se wrote: > > > > > > I still think that the crashes are caused by errors > > > while guessing the stack placement in pthread_getattr_np(), > > > simply because of the kernel doing something else than usual. > > > > I can reproduce the problem and this looks like something > > to fix or at least work around, either in gcc or in musl. > > > > Running with the implicit loader works, but using the explicit one yields: > > > > ---------------------------------------------------------------- > > # cat /proc/sys/kernel/randomize_va_space > > 2 > > > > $ /pathtomusllibc.so --library-path /pathtogcc-5libs /pathto/jv-convert --help > > Usage: jv-convert [OPTIONS] [INPUTFILE [OUTPUTFILE]] > > > > Convert from one encoding to another. > > > > --encoding FROM > > --from FROM use FROM as source encoding name > > --to TO use TO as target encoding name > > -i FILE read from FILE > > -o FILE print output to FILE > > --reverse swap FROM and TO encodings > > --help print this help, then exit > > --version print version number, then exit > > > > `-' as a file name argument can be used to refer to stdin or stdout. > > > > # echo 0 > /proc/sys/kernel/randomize_va_space > > > > $ /pathtomusllibc.so --library-path /pathtogcc-5libs /pathto/jv-convert --help > > Segmentation fault > > ---------------------------------------------------------------- > > > > Would anybody try this and confirm or refute? > > > > Rune
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.