mltframework / shotcut

cross-platform (Qt), open-source (GPLv3) video editor
https://www.shotcut.org
GNU General Public License v3.0
10.95k stars 1.13k forks source link

Segmentation fault when launch Shotcut #956

Closed cheungxi closed 3 years ago

cheungxi commented 3 years ago
[Info   ] <Application::Application> Starting Shotcut version 20.11.14 
[Info   ] <Application::Application> Linux version 
[Info   ] <Application::Application> number of logical cores = 4 
[Info   ] <Application::Application> locale = QLocale(Chinese, Simplified Han, China) 
[Info   ] <Application::Application> install dir = "/home/zhangxi/shotcut/src" 
[Debug  ] <ShotcutSettings::log> language "zh_CN" 
[Debug  ] <ShotcutSettings::log> deinterlacer "onefield" 
[Debug  ] <ShotcutSettings::log> external monitor "" 
[Debug  ] <ShotcutSettings::log> GPU processing false 
[Debug  ] <ShotcutSettings::log> interpolation "bilinear" 
[Debug  ] <ShotcutSettings::log> video mode "" 
[Debug  ] <ShotcutSettings::log> realtime true 
[Debug  ] <ShotcutSettings::log> audio channels 2 
[Debug  ] <MainWindow::changeTheme> begin 
[Debug  ] <MainWindow::MainWindow> begin 
[Info   ] <MainWindow::MainWindow> device pixel ratio = 1 
[Info   ] <GLTestWidget::GLTestWidget> OpenGL context version 4 5 
[Debug  ] <Mlt::Controller::Controller> begin 
[Info   ] <Mlt::Controller::resetLocale> decimal point . 
[Debug  ] <Mlt::Controller::Controller> end 
[Debug  ] <Mlt::GLWidget::GLWidget> begin 
[Debug  ] <Mlt::GLWidget::GLWidget> end 
[Debug  ] <MainWindow::setupSettingsMenu> begin 
libDeckLinkAPI.so: 无法打开共享对象文件: 没有那个文件或目录
[Warning] <MLT> [consumer 0x12f733c30] The DeckLink drivers not installed.
[Debug  ] <MainWindow::setupSettingsMenu> end 
[Debug  ] <MainWindow::readPlayerSettings> begin 
[Debug  ] <MainWindow::setAudioChannels> 2 
[Debug  ] <Mlt::Controller::setAudioChannels> 2 
[Debug  ] <MainWindow::setPreviewScale> 0 
[Debug  ] <Mlt::Controller::setPreviewScale> 1920 x 1080 
[Debug  ] <MainWindow::readPlayerSettings> end 
[Debug  ] <MainWindow::configureVideoWidget> begin 
[Debug  ] <MainWindow::setProfile> "" 
[Debug  ] <Mlt::Controller::setProfile> setting to profile "Automatic" 
[Debug  ] <MainWindow::setAudioChannels> 2 
[Debug  ] <Mlt::Controller::setAudioChannels> 2 
[Debug  ] <MainWindow::configureVideoWidget> end 
[Debug  ] <ScopeController::ScopeController> begin 
[Debug  ] <ScopeWidget::ScopeWidget> begin true 
[Debug  ] <ScopeWidget::ScopeWidget> end 
[Debug  ] <AudioLoudnessScopeWidget::AudioLoudnessScopeWidget> begin 
[Debug  ] <AudioLoudnessScopeWidget::AudioLoudnessScopeWidget> end 
[Debug  ] <ScopeDock::ScopeDock> begin 
[Debug  ] <ScopeDock::ScopeDock> end 
[Debug  ] <ScopeWidget::ScopeWidget> begin true 
[Debug  ] <ScopeWidget::ScopeWidget> end 
[Debug  ] <AudioPeakMeterScopeWidget::AudioPeakMeterScopeWidget> begin 
[Debug  ] <AudioPeakMeterScopeWidget::AudioPeakMeterScopeWidget> end 
[Debug  ] <ScopeDock::ScopeDock> begin 
[Debug  ] <ScopeDock::ScopeDock> end 
[Debug  ] <ScopeWidget::ScopeWidget> begin true 
[Debug  ] <ScopeWidget::ScopeWidget> end 
[Debug  ] <AudioSpectrumScopeWidget::AudioSpectrumScopeWidget> begin 
[Debug  ] <AudioSpectrumScopeWidget::AudioSpectrumScopeWidget> end 
[Debug  ] <ScopeDock::ScopeDock> begin 
[Debug  ] <ScopeDock::ScopeDock> end 
[Debug  ] <ScopeWidget::ScopeWidget> begin true 
[Debug  ] <ScopeWidget::ScopeWidget> end 
[Debug  ] <AudioWaveformScopeWidget::AudioWaveformScopeWidget> begin 
[Debug  ] <AudioWaveformScopeWidget::AudioWaveformScopeWidget> end 
[Debug  ] <ScopeDock::ScopeDock> begin 
[Debug  ] <ScopeDock::ScopeDock> end 
[Debug  ] <ScopeWidget::ScopeWidget> begin true 
[Debug  ] <ScopeWidget::ScopeWidget> end 
[Debug  ] <VideoHistogramScopeWidget::VideoHistogramScopeWidget> begin 
[Debug  ] <VideoHistogramScopeWidget::VideoHistogramScopeWidget> end 
[Debug  ] <ScopeDock::ScopeDock> begin 
[Debug  ] <ScopeDock::ScopeDock> end 
[Debug  ] <ScopeWidget::ScopeWidget> begin true 
[Debug  ] <ScopeWidget::ScopeWidget> end 
[Debug  ] <VideoRgbParadeScopeWidget::VideoRgbParadeScopeWidget> begin 
[Debug  ] <VideoRgbParadeScopeWidget::VideoRgbParadeScopeWidget> end 
[Debug  ] <ScopeDock::ScopeDock> begin 
[Debug  ] <ScopeDock::ScopeDock> end 
[Debug  ] <ScopeWidget::ScopeWidget> begin true 
[Debug  ] <ScopeWidget::ScopeWidget> end 
[Debug  ] <VideoRgbWaveformScopeWidget::VideoRgbWaveformScopeWidget> begin 
[Debug  ] <VideoRgbWaveformScopeWidget::VideoRgbWaveformScopeWidget> end 
[Debug  ] <ScopeDock::ScopeDock> begin 
[Debug  ] <ScopeDock::ScopeDock> end 
[Debug  ] <ScopeWidget::ScopeWidget> begin true 
[Debug  ] <ScopeWidget::ScopeWidget> end 
[Debug  ] <VideoVectorScopeWidget::VideoVectorScopeWidget> begin 
[Debug  ] <VideoVectorScopeWidget::profileChanged> 709 
[Debug  ] <VideoVectorScopeWidget::VideoVectorScopeWidget> end 
[Debug  ] <ScopeDock::ScopeDock> begin 
[Debug  ] <ScopeDock::ScopeDock> end 
[Debug  ] <ScopeWidget::ScopeWidget> begin true 
[Debug  ] <ScopeWidget::ScopeWidget> end 
[Debug  ] <VideoWaveformScopeWidget::VideoWaveformScopeWidget> begin 
[Debug  ] <VideoWaveformScopeWidget::VideoWaveformScopeWidget> end 
[Debug  ] <ScopeDock::ScopeDock> begin 
[Debug  ] <ScopeDock::ScopeDock> end 
[Debug  ] <ScopeWidget::ScopeWidget> begin true 
[Debug  ] <ScopeWidget::ScopeWidget> end 
[Debug  ] <VideoZoomWidget::VideoZoomWidget> begin 
[Debug  ] <VideoZoomWidget::VideoZoomWidget> end 
[Debug  ] <VideoZoomScopeWidget::VideoZoomScopeWidget> begin 
[Debug  ] <VideoZoomScopeWidget::VideoZoomScopeWidget> end 
[Debug  ] <ScopeDock::ScopeDock> begin 
[Debug  ] <ScopeDock::ScopeDock> end 
[Debug  ] <ScopeController::ScopeController> end 
[Debug  ] <RecentDock::RecentDock> begin 
[Debug  ] <RecentDock::RecentDock> end 
[Debug  ] <PlaylistDock::PlaylistDock> begin 
[Debug  ] <PlaylistDock::PlaylistDock> end 
[Debug  ] <TimelineDock::TimelineDock> begin 
[Debug  ] <TimelineDock::TimelineDock> end 
[Debug  ] <FiltersDock::FiltersDock> begin 
[Debug  ] <FiltersDock::FiltersDock> end 
[Debug  ] <KeyframesDock::KeyframesDock> begin 
[Debug  ] <KeyframesDock::KeyframesDock> end 
[Debug  ] <EncodeDock::EncodeDock> begin 
---
formats:
  - a64
  - ac3
  - adts
  - adx
  - aiff
  - amr
  - apng
  - aptx
  - aptx_hd
  - asf
  - ass
  - ast
  - asf_stream
  - au
  - avi
  - avm2
  - avs2
  - bit
  - caf
  - cavsvideo
  - codec2
  - codec2raw
  - crc
  - dash
  - data
  - daud
  - dirac
  - dnxhd
  - dts
  - dv
  - eac3
  - f4v
  - ffmetadata
  - fifo
  - fifo_test
  - filmstrip
  - fits
  - flac
  - flv
  - framecrc
  - framehash
  - framemd5
  - g722
  - g723_1
  - g726
  - g726le
  - gif
  - gsm
  - gxf
  - h261
  - h263
  - h264
  - hash
  - hds
  - hevc
  - hls
  - ico
  - ilbc
  - image2
  - image2pipe
  - ipod
  - ircam
  - ismv
  - ivf
  - jacosub
  - latm
  - lrc
  - m4v
  - md5
  - matroska
  - matroska
  - microdvd
  - mjpeg
  - mlp
  - mmf
  - mov
  - mp2
  - mp3
  - mp4
  - mpeg
  - vcd
  - mpeg1video
  - dvd
  - svcd
  - mpeg2video
  - vob
  - mpegts
  - mpjpeg
  - mxf
  - mxf_d10
  - mxf_opatom
  - null
  - nut
  - oga
  - ogg
  - ogv
  - oma
  - opus
  - alaw
  - mulaw
  - vidc
  - f64be
  - f64le
  - f32be
  - f32le
  - s32be
  - s32le
  - s24be
  - s24le
  - s16be
  - s16le
  - s8
  - u32be
  - u32le
  - u24be
  - u24le
  - u16be
  - u16le
  - u8
  - psp
  - rawvideo
  - rm
  - roq
  - rso
  - rtp
  - rtp_mpegts
  - rtsp
  - sap
  - sbc
  - scc
  - film_cpk
  - segment
  - stream_segment,ssegment
  - singlejpeg
  - smjpeg
  - smoothstreaming
  - sox
  - spx
  - spdif
  - srt
  - sup
  - swf
  - tee
  - 3g2
  - 3gp
  - mkvtimestamp_v2
  - truehd
  - tta
  - uncodedframecrc
  - vc1
  - vc1test
  - voc
  - w64
  - wav
  - webm
  - webm_dash_manifest
  - webm_chunk
  - webp
  - webvtt
  - wtv
  - wv
  - yuv4mpegpipe
  - chromaprint
  - alsa
  - caca
  - fbdev
  - opengl
  - oss
  - pulse
  - sdl,sdl2
  - sndio
  - video4linux2,v4l2
  - xv
