[MPlayer-users] mplayer -identlfy failure
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Sun Dec 19 00:24:15 CET 2010
On Sat, Dec 18, 2010 at 10:38:23PM +0100, Sebastien Fievet wrote:
> On Sat, 18 Dec 2010 21:13:41 +0100
> Reimar Döffinger <Reimar.Doeffinger at gmx.de> wrote:
> > Well, you compiled against the system libdvd* which means no debug info for
> > those functions.
>
> :-(
> Would it work if i'd recompile them all with "CFLAGS=-g3" to "enable" debug symbols?
There's still the point that I don't have whatever source code you used to
compile them.
> > But anyway, it looks to me like it gets stuck trying to read the info for
> > the second title, I suspect there is an intentionally broken sector there.
> > It should continue after a _loong_ timeout, and you should see read errors
> > in the dmesg output quite some time before.
>
> just tried it. Mplayer (or libdvd*) just eats up all my memory (2Go RAM + swap) then
> die once there's no memory left. No other message appear but :
Ah, I wasn't sure whether there was a out-of-memory condition or not.
You should try to figure out the allocation that goes wrong.
For that (of course) run mplayer under GDB, but first make sure it
can't use up that much memory, try for example
ulimit -m 102400
or
ulimit -v 409600
The /proc/sys/vm/overcommit_* stuff is another option but IMO it has
become a bit messy over time, with too many different implementations.
Hopefully you'll quickly get a crash that should point to the malloc at fault.
More information about the MPlayer-users
mailing list