Opened 15 years ago

Closed 15 years ago

#6068 closed defect (fixed)

mythvideo segfault when remove video

Reported by: Xavier Hervy <xavier.hervy@…> 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)

gdb.txt (38.3 KB) - added by myshade 15 years ago.
bt when mythvideo segfaults

Download all attachments as: .zip

Change History (5)

comment:1 Changed 15 years ago by anonymous

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

Changed 15 years ago by myshade

Attachment: gdb.txt added

bt when mythvideo segfaults

comment:2 Changed 15 years ago by myshade

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:3 Changed 15 years ago by Stuart Auchterlonie

I can confirm this is happening in trunk still as of 21145

Stuart

comment:4 Changed 15 years ago by robertm

Resolution: fixed
Status: newclosed

(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.'

Note: See TracTickets for help on using tickets.