[MPlayer-dev-eng] Re: removing internal tremor

Diego Biurrun diego at biurrun.de
Tue Aug 8 12:22:10 CEST 2006


On Tue, Aug 08, 2006 at 11:46:50AM +0200, Diego Biurrun wrote:
> On Fri, Aug 04, 2006 at 09:22:51PM +0200, Roberto Togni wrote:
> > On Fri, 4 Aug 2006 21:00:06 +0200
> > Diego Biurrun <diego at biurrun.de> wrote:
> > 
> > > OK, has somebody tested external tremor lately and can confirm that it
> > > still works?
> > > 
> > > So far nobody was against removing tremor, Dominik, Roberto, Reimar and
> > > Uoti were in favor on IRC, saying that maybe external tremor support
> > > should be tested beforehand.
> > > 
> > > So if you wish to keep tremor, speak up soon ...
> > 
> > Well, without the "maybe". If external tremor is not working then
> > removal of the internal one is not a good choice (unless it always
> > outperforms ffvorbis)
> 
> I've just fixed the external Tremor detection in configure.  It had
> definitely never worked before.  It compiles and links now, but crashes
> immediately in demux_open.  I'll post more details later.

Here is the backtrace, maybe somebody else can make some more sense of
it.

Diego


silver:/usr/src/mplayer/mplayer$ gdb ./mplayer
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run -v -ac vorbis /home/diego/audio/song37.ogg
Starting program: /usr/src/mplayer/mplayer/mplayer -v -ac vorbis /home/diego/audio/song37.ogg
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 12931)]
MPlayer dev-SVN-r19357-4.1.1 (C) 2000-2006 MPlayer Team
CPU: AMD-K6(tm)-III Processor (Family: 5, Model: 13, Stepping: 0)
CPUflags:  MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX 3DNow 3DNowEx

get_path('codecs.conf') -> '/home/diego/.mplayer/codecs.conf'
Reading /home/diego/.mplayer/codecs.conf: Can't open '/home/diego/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
CommandLine: '-v' '-ac' 'vorbis' '/home/diego/audio/song37.ogg'
init_freetype
get_path('font/font.desc') -> '/home/diego/.mplayer/font/font.desc'
Font /home/diego/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit 3DNow) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/diego/.mplayer/input.conf'
Parsing input config file /home/diego/.mplayer/input.conf
Input config file /home/diego/.mplayer/input.conf parsed: 53 binds
get_path('song37.ogg.conf') -> '/home/diego/.mplayer/song37.ogg.conf'

Playing /home/diego/audio/song37.ogg.
get_path('sub/') -> '/home/diego/.mplayer/sub/'
[file] File size is 13937255 bytes
STREAM: [file] /home/diego/audio/song37.ogg
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 12931)]
0x40035380 in ogg_sync_wrote () from /usr/local/lib/libvorbisidec.so.1
(gdb) bt
#0  0x40035380 in ogg_sync_wrote () from /usr/local/lib/libvorbisidec.so.1
#1  0x0818f6d6 in demux_ogg_open (demuxer=0x85e5e38) at demux_ogg.c:890
#2  0x08142665 in demux_open_stream (stream=0x85e3530, file_format=Variable "file_format" is not available.
)
    at demuxer.c:700
