<div dir="ltr"><div dir="ltr"><div>On Thu, Dec 7, 2023 at 8:41 AM David Hampton via mythtv-users <<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>> wrote:<br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, 2023-09-26 at 21:48 -0400, Ryan Patterson wrote:<br>
> This bug gets me every couple months.<br>
> 1. Do a mythvideo "scan for changes" that discovers new videos.<br>
> 2. Do a second scan while the list of new videos is being processed<br>
> for metadata look up.<br>
> 3. Segmentation fault every time.<br>
> <br>
> I haven't looked at the code but I assume it is something like this: <br>
> There is a pointer to a dynamically allocated object that holds the<br>
> list of discovered videos. The second scan deletes any existing<br>
> object and creates a new one. But the metadata lookup continues<br>
> trying to access the old (deleted) object.<br>
<br>
Sounds like an accurate assessment. Please file an issue for this at<br>
<a href="https://github.com/MythTV/mythtv/issues" rel="noreferrer" target="_blank">https://github.com/MythTV/mythtv/issues</a><br>
<br>
Thanks.<br>
<br>
David</blockquote><div> </div>Done.<div><a href="https://github.com/MythTV/mythtv/issues/836">https://github.com/MythTV/mythtv/issues/836</a><br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr">_____________<br>Ryan Patterson<div>If you put the federal government in charge of the Sahara Desert, in five years there'd be a shortage of sand. - Milton Friedman</div></div></div></div></div><br class="gmail-Apple-interchange-newline"><div> </div></div></div>