Ticket #10176 (closed Bug Report - Crash: Fixed)
Opened 18 months ago
Last modified 17 months ago
[CRASH] MythVideo next video doesn't exist
| Reported by: | Dave Badia <dbadia@…> | Owned by: | robertm |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | Plugin - MythVideo | Version: | Unspecified |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
If the childid doesn't exist, myth segafults
Steps to reproduce:
- Setup 2 videos, foo and bar. Set foo's next video (childid in the db) to bar
- Delete bar and rescan the videos
- Play foo, myth will segfault after when it tries to play bar which no longer exists in the DB
Backtrace attached from v24-fixes (full info below) I haven't tried this with master but the logic appears to be the same
MythTV Version : v0.24.1-128-g7d04143 MythTV Branch : 241f Network Protocol : 63 Library API : 0.24.20110505-1 QT Version : 4.6.2 Options compiled in:
linux profile using_alsa using_oss using_backend using_bindings_perl using_bindings_python using_dvb using_frontend using_hdhomerun using_hdpvr using_iptv using_ivtv using_joystick_menu using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtdbus using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_mythtranscode using_opengl using_vdpau using_ffmpeg_threads using_live using_mheg
Attachments
Change History
comment:1 Changed 18 months ago by robertm
- Status changed from new to infoneeded_new
comment:2 Changed 18 months ago by Dave Badia <dbadia@…>
Backtrace added. Not sure how I added it twice, but both files are the same
comment:3 Changed 17 months ago by Github
Video Library: Avoid crashing if child item no longer exists.
Check validity of child metadata before attempting to play it.
Refs #10176.
Branch: master Changeset: 2472d67085b25bedcee1cedbf2b5f9111384e48f
comment:4 Changed 17 months ago by robertm
- Status changed from infoneeded_new to closed
- Resolution set to Fixed

Backtrace forthcoming?