#3  0x08142a55 in demux_open (vs=0x85e3530, file_format=Variable "file_format" is not available.
) at demuxer.c:852
#4  0x0807a576 in main (argc=5, argv=0xbffff9a4) at mplayer.c:3241
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x40035360 to 0x400353a0:
0x40035360 <ogg_sync_wrote+0>:  push   %ebp
0x40035361 <ogg_sync_wrote+1>:  mov    %esp,%ebp
0x40035363 <ogg_sync_wrote+3>:  push   %edi
0x40035364 <ogg_sync_wrote+4>:  push   %esi
0x40035365 <ogg_sync_wrote+5>:  mov    0x8(%ebp),%ecx
0x40035368 <ogg_sync_wrote+8>:  mov    0xc(%ebp),%esi
0x4003536b <ogg_sync_wrote+11>: mov    0x4(%ecx),%edx
0x4003536e <ogg_sync_wrote+14>: test   %edx,%edx
0x40035370 <ogg_sync_wrote+16>: jne    0x40035380 <ogg_sync_wrote+32>
0x40035372 <ogg_sync_wrote+18>: mov    $0xfffffff2,%eax
0x40035377 <ogg_sync_wrote+23>: pop    %esi
0x40035378 <ogg_sync_wrote+24>: pop    %edi
0x40035379 <ogg_sync_wrote+25>: pop    %ebp
0x4003537a <ogg_sync_wrote+26>: ret    
0x4003537b <ogg_sync_wrote+27>: nop    
0x4003537c <ogg_sync_wrote+28>: lea    0x0(%esi),%esi
0x40035380 <ogg_sync_wrote+32>: mov    (%edx),%eax
0x40035382 <ogg_sync_wrote+34>: mov    0x8(%edx),%edi
0x40035385 <ogg_sync_wrote+37>: mov    0x4(%eax),%eax
0x40035388 <ogg_sync_wrote+40>: sub    %edi,%eax
0x4003538a <ogg_sync_wrote+42>: sub    0x4(%edx),%eax
0x4003538d <ogg_sync_wrote+45>: cmp    %esi,%eax
0x4003538f <ogg_sync_wrote+47>: jl     0x40035372 <ogg_sync_wrote+18>
0x40035391 <ogg_sync_wrote+49>: lea    (%edi,%esi,1),%eax
0x40035394 <ogg_sync_wrote+52>: mov    %eax,0x8(%edx)
0x40035397 <ogg_sync_wrote+55>: mov    0xc(%ecx),%eax
0x4003539a <ogg_sync_wrote+58>: add    %esi,%eax
0x4003539c <ogg_sync_wrote+60>: mov    %eax,0xc(%ecx)
0x4003539f <ogg_sync_wrote+63>: xor    %eax,%eax
End of assembler dump.
(gdb) info all-registers
eax            0x1000   4096
ecx            0x85e3f50        140394320
edx            0x2000   8192
ebx            0x800    2048
esp            0xbfffe500       0xbfffe500
ebp            0xbfffe508       0xbfffe508
esi            0x1000   4096
edi            0x85e6eb0        140406448
eip            0x40035380       0x40035380
eflags         0x210206 2163206
cs             0x23     35
ss             0x2b     43
ds             0x2b     43
es             0x2b     43
fs             0x0      0
gs             0x0      0
st0            0        (raw 0x00000000000000000000)
st1            0        (raw 0x00000000000000000000)
st2            0        (raw 0x00000000000000000000)
st3            0        (raw 0x00000000000000000000)
st4            0        (raw 0x00000000000000000000)
st5            0        (raw 0x00000000000000000000)
st6            0        (raw 0x00000000000000000000)
st7            0        (raw 0x00000000000000000000)
fctrl          0x37f    895
fstat          0x0      0
ftag           0xffff   65535
fiseg          0x23     35
fioff          0x819dca2        135912610
foseg          0x2b     43
fooff          0xbfffe660       -1073748384
fop            0x55d    1373
xmm0           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, 
  uint128 = 0x00000000000000000000000000000000}
xmm1           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, 
  uint128 = 0x00000000000000000000000000000000}
xmm2           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, 
  uint128 = 0x00000000000000000000000000000000}
xmm3           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, 
  uint128 = 0x00000000000000000000000000000000}
xmm4           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, 
  uint128 = 0x00000000000000000000000000000000}
xmm5           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, 
  uint128 = 0x00000000000000000000000000000000}
xmm6           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, 
  uint128 = 0x00000000000000000000000000000000}
xmm7           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0}, 
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0, 
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0}, 
  uint128 = 0x00000000000000000000000000000000}
mxcsr          0x1f80   8064
mm0            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 
    0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm1            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 
    0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm2            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 
    0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm3            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 
    0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm4            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 
    0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm5            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 
    0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm6            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 
    0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm7            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0, 
    0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}



More information about the MPlayer-dev-eng mailing list