Opened 14 years ago
Closed 14 years ago
Last modified 14 years ago
#9675 closed Bug Report - Crash (Fixed)
[CRASH] Floating point exception in mythtranscode
Reported by: | Owned by: | JYA | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | MythTV - Audio Output | Version: | 0.24-fixes |
Severity: | medium | Keywords: | mythtranscode floating point excpetion |
Cc: | Ticket locked: | no |
Description
mythtranscode crashes with a floating point exception in transcode.cpp(109) when called with the following:
mythtranscode --profile autodetect --honorcutlist --chanid 1006 --starttime xxxxxxx222627 --fifodir /var/tmp/xxxxxxx
It fails on 100% of the 10 files that I have tried so far.
Attachments (5)
Change History (16)
Changed 14 years ago by
Attachment: | gdb-mythtranscode.txt added |
---|
comment:1 Changed 14 years ago by
sample failing recording: http://rapidshare.com/files/453465789/1006_20110320222627.mpg
comment:2 Changed 14 years ago by
Resolution: | → Duplicate |
---|---|
Status: | new → closed |
comment:3 Changed 14 years ago by
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
comment:4 Changed 14 years ago by
Resolution: | Duplicate |
---|---|
Status: | closed → new |
comment:5 Changed 14 years ago by
Component: | MythTV - Mythtranscode → MythTV - Audio Output |
---|---|
Owner: | set to JYA |
comment:6 Changed 14 years ago by
Resolution: | → Duplicate |
---|---|
Status: | new → closed |
This does not necessarily mean that these two tickets are not duplicates. Your diagnostic info was used to solve #9425, the other ticket has been closed, please update to 53c94717dce6d5a3c0755fcc132afd2df4f26b18 or later and test again, and only reopen with new version and log info if the problem still exists.
comment:7 Changed 14 years ago by
Resolution: | Duplicate |
---|---|
Status: | closed → new |
Sorry Kris, my mistake, didn't realize you had already updated to the post-#9425 fix. Obviously they are distinct issues.
comment:8 Changed 14 years ago by
Status: | new → assigned |
---|
comment:9 Changed 14 years ago by
Actually while on the same line, it's a different crash than the one reported earlier (where it was bytes_per_frame that was 0).
I had noticed that bug too, and also fixed it while at it
comment:10 follow-up: 11 Changed 14 years ago by
Resolution: | → Fixed |
---|---|
Status: | assigned → closed |
Fixed in SHA: b21f784196c37f4dc4c55446dfdb3edd4ebcbe3b
backtrace