You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Platform:
debian 12.4
Linux htpc 6.1.0-17-amd64 Added fix for Ticket 8182 #1 SMP PREEMPT_DYNAMIC Debian 6.1.69-1 (2023-12-30) x86_64 GNU/Linux
MythTV version:
fixes/33
Package version:
Compiled from source on 2 January 2024
Component:
Frontend > Mythvideo
What steps will reproduce the bug?
Do a mythvideo "scan for changes" that discovers new videos.
Do a second scan while the list of new videos is being processed for metadata lookup.
Segmentation fault every time.
How often does it reproduce? Is there a required condition?
Reproducible 100% every time.
What is the expected behaviour?
Second scan should not cause segmentation fault. It should add to the existing queue of videos being processed for metadata.
What do you see instead?
Segmentation fault.
Additional information
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.
The text was updated successfully, but these errors were encountered:
Platform:
debian 12.4
Linux htpc 6.1.0-17-amd64 Added fix for Ticket 8182 #1 SMP PREEMPT_DYNAMIC Debian 6.1.69-1 (2023-12-30) x86_64 GNU/Linux
MythTV version:
fixes/33
Package version:
Compiled from source on 2 January 2024
Component:
Frontend > Mythvideo
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
Reproducible 100% every time.
What is the expected behaviour?
Second scan should not cause segmentation fault. It should add to the existing queue of videos being processed for metadata.
What do you see instead?
Segmentation fault.
Additional information
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.
The text was updated successfully, but these errors were encountered: