Opened 9 years ago

Closed 8 years ago

#9826 closed Bug Report - Crash (Works for me)

SIGABRT in soundtouch::SoundTouch::setChannels (line 149)

Reported by: jpoet Owned by: JYA
Priority: minor Milestone: unknown
Component: MythTV - Audio Output Version: Master Head
Severity: medium Keywords: timestrech audio crash
Cc: Ticket locked: no

Description

Most of the time, playing a recording with timestretch enable works fine. Occasionally, I will come across a show that results in mythfrontend crashing.

Attaching BT and log with -v audio

Attachments (2)

gdb.txt (22.2 KB) - added by jpoet 9 years ago.
BT
mythfrontend.log (18.1 KB) - added by jpoet 9 years ago.
log

Download all attachments as: .zip

Change History (8)

Changed 9 years ago by jpoet

Attachment: gdb.txt added

BT

Changed 9 years ago by jpoet

Attachment: mythfrontend.log added

log

comment:1 Changed 9 years ago by JYA

Original codec was AC3, signed 16 bit, 48 kHz, 8 channels. So it seems that the content is either garbage or ffmpeg incorrect decodes it..

AC3 is 6 channels max... libsoundtouch can only work with up to 6 channels audio.

comment:2 Changed 8 years ago by jpoet

This segfault can be avoided by going into Setup->Audio, and setting:

Speaker Configuration: 5.1

instead of

Speaker Configuration: 7.1

The crash happens when there is corruption in the recording. It looks like when that happens, myth resets the number of channels to whatever is designated in that configuration, instead of choosing the proper value for the audio stream type.

comment:3 Changed 8 years ago by Raymond Wagner

Status: newassigned

comment:4 Changed 8 years ago by JYA

Status: assignedinfoneeded

Please check in master that this issue is still occurring, it should be fixed now

comment:5 Changed 8 years ago by jpoet

I have not seen this problem with master for a few days. Looks like the problem has been fixed. Thanks.

comment:6 Changed 8 years ago by JYA

Resolution: Works for me
Status: infoneededclosed
Note: See TracTickets for help on using tickets.