FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 09-12-2012, 10:41 AM
Frank Steinmetzger
 
Default mplayer: glibc detected memory corruption

Hi List

Every once in a while, my mplayer can't play a video from the intertubes. It
just crashes on load, it really drives me mad sometimes. I then need to
x-kill the window, and if I started from the console, I can't even get back
its prompt with Ctrl+C.

It happens with videos from Wikipedia, some formats from YouTube, NASA and now
also with this example: http://archive.org/details/LowEndCo1985
I wanted to watch the 256k MPeg4 video;
- mplayer crashes (see output below)
- VLC plays it way too slow with chunky audio
- thankfully, my only other installed video player, Kaffeine, was able to play
it, but it's crap as a video player

Strangely enough, the 64k and the 512k versions play. Do you have any idea
what's the problem here? If you need more info, just ask for it. I'm running
64 bit, mplayer 1.1-r1 and ffmpeg 0.10.2-r1.


$ mplayer LowEndCo1985_256kb.mp4
MPlayer 1.1-4.5.3 (C) 2000-2012 MPlayer Team
Konnte Joystick-Gerätedatei '/dev/input/js0' nicht öffnen: No such file or directory
Konnte Joystick nicht initialisieren.
mplayer: could not connect to socket
mplayer: No such file or directory
Fehler beim Öffnen der LIRC-Unterstützung.
Verwendung der Fernbedienung nicht möglich.
[MENU] Kann Menü-Konfigurationsdatei nicht öffnen: /home/frank/.mplayer/menu.conf

Spiele LowEndCo1985_256kb.mp4.
libavformat version 53.32.100 (external)
libavformat-Dateiformat erkannt!
[lavf] stream 0: video (mpeg4), -vid 0
[lavf] stream 2: audio (aac), -aid 0, -alang eng
VIDEO: [MP4V] 320x240 24bpp 29.970 fps 257.3 kbps (31.4 kbyte/s)
Clip-Info:
major_brand: isom
minor_version: 0
compatible_brands: mp41
creation_time: 2003-07-24 04:41:41
Load subtitles in ./
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
================================================== ========================
Öffne Videodecoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 53.61.100 (external)
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
Ausgewählter Videocodec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
================================================== ========================
================================================== ========================
Öffne Audiodecoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 63.7 kbit/4.15% (ratio: 7960->192000)
Ausgewählter Audiocodec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
================================================== ========================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starte Wiedergabe...
Film-Aspekt ist 1.33:1 - Vorskalierung zur Korrektur der Seitenverhältnisse.
VO: [gl] 320x240 => 320x240 Planar YV12
*** glibc detected *** mplayer: malloc(): memory corruption: 0x0000000001957a60 ***
--
Gruß | Greetings | Qapla'
Please do not share anything from, with or about me with any Facebook service.

“It is hard to be a conquering hero when it is not in your nature.”
– Captain Hans Geering, ’Allo ’Allo
 
Old 09-12-2012, 10:50 AM
Helmut Jarausch
 
Default mplayer: glibc detected memory corruption

On 09/12/2012 12:41:20 PM, Frank Steinmetzger wrote:

Hi List

Every once in a while, my mplayer can't play a video from the
intertubes. It
just crashes on load, it really drives me mad sometimes. I then need
to
x-kill the window, and if I started from the console, I can't even
get back

its prompt with Ctrl+C.

....


I have been bitten by this myself.
Therefore I have both installed, mplayer and mplayer2.
I use the GIT-version of both (i.e. -9999.ebuild)

Upto now, one of them worked for any given video.

Helmut.
 
Old 09-12-2012, 10:51 AM
Alan McKinnon
 
Default mplayer: glibc detected memory corruption

On Wed, 12 Sep 2012 12:41:20 +0200
Frank Steinmetzger <Warp_7@gmx.de> wrote:

> Hi List
>
> Every once in a while, my mplayer can't play a video from the
> intertubes. It just crashes on load, it really drives me mad
> sometimes. I then need to x-kill the window, and if I started from
> the console, I can't even get back its prompt with Ctrl+C.
>
> It happens with videos from Wikipedia, some formats from YouTube,
> NASA and now also with this example:
> http://archive.org/details/LowEndCo1985 I wanted to watch the 256k
> MPeg4 video;
> - mplayer crashes (see output below)
> - VLC plays it way too slow with chunky audio
> - thankfully, my only other installed video player, Kaffeine, was
> able to play it, but it's crap as a video player
>
> Strangely enough, the 64k and the 512k versions play. Do you have
> any idea what's the problem here? If you need more info, just ask
> for it. I'm running 64 bit, mplayer 1.1-r1 and ffmpeg 0.10.2-r1.
>
>
> $ mplayer LowEndCo1985_256kb.mp4
> MPlayer 1.1-4.5.3 (C) 2000-2012 MPlayer Team
> Konnte Joystick-Gertedatei '/dev/input/js0' nicht ffnen: No such
> file or directory Konnte Joystick nicht initialisieren.
> mplayer: could not connect to socket
> mplayer: No such file or directory
> Fehler beim ffnen der LIRC-Untersttzung.
> Verwendung der Fernbedienung nicht mglich.
> [MENU] Kann Men-Konfigurationsdatei nicht
> ffnen: /home/frank/.mplayer/menu.conf
>
> Spiele LowEndCo1985_256kb.mp4.
> libavformat version 53.32.100 (external)
> libavformat-Dateiformat erkannt!
> [lavf] stream 0: video (mpeg4), -vid 0
> [lavf] stream 2: audio (aac), -aid 0, -alang eng
> VIDEO: [MP4V] 320x240 24bpp 29.970 fps 257.3 kbps (31.4 kbyte/s)
> Clip-Info:
> major_brand: isom
> minor_version: 0
> compatible_brands: mp41
> creation_time: 2003-07-24 04:41:41
> Load subtitles in ./
> [gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
> ================================================== ========================
> ffne Videodecoder: [ffmpeg] FFmpeg's libavcodec codec family
> libavcodec version 53.61.100 (external)
> Unsupported PixelFormat 61
> Unsupported PixelFormat 53
> Unsupported PixelFormat 81
> Ausgewhlter Videocodec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
> ================================================== ========================
> ================================================== ========================
> ffne Audiodecoder: [ffmpeg] FFmpeg/libavcodec audio decoders
> AUDIO: 48000 Hz, 2 ch, s16le, 63.7 kbit/4.15% (ratio: 7960->192000)
> Ausgewhlter Audiocodec: [ffaac] afm: ffmpeg (FFmpeg AAC
> (MPEG-2/MPEG-4 Audio))
> ================================================== ========================
> AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) Starte Wiedergabe...
> Film-Aspekt ist 1.33:1 - Vorskalierung zur Korrektur der
> Seitenverhltnisse. VO: [gl] 320x240 => 320x240 Planar YV12
> *** glibc detected *** mplayer: malloc(): memory corruption:
> 0x0000000001957a60 ***

