[Mplayer-dev-eng] mp3lib cpuid SIGILL - gdb log

Arpi arpi at thot.banki.hu
Wed May 9 18:21:11 CEST 2001


Tibcu made the gdb trace:
it's really in cpuid, on a 486. so something is wrong there...

--------- Forwarded message ---------

MPlayer 0.17cvs-010509-15:40  (C) 2000-2001 Arpad Gereoffy
<arpi at thot.banki.hu>

CommandLine: '-v' '-vo' 'svga' '/mnt/1/movies/mmm/thot/esp-team.scene.hu/%7E/incoming/bakta_rider_ii.mpg'
Reading /home/tibcu/.mplayer/codecs.conf: 15 audio & 26 video codecs
font: can't open file: /home/tibcu/.mplayer/font/font.desc
ASF_check: not ASF guid!
system stream synced at 0xB (11)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 0
detected MPG-PS audio format: 1
Searching for sequence header... OK!
mpeg2dec-0.2.0-release (C) 2000-2001 Aaron Holtzman & Michel Lespinasse
No accelerated IDCT transform found
No accelerated motion compensation found
mpeg bitrate: 2745 (AB9)
VIDEO:  MPEG1  352x288  (aspect 8)  25.00 fps  1372.5 kbps (171.6 kbyte/s)
[V] filefmt:2  fourcc:0x1  size:352x288  fps:25.00  ftime:=0.0400
Found audio codec: [mp3] drv:1 (MPEG layer-2,3)
Initializing audio codec...

Program received signal SIGILL, Illegal instruction.
0x8066130 in CpuDetect ()
(gdb) bt
#0  0x8066130 in CpuDetect ()
#1  0x0 in ?? ()
(gdb) disass $eip-64 $eip+64
Dump of assembler code from 0x80660f0 to 0x8066170:
0x80660f0 <MP3_DecodeFrame+2848>:       add    $0xfffffff8,%esp
0x80660f3 <MP3_DecodeFrame+2851>:       push   %edx
0x80660f4 <MP3_DecodeFrame+2852>:       push   $0x80e4f20
0x80660f9 <MP3_DecodeFrame+2857>:       call   0x805e590 <do_layer2>
0x80660fe <MP3_DecodeFrame+2862>:       jmp    0x806610e <MP3_DecodeFrame+2878>
0x8066100 <MP3_DecodeFrame+2864>:       add    $0xfffffff8,%esp
0x8066103 <MP3_DecodeFrame+2867>:       push   %edx
0x8066104 <MP3_DecodeFrame+2868>:       push   $0x80e4f20
0x8066109 <MP3_DecodeFrame+2873>:       call   0x8065060 <do_layer3>
0x806610e <MP3_DecodeFrame+2878>:       mov    0x80c4a14,%eax
0x8066113 <MP3_DecodeFrame+2883>:       test   %eax,%eax
0x8066115 <MP3_DecodeFrame+2885>:       jne    0x806611c <MP3_DecodeFrame+2892>
0x8066117 <MP3_DecodeFrame+2887>:       mov    $0x2,%eax
0x806611c <MP3_DecodeFrame+2892>:       lea    0xffffffc8(%ebp),%esp
0x806611f <MP3_DecodeFrame+2895>:       pop    %ebx
0x8066120 <MP3_DecodeFrame+2896>:       pop    %esi
0x8066121 <MP3_DecodeFrame+2897>:       pop    %edi
0x8066122 <MP3_DecodeFrame+2898>:       mov    %ebp,%esp
0x8066124 <MP3_DecodeFrame+2900>:       pop    %ebp
0x8066125 <MP3_DecodeFrame+2901>:       ret
0x8066126 <Letext>:     nop
0x8066127 <Letext+1>:   nop
---Type <return> to continue, or q <return> to quit---
0x8066128 <CpuDetect>:  push   %ebx
0x8066129 <CpuDetect+1>:        push   %ecx
0x806612a <CpuDetect+2>:        push   %edx
0x806612b <CpuDetect+3>:        mov    $0x1,%eax
0x8066130 <CpuDetect+8>:        cpuid
0x8066132 <CpuDetect+10>:       pop    %edx
0x8066133 <CpuDetect+11>:       pop    %ecx
0x8066134 <CpuDetect+12>:       pop    %ebx
0x8066135 <CpuDetect+13>:       ret
0x8066136 <ipentium>:   push   %ebx
0x8066137 <ipentium+1>: push   %ecx
0x8066138 <ipentium+2>: push   %edx
0x8066139 <ipentium+3>: pushf
0x806613a <ipentium+4>: pop    %eax
0x806613b <ipentium+5>: mov    %eax,%ebx
0x806613d <ipentium+7>: xor    $0x200000,%eax
0x8066142 <ipentium+12>:        push   %eax
0x8066143 <ipentium+13>:        popf
0x8066144 <ipentium+14>:        pushf
0x8066145 <ipentium+15>:        pop    %eax
0x8066146 <ipentium+16>:        cmp    %eax,%ebx
0x8066148 <ipentium+18>:        je     0x8066160 <no_cpuid>
0x806614a <ipentium+20>:        mov    $0x1,%eax
---Type <return> to continue, or q <return> to quit---
0x806614f <ipentium+25>:        cpuid
0x8066151 <ipentium+27>:        shr    $0x8,%eax
0x8066154 <ipentium+30>:        cmp    $0x5,%eax
0x8066157 <ipentium+33>:        jb     0x8066160 <no_cpuid>
0x8066159 <ipentium+35>:        mov    $0x1,%eax
0x806615e <ipentium+40>:        jmp    0x8066162 <exit>
0x8066160 <no_cpuid>:   xor    %eax,%eax
0x8066162 <exit>:       pop    %edx
0x8066163 <exit+1>:     pop    %ecx
0x8066164 <exit+2>:     pop    %ebx
0x8066165 <exit+3>:     ret
0x8066166 <a3dnow>:     push   %ebx
0x8066167 <a3dnow+1>:   push   %edx
0x8066168 <a3dnow+2>:   push   %ecx
0x8066169 <a3dnow+3>:   call   0x8066136 <ipentium>
0x806616e <a3dnow+8>:   test   %eax,%eax
End of assembler dump.
(gdb)

Ügyi vagyok? :-)

Tibcu




_______________________________________________
Mplayer-dev-eng mailing list
Mplayer-dev-eng at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng



More information about the MPlayer-dev-eng mailing list