Often have the frontend crash when entering a netvision channel. This seems to be caused by something in the paththumb download. If I update the database to set all the paththumbs of the channel to be the same local file image no crash. Also after a few crash if all the paththumb images are download and are in the cache then also no crash. Looks like mostly occurs for channels where there are many directories (~10 or more) Downloading of video thumbnails do not cause a crash.
Downloading of the paththumbs looks quite strange. Starts with no images, then images blink on and off as they download, then when all are downloaded, all the images pop up.
gdb.txt.gz​ (5.5 KB) - added by anonymous 8 years ago.
mythdownloadmanager.patch​ (1019 bytes) - added by Jonatan <mythtv@…> 8 years ago.
Chris, can you look at this and decide whether it's anything we need to deal with? The crash is actually in Qt code, I cannot reproduce, but it's called from within MythDownloadManager?. Gut says it's a Qt bug, but worth one more look.
Auric, your backtrace is a crash, not a hang. No further info needed.
For general info, qt version.
Seems like there are some thread safety issues in MythDownloadManager?. The attached patched tries to solve them.
Fix race condition and potential segfault in MythDownloadManager?.
Put a lock around the creation of the MythDownloadManager? to make sure we don't get two created by a potential race condition.
Put a lock around access to the QNetworkDiskCache when called via MythDownloadManager::GetLastModified?().
Fixes #9231 using ideas from Jonatan from comhem.se, but most of the patch (and potential issues) are mine.