Obviously that last line must not happen. You likely tripped over a bug.

How is your mplayer built (output of eix)?

Do you use mplayer or mplayer2?
Do you use ffmpeg or libav?

--
Alan McKinnon
alan.mckinnon@gmail.com
 
Old 09-12-2012, 11:05 PM
Frank Steinmetzger
 
Default mplayer: glibc detected memory corruption

On Wed, Sep 12, 2012 at 12:51:02PM +0200, Alan McKinnon wrote:
> On Wed, 12 Sep 2012 12:41:20 +0200
> Frank Steinmetzger <Warp_7@gmx.de> wrote:
>
> > Hi List
> >
> > Every once in a while, my mplayer can't play a video from the
> > intertubes. It just crashes on load, it really drives me mad
> > sometimes. I then need to x-kill the window, and if I started from
> > the console, I can't even get back its prompt with Ctrl+C.
> >
> > It happens with videos from Wikipedia, some formats from YouTube,
> > NASA and now also with this example:
> > http://archive.org/details/LowEndCo1985 I wanted to watch the 256k
> > MPeg4 video;
> > - mplayer crashes (see output below)
> > - VLC plays it way too slow with chunky audio
> > - thankfully, my only other installed video player, Kaffeine, was
> > able to play it, but it's crap as a video player
> >
> > Strangely enough, the 64k and the 512k versions play. Do you have
> > any idea what's the problem here? If you need more info, just ask
> > for it. I'm running 64 bit, mplayer 1.1-r1 and ffmpeg 0.10.2-r1.
> >
> >
> > $ mplayer LowEndCo1985_256kb.mp4
> > [normal MPlayer output snipped]
> > *** glibc detected *** mplayer: malloc(): memory corruption:
> > 0x0000000001957a60 ***
>
> Obviously that last line must not happen. You likely tripped over a bug.
>
> How is your mplayer built (output of eix)?

I'm not sure how that would help you, except for the list of enabled useflags:
X a52 aalib alsa cdio dga dts dv dvb dvd dvdnav enca encode faad fbcon ftp gif
iconv ipv6 jack joystick jpeg jpeg2k kernel_linux ladspa libass libcaca lirc
live mad mmx mmxext mng mp3 network openal opengl osdmenu png pvr quicktime rar
real rtc samba sdl shm speex sse sse2 ssse3 theora toolame tremor truetype
twolame unicode v4l vorbis x264 xinerama xscreensaver xv xvid

> Do you use mplayer or mplayer2?

mplayer (I tried mplayer2 a longer while ago, but went back very quickly).

> Do you use ffmpeg or libav?

According to the output, it's libav.

I asked a friend with Gentoo to play the video -- it works fine for him.
Because he is using Core i5 graphics, I got a hunch that nvidia might be the
culprit, so I booted my nouveau setup (kernel.org sources version 3.5.3). Now
I'm getting some more output (and a different error). It's not really helpful,
but here goes:


