hi.
when playing mpeg-files, mplayer sometimes crashes when the file is done. it
doesn't always happen, it doesn't happen for specific files, but on all
files i tested it crashed after playing them several times.
the gdb backtrace and disassembly follows:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 20548)]
vf_uninit_filter_chain (vf=0x18) at vf.c:389
389 vf_instance_t* next=vf->next;
(gdb) bt
#0 vf_uninit_filter_chain (vf=0x18) at vf.c:389
#1 0x080ad565 in uninit_video (sh_video=0x8431378) at dec_video.c:139
#2 0x080749f4 in main (argc=6, argv=0xbffff954) at mplayer.c:2641
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x80ba160 to 0x80ba1a0:
0x80ba160 <vf_uninit_filter+212>: lea 0xffffffe8(%ebp),%esp
0x80ba163 <vf_uninit_filter+215>: pop %ebx
0x80ba164 <vf_uninit_filter+216>: pop %esi
0x80ba165 <vf_uninit_filter+217>: mov %ebp,%esp
0x80ba167 <vf_uninit_filter+219>: pop %ebp
0x80ba168 <vf_uninit_filter+220>: ret
0x80ba169 <vf_uninit_filter+221>: lea 0x0(%esi),%esi
0x80ba16c <vf_uninit_filter_chain>: push %ebp
0x80ba16d <vf_uninit_filter_chain+1>: mov %esp,%ebp
0x80ba16f <vf_uninit_filter_chain+3>: sub $0x14,%esp
0x80ba172 <vf_uninit_filter_chain+6>: push %ebx
0x80ba173 <vf_uninit_filter_chain+7>: mov 0x8(%ebp),%eax
0x80ba176 <vf_uninit_filter_chain+10>: test %eax,%eax
0x80ba178 <vf_uninit_filter_chain+12>: je 0x80ba195 <vf_uninit_filter_chain+41>
0x80ba17a <vf_uninit_filter_chain+14>: lea 0x0(%esi),%esi
0x80ba180 <vf_uninit_filter_chain+20>: mov 0x3c(%eax),%ebx
0x80ba183 <vf_uninit_filter_chain+23>: add $0xfffffff4,%esp
0x80ba186 <vf_uninit_filter_chain+26>: push %eax
0x80ba187 <vf_uninit_filter_chain+27>: call 0x80ba08c <vf_uninit_filter>
0x80ba18c <vf_uninit_filter_chain+32>: mov %ebx,%eax
0x80ba18e <vf_uninit_filter_chain+34>: add $0x10,%esp
0x80ba191 <vf_uninit_filter_chain+37>: test %eax,%eax
0x80ba193 <vf_uninit_filter_chain+39>: jne 0x80ba180 <vf_uninit_filter_chain+20>
0x80ba195 <vf_uninit_filter_chain+41>: mov 0xffffffe8(%ebp),%ebx
0x80ba198 <vf_uninit_filter_chain+44>: mov %ebp,%esp
0x80ba19a <vf_uninit_filter_chain+46>: pop %ebp
0x80ba19b <vf_uninit_filter_chain+47>: ret
0x80ba19c <vf_list_plugins>: push %ebp
0x80ba19d <vf_list_plugins+1>: mov %esp,%ebp
0x80ba19f <vf_list_plugins+3>: sub $0x14,%esp
End of assembler dump.
(gdb)
the attached log shows mplayer playing a file twice, crashing when the
second run is finished.
oh, and another thing the log shows is some garbage after 'uninit video:'.
looks like a corrupted string or something.
bye
christian ohm
--
air, n.:
A nutritious substance supplied by a bountiful Providence for the
fattening of the poor.
-- Ambrose Bierce, "The Devil's Dictionary"