﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
13581	mythfrontend seg fault Live TV and Recording Playback	Mike Bibbings	Mark Kendall	"mike@myth-server-1:~$ mythfrontend --version
Please attach all output as a file in bug reports.
MythTV Version : v32-Pre-13-g8017c3077b
MythTV Branch : master
Network Protocol : 91
Library API : 32.20200101-1
QT Version : 5.9.5
Options compiled in:
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_dvb using_firewire using_frontend using_hdhomerun using_vbox using_ceton using_hdpvr using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libfftw3 using_libxml2 using_lirc using_mheg using_opengl using_egl using_qtwebkit using_qtscript using_qtdbus using_taglib using_v4l2 using_v4l2prime using_x11 using_libbluray_external using_xrandr using_profiletype using_systemd_notify using_systemd_journal using_drm using_bindings_perl using_bindings_python using_bindings_php using_freetype2 using_mythtranscode using_opengl using_egl using_drm using_vaapi using_nvdec using_vdpau using_ffmpeg_threads using_mheg using_libass using_libxml2
 
 ran Setup Wizard and checked audio (works ALSA:hdmi:CARD=NVidia,DEV=1) and video (fails Error downloading sample to backend. for Test Standard Definition and Test High Defintion continually Downloading Video Sample... but never completes)
 
 LiveTV fails Failed to initialise video output

starting mythfrontend it seg faults, main menu gets displayed for a second or so then the seg fault.

running mythfrontend under gdb (gdb mythfrontend -x ${HOME}/gdbcommands) mythfrontend main menu is displayed (no seg fault) no Live TV (Failed to initialise video output)
playback of previously recorded program fails (Failed to initialise video output)

gdb backtrace shows seg fault on exiting mythfrontend

mythfrontend.20200210103742.14158.log shows :
{{{
2020-02-10 10:38:06.846940 I [14158/14158] CoreContext mythplayer.cpp:718 (OpenFile) - Player(0): Opening '/myth/mythtv/livetv/85728_20200210103805.ts'
2020-02-10 10:38:06.846963 I [14158/14158] CoreContext mythplayer.cpp:1503 (SetFrameInterval) - Player(0): SetFrameInterval Interval:40000 Speed:1 Scan:Progressive Scan (Mul
tiplier: 1)
2020-02-10 10:38:06.846971 I [14158/14158] CoreContext mythplayer.cpp:515 (detectInterlace) - Player(0): detectInterlace(Ignore Scan, Interlaced Scan, 25, 576) ->Interlaced 
Scan
2020-02-10 10:38:06.849216 N [14158/14158] CoreContext videodisplayprofile.cpp:577 (LoadDB) - VDP: Ignoring profile 25 (decoder vdpau is not available)
2020-02-10 10:38:06.849250 I [14158/14158] CoreContext mythplayer.cpp:5520 (syncWithAudioStretch) - Player(0): Stretch Factor 1, allow passthru 
2020-02-10 10:38:06.849258 I [14158/14158] CoreContext mythvideoout.cpp:72 (Create) - VideoOutput: Allowed renderers: opengl,opengl-yv12
2020-02-10 10:38:06.849263 I [14158/14158] CoreContext mythvideoout.cpp:75 (Create) - VideoOutput: Allowed renderers (filt: dummy): 
2020-02-10 10:38:06.850044 N [14158/14158] CoreContext videodisplayprofile.cpp:577 (LoadDB) - VDP: Ignoring profile 25 (decoder vdpau is not available)
2020-02-10 10:38:06.850057 E [14158/14158] CoreContext mythvideoout.cpp:187 (Create) - VideoOutput: Not compiled with any useable video output method.
2020-02-10 10:38:06.850061 E [14158/14158] CoreContext mythplayer.cpp:387 (InitVideo) - Player(0): Couldn't create VideoOutput instance. Exiting..
2020-02-10 10:38:06.850069 E [14158/14158] CoreContext mythplayer.cpp:2614 (StartPlaying) - Player(0): Unable to initialize video.
2020-02-10 10:38:06.850408 E [14158/14158] CoreContext playercontext.cpp:430 (StartPlaying) - playCtx: StartPlaying() Failed to start player
2020-02-10 10:38:06.850416 C [14158/14158] CoreContext tv_play.cpp:5713 (StartPlayer) - TV::StartPlayer(): Failed to create player.
2020-02-10 10:38:06.850422 D [14158/14158] CoreContext tv_play.cpp:5718 (StartPlayer) - TV::StartPlayer(): (0, WatchingLiveTV, main) -- end error
2020-02-10 10:38:06.850424 E [14158/14158] CoreContext tv_play.cpp:2257 (HandleStateChange) - TV::HandleStateChange(): LiveTV not successfully started
2020-02-10 10:38:06.871428 I [14158/14158] CoreContext tv_play.cpp:2484 (HandleStateChange) - TV::HandleStateChange(): Main UI disabled.
}}}

Attached are gdb.txt and mythfrontend log


Note current fixes/31 works fine :

mike@myth-server-1:~$ mythfrontend --version
Please attach all output as a file in bug reports.
MythTV Version : v31-Pre-1879-g8d7e0df9bd
MythTV Branch : fixes/31
Network Protocol : 91
Library API : 31.20200101-1
QT Version : 5.9.5
Options compiled in:
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_dvb using_firewire using_frontend using_hdhomerun using_vbox using_ceton using_hdpvr using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libfftw3 using_libxml2 using_lirc using_mheg using_opengl using_egl using_qtwebkit using_qtscript using_qtdbus using_taglib using_v4l2 using_v4l2prime using_x11 using_libbluray_external using_xrandr using_profiletype using_systemd_notify using_systemd_journal using_drm using_bindings_perl using_bindings_python using_bindings_php using_freetype2 using_mythtranscode using_opengl using_egl using_drm using_vaapi using_nvdec using_vdpau using_ffmpeg_threads using_mheg using_libass using_libxml2
"	Bug Report - General	closed	minor	31.0	MythTV - Video Playback	Master Head	medium	Fixed			0
