Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#11973 closed Bug Report - Crash (fixed)

Segv in recording rule editor if season/episode = 0, GetSeason()

Reported by: Bill Meek <keemllib@…> Owned by: stuartm
Priority: minor Milestone: 0.28
Component: MythTV - General Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no


To Duplicate:

From mythfrontend ->
Manage Recordings ->
Recording Rules ->
Choose any rule with season and or episode = 0 ->
M(enu) ->
Metadata Options

A segfault will fire in GetSeason?(void) ProgramInfo::GetSeason? libs/libmyth/programinfo.h:344

Testing with a rule that has season != 0 is OK.

Only attached a backtrace for the season = 0 case.

Attachments (2)

gdb-mythfrontend-5238.txt (51.9 KB) - added by Bill Meek <keemllib@…> 7 years ago.
Backtrace with --version (v0.28-pre-615-g8d0967c)
mythfrontend.20131209173604.5238.log (16.8 KB) - added by Bill Meek <keemllib@…> 7 years ago.
mythfrontend log

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by Bill Meek <keemllib@…>

Attachment: gdb-mythfrontend-5238.txt added

Backtrace with --version (v0.28-pre-615-g8d0967c)

Changed 7 years ago by Bill Meek <keemllib@…>

mythfrontend log

comment:1 Changed 7 years ago by Jonatan Lindblad

Owner: set to stuartm
Status: newassigned

It looks like this was introduced in [c563b858].

comment:2 Changed 7 years ago by Stuart Morgan <smorgan@…>

Resolution: fixed
Status: assignedclosed

In 4d1d2f6cab242ac8ddcf746dfc3dee52e2f113c4/mythtv:

Fix segfault in Schedule Editor. Not all recording rules are
associated with a program and this pointer therefore needs to be
checked first

Fixes #11973

comment:3 Changed 7 years ago by Raymond Wagner

Milestone: unknown0.28
Note: See TracTickets for help on using tickets.