*** glibc detected *** mplayer: free(): invalid next size (normal): 0x000000000150a3d0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7a305)[0x7f6a8811e305]
/usr/lib64/libdrm_nouveau.so.1(nouveau_bo_emit_buffer+0x163)[0x7f6a808a8c03]
/usr/lib64/libdrm_nouveau.so.1(nouveau_reloc_emit+0x73)[0x7f6a808a8e83]
/usr/lib64/libdrm_nouveau.so.1(nouveau_pushbuf_emit_reloc+0x4 c)[0x7f6a808a7bac]
/usr/lib64/dri/nouveau_dri.so(+0x1e2707)[0x7f6a80cc9707]
/usr/lib64/dri/nouveau_dri.so(+0x1db745)[0x7f6a80cc2745]
/usr/lib64/dri/nouveau_dri.so(+0x43b316)[0x7f6a80f22316]
/usr/lib64/dri/nouveau_dri.so(+0x2014d6)[0x7f6a80ce84d6]
/usr/lib64/dri/nouveau_dri.so(+0x30808f)[0x7f6a80def08f]
/usr/lib64/dri/nouveau_dri.so(+0x2f6162)[0x7f6a80ddd162]
/usr/lib64/dri/nouveau_dri.so(+0x2f668b)[0x7f6a80ddd68b]
/usr/lib64/dri/nouveau_dri.so(+0x2e57df)[0x7f6a80dcc7df]
/usr/lib64/dri/nouveau_dri.so(+0x2e857c)[0x7f6a80dcf57c]
mplayer(glUploadTex+0x102)[0x452642]
mplayer[0x457914]
mplayer[0x4c7d69]
mplayer(filter_video+0x3b)[0x498cab]
mplayer[0x43abac]
mplayer(main+0x22f8)[0x43ea38]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x7f6a880c64bd]
mplayer[0x430799]
======= Memory map: ========
00400000-006c3000 r-xp 00000000 08:03 870885 /usr/bin/mplayer
008c3000-008c4000 r--p 002c3000 08:03 870885 /usr/bin/mplayer
008c4000-008c9000 rw-p 002c4000 08:03 870885 /usr/bin/mplayer
008c9000-008ee000 rw-p 00000000 00:00 0
00982000-015d0000 rw-p 00000000 00:00 0 [heap]
7f6a7f51a000-7f6a7ff1a000 rwxp 00000000 00:00 0
7f6a7ff1a000-7f6a7ff24000 r-xp 00000000 08:03 880932 /usr/lib64/libXcursor.so.1.0.2
7f6a7ff24000-7f6a80123000 ---p 0000a000 08:03 880932 /usr/lib64/libXcursor.so.1.0.2
7f6a80123000-7f6a80124000 r--p 00009000 08:03 880932 /usr/lib64/libXcursor.so.1.0.2
7f6a80124000-7f6a80125000 rw-p 0000a000 08:03 880932 /usr/lib64/libXcursor.so.1.0.2
7f6a80125000-7f6a80203000 r--p 00000000 08:03 952450 /usr/share/fonts/libertine-ttf/LinLibertine_R.ttf
7f6a80203000-7f6a8020f000 r-xp 00000000 08:03 812199 /lib64/libnss_files-2.15.so
7f6a8020f000-7f6a8040e000 ---p 0000c000 08:03 812199 /lib64/libnss_files-2.15.so
7f6a8040e000-7f6a8040f000 r--p 0000b000 08:03 812199 /lib64/libnss_files-2.15.so
7f6a8040f000-7f6a80410000 rw-p 0000c000 08:03 812199 /lib64/libnss_files-2.15.so
7f6a80410000-7f6a8041a000 r-xp 00000000 08:03 812193 /lib64/libnss_nis-2.15.so
7f6a8041a000-7f6a8061a000 ---p 0000a000 08:03 812193 /lib64/libnss_nis-2.15.so
7f6a8061a000-7f6a8061b000 r--p 0000a000 08:03 812193 /lib64/libnss_nis-2.15.so
7f6a8061b000-7f6a8061c000 rw-p 0000b000 08:03 812193 /lib64/libnss_nis-2.15.so
7f6a8061c000-7f6a80623000 r-xp 00000000 08:03 812191 /lib64/libnss_compat-2.15.so
7f6a80623000-7f6a80823000 ---p 00007000 08:03 812191 /lib64/libnss_compat-2.15.so
7f6a80823000-7f6a80824000 r--p 00007000 08:03 812191 /lib64/libnss_compat-2.15.so
7f6a80824000-7f6a80825000 rw-p 00008000 08:03 812191 /lib64/libnss_compat-2.15.so
7f6a80825000-7f6a808a5000 rw-s 1056b5000 00:05 1549 /dev/dri/card0
7f6a808a5000-7f6a808aa000 r-xp 00000000 08:03 881153 /usr/lib64/libdrm_nouveau.so.1.0.0
7f6a808aa000-7f6a80aa9000 ---p 00005000 08:03 881153 /usr/lib64/libdrm_nouveau.so.1.0.0
7f6a80aa9000-7f6a80aaa000 r--p 00004000 08:03 881153 /usr/lib64/libdrm_nouveau.so.1.0.0
7f6a80aaa000-7f6a80aab000 rw-p 00005000 08:03 881153 /usr/lib64/libdrm_nouveau.so.1.0.0
7f6a80ae6000-7f6a80ae7000 rw-s 105068000 00:05 1549 /dev/dri/card0
7f6a80ae7000-7f6a819c5000 r-xp 00000000 08:03 243828 /usr/lib64/mesa/nouveau_dri.so
7f6a819c5000-7f6a81bc4000 ---p 00ede000 08:03 243828 /usr/lib64/mesa/nouveau_dri.so
7f6a81bc4000-7f6a81bff000 r--p 00edd000 08:03 243828 /usr/lib64/mesa/nouveau_dri.so
7f6a81bff000-7f6a81c48000 rw-p 00f18000 08:03 243828 /usr/lib64/mesa/nouveau_dri.so
7f6a81c48000-7f6a81e2e000 rw-p 00000000 00:00 0
7f6a81e2e000-7f6a82127000 r--p 00000000 08:03 236605 /usr/lib64/locale/locale-archive
7f6a82127000-7f6a82130000 r-xp 00000000 08:03 880946 /usr/lib64/libXrender.so.1.3.0
7f6a82130000-7f6a8232f000 ---p 00009000 08:03 880946 /usr/lib64/libXrender.so.1.3.0
7f6a8232f000-7f6a82330000 r--p 00008000 08:03 880946 /usr/lib64/libXrender.so.1.3.0
7f6a82330000-7f6a82331000 rw-p 00009000 08:03 880946 /usr/lib64/libXrender.so.1.3.0
7f6a82331000-7f6a82339000 r-xp 00000000 08:03 880945 /usr/lib64/libXrandr.so.2.2.0
7f6a82339000-7f6a82538000 ---p 00008000 08:03 880945 /usr/lib64/libXrandr.so.2.2.0
7f6a82538000-7f6a82539000 r--p 00007000 08:03 880945 /usr/lib64/libXrandr.so.2.2.0
7f6a82539000-7f6a8253a000 rw-p 00008000 08:03 880945 /usr/lib64/libXrandr.so.2.2.0
7f6a8253a000-7f6a82549000 r-xp 00000000 08:03 880939 /usr/lib64/libXi.so.6.1.0
7f6a82549000-7f6a82748000 ---p 0000f000 08:03 880939 /usr/lib64/libXi.so.6.1.0
7f6a82748000-7f6a82749000 r--p 0000e000 08:03 880939 /usr/lib64/libXi.so.6.1.0
7f6a82749000-7f6a8274a000 rw-p 0000f000 08:03 880939 /usr/lib64/libXi.so.6.1.0
7f6a8274a000-7f6a8274f000 r-xp 00000000 08:03 880934 /usr/lib64/libXdmcp.so.6.0.0
7f6a8274f000-7f6a8294e000 ---p 00005000 08:03 880934 /usr/lib64/libXdmcp.so.6.0.0
7f6a8294e000-7f6a8294f000 r--p 00004000 08:03 880934 /usr/lib64/libXdmcp.so.6.0.0
7f6a8294f000-7f6a82950000 rw-p 00005000 08:03 880934 /usr/lib64/libXdmcp.so.6.0.0
7f6a82950000-7f6a82952000 r-xp 00000000 08:03 880928 /usr/lib64/libXau.so.6.0.0
7f6a82952000-7f6a82b52000 ---p 00002000 08:03 880928 /usr/lib64/libXau.so.6.0.0
7f6a82b52000-7f6a82b53000 r--p 00002000 08:03 880928 /usr/lib64/libXau.so.6.0.0
7f6a82b53000-7f6a82b54000 rw-p 00003000 08:03 880928 /usr/lib64/libXau.so.6.0.0
7f6a82b54000-7f6a82b5a000 r-xp 00000000 08:03 881789 /usr/lib64/libogg.so.0.8.0
7f6a82b5a000-7f6a82d59000 ---p 00006000 08:03 881789 /usr/lib64/libogg.so.0.8.0
7f6a82d59000-7f6a82d5a000 r--p 00005000 08:03 881789 /usr/lib64/libogg.so.0.8.0
7f6a82d5a000-7f6a82d5b000 rw-p 00006000 08:03 881789 /usr/lib64/libogg.so.0.8.0
7f6a82d5b000-7f6a82ee5000 r-xp 00000000 08:03 881117 /usr/lib64/libcrypto.so.1.0.0
7f6a82ee5000-7f6a830e5000 ---p 0018a000 08:03 881117 /usr/lib64/libcrypto.so.1.0.0
7f6a830e5000-7f6a830fe000 r--p 0018a000 08:03 881117 /usr/lib64/libcrypto.so.1.0.0
7f6a830fe000-7f6a83108000 rw-p 001a3000 08:03 881117 /usr/lib64/libcrypto.so.1.0.0
7f6a83108000-7f6a8310c000 rw-p 00000000 00:00 0
7f6a8310c000-7f6a83162000 r-xp 00000000 08:03 881984 /usr/lib64/libssl.so.1.0.0
7f6a83162000-7f6a83361000 ---p 00056000 08:03 881984 /usr/lib64/libssl.so.1.0.0
7f6a83361000-7f6a83364000 r--p 00055000 08:03 881984 /usr/lib64/libssl.so.1.0.0
7f6a83364000-7f6a83369000 rw-p 00058000 08:03 881984 /usr/lib64/libssl.so.1.0.0
7f6a83369000-7f6a8336e000 r-xp 00000000 08:03 882140 /usr/lib64/libxcb-xfixes.so.0.0.0
7f6a8336e000-7f6a8356e000 ---p 00005000 08:03 882140 /usr/lib64/libxcb-xfixes.so.0.0.0
7f6a8356e000-7f6a8356f000 r--p 00005000 08:03 882140 /usr/lib64/libxcb-xfixes.so.0.0.0
7f6a8356f000-7f6a83570000 rw-p 00006000 08:03 882140 /usr/lib64/libxcb-xfixes.so.0.0.0
7f6a83570000-7f6a83571000 rw-p 00000000 00:00 0
7f6a83571000-7f6a83574000 r-xp 00000000 08:03 882122 /usr/lib64/libxcb-dri2.so.0.0.0
7f6a83574000-7f6a83774000 ---p 00003000 08:03 882122 /usr/lib64/libxcb-dri2.so.0.0.0
7f6a83774000-7f6a83775000 r--p 00003000 08:03 882122 /usr/lib64/libxcb-dri2.so.0.0.0
7f6a83775000-7f6a83776000 rw-p 00004000 08:03 882122 /usr/lib64/libxcb-dri2.so.0.0.0
7f6a83776000-7f6a83781000 r-xp 00000000 08:03 881152 /usr/lib64/libdrm.so.2.4.0
7f6a83781000-7f6a83980000 ---p 0000b000 08:03 881152 /usr/lib64/libdrm.so.2.4.0
7f6a83980000-7f6a83981000 r--p 0000a000 08:03 881152 /usr/lib64/libdrm.so.2.4.0
7f6a83981000-7f6a83982000 rw-p 0000b000 08:03 881152 /usr/lib64/libdrm.so.2.4.0
7f6a83982000-7f6a83999000 r-xp 00000000 08:03 882124 /usr/lib64/libxcb-glx.so.0.0.0
7f6a83999000-7f6a83b98000 ---p 00017000 08:03 882124 /usr/lib64/libxcb-glx.so.0.0.0
7f6a83b98000-7f6a83b9a000 r--p 00016000 08:03 882124 /usr/lib64/libxcb-glx.so.0.0.0
7f6a83b9a000-7f6a83b9b000 rw-p 00018000 08:03 882124 /usr/lib64/libxcb-glx.so.0.0.0
7f6a83b9b000-7f6a83b9c000 r-xp 00000000 08:03 880925 /usr/lib64/libX11-xcb.so.1.0.0
7f6a83b9c000-7f6a83d9b000 ---p 00001000 08:03 880925 /usr/lib64/libX11-xcb.so.1.0.0
7f6a83d9b000-7f6a83d9c000 r--p 00000000 08:03 880925 /usr/lib64/libX11-xcb.so.1.0.0
7f6a83d9c000-7f6a83d9d000 rw-p 00001000 08:03 880925 /usr/lib64/libX11-xcb.so.1.0.0
7f6a83d9d000-7f6a83da2000 r-xp 00000000 08:03 880936 /usr/lib64/libXfixes.so.3.1.0
7f6a83da2000-7f6a83fa1000 ---p 00005000 08:03 880936 /usr/lib64/libXfixes.so.3.1.0
7f6a83fa1000-7f6a83fa2000 r--p 00004000 08:03 880936 /usr/lib64/libXfixes.so.3.1.0
7f6a83fa2000-7f6a83fa3000 rw-p 00005000 08:03 880936 /usr/lib64/libXfixes.so.3.1.0

