[mythtv-users] segfault when mythvideo scan while fetching metadata
David Hampton
mythtv at love2code.net
Thu Dec 7 13:41:05 UTC 2023
On Tue, 2023-09-26 at 21:48 -0400, Ryan Patterson wrote:
> This bug gets me every couple months.
> 1. Do a mythvideo "scan for changes" that discovers new videos.
> 2. Do a second scan while the list of new videos is being processed
> for metadata look up.
> 3. Segmentation fault every time.
>
> I haven't looked at the code but I assume it is something like this:
> There is a pointer to a dynamically allocated object that holds the
> list of discovered videos. The second scan deletes any existing
> object and creates a new one. But the metadata lookup continues
> trying to access the old (deleted) object.
Sounds like an accurate assessment. Please file an issue for this at
https://github.com/MythTV/mythtv/issues
Thanks.
David
More information about the mythtv-users
mailing list