[mythtv-users] segfault when mythvideo scan while fetching metadata
Ryan Patterson
ryan.goat at gmail.com
Sat Jan 6 15:42:33 UTC 2024
On Thu, Dec 7, 2023 at 8:41 AM David Hampton via mythtv-users <
mythtv-users at mythtv.org> wrote:
> 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
Done.
https://github.com/MythTV/mythtv/issues/836
_____________
Ryan Patterson
If you put the federal government in charge of the Sahara Desert, in five
years there'd be a shortage of sand. - Milton Friedman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20240106/4b9365a3/attachment.htm>
More information about the mythtv-users
mailing list