Opened 4 years ago

Last modified 18 months ago

#12771 infoneeded_new Bug Report - General

mythfrontend 0.28-fixes segfaults

Reported by: jason@… Owned by:
Priority: minor Milestone: unknown
Component: MythTV - General Version: 0.28.0
Severity: medium Keywords:
Cc: Ticket locked: no

Description (last modified by paulh)

I am running MythTV 0.28-fixes (up to 370dd71 which is current at this time.) Ubuntu 14.04 LTS (Trusty Tahr.)

I start the frontend, play a video, press e to begin commercial editing, press z to load the cut list, begin pressing right-arrow to advance through the video, and the frontend segfaults. Happens every single time on multiple recordings. As a result I cannot edit them. I can provide copies of the recordings if it would be helpful.

jason@pc:~$ mythfrontend
2016-05-14 08:08:10.318011 I  Setup Interrupt handler
2016-05-14 08:08:10.318033 I  Setup Terminated handler
2016-05-14 08:08:10.318043 I  Setup Segmentation fault handler
2016-05-14 08:08:10.318050 I  Setup Aborted handler
2016-05-14 08:08:10.318058 I  Setup Bus error handler
2016-05-14 08:08:10.318065 I  Setup Floating point exception handler
2016-05-14 08:08:10.318073 I  Setup Illegal instruction handler
2016-05-14 08:08:10.318082 I  Setup Real-time signal 0 handler
2016-05-14 08:08:10.318092 I  Setup User defined signal 1 handler
2016-05-14 08:08:10.318098 I  Setup User defined signal 2 handler
2016-05-14 08:08:10.318106 I  Setup Hangup handler
2016-05-14 08:08:10.318211 C  mythfrontend version: fixes/0.28 [370dd71] www.mythtv.org
2016-05-14 08:08:10.318220 C  Qt version: compile: 5.2.1, runtime: 5.2.1
2016-05-14 08:08:10.318223 N  Enabled verbose msgs:  general
2016-05-14 08:08:10.318238 N  Setting Log Level to LOG_INFO
2016-05-14 08:08:10.330117 N  Using runtime prefix = /usr/local
2016-05-14 08:08:10.330126 N  Using configuration directory = /home/jason/.mythtv
2016-05-14 08:08:10.330194 I  Assumed character encoding: en_US.UTF-8
2016-05-14 08:08:10.330668 N  Empty LocalHostName.
2016-05-14 08:08:10.330677 I  Using localhost value of pc
2016-05-14 08:08:10.331878 I  Added logging to the console
2016-05-14 08:08:10.446556 N  Setting QT default locale to en_US
2016-05-14 08:08:10.446572 I  Current locale en_US
2016-05-14 08:08:10.446624 N  Reading locale defaults from /usr/local/share/mythtv//locales/en_us.xml
2016-05-14 08:08:10.454161 I  ScreenSaverDBus: Created for DBus service: org.freedesktop.ScreenSaver
2016-05-14 08:08:10.456305 I  ScreenSaverDBus: Created for DBus service: org.gnome.SessionManager
2016-05-14 08:08:10.456555 I  Starting process manager
2016-05-14 08:08:10.458989 I  Starting process signal handler
2016-05-14 08:08:10.459041 I  Starting IO manager (read)
2016-05-14 08:08:10.462564 I  Starting IO manager (write)
2016-05-14 08:08:10.510038 I  ScreenSaverX11Private: DPMS is disabled.
2016-05-14 08:08:10.524356 N  Desktop video mode: 1920x1200 59.649 Hz
2016-05-14 08:08:10.654961 I  Listening on TCP 127.0.0.1:6547
2016-05-14 08:08:10.655067 I  Listening on TCP [::1]:6547
2016-05-14 08:08:10.655138 I  Listening on TCP [fe80::219:66ff:fe7a:6630%eth0]:6547
2016-05-14 08:08:11.509354 I  Loading en_us translation for module mythfrontend
2016-05-14 08:08:11.518611 E  LIRC: Failed to connect to Unix socket '/var/run/lirc/lircd'
			eno: No such file or directory (2)
