Opened 14 years ago
Closed 14 years ago
Last modified 14 years ago
#9500 closed Bug Report (fixed)
Segmentation Fault When mythfrontend Exits
Reported by: | Owned by: | beirdo | |
---|---|---|---|
Priority: | minor | Milestone: | 0.25 |
Component: | MythTV - General | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description (last modified by )
To duplicate: start the frontend, wait for a quiet log, exit. Starting, watching an entire program then exiting also caused the same failure (but the backtrace/fe.log are from the simple start/exit case.)
Also references: http://www.gossamer-threads.com/lists/mythtv/users/469002
MythTV Version : v0.25pre-924-g4e53b23 MythTV Branch : master Network Protocol : 64 Library API : 0.25.20110119-1 QT Version : 4.7.0
Attachments (4)
Change History (9)
Changed 14 years ago by
Attachment: | backtrace.txt added |
---|
Changed 14 years ago by
Attachment: | mythfrontend.log added |
---|
comment:1 Changed 14 years ago by
Owner: | set to beirdo |
---|---|
Status: | new → assigned |
comment:2 Changed 14 years ago by
Actually, a more useful log would be from: mythfrontend -v extra
What I want to see is the opening and closing of the threads as they are used, following by the death on quitting.
comment:3 Changed 14 years ago by
Milestone: | unknown → 0.25 |
---|---|
Resolution: | → Fixed |
Status: | assigned → closed |
Fixed in 255a074b19a. I can no longer get it to crash in this way.
comment:4 Changed 14 years ago by
Resolution: | Fixed → fixed |
---|
Change ThreadPool? shutdown to use deleteLater
This is to fix #9500, which has the frontend segfaulting on shutdown. This code will hopefully all be overhauled in the awaited webserver rewrite, but in the mean time, let's have it behaving.
I also moved the order of removing from the deque and marking it for deletion, as I was toying with different locking methods.
Changeset: 255a074b19a9c72ee91a6028efe195d723854cf8
Correct FE log, disragard previous mythfrontend.log attachment