MPlayer wurde durch Signal 6 im Modul filter video unterbrochen.


--
Gru | Greetings | Qapla'
Please do not share anything from, with or about me with any Facebook service.

The majority of people have an above-average number of legs.
 
Old 09-13-2012, 09:11 AM
Alan McKinnon
 
Default mplayer: glibc detected memory corruption

On Thu, 13 Sep 2012 01:05:23 +0200
Frank Steinmetzger <Warp_7@gmx.de> wrote:

> On Wed, Sep 12, 2012 at 12:51:02PM +0200, Alan McKinnon wrote:
> > On Wed, 12 Sep 2012 12:41:20 +0200
> > Frank Steinmetzger <Warp_7@gmx.de> wrote:
> >
> > > Hi List
> > >
> > > Every once in a while, my mplayer can't play a video from the
> > > intertubes. It just crashes on load, it really drives me mad
> > > sometimes. I then need to x-kill the window, and if I started
> > > from the console, I can't even get back its prompt with Ctrl+C.
> > >
> > > It happens with videos from Wikipedia, some formats from YouTube,
> > > NASA and now also with this example:
> > > http://archive.org/details/LowEndCo1985 I wanted to watch the 256k
> > > MPeg4 video;
> > > - mplayer crashes (see output below)
> > > - VLC plays it way too slow with chunky audio
> > > - thankfully, my only other installed video player, Kaffeine, was
> > > able to play it, but it's crap as a video player
> > >
> > > Strangely enough, the 64k and the 512k versions play. Do you have
> > > any idea what's the problem here? If you need more info, just ask
> > > for it. I'm running 64 bit, mplayer 1.1-r1 and ffmpeg 0.10.2-r1.
> > >
> > >
> > > $ mplayer LowEndCo1985_256kb.mp4
> > > [normal MPlayer output snipped]
> > > *** glibc detected *** mplayer: malloc(): memory corruption:
> > > 0x0000000001957a60 ***
> >
> > Obviously that last line must not happen. You likely tripped over a
> > bug.
> >
> > How is your mplayer built (output of eix)?
>
> I'm not sure how that would help you, except for the list of enabled
> useflags: X a52 aalib alsa cdio dga dts dv dvb dvd dvdnav enca encode
> faad fbcon ftp gif iconv ipv6 jack joystick jpeg jpeg2k kernel_linux
> ladspa libass libcaca lirc live mad mmx mmxext mng mp3 network openal
> opengl osdmenu png pvr quicktime rar real rtc samba sdl shm speex sse
> sse2 ssse3 theora toolame tremor truetype twolame unicode v4l vorbis
> x264 xinerama xscreensaver xv xvid
>
> > Do you use mplayer or mplayer2?
>
> mplayer (I tried mplayer2 a longer while ago, but went back very
> quickly).
>
> > Do you use ffmpeg or libav?
>
> According to the output, it's libav.
>
> I asked a friend with Gentoo to play the video -- it works fine for
> him. Because he is using Core i5 graphics, I got a hunch that nvidia
> might be the culprit, so I booted my nouveau setup (kernel.org
> sources version 3.5.3). Now I'm getting some more output (and a
> different error). It's not really helpful, but here goes:


