Hi!

On Mon, May 10, 2010 at 12:09:02AM +0200, gregor herrmann wrote:
> On Sun, 09 May 2010 21:16:47 +0200, Thomas Orgis wrote:
> > I managed to reproduce a crash
> 
> I'm glad I'm not the only one with this phenomenon :)

With drum.mp3, I'm now also seeing the segfault in an i386 chroot. amd64 is
still fine. Building the Debian package with DEB_BUILD_OPTIONS=noharden (ie.
without CFLAGS "-Wformat -D_FORTIFY_SOURCE=2 -fstack-protector -fPIE" and
LDFLAGS "-Wl,-z,relro -pie") prevents the crashes. However, I'm not sure
whether we really reproduce Gregor's original problem because for me, and
unhardened mpg123 always terminates normally even with hardened libmpg123 and
output plugin (dummy), and a hardened mpg123 always crashes, even with
unhardened libmpg123 and output plugin. In contrast, Gregor states that he
could cure the crashes by changing to a different libmpg123.

Anyway, this means that there is either a toolchain bug on i386 in one of the
hardening options, or a bug in mpg123 that usually goes unnoticed and is only
uncovered in a hardened build. I haven't managed to drill down any further so
far. Needless to say that mpg123 doesn't segfault anymore as soon as it's run
in valgrind.

Regards,

Daniel.




-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to