[mythtv-commits] Ticket #12805: Plugin MythMusic crashes on a specific WMA file

MythTV noreply at mythtv.org
Thu Dec 29 18:47:59 UTC 2016


#12805: Plugin MythMusic crashes on a specific WMA file
--------------------------------+-----------------------------
 Reporter:  waynemcdougall@…    |          Owner:  jyavenard
     Type:  Bug Report - Crash  |         Status:  assigned
 Priority:  minor               |      Milestone:  unknown
Component:  Plugin - MythMusic  |        Version:  Master Head
 Severity:  medium              |     Resolution:
 Keywords:                      |  Ticket locked:  0
--------------------------------+-----------------------------
Changes (by paulh):

 * owner:  paulh => jyavenard
 * status:  new => assigned


Comment:

 Sorry for the delay looking at this.

 With the help of valgrind I've traced the problem to the audio buffer
 being over written causing random crashes.

 It seem the value of MAX_SIZE_BUFFER here
 https://github.com/MythTV/mythtv/blob/master/mythtv/libs/libmyth/audio/audiooutput.h#L180
 is too low for this particular file.

 Doubling the size of MAX_SIZE_BUFFER stops the crash but the audio output
 code should not be over running the buffer and causing a crash.

 Reassigning to jya to decide the best way to fix this.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12805#comment:1>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list