[mythtv-commits] Ticket #9675: [CRASH] Floating point exception in mythtranscode

MythTV noreply at mythtv.org
Mon Mar 21 11:10:04 UTC 2011


#9675: [CRASH] Floating point exception in mythtranscode
-------------------------------------------------+-------------------------
 Reporter:  Kris McGrath <shiftybugger@…>        |          Owner:
     Type:  Bug Report - Crash                   |         Status:  closed
 Priority:  minor                                |      Milestone:  unknown
Component:  MythTV - Mythtranscode               |        Version:
 Severity:  medium                               |  0.24-fixes
 Keywords:  mythtranscode floating point         |     Resolution:
  excpetion                                      |  Duplicate
                                                 |  Ticket locked:  0
-------------------------------------------------+-------------------------

Comment (by Christophe.Boulain@…):

 Hello,

 I'm not sure that's the same problem.
 #9425 reports a segfault, as this ticket reports a FP Exception (division
 by zero).
 I've exactly the same problem than Kris, and I updated my git this morning
 after seeing the fix for #9425.

 Line 109 of transcode.cpp is :

 {{{
         // last_audiotime is at the end of the frame
         last_audiotime = timecode + (len / bytes_per_frame) * 1000 /
             eff_audiorate;
 }}}

 and eff_audiorate=0 (see gdb log & bt)

 I'll also attach a complete '-v all' log of mythtranscode.

 Note than lossely transcoding (--mpeg2) will transcode OK, but never
 finished. After transcoding, mythtranscode hang with 100% cpu. Playing the
 .mpg.tmp file created seems to work, but as mythtranscode never finish,
 the file is not renamed and db is not updated.

 Thanks

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/9675#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list