[mythtv-users] rpi4: Latest Mythtv-light Seg Fault
Mike Bibbings
mike.bibbings at gmail.com
Fri Aug 14 13:33:09 UTC 2020
On 14/08/2020 13:33, Tim Draper wrote:
> just updated one of my rpi4's and i'm now getting segfault. running
> raspbian, upgrade done via 'apt upgrade'.
> Mythtv is setup from PBennets rpi repo, latest version is
> v31.0-54-g445cf1fe6b.
>
> $ QT_QPA_PLATFORM=eglfs mythfrontend --logpath=/tmp -O libCECEnabled=0
> Failed to move cursor on screen HDMI1: -13
> 2020-08-14 13:24:22.439101 I Setup Interrupt handler
> 2020-08-14 13:24:22.439169 I Setup Terminated handler
> 2020-08-14 13:24:22.439187 I Setup Segmentation fault handler
> 2020-08-14 13:24:22.439204 I Setup Aborted handler
> 2020-08-14 13:24:22.439220 I Setup Bus error handler
> 2020-08-14 13:24:22.439238 I Setup Floating point exception handler
> 2020-08-14 13:24:22.439255 I Setup Illegal instruction handler
> 2020-08-14 13:24:22.439274 I Setup Real-time signal 0 handler
> 2020-08-14 13:24:22.439296 I Setup User defined signal 1 handler
> 2020-08-14 13:24:22.439313 I Setup User defined signal 2 handler
> 2020-08-14 13:24:22.439329 I Setup Hangup handler
> 2020-08-14 13:24:22.439600 C mythfrontend version: fixes/31
> [v31.0-54-g445cf1fe6b] www.mythtv.org <http://www.mythtv.org>
> 2020-08-14 13:24:22.439618 C Qt version: compile: 5.11.3,
> runtime: 5.11.3
> 2020-08-14 13:24:22.439741 I Raspbian GNU/Linux 10 (buster) (arm)
> 2020-08-14 13:24:22.439748 N Enabled verbose msgs: general
> 2020-08-14 13:24:22.440028 N Setting Log Level to LOG_INFO
> 2020-08-14 13:24:22.450737 I Added logging to the console
> 2020-08-14 13:24:22.450803 N Using runtime prefix = /usr
> 2020-08-14 13:24:22.450814 N Using configuration directory =
> /home/pi/.mythtv
> 2020-08-14 13:24:22.450926 I Assumed character encoding: en_GB.UTF-8
> 2020-08-14 13:24:22.451046 N Setting 'libCECEnabled' being forced
> to '0'
> 2020-08-14 13:24:22.451851 I Added logging to
> /tmp/mythfrontend.20200814122422.1111.log
> 2020-08-14 13:24:22.452537 I Loading en_gb translation for module
> mythfrontend
> 2020-08-14 13:24:22.453202 I Empty LocalHostName. This is typical.
> 2020-08-14 13:24:22.453226 I Using a profile name of: 'myth-fe5'
> (Usually the same as this host's name.)
> 2020-08-14 13:24:22.453447 I Start up testing connections. DB
> sql, BE , attempt 0, status dbAwake, Delay: 2000
> 2020-08-14 13:24:23.993694 N Setting QT default locale to en_GB
> 2020-08-14 13:24:23.993778 I Current locale en_GB
> 2020-08-14 13:24:23.994040 N Reading locale defaults from
> /usr/share/mythtv//locales/en_gb.xml
> 2020-08-14 13:24:24.018182 I Display: Found screen 'HDMI1'
> 2020-08-14 13:24:24.018268 I Display: Using screen 'HDMI1' (Make:
> Goldstar Company Ltd Model: LG TV)
> 2020-08-14 13:24:24.018343 I Display: Qt screen pixel ratio: 1.00
> 2020-08-14 13:24:24.018414 I Display: Geometry: 1920x1080+0+0
> Size(Qt): 1600mmx900mm
> 2020-08-14 13:24:24.020199 I DisplayRPI: Connected to display 'HDMI1'
> 2020-08-14 13:24:24.049514 I EDID: Version:1.3 Size:256 Exensions:1
> 2020-08-14 13:24:24.049559 I EDID: Gamma:2.2 sRGB:1
> 2020-08-14 13:24:24.049592 I EDID: Display chromaticity:-
> 2020-08-14 13:24:24.049620 I EDID: Red: 0.6396, 0.3301
> 2020-08-14 13:24:24.049646 I EDID: Green: 0.2998, 0.5996
> 2020-08-14 13:24:24.049671 I EDID: Blue: 0.1504, 0.0596
> 2020-08-14 13:24:24.049695 I EDID: White: 0.3125, 0.3291
> 2020-08-14 13:24:24.049724 I EDID: Physical address: 3.0.0.0
> 2020-08-14 13:24:24.051811 N Display: Desktop video mode:
> 1920x1080 60.000Hz
> 2020-08-14 13:24:24.051838 N Display: Display is using sRGB
> colourspace
> 2020-08-14 13:24:24.174871 E PowerDBus: No UPower interface.
> Unable to monitor battery state
> 2020-08-14 13:24:24.193806 I PowerDBus: Failed to delay
> sleep,shutdown: Permission denied
> 2020-08-14 13:24:24.233796 I Power: On AC power
> 2020-08-14 13:24:24.233826 I Power: Supported actions: None
> 2020-08-14 13:24:24.233875 N Setting 'libCECEnabled' being forced
> to '0'
> 2020-08-14 13:24:24.249316 E Failed listening on TCP 0.0.0.0:6547
> - Error 8: The bound address is already in use
> 2020-08-14 13:24:24.249378 E MediaRenderer: HttpServer Create Error
> 2020-08-14 13:24:24.262920 I Loading en_gb translation for module
> mythfrontend
> 2020-08-14 13:24:24.271808 E LIRC: Failed to connect to Unix
> socket '/var/run/lirc/lircd'
> eno: No such file or directory (2)
> 2020-08-14 13:24:24.271917 I No joystick configuration found, not
> enabling joystick control
> 2020-08-14 13:24:24.271930 I UDPListener: Enabling
> 2020-08-14 13:24:24.273093 E Failed binding to UDP 0.0.0.0:6948 -
> Error 8: The bound address is already in use
> failed to export dumb buffer: Permission denied
> Failed to create scanout resource
> 2020-08-14 13:24:24.274859 E Failed binding to UDP [::]:6948 -
> Error 8: The bound address is already in use
> 2020-08-14 13:24:24.329887 I Using Frameless Window
> 2020-08-14 13:24:24.329897 I Using Full Screen Window
> 2020-08-14 13:24:24.338308 I Display: Have main widget
> 2020-08-14 13:24:24.338333 I Display: Have main window
> 2020-08-14 13:24:24.339034 I Display: Found screen 'HDMI1'
> 2020-08-14 13:24:24.340508 I UI Screen Resolution: 1920 x 1080
> failed to export dumb buffer: Permission denied
> Failed to create scanout resource
> QOpenGLFramebufferObject: Framebuffer incomplete attachment.
> QOpenGLFramebufferObject: Framebuffer incomplete, missing attachment.
> 2020-08-14 13:24:24.433095 E Failed to create framebuffer object
> 2020-08-14 13:24:24.433224 I OpenGL: OpenGL vendor : Broadcom
> 2020-08-14 13:24:24.433236 I OpenGL: OpenGL renderer : V3D 4.2
> 2020-08-14 13:24:24.433247 I OpenGL: OpenGL version :
> OpenGL ES 3.1 Mesa 19.3.2
> 2020-08-14 13:24:24.433264 I OpenGL: Qt platform : eglfs
> 2020-08-14 13:24:24.433352 I OpenGL: EGL display : Yes
> 2020-08-14 13:24:24.433361 I OpenGL: EGL images : Yes
> 2020-08-14 13:24:24.433370 I OpenGL: Qt OpenGL format :
> OpenGLES 3.1
> 2020-08-14 13:24:24.433379 I OpenGL: Qt OpenGL surface : RGBA:
> 8880 Depth: 0 Stencil: 0
> 2020-08-14 13:24:24.433389 I OpenGL: Max texture size : 4096
> 2020-08-14 13:24:24.433397 I OpenGL: Max texture units : 48
> 2020-08-14 13:24:24.433406 I OpenGL: Shaders : Yes
> 2020-08-14 13:24:24.433416 I OpenGL: NPOT textures : Yes
> 2020-08-14 13:24:24.433424 I OpenGL: Multitexturing : Yes
> 2020-08-14 13:24:24.433433 I OpenGL: Rectangular textures : No
> 2020-08-14 13:24:24.433442 I OpenGL: Buffer mapping : Yes
> 2020-08-14 13:24:24.433451 I OpenGL: Framebuffer objects : Yes
> 2020-08-14 13:24:24.433459 I OpenGL: 16bit framebuffers : No
> 2020-08-14 13:24:24.433468 I OpenGL: Unpack Subimage : Yes
> 2020-08-14 13:24:24.433477 I OpenGL: GL_RED/GL_R8 : Yes
> failed to export dumb buffer: Permission denied
> Failed to create scanout resource
> QEGLPlatformContext: eglSwapBuffers failed: 3003
> Could not lock GBM surface front buffer!
> failed to export dumb buffer: Permission denied
> Failed to create scanout resource
> QEGLPlatformContext: eglSwapBuffers failed: 3003
> Could not lock GBM surface front buffer!
> failed to export dumb buffer: Permission denied
> Failed to create scanout resource
> QEGLPlatformContext: eglSwapBuffers failed: 3003
> Could not lock GBM surface front buffer!
> 2020-08-14 13:24:24.482396 I OpenGL: Initialised MythRenderOpenGL
> 2020-08-14 13:24:24.482415 I OpenGL: Using full range output
> 2020-08-14 13:24:24.512929 I MythUIHelper: Pruning cache
> directory: /home/pi/.mythtv/cache/remotecache
> 2020-08-14 13:24:24.513104 I MythUIHelper: Kept 0 files, deleted
> 0 files, stat error on 0 files
> 2020-08-14 13:24:24.513129 I MythUIHelper: Pruning cache
> directory: /home/pi/.mythtv/cache/thumbnails
> 2020-08-14 13:24:24.513200 I MythUIHelper: Kept 0 files, deleted
> 0 files, stat error on 0 files
> 2020-08-14 13:24:24.610063 I
> MythCoreContext::ConnectCommandSocket(): Connecting to backend
> server: 192.168.1.149:6543 (try 1 of 1)
> 2020-08-14 13:24:24.612047 I MythCoreContext::CheckProtoVersion():
> Using protocol version 91 BuzzOff
> libpng error: Read Error
> libpng error: Read Error
> 2020-08-14 13:24:24.846886 I CECAdapter: libCEC support is disabled.
> 2020-08-14 13:24:24.855576 I Current MythTV Schema Version
> (DBSchemaVer): 1361
> 2020-08-14 13:24:24.861491 I V4L2_M2M: Supported/available V4L2
> decoders:
> 2020-08-14 13:24:24.861515 I V4L2_M2M: H264
> 2020-08-14 13:24:24.863465 I MMAL: Supported/available MMAL decoders:
> 2020-08-14 13:24:24.863483 I MMAL: H264
> Handling Segmentation fault
> Segmentation fault
>
> libpng-tools and libpng16-16 are installed (seemed to be the closest
> packages to the libpng error). worked before the upgrade but broken after.
>
>
I suspect the update installed a series 5.4 kernel (uname -a )
You need to add QT_QPA_EGLFS_ALWAYS_SET_MODE="1" to the command line i.e.
QT_QPA_EGLFS_ALWAYS_SET_MODE="1" QT_QPA_PLATFORM=eglfs mythfrontend
--logpath=/tmp -O libCECEnabled=0
You may need to reboot the Raspberry Pi before making this change.
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20200814/f288bac7/attachment.htm>
More information about the mythtv-users
mailing list