[mythtv-users] segfault when mythvideo scan while fetching metadata

Ryan Patterson ryan.goat at gmail.com
Wed Sep 27 01:48:34 UTC 2023

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.

Ryan Patterson
May the wings of liberty never lose a feather.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20230926/b92b2834/attachment.htm>

More information about the mythtv-users mailing list