All your settings look pretty normal to me.

All three videos play fine here with AMD graphics (and no
mplayer messages about issues at all) so I doubt the video itself is to
blame, but I think you already know that.

You'll probably need to talk to the mplayer devs directly to get to the
bottom of this one. I assume you did all the obvious things already
like nvidia vs nouveau drivers, test with all GL types you have,
compare released mplayer with latest from svn, etc etc etc ?





>
>
> *** glibc detected *** mplayer: free(): invalid next size (normal):
> 0x000000000150a3d0 *** ======= Backtrace: =========
> /lib64/libc.so.6(+0x7a305)[0x7f6a8811e305]
> /usr/lib64/libdrm_nouveau.so.1(nouveau_bo_emit_buffer+0x163)[0x7f6a808a8c03]
> /usr/lib64/libdrm_nouveau.so.1(nouveau_reloc_emit+0x73)[0x7f6a808a8e83]
> /usr/lib64/libdrm_nouveau.so.1(nouveau_pushbuf_emit_reloc+0x4 c)[0x7f6a808a7bac]
> /usr/lib64/dri/nouveau_dri.so(+0x1e2707)[0x7f6a80cc9707]
> /usr/lib64/dri/nouveau_dri.so(+0x1db745)[0x7f6a80cc2745]
> /usr/lib64/dri/nouveau_dri.so(+0x43b316)[0x7f6a80f22316]
> /usr/lib64/dri/nouveau_dri.so(+0x2014d6)[0x7f6a80ce84d6]
> /usr/lib64/dri/nouveau_dri.so(+0x30808f)[0x7f6a80def08f]
> /usr/lib64/dri/nouveau_dri.so(+0x2f6162)[0x7f6a80ddd162]
> /usr/lib64/dri/nouveau_dri.so(+0x2f668b)[0x7f6a80ddd68b]
> /usr/lib64/dri/nouveau_dri.so(+0x2e57df)[0x7f6a80dcc7df]
> /usr/lib64/dri/nouveau_dri.so(+0x2e857c)[0x7f6a80dcf57c]
> mplayer(glUploadTex+0x102)[0x452642]
> mplayer[0x457914]
> mplayer[0x4c7d69]
> mplayer(filter_video+0x3b)[0x498cab]
> mplayer[0x43abac]
> mplayer(main+0x22f8)[0x43ea38]
> /lib64/libc.so.6(__libc_start_main+0xfd)[0x7f6a880c64bd]
> mplayer[0x430799]
> ======= Memory map: ========
> 00400000-006c3000 r-xp 00000000 08:03
> 870885 /usr/bin/mplayer 008c3000-008c4000 r--p 002c3000
> 08:03 870885 /usr/bin/mplayer 008c4000-008c9000 rw-p
> 002c4000 08:03 870885 /usr/bin/mplayer 008c9000-008ee000
> rw-p 00000000 00:00 0 00982000-015d0000 rw-p 00000000 00:00
> 0 [heap] 7f6a7f51a000-7f6a7ff1a000 rwxp 00000000 00:00
> 0 7f6a7ff1a000-7f6a7ff24000 r-xp 00000000 08:03
> 880932 /usr/lib64/libXcursor.so.1.0.2 7f6a7ff24000-7f6a80123000
> ---p 0000a000 08:03 880932 /usr/lib64/libXcursor.so.1.0.2
> 7f6a80123000-7f6a80124000 r--p 00009000 08:03
> 880932 /usr/lib64/libXcursor.so.1.0.2 7f6a80124000-7f6a80125000
> rw-p 0000a000 08:03 880932 /usr/lib64/libXcursor.so.1.0.2
> 7f6a80125000-7f6a80203000 r--p 00000000 08:03
> 952450 /usr/share/fonts/libertine-ttf/LinLibertine_R.ttf
> 7f6a80203000-7f6a8020f000 r-xp 00000000 08:03
> 812199 /lib64/libnss_files-2.15.so 7f6a8020f000-7f6a8040e000 ---p
> 0000c000 08:03 812199 /lib64/libnss_files-2.15.so
> 7f6a8040e000-7f6a8040f000 r--p 0000b000 08:03
> 812199 /lib64/libnss_files-2.15.so 7f6a8040f000-7f6a80410000 rw-p
> 0000c000 08:03 812199 /lib64/libnss_files-2.15.so
> 7f6a80410000-7f6a8041a000 r-xp 00000000 08:03
> 812193 /lib64/libnss_nis-2.15.so 7f6a8041a000-7f6a8061a000 ---p
> 0000a000 08:03 812193 /lib64/libnss_nis-2.15.so
> 7f6a8061a000-7f6a8061b000 r--p 0000a000 08:03
> 812193 /lib64/libnss_nis-2.15.so 7f6a8061b000-7f6a8061c000 rw-p
> 0000b000 08:03 812193 /lib64/libnss_nis-2.15.so
> 7f6a8061c000-7f6a80623000 r-xp 00000000 08:03
> 812191 /lib64/libnss_compat-2.15.so 7f6a80623000-7f6a80823000 ---p
> 00007000 08:03 812191 /lib64/libnss_compat-2.15.so
> 7f6a80823000-7f6a80824000 r--p 00007000 08:03
> 812191 /lib64/libnss_compat-2.15.so 7f6a80824000-7f6a80825000 rw-p
> 00008000 08:03 812191 /lib64/libnss_compat-2.15.so
> 7f6a80825000-7f6a808a5000 rw-s 1056b5000 00:05 1549 /dev/dri/card0
> 7f6a808a5000-7f6a808aa000 r-xp 00000000 08:03
> 881153 /usr/lib64/libdrm_nouveau.so.1.0.0 7f6a808aa000-7f6a80aa9000
> ---p 00005000 08:03 881153 /usr/lib64/libdrm_nouveau.so.1.0.0
> 7f6a80aa9000-7f6a80aaa000 r--p 00004000 08:03
> 881153 /usr/lib64/libdrm_nouveau.so.1.0.0 7f6a80aaa000-7f6a80aab000
> rw-p 00005000 08:03 881153 /usr/lib64/libdrm_nouveau.so.1.0.0
> 7f6a80ae6000-7f6a80ae7000 rw-s 105068000 00:05 1549 /dev/dri/card0
> 7f6a80ae7000-7f6a819c5000 r-xp 00000000 08:03
> 243828 /usr/lib64/mesa/nouveau_dri.so 7f6a819c5000-7f6a81bc4000
> ---p 00ede000 08:03 243828 /usr/lib64/mesa/nouveau_dri.so
> 7f6a81bc4000-7f6a81bff000 r--p 00edd000 08:03
> 243828 /usr/lib64/mesa/nouveau_dri.so 7f6a81bff000-7f6a81c48000
> rw-p 00f18000 08:03 243828 /usr/lib64/mesa/nouveau_dri.so
> 7f6a81c48000-7f6a81e2e000 rw-p 00000000 00:00 0
> 7f6a81e2e000-7f6a82127000 r--p 00000000 08:03
> 236605 /usr/lib64/locale/locale-archive 7f6a82127000-7f6a82130000
> r-xp 00000000 08:03 880946 /usr/lib64/libXrender.so.1.3.0
> 7f6a82130000-7f6a8232f000 ---p 00009000 08:03
> 880946 /usr/lib64/libXrender.so.1.3.0 7f6a8232f000-7f6a82330000
> r--p 00008000 08:03 880946 /usr/lib64/libXrender.so.1.3.0
> 7f6a82330000-7f6a82331000 rw-p 00009000 08:03
> 880946 /usr/lib64/libXrender.so.1.3.0 7f6a82331000-7f6a82339000
> r-xp 00000000 08:03 880945 /usr/lib64/libXrandr.so.2.2.0
> 7f6a82339000-7f6a82538000 ---p 00008000 08:03
> 880945 /usr/lib64/libXrandr.so.2.2.0 7f6a82538000-7f6a82539000 r--p
> 00007000 08:03 880945 /usr/lib64/libXrandr.so.2.2.0
> 7f6a82539000-7f6a8253a000 rw-p 00008000 08:03
> 880945 /usr/lib64/libXrandr.so.2.2.0 7f6a8253a000-7f6a82549000 r-xp
> 00000000 08:03 880939 /usr/lib64/libXi.so.6.1.0
> 7f6a82549000-7f6a82748000 ---p 0000f000 08:03
> 880939 /usr/lib64/libXi.so.6.1.0 7f6a82748000-7f6a82749000 r--p
> 0000e000 08:03 880939 /usr/lib64/libXi.so.6.1.0
> 7f6a82749000-7f6a8274a000 rw-p 0000f000 08:03
> 880939 /usr/lib64/libXi.so.6.1.0 7f6a8274a000-7f6a8274f000 r-xp
> 00000000 08:03 880934 /usr/lib64/libXdmcp.so.6.0.0
> 7f6a8274f000-7f6a8294e000 ---p 00005000 08:03
> 880934 /usr/lib64/libXdmcp.so.6.0.0 7f6a8294e000-7f6a8294f000 r--p
> 00004000 08:03 880934 /usr/lib64/libXdmcp.so.6.0.0
> 7f6a8294f000-7f6a82950000 rw-p 00005000 08:03
> 880934 /usr/lib64/libXdmcp.so.6.0.0 7f6a82950000-7f6a82952000 r-xp
> 00000000 08:03 880928 /usr/lib64/libXau.so.6.0.0
> 7f6a82952000-7f6a82b52000 ---p 00002000 08:03
> 880928 /usr/lib64/libXau.so.6.0.0 7f6a82b52000-7f6a82b53000 r--p
> 00002000 08:03 880928 /usr/lib64/libXau.so.6.0.0
> 7f6a82b53000-7f6a82b54000 rw-p 00003000 08:03
> 880928 /usr/lib64/libXau.so.6.0.0 7f6a82b54000-7f6a82b5a000 r-xp
> 00000000 08:03 881789 /usr/lib64/libogg.so.0.8.0
> 7f6a82b5a000-7f6a82d59000 ---p 00006000 08:03
> 881789 /usr/lib64/libogg.so.0.8.0 7f6a82d59000-7f6a82d5a000 r--p
> 00005000 08:03 881789 /usr/lib64/libogg.so.0.8.0
> 7f6a82d5a000-7f6a82d5b000 rw-p 00006000 08:03
> 881789 /usr/lib64/libogg.so.0.8.0 7f6a82d5b000-7f6a82ee5000 r-xp
> 00000000 08:03 881117 /usr/lib64/libcrypto.so.1.0.0
> 7f6a82ee5000-7f6a830e5000 ---p 0018a000 08:03
> 881117 /usr/lib64/libcrypto.so.1.0.0 7f6a830e5000-7f6a830fe000 r--p
> 0018a000 08:03 881117 /usr/lib64/libcrypto.so.1.0.0
> 7f6a830fe000-7f6a83108000 rw-p 001a3000 08:03
> 881117 /usr/lib64/libcrypto.so.1.0.0 7f6a83108000-7f6a8310c000 rw-p
> 00000000 00:00 0 7f6a8310c000-7f6a83162000 r-xp 00000000 08:03
> 881984 /usr/lib64/libssl.so.1.0.0 7f6a83162000-7f6a83361000 ---p
> 00056000 08:03 881984 /usr/lib64/libssl.so.1.0.0
> 7f6a83361000-7f6a83364000 r--p 00055000 08:03
> 881984 /usr/lib64/libssl.so.1.0.0 7f6a83364000-7f6a83369000 rw-p
> 00058000 08:03 881984 /usr/lib64/libssl.so.1.0.0
> 7f6a83369000-7f6a8336e000 r-xp 00000000 08:03
> 882140 /usr/lib64/libxcb-xfixes.so.0.0.0 7f6a8336e000-7f6a8356e000
> ---p 00005000 08:03 882140 /usr/lib64/libxcb-xfixes.so.0.0.0
> 7f6a8356e000-7f6a8356f000 r--p 00005000 08:03
> 882140 /usr/lib64/libxcb-xfixes.so.0.0.0 7f6a8356f000-7f6a83570000
> rw-p 00006000 08:03 882140 /usr/lib64/libxcb-xfixes.so.0.0.0
> 7f6a83570000-7f6a83571000 rw-p 00000000 00:00 0
> 7f6a83571000-7f6a83574000 r-xp 00000000 08:03
> 882122 /usr/lib64/libxcb-dri2.so.0.0.0 7f6a83574000-7f6a83774000
> ---p 00003000 08:03 882122 /usr/lib64/libxcb-dri2.so.0.0.0
> 7f6a83774000-7f6a83775000 r--p 00003000 08:03
> 882122 /usr/lib64/libxcb-dri2.so.0.0.0 7f6a83775000-7f6a83776000
> rw-p 00004000 08:03 882122 /usr/lib64/libxcb-dri2.so.0.0.0
> 7f6a83776000-7f6a83781000 r-xp 00000000 08:03
> 881152 /usr/lib64/libdrm.so.2.4.0 7f6a83781000-7f6a83980000 ---p
> 0000b000 08:03 881152 /usr/lib64/libdrm.so.2.4.0
> 7f6a83980000-7f6a83981000 r--p 0000a000 08:03
> 881152 /usr/lib64/libdrm.so.2.4.0 7f6a83981000-7f6a83982000 rw-p
> 0000b000 08:03 881152 /usr/lib64/libdrm.so.2.4.0
> 7f6a83982000-7f6a83999000 r-xp 00000000 08:03
> 882124 /usr/lib64/libxcb-glx.so.0.0.0 7f6a83999000-7f6a83b98000
> ---p 00017000 08:03 882124 /usr/lib64/libxcb-glx.so.0.0.0
> 7f6a83b98000-7f6a83b9a000 r--p 00016000 08:03
> 882124 /usr/lib64/libxcb-glx.so.0.0.0 7f6a83b9a000-7f6a83b9b000
> rw-p 00018000 08:03 882124 /usr/lib64/libxcb-glx.so.0.0.0
> 7f6a83b9b000-7f6a83b9c000 r-xp 00000000 08:03
> 880925 /usr/lib64/libX11-xcb.so.1.0.0 7f6a83b9c000-7f6a83d9b000
> ---p 00001000 08:03 880925 /usr/lib64/libX11-xcb.so.1.0.0
> 7f6a83d9b000-7f6a83d9c000 r--p 00000000 08:03
> 880925 /usr/lib64/libX11-xcb.so.1.0.0 7f6a83d9c000-7f6a83d9d000
> rw-p 00001000 08:03 880925 /usr/lib64/libX11-xcb.so.1.0.0
> 7f6a83d9d000-7f6a83da2000 r-xp 00000000 08:03
> 880936 /usr/lib64/libXfixes.so.3.1.0 7f6a83da2000-7f6a83fa1000 ---p
> 00005000 08:03 880936 /usr/lib64/libXfixes.so.3.1.0
> 7f6a83fa1000-7f6a83fa2000 r--p 00004000 08:03
> 880936 /usr/lib64/libXfixes.so.3.1.0 7f6a83fa2000-7f6a83fa3000 rw-p
> 00005000 08:03 880936 /usr/lib64/libXfixes.so.3.1.0
>
> MPlayer wurde durch Signal 6 im Modul filter video unterbrochen.
>
>