2016-05-14 08:08:11.518651 I  No joystick configuration found, not enabling joystick control
2016-05-14 08:08:11.560859 E  CECAdapter: Failed to find any CEC devices.
2016-05-14 08:08:11.560973 I  CECAdapter: Closing down CEC.
2016-05-14 08:08:11.560993 I  UDPListener: Enabling
2016-05-14 08:08:11.561691 I  Binding to UDP 127.0.0.1:6948
2016-05-14 08:08:11.561758 I  Binding to UDP [::1]:6948
2016-05-14 08:08:11.561810 I  Binding to UDP [fe80::219:66ff:fe7a:6630%eth0]:6948
2016-05-14 08:08:11.591373 I  Using Frameless Window
2016-05-14 08:08:11.591379 I  Using Full Screen Window
2016-05-14 08:08:11.751606 I  UI Screen Resolution: 1920 x 1200
2016-05-14 08:08:11.757682 I  Using the Qt painter
2016-05-14 08:08:12.240070 E  MythFontProperties: Failed to load 'Liberation Sans', got 'Droid Sans' instead
			Location: /usr/local/share/mythtv/themes/Terra/base.xml @ 6
			Name: 'basesmall'	Type: 'fontdef'
2016-05-14 08:08:12.244604 E  MythFontProperties: Failed to load 'Liberation Sans', got 'Droid Sans' instead
			Location: /usr/local/share/mythtv/themes/Terra/base.xml @ 11
			Name: 'basemedium'	Type: 'fontdef'
2016-05-14 08:08:12.246649 E  MythFontProperties: Failed to load 'Liberation Sans', got 'Droid Sans' instead
			Location: /usr/local/share/mythtv/themes/Terra/base.xml @ 15
			Name: 'baselarge'	Type: 'fontdef'
2016-05-14 08:08:12.248873 E  MythFontProperties: Failed to load 'Liberation Sans', got 'Droid Sans' instead
			Location: /usr/local/share/mythtv/themes/Terra/base.xml @ 19
			Name: 'baseextralarge'	Type: 'fontdef'
2016-05-14 08:08:12.248952 E  MythFontProperties: Failed to load 'Liberation Sans', got 'Droid Sans' instead
			Location: /usr/local/share/mythtv/themes/Terra/base.xml @ 28
			Name: 'basesmallbrown'	Type: 'fontdef'
2016-05-14 08:08:12.249011 E  MythFontProperties: Failed to load 'Liberation Sans', got 'Droid Sans' instead
			Location: /usr/local/share/mythtv/themes/Terra/base.xml @ 32
			Name: 'basesmallgrey'	Type: 'fontdef'
2016-05-14 08:08:12.249071 E  MythFontProperties: Failed to load 'Liberation Sans', got 'Droid Sans' instead
			Location: /usr/local/share/mythtv/themes/Terra/base.xml @ 36
			Name: 'basesmallpurple'	Type: 'fontdef'
2016-05-14 08:08:12.249130 E  MythFontProperties: Failed to load 'Liberation Sans', got 'Droid Sans' instead
			Location: /usr/local/share/mythtv/themes/Terra/base.xml @ 40
			Name: 'basesmallblack'	Type: 'fontdef'
2016-05-14 08:08:12.249189 E  MythFontProperties: Failed to load 'Liberation Sans', got 'Droid Sans' instead
			Location: /usr/local/share/mythtv/themes/Terra/base.xml @ 44
			Name: 'basesmallyellow'	Type: 'fontdef'
2016-05-14 08:08:12.249248 E  MythFontProperties: Failed to load 'Liberation Sans', got 'Droid Sans' instead
			Location: /usr/local/share/mythtv/themes/Terra/base.xml @ 48
			Name: 'basesmallgreen'	Type: 'fontdef'
2016-05-14 08:08:12.249308 E  MythFontProperties: Failed to load 'Liberation Sans', got 'Droid Sans' instead
			Location: /usr/local/share/mythtv/themes/Terra/base.xml @ 52
			Name: 'basesmallblue'	Type: 'fontdef'
2016-05-14 08:08:12.249368 E  MythFontProperties: Failed to load 'Liberation Sans', got 'Droid Sans' instead
			Location: /usr/local/share/mythtv/themes/Terra/base.xml @ 56
			Name: 'basesmallred'	Type: 'fontdef'
