[MPlayer-dev-eng] [BUG] memleak? in multifile playing
Gabucino
gabucino at mplayerhq.hu
Sat Oct 4 00:03:40 CEST 2003
( STAY TUNED! MORE BUGREPORTS TO COME! )
P2 Descutes 266Mhz
./configure --confdir=/etc/mplayer --prefix=/usr --enable-runtime-cpudetection
--enable-gui --language=all --enable-menu
Note: it doesn't matter if -vo xv,null,error,whatever. It fails on the third
file.
(gdb) run /mnt/cd/*
Starting program: /home/gabucino/x/./mp-g /mnt/cd/*
[New Thread 1024 (LWP 10291)]
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale
MPlayer dev-CVS-031003-14:40-2.95.3 (C) 2000-2003 MPlayer Team
CPU: Intel Celeron Covington/Pentium II Deschutes,Tonga/Pentium II Xeon 267.0 MHz (Family: 6, Stepping: 2)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection
Reading config file /etc/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: This codecs.conf is too old and incompatible with this MPlayer release! at line 6
Using built-in default codecs.conf
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /root/.mplayer/input.conf: No such file or directory
Input config file /etc/mplayer/input.conf parsed: 51 binds
Playing /mnt/cd/(faraszto)androvsky-anime_on_terrorism.avi
AVI file format detected.
VIDEO: [DIVX] 320x240 24bpp 29.970 fps 714.9 kbps (87.3 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 22050 Hz, 2 ch, 16 bit (0x10), ratio: 8000->88200 (64.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: couldn't open the X11 display ()!
Error opening/initializing the selected video_out (-vo) device.
Playing /mnt/cd/Anime Passion.mpg
MPEG-PS file format detected.
VIDEO: MPEG1 320x240 (aspect 1) 30.000 fps 1032.4 kbps (129.1 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 24000->176400 (192.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: couldn't open the X11 display ()!
Error opening/initializing the selected video_out (-vo) device.
Playing /mnt/cd/BGC2032Trailer.avi
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 10291)]
ds_free_packs (ds=0x8582e68) at demuxer.c:473
473 demuxer.c: No such file or directory.
(gdb) bt
#0 ds_free_packs (ds=0x8582e68) at demuxer.c:473
#1 0x8164773 in free_demuxer_stream (ds=0x8582e68) at demuxer.c:24
#2 0x8078ed3 in main (argc=27, argv=0xbffff824) at mplayer.c:1274
#3 0x4060e836 in __libc_start_main () from /lib/libc.so.6
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x81656d2 to 0x8165712:
0x81656d2 <ds_free_packs+82>: hlt
0x81656d3 <ds_free_packs+83>: push %eax
0x81656d4 <ds_free_packs+84>: call 0x8167a70 <free_demux_packet>
0x81656d9 <ds_free_packs+89>: add $0xfffffff4,%esp
0x81656dc <ds_free_packs+92>: push %ebx
0x81656dd <ds_free_packs+93>: call 0x8076764 <free>
0x81656e2 <ds_free_packs+98>: add $0x20,%esp
0x81656e5 <ds_free_packs+101>: mov %edi,%ebx
0x81656e7 <ds_free_packs+103>: test %ebx,%ebx
0x81656e9 <ds_free_packs+105>: jne 0x8165693 <ds_free_packs+19>
0x81656eb <ds_free_packs+107>: mov 0x4c(%esi),%eax
0x81656ee <ds_free_packs+110>: test %eax,%eax
0x81656f0 <ds_free_packs+112>: je 0x8165714 <ds_free_packs+148>
0x81656f2 <ds_free_packs+114>: mov 0x10(%eax),%eax
0x81656f5 <ds_free_packs+117>: add $0xfffffff4,%esp
0x81656f8 <ds_free_packs+120>: push %eax
0x81656f9 <ds_free_packs+121>: call 0x8076764 <free>
0x81656fe <ds_free_packs+126>: mov 0x4c(%esi),%eax
0x8165701 <ds_free_packs+129>: add $0xfffffff4,%esp
0x8165704 <ds_free_packs+132>: push %eax
0x8165705 <ds_free_packs+133>: call 0x8076764 <free>
0x816570a <ds_free_packs+138>: movl $0x0,0x4c(%esi)
0x8165711 <ds_free_packs+145>: add $0x20,%esp
End of assembler dump.
And:
--($:~/x)-- mplayer /mnt/cd/BGC2032Trailer.avi -vo null
MPlayer dev-CVS-031002-12:54-2.95.3 (C) 2000-2003 MPlayer Team
CPU: Intel Celeron Covington/Pentium II Deschutes,Tonga/Pentium II Xeon 266.9 MHz (Family: 6, Stepping: 2)
Detected cache-line size is 32 bytes
CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection
Reading config file /etc/mplayer/mplayer.conf
Reading config file /home/gabucino/.mplayer/config
Reading /home/gabucino/.mplayer/codecs.conf: Can't open '/home/gabucino/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: This codecs.conf is too old and incompatible with this MPlayer release! at line 6
Using built-in default codecs.conf
font: can't open file: /home/gabucino/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Using usleep() timing
Input config file /home/gabucino/.mplayer/input.conf parsed: 53 binds
Playing /mnt/cd/BGC2032Trailer.avi
Cache fill: 0.00% (0 bytes) AVI file format detected.
Seek failed
VIDEO: [DIV3] 320x240 24bpp 25.000 fps 520.3 kbps (63.5 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 12000->192000 (96.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Opening video filter: [pp]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
[PP] Using external postprocessing filter, max q = 6.
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 320 x 240 (preferred csp: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [null] 320x240 => 320x240 Planar YV12 [fs]
A: 0.6 V: 0.6 A-V: 0.006 ct: 0.019 16/ 16 11% 32% 6.2% 0 6 20%
Exiting... (Quit)
--
Gabucino
MPlayer Core Team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20031004/e1d6cc97/attachment.pgp>
More information about the MPlayer-dev-eng
mailing list