Opened 15 years ago
Closed 15 years ago
#6068 closed defect (fixed)
mythvideo segfault when remove video
Reported by: | Owned by: | Anduin Withers | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythvideo | Version: | head |
Severity: | high | Keywords: | mythvideo delete |
Cc: | xavier.hervy@… | Ticket locked: | no |
Description
MythVideo? segfault everytime I delete a video. Once mythfrontend is restarted, the previously deleted video have been correctly deleted.
Attachments (1)
Change History (5)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
I've been reciving segfaults when deleting a file in mythvideo for some time now. Asking userlist, it doesn't seem like many ppl is affected.
Its reproducable to 100%. Attached is a BT.
Im running amd64 on gentoo. configure options:Options: --disable-audio-oss --disable-audio-jack --disable-joystick-menu --disable-firewire --disable-iptv --disable-dbox2 --disable-hdhomerun --enable-dvb --disable-ivtv --enable-opengl-vsync --enable-opengl-video --disable-hdpvr --disable-v4l --compile-type=debug
comment:4 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [21246]) Fixes #6068. Refs #6819. Fix deletes in MythVideo?. Deletes will now work for both storage group and local mount configurations, with one caveat on each. We must still reload the tree on local deletes, otherwise when the last item in a folder is removed and you back out of it, a segfault occurs. For Storage Group deletes, one needs to leave mythvideo and allow the cache to die (as with scanning) for the change to 'take.'
After further it is most likely linked to the Ticket #5757 Ad the metadata are not properly refresh, when trying to display information about the deleted movie make us of the private object class MetadataImp? of Metadata. (See method FileName?() for example) We should refresh properly the list and/or check that m_imp is not null