[MPlayer-advusers] Mplayer SEGV in module: ao2_init

Clemens Ladisch clemens at ladisch.de
Mon Aug 1 11:53:10 CEST 2011


Reimar Döffinger wrote:
> On Thu, Jul 28, 2011 at 03:09:12PM +0100, Stuart Foster wrote:
> > With glibc 2.14 Mplayer is crashing in the ALSA set-up with a segv
> > (see attached) prior to the segv if run under valgrind a memory
> > error is reported in dl-close() (valgind report also in attachment).
> > I can repeat the problem both on my quad core phenom system and also
> > on a old IBM Thinkpad R51. Other applications linked against ALSA
> > report the valgrind problem but I am only experiencing crashes with
> > Mplayer. Please advise.
> 
> Your ALSA setup continues to use a dlopen handle after it closed it
> again.

The crash and the valgrind error are from two different places in
alsa-lib.  In both cases, it looks as if the handles returned by dlopen
(or some internal dl* data structures) have been corrupted.

> I don't see how this could be MPlayer's fault,

If there were a bug in the dl* calls, it would be inside alsa-lib.
However, all these calls are straight dlopen-dlsym-dlcose sequences,
so I am at a loss to explain this with an ALSA bug.

Stuart, is there a reason that you mention glibc 2.14?
Is this a regression from an earlier glibc?


Regards,
Clemens


More information about the MPlayer-advusers mailing list