plexinc / plex-media-player

Next generation Plex Desktop/Embedded Client
GNU General Public License v2.0
1.17k stars 170 forks source link

Fatal error on startup after building on Solus #623

Closed der-eismann closed 7 years ago

der-eismann commented 7 years ago

Hey there, I was building PMP for the Solus distribution to package it which worked perfectly back in June. However I recently reinstalled and several things changed (e.g. switched to Qt 5.9) and now after rebuilding I get a fatal error when starting the app and I don't know why. Is Qt 5.7.1 really necessary?

This is the log file:

2017-10-10 22:29:21 [ INFO  ] Log.cpp @ 115 - Starting Plex Media Player version: 1.3.9.dev-git build date: 2017-10-10 
2017-10-10 22:29:21 [ INFO  ] Log.cpp @ 116 -   Running on: Solus 3 [4.12.14-21.current] arch x86_64 
2017-10-10 22:29:21 [ INFO  ] Log.cpp @ 117 -   Qt Version: 5.9.1 [x86_64-little_endian-lp64] 
2017-10-10 22:29:21 [ DEBUG ] UpdateManager.cpp @ 45 - No Update directory found, exiting 
2017-10-10 22:29:21 [ WARN  ] Log.cpp @ 35 - "QObject::connect: invalid null parameter" 
2017-10-10 22:29:21 [ INFO  ] ComponentManager.cpp @ 41 - Component: settings inited 
2017-10-10 22:29:21 [ DEBUG ] HTTPServer.cpp @ 32 - Listening to port: 32433 
2017-10-10 22:29:21 [ INFO  ] InputMapping.cpp @ 113 - Loading inputmaps from: ":/inputmaps" 
2017-10-10 22:29:21 [ WARN  ] InputMapping.cpp @ 92 - Missing element 'idmatcher' from mapping file: ":/inputmaps/dualshock4-xbox-emulate.json" 
2017-10-10 22:29:21 [ INFO  ] InputMapping.cpp @ 113 - Loading inputmaps from: "/home/sysop/.local/share/plexmediaplayer/inputmaps" 
2017-10-10 22:29:21 [ INFO  ] InputComponent.cpp @ 45 - Successfully inited input: Keyboard 
2017-10-10 22:29:21 [ INFO  ] LocalJsonServer.cpp @ 33 - Listening to socket: "/tmp/pmp_inputSocket_sysop.sock" 
2017-10-10 22:29:21 [ INFO  ] InputComponent.cpp @ 45 - Successfully inited input: socket 
2017-10-10 22:29:21 [ INFO  ] InputComponent.cpp @ 45 - Successfully inited input: roku 
2017-10-10 22:29:21 [ INFO  ] InputSDL.cpp @ 207 - SDL found  0  joysticks 
2017-10-10 22:29:21 [ INFO  ] InputComponent.cpp @ 45 - Successfully inited input: SDL 
2017-10-10 22:29:21 [ ERROR ] InputLIRC.cpp @ 82 - LIRC Socket Error :  QLocalSocket::ServerNotFoundError 
2017-10-10 22:29:21 [ WARN  ] InputComponent.cpp @ 41 - Failed to init input: LIRC 
2017-10-10 22:29:21 [ INFO  ] InputCEC.cpp @ 112 - libCEC was successfully initialized, found version 262146 
2017-10-10 22:29:21 [ INFO  ] InputComponent.cpp @ 45 - Successfully inited input: CEC 
2017-10-10 22:29:21 [ INFO  ] ComponentManager.cpp @ 41 - Component: input inited 
2017-10-10 22:29:21 [ INFO  ] ComponentManager.cpp @ 41 - Component: system inited 
2017-10-10 22:29:21 [ ERROR ] ComponentManager.cpp @ 49 - Failed to init component: display 
2017-10-10 22:29:21 [ INFO  ] ComponentManager.cpp @ 41 - Component: updater inited 
2017-10-10 22:29:21 [ INFO  ] ComponentManager.cpp @ 41 - Component: remote inited 
2017-10-10 22:29:21 [ DEBUG ] SettingsComponent.cpp @ 140 - Updated possible values for: "device" to (QVariant(QVariantMap, QMap(("title", QVariant(QString, "Autoselect device"))("value", QVariant(QString, "auto")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "Internes Audio Analog Stereo"))("value", QVariant(QString, "pulse/alsa_output.pci-0000_00_1b.0.analog-stereo")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "Default (alsa)"))("value", QVariant(QString, "alsa")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "HDA Intel HDMI, HDMI 0/HDMI Audio Output"))("value", QVariant(QString, "alsa/hdmi:CARD=HDMI,DEV=0")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "HDA Intel HDMI, HDMI 1/HDMI Audio Output"))("value", QVariant(QString, "alsa/hdmi:CARD=HDMI,DEV=1")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "HDA Intel HDMI, HDMI 2/HDMI Audio Output"))("value", QVariant(QString, "alsa/hdmi:CARD=HDMI,DEV=2")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "HDA Intel HDMI, HDMI 3/HDMI Audio Output"))("value", QVariant(QString, "alsa/hdmi:CARD=HDMI,DEV=3")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "HDA Intel HDMI, HDMI 4/HDMI Audio Output"))("value", QVariant(QString, "alsa/hdmi:CARD=HDMI,DEV=4")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "HDA Intel PCH, ALC3263 Analog/Default Audio Device"))("value", QVariant(QString, "alsa/sysdefault:CARD=PCH")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "HDA Intel PCH, ALC3263 Analog/Front speakers"))("value", QVariant(QString, "alsa/front:CARD=PCH,DEV=0")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "HDA Intel PCH, ALC3263 Analog/2.1 Surround output to Front and Subwoofer speakers"))("value", QVariant(QString, "alsa/surround21:CARD=PCH,DEV=0")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "HDA Intel PCH, ALC3263 Analog/4.0 Surround output to Front and Rear speakers"))("value", QVariant(QString, "alsa/surround40:CARD=PCH,DEV=0")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "HDA Intel PCH, ALC3263 Analog/4.1 Surround output to Front, Rear and Subwoofer speakers"))("value", QVariant(QString, "alsa/surround41:CARD=PCH,DEV=0")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "HDA Intel PCH, ALC3263 Analog/5.0 Surround output to Front, Center and Rear speakers"))("value", QVariant(QString, "alsa/surround50:CARD=PCH,DEV=0")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "HDA Intel PCH, ALC3263 Analog/5.1 Surround output to Front, Center, Rear and Subwoofer speakers"))("value", QVariant(QString, "alsa/surround51:CARD=PCH,DEV=0")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "HDA Intel PCH, ALC3263 Analog/7.1 Surround output to Front, Center, Side, Rear and Woofer speakers"))("value", QVariant(QString, "alsa/surround71:CARD=PCH,DEV=0"))))) 
2017-10-10 22:29:21 [ DEBUG ] PlayerComponent.cpp @ 854 - Audio devices removed: QSet() 
2017-10-10 22:29:21 [ DEBUG ] PlayerComponent.cpp @ 855 - Audio devices added: QSet("alsa/hdmi:CARD=HDMI,DEV=1", "alsa/hdmi:CARD=HDMI,DEV=4", "alsa/surround40:CARD=PCH,DEV=0", "alsa/sysdefault:CARD=PCH", "alsa/surround41:CARD=PCH,DEV=0", "alsa/surround71:CARD=PCH,DEV=0", "alsa/surround21:CARD=PCH,DEV=0", "alsa/surround50:CARD=PCH,DEV=0", "alsa", "pulse/alsa_output.pci-0000_00_1b.0.analog-stereo", "alsa/surround51:CARD=PCH,DEV=0", "auto", "alsa/hdmi:CARD=HDMI,DEV=0", "alsa/hdmi:CARD=HDMI,DEV=2", "alsa/hdmi:CARD=HDMI,DEV=3", "alsa/front:CARD=PCH,DEV=0") 
2017-10-10 22:29:21 [ DEBUG ] PlayerComponent.cpp @ 856 - Audio device selected: "auto" 
2017-10-10 22:29:21 [ INFO  ] PlayerComponent.cpp @ 1011 - Audio Config - device: auto, channel layout: 2.0, passthrough codecs: none, ac3 transcoding: no 
2017-10-10 22:29:21 [ INFO  ] PlayerComponent.cpp @ 1145 - Codec "mpeg2video" present 
2017-10-10 22:29:21 [ INFO  ] PlayerComponent.cpp @ 1145 - Codec "vc1" present 
2017-10-10 22:29:21 [ INFO  ] PlayerComponent.cpp @ 184 - Present codecs: aasc aic alias_pix amv anm ansi apng asv1 asv2 aura aura2 avrp avrn avs avui ayuv bethsoftvid bfi binkvideo bmp bmv_video brender_pix c93 cavs cdgraphics cdxl cfhd cinepak clearvideo cljr cllc cpia camstudio cyuv dds dfa dirac dnxhd dpx dsicinvideo dvvideo dxa dxtory dxv eacmv eamad eatgq eatgv eatqi 8bps escape124 escape130 exr ffv1 ffvhuff fic flashsv flashsv2 flic flv fmvc 4xm fraps frwu g2m gif h261 h263 h263i h263p h264 hap hevc hnm4video hq_hqa hqx huffyuv idcinvideo iff indeo2 indeo3 indeo4 indeo5 interplayvideo jpeg2000 jpegls jv kgv1 kmvc lagarith loco m101 magicyuv mdec mimic mjpeg mjpegb mmvideo motionpixels mpeg1video mpeg2video mpeg4 mpegvideo msa1 msmpeg4v1 msmpeg4v2 msmpeg4 msrle mss1 mss2 msvideo1 mszh mts2 mvc1 mvc2 mxpeg nuv paf_video pam pbm pcx pgm pgmyuv pictor pixlet png ppm prores prores_lgpl psd ptx qdraw qpeg qtrle r10k r210 rawvideo rl2 roqvideo rpza rscc rv10 rv20 rv30 rv40 sanm scpr screenpresso sgi sgirle sheervideo smackvid smc smvjpeg snow sp5x speedhq sunrast svq1 svq3 targa targa_y216 tdsc theora thp tiertexseqvideo tiff tmv truemotion1 truemotion2 truemotion2rt camtasia tscc2 txd ultimotion utvideo v210 v210x v308 v408 v410 vb vble vc1 vc1image vcr1 vmdvideo vmnc vp3 vp5 vp6 vp6a vp6f vp7 vp8 vp9 vqavideo webp wmv1 wmv2 wmv3 wmv3image wnv1 xan_wc3 xan_wc4 xbm xface xl xpm xwd y41p ylc yop yuv4 012v zerocodec zlib zmbv libvpx libvpx-vp9 bintext xbin idf h264_cuvid hevc_cuvid mjpeg_cuvid mpeg1_cuvid mpeg2_cuvid mpeg4_cuvid vc1_cuvid vp8_cuvid vp9_cuvid comfortnoise dvaudio 8svx_exp 8svx_fib s302m sdx2_dpcm aac aac_fixed aac_latm ac3 ac3_fixed alac als amrnb amrwb ape atrac1 atrac3 atrac3al atrac3plus atrac3plusal binkaudio_dct binkaudio_rdft bmv_audio cook dca dsd_lsbf dsd_msbf dsd_lsbf_planar dsd_msbf_planar dsicinaudio dss_sp dst eac3 evrc wavesynth flac g723_1 g729 gsm gsm_ms iac imc interplayacm mace3 mace6 metasound mlp mp1 mp1float mp2 mp2float mp3 mp3float mp3adu mp3adufloat mp3on4 mp3on4float mpc7 mpc8 nellymoser on2avc opus paf_audio qcelp qdm2 qdmc real_144 real_288 ralf shorten sipr smackaud sonic tak truehd truespeech tta twinvq vmdaudio vorbis wavpack wmalossless wmapro wmav1 wmav2 wmavoice ws_snd1 xma1 xma2 pcm_alaw pcm_bluray pcm_dvd pcm_f16le pcm_f24le pcm_f32be pcm_f32le pcm_f64be pcm_f64le pcm_lxf pcm_mulaw pcm_s8 pcm_s8_planar pcm_s16be pcm_s16be_planar pcm_s16le pcm_s16le_planar pcm_s24be pcm_s24daud pcm_s24le pcm_s24le_planar pcm_s32be pcm_s32le pcm_s32le_planar pcm_s64be pcm_s64le pcm_u8 pcm_u16be pcm_u16le pcm_u24be pcm_u24le pcm_u32be pcm_u32le pcm_zork interplay_dpcm roq_dpcm sol_dpcm xan_dpcm adpcm_4xm adpcm_adx adpcm_afc adpcm_aica adpcm_ct adpcm_dtk adpcm_ea adpcm_ea_maxis_xa adpcm_ea_r1 adpcm_ea_r2 adpcm_ea_r3 adpcm_ea_xas g722 g726 g726le adpcm_ima_amv adpcm_ima_apc adpcm_ima_dat4 adpcm_ima_dk3 adpcm_ima_dk4 adpcm_ima_ea_eacs adpcm_ima_ea_sead adpcm_ima_iss adpcm_ima_oki adpcm_ima_qt adpcm_ima_rad adpcm_ima_smjpeg adpcm_ima_wav adpcm_ima_ws adpcm_ms adpcm_mtaf adpcm_psx adpcm_sbpro_2 adpcm_sbpro_3 adpcm_sbpro_4 adpcm_swf adpcm_thp adpcm_thp_le adpcm_vima adpcm_xa adpcm_yamaha libfdk_aac libopus libspeex libvorbis a64multi(enc) a64multi5(enc) alias_pix(enc) amv(enc) apng(enc) asv1(enc) asv2(enc) avrp(enc) avui(enc) ayuv(enc) bmp(enc) cinepak(enc) cljr(enc) comfortnoise(enc) dnxhd(enc) dpx(enc) dvvideo(enc) ffv1(enc) ffvhuff(enc) flashsv(enc) flashsv2(enc) flv(enc) gif(enc) h261(enc) h263(enc) h263p(enc) hap(enc) huffyuv(enc) jpeg2000(enc) jpegls(enc) ljpeg(enc) mjpeg(enc) mpeg1video(enc) mpeg2video(enc) mpeg4(enc) msmpeg4v2(enc) msmpeg4(enc) msvideo1(enc) pam(enc) pbm(enc) pcx(enc) pgm(enc) pgmyuv(enc) png(enc) ppm(enc) prores(enc) prores_aw(enc) prores_ks(enc) qtrle(enc) r10k(enc) r210(enc) rawvideo(enc) roqvideo(enc) rv10(enc) rv20(enc) s302m(enc) sgi(enc) snow(enc) sunrast(enc) svq1(enc) targa(enc) tiff(enc) utvideo(enc) v210(enc) v308(enc) v408(enc) v410(enc) vc2(enc) wrapped_avframe(enc) wmv1(enc) wmv2(enc) xbm(enc) xface(enc) xwd(enc) y41p(enc) yuv4(enc) zlib(enc) zmbv(enc) aac(enc) ac3(enc) ac3_fixed(enc) alac(enc) dca(enc) eac3(enc) flac(enc) g723_1(enc) mlp(enc) mp2(enc) mp2fixed(enc) nellymoser(enc) opus(enc) real_144(enc) sonic(enc) sonicls(enc) truehd(enc) tta(enc) vorbis(enc) wavpack(enc) wmav1(enc) wmav2(enc) pcm_alaw(enc) pcm_f32be(enc) pcm_f32le(enc) pcm_f64be(enc) pcm_f64le(enc) pcm_mulaw(enc) pcm_s8(enc) pcm_s8_planar(enc) pcm_s16be(enc) pcm_s16be_planar(enc) pcm_s16le(enc) pcm_s16le_planar(enc) pcm_s24be(enc) pcm_s24daud(enc) pcm_s24le(enc) pcm_s24le_planar(enc) pcm_s32be(enc) pcm_s32le(enc) pcm_s32le_planar(enc) pcm_s64be(enc) pcm_s64le(enc) pcm_u8(enc) pcm_u16be(enc) pcm_u16le(enc) pcm_u24be(enc) pcm_u24le(enc) pcm_u32be(enc) pcm_u32le(enc) roq_dpcm(enc) adpcm_adx(enc) g722(enc) g726(enc) adpcm_ima_qt(enc) adpcm_ima_wav(enc) adpcm_ms(enc) adpcm_swf(enc) adpcm_yamaha(enc) ssa(enc) ass(enc) dvbsub(enc) dvdsub(enc) mov_text(enc) srt(enc) subrip(enc) text(enc) webvtt(enc) xsub(enc) libfdk_aac(enc) libmp3lame(enc) libopus(enc) libspeex(enc) libtheora(enc) libtwolame(enc) libvorbis(enc) libvpx(enc) libvpx-vp9(enc) libwebp_anim(enc) libwebp(enc) libx264(enc) libx264rgb(enc) libx265(enc) libxvid(enc) h264_nvenc(enc) h264_vaapi(enc) nvenc(enc) nvenc_h264(enc) nvenc_hevc(enc) hevc_nvenc(enc) hevc_vaapi(enc) mjpeg_vaapi(enc) mpeg2_vaapi(enc) vp8_vaapi(enc) 
2017-10-10 22:29:21 [ INFO  ] ComponentManager.cpp @ 41 - Component: player inited 
2017-10-10 22:29:21 [ INFO  ] ComponentManager.cpp @ 41 - Component: power inited 
2017-10-10 22:29:21 [ DEBUG ] InputComponent.cpp @ 247 - Adding host command: player mapped to PlayerComponent::userCommand 
2017-10-10 22:29:21 [ DEBUG ] InputComponent.cpp @ 256 - Host command maps to method with an argument. 
2017-10-10 22:29:21 [ DEBUG ] InputComponent.cpp @ 247 - Adding host command: poweroff mapped to PowerComponent::PowerOff 
2017-10-10 22:29:21 [ DEBUG ] InputComponent.cpp @ 261 - Host command maps to method without arguments. 
2017-10-10 22:29:21 [ DEBUG ] InputComponent.cpp @ 247 - Adding host command: reboot mapped to PowerComponent::Reboot 
2017-10-10 22:29:21 [ DEBUG ] InputComponent.cpp @ 261 - Host command maps to method without arguments. 
2017-10-10 22:29:21 [ DEBUG ] InputComponent.cpp @ 247 - Adding host command: suspend mapped to PowerComponent::Suspend 
2017-10-10 22:29:21 [ DEBUG ] InputComponent.cpp @ 261 - Host command maps to method without arguments. 
2017-10-10 22:29:21 [ DEBUG ] InputComponent.cpp @ 247 - Adding host command: cycle_setting mapped to SettingsComponent::cycleSettingCommand 
2017-10-10 22:29:21 [ DEBUG ] InputComponent.cpp @ 256 - Host command maps to method with an argument. 
2017-10-10 22:29:21 [ DEBUG ] InputComponent.cpp @ 247 - Adding host command: set_setting mapped to SettingsComponent::setSettingCommand 
2017-10-10 22:29:21 [ DEBUG ] InputComponent.cpp @ 256 - Host command maps to method with an argument. 
2017-10-10 22:29:21 [ DEBUG ] InputComponent.cpp @ 247 - Adding host command: crash! mapped to SystemComponent::crashApp 
2017-10-10 22:29:21 [ DEBUG ] InputComponent.cpp @ 261 - Host command maps to method without arguments. 
2017-10-10 22:29:21 [ DEBUG ] InputComponent.cpp @ 247 - Adding host command: script mapped to SystemComponent::runUserScript 
2017-10-10 22:29:21 [ DEBUG ] InputComponent.cpp @ 256 - Host command maps to method with an argument. 
2017-10-10 22:29:21 [ DEBUG ] InputComponent.cpp @ 247 - Adding host command: message mapped to SystemComponent::hostMessage 
2017-10-10 22:29:21 [ DEBUG ] InputComponent.cpp @ 256 - Host command maps to method with an argument. 
2017-10-10 22:29:21 [ DEBUG ] SettingsComponent.cpp @ 788 - () 
2017-10-10 22:29:21 [ DEBUG ] HelperLauncher.cpp @ 52 - Connecting to helper 
2017-10-10 22:29:21 [ DEBUG ] HelperLauncher.cpp @ 100 - Failed to connect to helper: "QLocalSocket::connectToServer: Invalid name" 
2017-10-10 22:29:21 [ DEBUG ] HelperLauncher.cpp @ 158 - Launching helper: "/usr/bin/pmphelper" 
2017-10-10 22:29:21 [ WARN  ] Log.cpp @ 35 - "QQmlApplicationEngine failed to load component" 
2017-10-10 22:29:21 [ WARN  ] Log.cpp @ 35 - "qrc:/ui/webview.qml:6 module \"QtQuick.Controls\" is not installed\n" 
2017-10-10 22:29:21 [ FATAL ] main.cpp @ 264 - Unhandled FatalException: Failed to parse application engine script. 
ghost commented 7 years ago

It does tell you what's wrong:

2017-10-10 22:29:21 [ WARN ] Log.cpp @ 35 - "qrc:/ui/webview.qml:6 module \"QtQuick.Controls\" is not installed\n"

It's an optional part of Qt and apparently you didn't install it.

der-eismann commented 7 years ago

You were right, I just had qt5-quickcontrols2 installed. Installing qt5-quickcontrols fixed it.