Opened 14 years ago

Closed 14 years ago

#7974 closed defect (fixed)

frontend getting stuck changing between themes/theme painter or exiting mythfrontend.

Reported by: Marc Tousignant <myrdhn@…> Owned by: danielk
Priority: minor Milestone: 0.23
Component: MythTV - General Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

When switching between themes the frontend enters a hung or paused state. Does not seem to matter which theme you switch too.

# mythfrontend --version Please include all output in bug reports. MythTV Version : 23311M MythTV Branch : trunk Network Protocol : 56 Library API : 0.23.20100124-2 QT Version : 4.5.3 Options compiled in:

linux release using_oss using_alsa using_backend using_frontend using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_opengl using_vdpau using_ffmpeg_threads using_mheg

Attaching a log of what myth did before locking. Restarting mythfrontend is the only thing that seems to get it out of this state. On restart the new theme is loaded.

Attachments (3)

Mythfrontend-log.txt (21.8 KB) - added by Marc Tousignant <myrdhn@…> 14 years ago.
Mythfrontend-log-23321.txt (21.8 KB) - added by Marc Tousignant <myrdhn@…> 14 years ago.
gdb.log (31.1 KB) - added by Marc Tousignant <myrdhn@…> 14 years ago.

Download all attachments as: .zip

Change History (12)

Changed 14 years ago by Marc Tousignant <myrdhn@…>

Attachment: Mythfrontend-log.txt added

comment:1 Changed 14 years ago by robertm

Status: newinfoneeded_new

possibly fixed in r23317?

comment:2 Changed 14 years ago by Marc Tousignant <myrdhn@…>

Negative, or somthing between r23317 and r23321 broke something else. I am getting more info into the log file however since moving past r23317. Attaching a new log.

Changed 14 years ago by Marc Tousignant <myrdhn@…>

Attachment: Mythfrontend-log-23321.txt added

comment:3 Changed 14 years ago by Marc Tousignant <myrdhn@…>

Forgot to mention, what I see on the screen is blackness. After selecting the new theme the frontend behaves like it is starting the switch but never displays the new theme.

Changed 14 years ago by Marc Tousignant <myrdhn@…>

Attachment: gdb.log added

comment:4 Changed 14 years ago by Marc Tousignant <myrdhn@…>

Attached a gdb thread trace of what was happening when trying to switch between themes. Not sure if it is usefull at all considering there is no crash event and I'm not sure if its even grabbing the correct information.

comment:5 Changed 14 years ago by yianniv

Please check #7979, it happened to me too (I know that "me too's" don't help, but this could.)

comment:6 Changed 14 years ago by danielk

Milestone: unknown0.23
Status: infoneeded_newnew

Marc, thanks for the backtrace. It looks like MythSignalTimer? is waiting on itself to stop..

I'll look at this tonight.

comment:7 Changed 14 years ago by danielk

Owner: changed from Isaac Richards to danielk
Status: newaccepted

comment:8 Changed 14 years ago by sphery

Summary: frontend getting stuck changing between themes.frontend getting stuck changing between themes/theme painter or exiting mythfrontend.

seems to also happen some times when changing theme painter and when exiting mythfrontend

comment:9 Changed 14 years ago by danielk

Resolution: fixed
Status: acceptedclosed

(In [23348]) Fixes #7974. The blocking queued connection is causing us a deadlock, instead disable new signals from timer while servicing the existing signal. Also make some changes to the timer itself to ensure a quicker shutdown and avoid self-blocking.

Note: See TracTickets for help on using tickets.