Opened 14 years ago

Closed 14 years ago

#2580 closed defect (fixed)

The key "Finish" in "TV Settings/Appearance" causes a log out.

Reported by: tkb.island@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: 0.20
Severity: medium Keywords:
Cc: Ticket locked: no

Description

If one press the key "Finish" in MythTV in "Utilities/Setup?->Setup->Appearance" (in the menu: "LCD device display"), then the screen get black and the log in menu from SuSE 10.1 appears.

ivtv 0.6.4 SuSE 10.1 mythtv-0.20.tar.bz2

Steps to get the program to crash: 1) #gdb mythbackend -x gdbcommands 2) CTRL-C (in the same window as 1)) 3) #mythfrontend 4) Press the key "Finish" in "Utilities/Setup?->Setup->Appearance"

Attachments (5)

gdb_x13_mythbackend_ctrl_c.txt (16.1 KB) - added by anonymous 14 years ago.
gdb mythbackend -x gdbcommands, file
Archiv.tar.gz (13.6 KB) - added by tkb.island@… 14 years ago.
gdb.txt + myth.log
gdb_x15_mythbackend_x5_error.txt (17.9 KB) - added by tkb.island@… 14 years ago.
gdb.txt
gdb_x15_mythbackend_x5_error.2.txt (17.9 KB) - added by tkb.island@… 14 years ago.
gdb.txt
myth_x5_error.log (102.5 KB) - added by tkb.island@… 14 years ago.
myth.log

Download all attachments as: .zip

Change History (7)

Changed 14 years ago by anonymous

gdb mythbackend -x gdbcommands, file

comment:1 Changed 14 years ago by tkb.island@…

What I do (see the gdb.txt and myth.log files):

./configure --prefix=/usr/local --compile-type=debug

$ gdb mythbackend -x gdbcommands

$ cat gdbcommands handle SIGPIPE nostop noprint handle SIG33 nostop noprint set logging on set pagination off set args -l myth.log -v record,channel,siparser run thread apply all bt full set logging off

$ mythfrontend -v all > /tmp/myth.log 2>&1

press the key "Finish" in MythTV in "Utilities/Setup?->Setup->Appearance" (in the menu: "LCD device display")

--> this error doesn't appear if one records first a film and then press the "Finish" key <--

Changed 14 years ago by tkb.island@…

Attachment: Archiv.tar.gz added

gdb.txt + myth.log

Changed 14 years ago by tkb.island@…

gdb.txt

Changed 14 years ago by tkb.island@…

gdb.txt

Changed 14 years ago by tkb.island@…

Attachment: myth_x5_error.log added

myth.log

comment:2 Changed 14 years ago by paulh

Resolution: fixed
Status: newclosed

(In [12373]) This fixes a problem where exiting the Appearance settings sometimes causes a segfault. It actually only affects the classic menu layout but it was only by luck the DVR and default layouts worked.

Basically this commit makes sure the AppearanceSettings? dialog is deleted and cleaned up before doing the JumpTo?("Reload Theme") so that when its detached from the MythMainWindow? it doesn't send an ExitToMainMenuEvent? which was causing all the problems.

It also only reloads the theme if the user completed the settings dialog by pressing "Finish".

Fixes #2860, #2580, #2738.

Note: See TracTickets for help on using tickets.