2016-05-14 08:08:12.249428 E  MythFontProperties: Failed to load 'Liberation Sans', got 'Droid Sans' instead
			Location: /usr/local/share/mythtv/themes/Terra/base.xml @ 60
			Name: 'basemediumgrey'	Type: 'fontdef'
2016-05-14 08:08:12.249488 E  MythFontProperties: Failed to load 'Liberation Sans', got 'Droid Sans' instead
			Location: /usr/local/share/mythtv/themes/Terra/base.xml @ 64
			Name: 'basemediumgreen'	Type: 'fontdef'
2016-05-14 08:08:12.249548 E  MythFontProperties: Failed to load 'Liberation Sans', got 'Droid Sans' instead
			Location: /usr/local/share/mythtv/themes/Terra/base.xml @ 68
			Name: 'basemediumred'	Type: 'fontdef'
2016-05-14 08:08:12.249607 E  MythFontProperties: Failed to load 'Liberation Sans', got 'Droid Sans' instead
			Location: /usr/local/share/mythtv/themes/Terra/base.xml @ 72
			Name: 'basemediumpurple'	Type: 'fontdef'
2016-05-14 08:08:12.249667 E  MythFontProperties: Failed to load 'Liberation Sans', got 'Droid Sans' instead
			Location: /usr/local/share/mythtv/themes/Terra/base.xml @ 76
			Name: 'basemediumbrown'	Type: 'fontdef'
2016-05-14 08:08:12.249727 E  MythFontProperties: Failed to load 'Liberation Sans', got 'Droid Sans' instead
			Location: /usr/local/share/mythtv/themes/Terra/base.xml @ 80
			Name: 'baselargebrown'	Type: 'fontdef'
2016-05-14 08:08:12.295089 E  MythFontProperties: Failed to load 'Liberation Sans', got 'Droid Sans' instead
			Location: /usr/local/share/mythtv/themes/Terra/base.xml @ 674
			Name: 'datefont'	Type: 'fontdef'
2016-05-14 08:08:12.299578 E  MythFontProperties: Failed to load 'Liberation Sans', got 'Droid Sans' instead
			Location: /usr/local/share/mythtv/themes/Terra/base.xml @ 678
			Name: 'timefont'	Type: 'fontdef'
2016-05-14 08:08:12.322816 I  MythCoreContext::ConnectCommandSocket(): Connecting to backend server: 127.0.0.1:6543 (try 1 of 1)
2016-05-14 08:08:12.378848 I  MythCoreContext::CheckProtoVersion(): Using protocol version 88 XmasGift
2016-05-14 08:08:12.646789 I  MythUIWebBrowser: Loading css from - file:///usr/local/share/mythtv/themes/default/htmls/mythbrowser.css
2016-05-14 08:08:12.651985 I  MythUIWebBrowser: enabling plugins
2016-05-14 08:08:12.721876 E  MythFontProperties: Failed to load 'Liberation Sans', got 'Droid Sans' instead
			Location: /usr/local/share/mythtv/themes/default/base.xml @ 11
			Name: 'basetiny'	Type: 'fontdef'
2016-05-14 08:08:12.722026 E  MythFontProperties: Failed to load 'Liberation Sans', got 'Droid Sans' instead
			Location: /usr/local/share/mythtv/themes/default/base.xml @ 36
			Name: 'basetinyred'	Type: 'fontdef'
2016-05-14 08:08:12.722275 E  MythFontProperties: Failed to load 'Liberation Sans', got 'Droid Sans' instead
			Location: /usr/local/share/mythtv/themes/default/base.xml @ 80
			Name: 'basemediumyellow'	Type: 'fontdef'
2016-05-14 08:08:12.727044 E  MythFontProperties: Failed to load 'Liberation Sans', got 'Droid Sans' instead
			Location: /usr/local/share/mythtv/themes/default/base.xml @ 731
			Name: 'gallerytext'	Type: 'fontdef'