--
Alan McKinnon
alan.mckinnon@gmail.com
 
Old 09-13-2012, 06:25 PM
Paul Hartman
 
Default mplayer: glibc detected memory corruption

On Wed, Sep 12, 2012 at 5:41 AM, Frank Steinmetzger <Warp_7@gmx.de> wrote:
> VO: [gl] 320x240 => 320x240 Planar YV12
> *** glibc detected *** mplayer: malloc(): memory corruption: 0x0000000001957a60 ***

try with "-vo xv" to see if perhaps it is gl-related... Sometimes I
have videos crash mplayer using vdpau but work using xv, for example.
 
Old 09-13-2012, 07:54 PM
Frank Steinmetzger
 
Default mplayer: glibc detected memory corruption

On Thu, Sep 13, 2012 at 01:25:26PM -0500, Paul Hartman wrote:
> On Wed, Sep 12, 2012 at 5:41 AM, Frank Steinmetzger <Warp_7@gmx.de> wrote:
> > VO: [gl] 320x240 => 320x240 Planar YV12
> > *** glibc detected *** mplayer: malloc(): memory corruption: 0x0000000001957a60 ***
>
> try with "-vo xv" to see if perhaps it is gl-related... Sometimes I
> have videos crash mplayer using vdpau but work using xv, for example.

