Opened 11 years ago
Closed 11 years ago
Last modified 11 years ago
#11663 closed Bug Report - General (fixed)
cancelling MythDownloadManager can cause a crash
Reported by: | JYA | Owned by: | cpinkham |
---|---|---|---|
Priority: | critical | Milestone: | 0.27 |
Component: | MythTV - General | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Using Qt compiled in debug mode runs additional test and safety; with plenty of asserts being enabled.
When the HLSRingBuffer has been interrupted and is attempting to cancel a download, it can occasionally crash.
The error being:
Q_ASSERT_X(currentThread == thr || !thr, "QCoreApplication::sendEvent", QString::fromLatin1("Cannot send events to objects owned by a different thread. " "Current thread %1. Receiver '%2' (of type '%3') was created in thread %4") .arg(QString::number((quintptr) currentThread, 16))
Attached is the full backtrace, crash is in thread 36, MythDownloadManager::cancelDownload
Attachments (2)
Change History (6)
Changed 11 years ago by
Attachment: | MDMcrash.gdb added |
---|
Changed 11 years ago by
Attachment: | 0001-Ensure-cancelling-a-download-is-done-in-the-same-thr.patch added |
---|
Fixes for crash
comment:1 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 11 years ago by
Milestone: | unknown → 0.27 |
---|---|
Version: | Unspecified → Master Head |
Note: See
TracTickets for help on using
tickets.
crash in thread #36