...
---
audio_codecs:
  - comfortnoise
  - s302m
  - aac
  - ac3
  - ac3_fixed
  - alac
  - aptx
  - aptx_hd
  - dca
  - eac3
  - flac
  - g723_1
  - mlp
  - mp2
  - mp2fixed
  - nellymoser
  - opus
  - real_144
  - sbc
  - sonic
  - sonicls
  - truehd
  - tta
  - vorbis
  - wavpack
  - wmav1
  - wmav2
  - pcm_alaw
  - pcm_f32be
  - pcm_f32le
  - pcm_f64be
  - pcm_f64le
  - 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_vidc
  - roq_dpcm
  - adpcm_adx
  - g722
  - g726
  - g726le
  - adpcm_ima_qt
  - adpcm_ima_wav
  - adpcm_ms
  - adpcm_swf
  - adpcm_yamaha
  - libcodec2
  - libgsm
  - libgsm_ms
  - libmp3lame
  - libopus
  - libshine
  - libspeex
  - libtwolame
  - libvorbis
  - libwavpack
...
---
video_codecs:
  - a64multi
  - a64multi5
  - alias_pix
  - amv
  - apng
  - asv1
  - asv2
  - avrp
  - avui
  - ayuv
  - bmp
  - cinepak
  - cljr
  - dnxhd
  - dpx
  - dvvideo
  - ffv1
  - ffvhuff
  - fits
  - flashsv
  - flashsv2
  - flv
  - gif
  - h261
  - h263
  - h263p
  - hap
  - huffyuv
  - jpeg2000
  - jpegls
  - ljpeg
  - magicyuv
  - mjpeg
  - mpeg1video
  - mpeg2video
  - mpeg4
  - msmpeg4v2
  - msmpeg4
  - msvideo1
  - pam
  - pbm
  - pcx
  - pgm
  - pgmyuv
  - png
  - ppm
  - prores
  - prores_aw
  - prores_ks
  - qtrle
  - r10k
  - r210
  - rawvideo
  - roqvideo
  - rv10
  - rv20
  - sgi
  - snow
  - sunrast
  - svq1
  - targa
  - tiff
  - utvideo
  - v210
  - v308
  - v408
  - v410
  - vc2
  - wrapped_avframe
  - wmv1
  - wmv2
  - xbm
  - xface
  - xwd
  - y41p
  - yuv4
  - zlib
  - zmbv
  - libaom-av1
  - libopenjpeg
  - libtheora
  - libvpx
  - libvpx-vp9
  - libwebp_anim
  - libwebp
  - libx264
  - libx264rgb
  - libx265
  - libxvid
  - h263_v4l2m2m
  - h264_omx
  - h264_v4l2m2m
  - h264_vaapi
  - hevc_v4l2m2m
  - hevc_vaapi
  - mjpeg_vaapi
  - mpeg2_vaapi
  - mpeg4_v4l2m2m
  - vp8_v4l2m2m
  - vp8_vaapi
  - vp9_vaapi