I tried a number of outputs, xv, x11, gl, gl2, sdl... all the same.

I was about to build ffmpeg/glibc/mplayer with splitdebug, but noticed that I
already did so for all of them. So I fired up gdb mplayer, and then within
gdb, entered run <filename>. But that didn't give me anything helpful either
(see output at the end). What would be the proper way to debug this? (build
kernel with debug symbols perhaps?)

In one line it says
"[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails."
I did this, but to no avail. :-/


frank@eisen gdb mplayer
GNU gdb (Gentoo 7.3.1 p2) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/mplayer...Reading symbols from /usr/lib64/debug/usr/bin/mplayer.debug...done.
done.
(gdb) run "1989-04-18 Unix 256kb.mp4"
Starting program: /usr/bin/mplayer "1989-04-18 Unix 256kb.mp4"
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
MPlayer 1.1-4.5.3 (C) 2000-2012 MPlayer Team
Konnte Joystick-Gertedatei '/dev/input/js0' nicht ffnen: No such file or directory
Konnte Joystick nicht initialisieren.
mplayer: could not connect to socket
mplayer: No such file or directory
Fehler beim ffnen der LIRC-Untersttzung.
Verwendung der Fernbedienung nicht mglich.
[MENU] Kann Men-Konfigurationsdatei nicht ffnen: /home/frank/.mplayer/menu.conf

