On Wed, 12 May 2010 16:51:48 +0200, Thomas Orgis wrote:

> Poke, poke.

Sorry for the delay, now I found some time for playing with the
flags.
 
> Can you repeat your inital tests with the lot of files to
>   a) reproduce at least one original crash with the stock mpg123
>   b) confirm (or) not that you do not manage to produce that crash with 
> self-built mpg123
> ?

I was not able to reproduce the original crash with the vanilla (lib)mpg123.
 
> Then... the obvious way would be to find out which one of the
> hardened flags Daniel mentioned breaks mpg123. So... write a script
> that iterates over the flags, and builds mpg123 with a reasonable
> subset of the combinations.
> 
> CFLAGS=... ./configure ... --with-optimization=0  # The latter option to 
> really only use your CFLAGS.

I can reproduce the crash reliably with the CFLAGS and LDFLAGS from
Daniel's mail.

The minimal change to make the crash go away is to remove "-pie" from
LDFLAGS.

I'm attaching a log of my attempts.

HTH,
gregor

-- 
 .''`.   http://info.comodo.priv.at/ -- GPG key IDs: 0x8649AA06, 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    

Attachment: log.gz
Description: Binary data

Attachment: signature.asc
Description: Digital signature

Reply via email to