...
[Debug  ] <EncodeDock::EncodeDock> end 
[Debug  ] <JobsDock::JobsDock> begin 
[Debug  ] <JobsDock::JobsDock> end 
[Debug  ] <MainWindow::readWindowSettings> begin 
[Debug  ] <MainWindow::readWindowSettings> end 
[Debug  ] <LeapNetworkListener::start> begin 
[Debug  ] <MainWindow::MainWindow> end 
[Debug  ] <MainWindow::changeTheme> end 
[Debug  ] <FiltersDock::resetQview> begin 
[Debug  ] <KeyframesDock::load> begin 
[Debug  ] <Mlt::GLWidget::initializeGL> begin 
[Info   ] <Mlt::GLWidget::initializeGL> OpenGL vendor "X.Org" 
[Info   ] <Mlt::GLWidget::initializeGL> OpenGL renderer "AMD OLAND (DRM 2.50.0, 4.19.0-loongson-3-desktop, LLVM 7.0.1)" 
[Info   ] <Mlt::GLWidget::initializeGL> OpenGL threaded? false 
[Info   ] <Mlt::GLWidget::initializeGL> OpenGL ES? false 
[Info   ] <Mlt::GLWidget::initializeGL> OpenGL maximum texture size = 16384 
[Info   ] <Mlt::GLWidget::initializeGL> OpenGL maximum viewport size = 16384 x 16384 
[Debug  ] <Mlt::GLWidget::initializeGL> end 
[Debug  ] <NewProjectFolder::showEvent> m_profile "" action.data "" 
[Info   ] <Util::isMemoryLow> available RAM =  1223184 KB 
[Debug  ] <Worker::run> Database version is 1 
[Debug  ] <LeapNetworkListener::onDisconnected> Disconnected from Leap Motion 
[Debug  ] <LeapNetworkListener::onError> Leap Motion WebSocket error: "连接被拒绝" 
[Debug  ] <MainWindow::open> "/home/zhangxi/.local/share/Meltytech/Shotcut/__untitled__.mlt" 
[Debug  ] <MltXmlChecker::check> begin 
[Debug  ] <MltXmlChecker::check> end 
[Info   ] <MainWindow::open> decimal point '.' 
[Debug  ] <AudioLoudnessScopeWidget::resetQview> begin 
Segmentation fault 

UnionTech OS GNU/Linux 20, Linux Kernel 4.19.0, mips64le; Shotcut 20.11.14

ddennedy commented 3 years ago

I see you are building Shotcut yourself: install dir = "/home/zhangxi/shotcut/src" We do not debug or provide support for anything but our own builds provided through our download page or GitHub Releases. If you build it; you debug it. I will give you this hint: Shotcut must be installed. It must find its QML UI files at run time. It requires they are in the file system at a path relative to the install prefix.