Spiele 1989-04-18 Unix 256kb.mp4.
libavformat version 53.32.100 (external)
libavformat-Dateiformat erkannt!
[lavf] stream 0: video (mpeg4), -vid 0
[lavf] stream 2: audio (aac), -aid 0, -alang eng
VIDEO: [MP4V] 320x240 24bpp 29.970 fps 257.2 kbps (31.4 kbyte/s)
Clip-Info:
major_brand: isom
minor_version: 0
compatible_brands: mp41
creation_time: 2003-07-09 00:32:08
Load subtitles in ./
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
================================================== ========================
ffne Videodecoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 53.61.100 (external)
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
Ausgewhlter Videocodec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
================================================== ========================
================================================== ========================
ffne Audiodecoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 63.7 kbit/4.15% (ratio: 7965->192000)
Ausgewhlter Audiocodec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
================================================== ========================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starte Wiedergabe...
Film-Aspekt ist 1.33:1 - Vorskalierung zur Korrektur der Seitenverhltnisse.
VO: [gl] 320x240 => 320x240 Planar YV12
*** glibc detected *** /usr/bin/mplayer: malloc(): memory corruption: 0x000000000139f980 ***

< hit Ctrl+C here >

Program received signal SIGTERM, Terminated.
__lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:93
93 ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: No such file or directory.
in ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
(gdb)
--
Gru | Greetings | Qapla'
Ich untersage jede Verwendung von Daten von mir oder ber mich auf Facebook.
Please do not share anything from, with or about me with any Facebook service.

For a pessimist, the day has 24 bruises.
 

Thread Tools




All times are GMT. The time now is 03:29 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org