Opened 13 years ago

Closed 13 years ago

#1327 closed defect (fixed)

MythControls segfaults on frontend-only machines

Reported by: mfgalizi@… Owned by: Isaac Richards
Priority: major Milestone: unknown
Component: mythcontrols Version: 0.19
Severity: high Keywords:
Cc: Ticket locked: no

Description

On frontends that do not have a backend mythcontrols causes a segfault.

Attachments (2)

gdb.txt (12.7 KB) - added by mfgalizi@… 13 years ago.
GDB backtrace
spuriouscontexts.diff (3.6 KB) - added by mfgalizi@… 13 years ago.
Fix for incorrectly assumed contexts

Download all attachments as: .zip

Change History (6)

Changed 13 years ago by mfgalizi@…

Attachment: gdb.txt added

GDB backtrace

Changed 13 years ago by mfgalizi@…

Attachment: spuriouscontexts.diff added

Fix for incorrectly assumed contexts

comment:1 Changed 13 years ago by mfgalizi@…

Version: 0.19

The attached patch fixes the assumption that there will be global, jumppoints and qt contexts. On my frontend system, the crash occured when creating a binding list (introduced in ticket 590) would attempt to load actions for the non-existant qt context.

comment:2 Changed 13 years ago by mfgalizi@…

This should be fixed in both the main trunk and the release fixes.

comment:3 Changed 13 years ago by kkuphal

(In [9052]) References #1327. Fixes segfault in starting mythcontrols by applying patch. I'm leaving this ticket open as this should also be applied to 0.19-fixes.

comment:4 Changed 13 years ago by cpinkham

Resolution: fixed
Status: newclosed

(In [9087]) Fix segfault in mythfrontend by applying patch from #1327. Closes #1327 since patch has now been applied to both head and -fixes branches.

Note: See TracTickets for help on using tickets.