Opened 12 years ago

Closed 12 years ago

#3511 closed defect (fixed)

MythMusic segfault when editing metadata for compilation album

Reported by: otto at kolsi dot fi Owned by: stuartm
Priority: minor Milestone: 0.21
Component: mythmusic Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

MythMusic segfaults when trying to save Compilation album info in metadata editor (to file and to DB). This is with SVN 13509.

I've attached a backtrace, it seems to implicate something wrong in here: source:trunk/mythplugins/mythmusic/mythmusic/metaiotaglib.cpp@13509#L58

Attachments (3)

mythmusic-backtrace.txt (19.5 KB) - added by otto at kolsi dot fi 12 years ago.
mythmusic_compilation.diff (1.5 KB) - added by stuartm 12 years ago.
Possible Fix
mythmusic_compilation.2.diff (2.5 KB) - added by stuartm 12 years ago.
Updated patch

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by otto at kolsi dot fi

Attachment: mythmusic-backtrace.txt added

comment:1 Changed 12 years ago by stuartm

Milestone: unknown0.21
Owner: changed from Isaac Richards to stuartm
Status: newassigned

Changed 12 years ago by stuartm

Attachment: mythmusic_compilation.diff added

Possible Fix

comment:2 Changed 12 years ago by stuartm

Attached a fix, but I need to double check that it's correctly saving the TPE4 frame before I can apply it.

Changed 12 years ago by stuartm

Updated patch

comment:3 Changed 12 years ago by stuartm

Resolution: fixed
Status: assignedclosed

(In [13535]) Closes #3511

Fixes segfault when saving compilation information to an ID3 tag and improves handling of the ID3 frames used for storing this information.

Note: See TracTickets for help on using tickets.