2016-05-14 08:08:12.772426 E  RAOP Device: Aborting startup - no key found.
2016-05-14 08:08:12.775968 I  AirPlay: Created airplay objects.
2016-05-14 08:08:12.777971 I  Current MythTV Schema Version (DBSchemaVer): 1344
2016-05-14 08:08:12.784106 I  Listening on TCP 127.0.0.1:5100
2016-05-14 08:08:12.784196 I  Listening on TCP [::1]:5100
2016-05-14 08:08:12.784253 I  Listening on TCP [fe80::219:66ff:fe7a:6630%eth0]:5100
2016-05-14 08:08:13.570064 I  Bonjour: Service registration complete: name 'MythTV on pc' type '_airplay._tcp.' domain: 'local.'
2016-05-14 08:08:13.614159 N  Registering Internal as a media playback plugin.
2016-05-14 08:08:13.615486 A  MMUnix:CheckMountable: DBus interface error: The name org.freedesktop.UDisks was not provided by any .service files
2016-05-14 08:08:13.616683 W  MMUnix:UDisks2 service found. Media Monitor does not support this yet!
2016-05-14 08:08:13.617865 W  No plugins directory /usr/local/lib/mythtv/plugins
2016-05-14 08:08:13.717966 N  Found mainmenu.xml for theme 'Terra'
2016-05-14 08:08:13.724676 I  Checking for theme updates every hour
2016-05-14 08:08:13.724865 I  Registering HouseKeeperTask 'HardwareProfiler'.
2016-05-14 08:08:13.725626 I  Starting HouseKeeper.
2016-05-14 08:08:14.177014 I  Bonjour: Service registration complete: name 'Mythfrontend on pc' type '_mythfrontend._tcp.' domain: 'local.'
2016-05-14 08:08:17.605603 I  TV::TV(): Creating TV object
2016-05-14 08:08:17.683901 N  Suspending idle timer
2016-05-14 08:08:17.686428 I  TV::Init(): Created TvPlayWindow.
2016-05-14 08:08:17.806981 I  TV::HandleStateChange(): Attempting to change from None to WatchingPreRecorded
2016-05-14 08:08:17.863112 E  ALSA: snd_pcm_info_get_card: Operation not permitted
2016-05-14 08:08:17.888995 N  AudioPlayer: Enabling Audio
2016-05-14 08:08:17.911506 I  AFD: codec AC3 has 6 channels
2016-05-14 08:08:17.911916 I  AFD: Opened codec 0x57da460, id(AC3) type(Audio)
2016-05-14 08:08:17.912235 I  AFD: codec AC3 has 2 channels
2016-05-14 08:08:17.912589 I  AFD: Opened codec 0x57dac60, id(AC3) type(Audio)
2016-05-14 08:08:17.914115 I  AFD: Opened codec 0x57c7500, id(MPEG2VIDEO) type(Video)
2016-05-14 08:08:17.914294 I  AOBase: Opening audio device 'default' ch 2(6) sr 48000 sf 32 bit floating point reenc 0
2016-05-14 08:08:17.981233 E  ALSA: no playback control PCM found on mixer device default
2016-05-14 08:08:17.981244 E  ALSA: Unable to open audio mixer. Volume control disabled
2016-05-14 08:08:18.021789 I  Setup Interrupt handler
2016-05-14 08:08:18.021800 I  Setup Terminated handler
2016-05-14 08:08:18.021957 I  VideoOutputXv: XVideo Adaptor Name: 'Nouveau GeForce 8/9 Textured Video'
2016-05-14 08:08:18.021969 I  VideoOutput: CalcHueBase(Nouveau GeForce 8/9 Textured Video): Unknown adaptor, hue may be wrong.
2016-05-14 08:08:18.021973 I  VideoOutput: Please open a ticket if you need to adjust the hue.
2016-05-14 08:08:18.390592 I  OSD: Base theme size: 1280x720
2016-05-14 08:08:18.390611 I  OSD: Scaling factors: 1.5x1.5
2016-05-14 08:08:18.410440 E  MythFontProperties: Failed to load 'Liberation Sans', got 'Droid Sans' instead
			Location: /usr/local/share/mythtv/themes/Terra/osd.xml @ 119
			Name: 'timefont'	Type: 'fontdef'
2016-05-14 08:08:18.417947 E  MythFontProperties: Failed to load 'Liberation Sans', got 'Droid Sans' instead
			Location: /usr/local/share/mythtv/themes/Terra/osd.xml @ 247
			Name: 'timefont'	Type: 'fontdef'
