[mythtv-commits] Ticket #8740: ILLEGAL INSTRUCTION crash in libmythsoundtouch library

MythTV mythtv at cvs.mythtv.org
Tue Aug 24 16:02:13 UTC 2010


#8740: ILLEGAL INSTRUCTION crash in libmythsoundtouch library
-----------------------------------+----------------------------------------
 Reporter:  stuarta                |           Owner:  janne     
     Type:  defect                 |          Status:  assigned  
 Priority:  major                  |       Milestone:  0.24      
Component:  MythTV - Audio Output  |         Version:  Trunk Head
 Severity:  medium                 |      Resolution:            
 Keywords:                         |   Ticket locked:  0         
-----------------------------------+----------------------------------------

Old description:

> I have a recording which causes the frontend to die
> with an illegal instruction fault.
>
> The backtrace is attached. As far as i can tell it's because
> this recording claims to have 2 audio tracks. ffmpeg output
>

> Seems stream 0 codec frame rate differs from container frame rate: 50.00
> (50/1) -> 25.00 (25/1)
> Input #0, mpegts, from '/myth/rec2/1029_20090924215900.mpg':
>   Duration: 01:06:56.87, start: 44126.278878, bitrate: 2467 kb/s
>   Program 1
>     Stream #0.0[0x1f5]: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45
> DAR 16:9], 9000 kb/s, 25 tbr, 90k tbn, 50 tbc
>     Stream #0.1[0x1f6](eng): Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s
>     Stream #0.2[0x1f8](eng): Audio: mp3, 0 channels, s16
>     Stream #0.3[0x1f7](eng): Subtitle: dvbsub
>

> I suspect the frontend is selecting the mp3 audio track which
> has 0 channels and is clearly bogus. I use timestretch on this
> recording by default, so it will be trying to adjust the audio
> to compensate.
>
> I can make a sample available on request.

New description:

 I have a recording which causes the frontend to die
 with an illegal instruction fault.

 The backtrace is attached. As far as i can tell it's because
 this recording claims to have 2 audio tracks. ffmpeg output


 Seems stream 0 codec frame rate differs from container frame rate: 50.00
 (50/1) -> 25.00 (25/1)
 Input #0, mpegts, from '/myth/rec2/1029_20090924215900.mpg':
   Duration: 01:06:56.87, start: 44126.278878, bitrate: 2467 kb/s
   Program 1
     Stream #0.0[0x1f5]: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR
 16:9], 9000 kb/s, 25 tbr, 90k tbn, 50 tbc
     Stream #0.1[0x1f6](eng): Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s
     Stream #0.2[0x1f8](eng): Audio: mp3, 0 channels, s16
     Stream #0.3[0x1f7](eng): Subtitle: dvbsub


 I suspect the frontend is selecting the mp3 audio track which
 has 0 channels and is clearly bogus. I use timestretch on this
 recording by default, so it will be trying to adjust the audio
 to compensate.

 I can make a sample available on request.

--

Comment (by janne):

 detecting SSE3 in configure is not the problem, that checks just if the
 assembler can assamble files with SSSE3 instructions. soundtouch actually
 checks the available extensions with cpuid und should call the right
 functions. I suspect there are more SSE3 instructions hidden in the SSE2
 code.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/8740#comment:5>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list