2016-05-14 08:08:18.441275 I  OSD: Base theme size: 1280x720
2016-05-14 08:08:18.441293 I  OSD: Scaling factors: 1.5x1.5
2016-05-14 08:08:18.463452 I  Player(0): Video timing method: DRM
2016-05-14 08:08:18.480198 I  TV::StartPlayer(): Created player.
2016-05-14 08:08:18.480474 I  TV::HandleStateChange(): Changing from None to WatchingPreRecorded
2016-05-14 08:08:18.482601 I  TV::HandleStateChange(): Main UI disabled.
2016-05-14 08:08:18.482803 I  TV::StartTV(): Entering main playback loop.
2016-05-14 08:08:18.501691 I  ScreenSaverDBus: Successfully inhibited screensaver via org.freedesktop.ScreenSaver. cookie 1136244986. nom nom
2016-05-14 08:08:18.501965 W  ScreenSaverDBus: Failed to disable screensaver: Method "Inhibit" with signature "ss" on interface "org.gnome.SessionManager" doesn't exist

2016-05-14 08:08:18.685214 I  VideoOutput: Created YV12 OSD.
2016-05-14 08:08:20.009215 I  OSD: Base theme size: 1280x720
2016-05-14 08:08:20.009229 I  OSD: Scaling factors: 1.5x1.5
2016-05-14 08:08:20.088948 I  ScreenSaverDBus: Screensaver uninhibited via org.freedesktop.ScreenSaver
Handling Segmentation fault
Segmentation fault

Attachments (4)

output.txt (13.1 KB) - added by anonymous 4 years ago.
gdb.txt (118.0 KB) - added by rcrdnalor 18 months ago.
Backtrace on Ubuntu 18.04
mythtv_version.txt (130 bytes) - added by rcrdnalor 18 months ago.
Ubuntu 18.04 mythtv version
ffmpeg_recording_info.txt (548 bytes) - added by rcrdnalor 18 months ago.
Ubuntu 18.04 ffmpeg file info

Download all attachments as: .zip

Change History (10)

comment:1 in reply to:  description Changed 4 years ago by Gary Buhrmaster <gary.buhrmaster@…>

Replying to jason@…:

... if it would be helpful.

You should perform the steps as documented at https://www.mythtv.org/wiki/Debugging to provide a useful backtrace for the devs. As stated, you will likely need to install the debug-enabled packages to provide useful information from the core file.

Changed 4 years ago by anonymous

Attachment: output.txt added

comment:2 Changed 4 years ago by jason@…

Very well. I have recompiled it using --compile-type=profile and have attached output.txt with what it provides.

comment:3 Changed 3 years ago by paulh

Description: modified (diff)

comment:4 Changed 3 years ago by paulh

Description: modified (diff)

comment:5 Changed 3 years ago by paulh

Status: newinfoneeded_new

That's just a log it's a backtrace we need.

https://www.mythtv.org/wiki/Debugging#Getting_a_Backtrace

Changed 18 months ago by rcrdnalor

Attachment: gdb.txt added

Backtrace on Ubuntu 18.04

Changed 18 months ago by rcrdnalor

Attachment: mythtv_version.txt added

Ubuntu 18.04 mythtv version

Changed 18 months ago by rcrdnalor

Attachment: ffmpeg_recording_info.txt added

Ubuntu 18.04 ffmpeg file info

comment:6 Changed 18 months ago by rcrdnalor

Long time user, first report, so please be patient ;-) Mythtv frontend v29 fixes on ubuntu 18.04 Mate. When I edit the reccording by stepping in single frame mode, a segfault occurs as described in the original post. Attached the backtrace generated with dgb and the mythtv-dbg package as described in the wiki. Frontend: Paint engine set to 'auto', playback profile is "high quality" (ffmpeg).

Interesting detail: This segfault occurs with Mythtv Theme "MythCenter wide 1.7" in a reproducible way. When I switch to one of the MythBuntu themes, I can not reproduce this crash. Maybe some extra functionality like the "Audio Graph" in the MythCenter theme is causing the crash.

Note: See TracTickets for help on using tickets.