Shotcut crashes when narrowing time for source

What is your operating system?
Ubuntu 18.04

What is your Shotcut version (see Help > About Shotcut)? Is it 32-bit?
22.01.30

Can you repeat the problem? If so, what are the steps?
(Please be specific and use the names as seen in Shotcut, preferably English. Include a screenshot or screen recording if you can. Also, you can attach logs from either View > Application Log or right-click a job and choose View Log.)

Shotcut regulary crashes when selecting Copy Timeline to the source and next when setting start and end time for source (with mouse and arrows).

Log:

[Info   ] <MLT> [filter fft] Buffer Reset 10959:10958
[Info   ] <MLT> [filter fft] Buffer Reset 10959:10958
[Info   ] <MLT> [filter fft] Buffer Reset 10959:10958
[Info   ] <MLT> [filter fft] Buffer Reset 10959:10958
[Info   ] <MLT> [filter fft] Buffer Reset 10959:10958
[Info   ] <MLT> [filter fft] Buffer Reset 10959:10958
[Info   ] <MLT> [filter fft] Buffer Reset 10959:11221
[Info   ] <MLT> [filter fft] Buffer Reset 11222:11221
[Info   ] <MLT> [filter fft] Buffer Reset 11222:11221
[Info   ] <Util::isMemoryLow> available RAM =  20543624 KB 
[Debug  ] <autosaveTask> Function autosaveTask finished in 71 ms.
[Debug  ] <TimelineDock::setSelection> Changing selection to (QPoint(24,11))  trackIndex -1 isMultitrack false 
[Debug  ] <MLT> [mlt_producer avformat-novalidate] "/media/piotr/DANE/YOUTUBE/source.2020.08.05_atari_emulator/org_video/atari800emulator_internet_sites2.mkv" checking VFR: pkt.duration 33
[Info   ] <MainWindow::showStatusMessage> "Click in rectangle + hold Shift to drag, Wheel to zoom, or Ctrl+Wheel to rotate" 
[Info   ] <MLT> [filter fft] Buffer Reset 11222:11221
[Info   ] <MLT> [filter fft] Buffer Reset 11222:11221
[Info   ] <MainWindow::showStatusMessage> "Click in rectangle + hold Shift to drag, Wheel to zoom, or Ctrl+Wheel to rotate" 
[Info   ] <MLT> [filter fft] Buffer Reset 11222:11221
[Info   ] <MLT> [filter fft] Buffer Reset 11222:11221
[Info   ] <MainWindow::showStatusMessage> "Click in rectangle + hold Shift to drag, Wheel to zoom, or Ctrl+Wheel to rotate" 
[Info   ] <MLT> [filter fft] Buffer Reset 11222:11221
[Info   ] <MLT> [filter fft] Buffer Reset 11222:11221
[Info   ] <MLT> [filter fft] Buffer Reset 11222:11221
[Info   ] <MLT> [filter fft] Buffer Reset 11222:11221
[Info   ] <MLT> [filter fft] Buffer Reset 11222:11221
[Info   ] <MLT> [filter fft] Buffer Reset 11222:11221
[Info   ] <MLT> [filter fft] Buffer Reset 11222:11221
[Debug  ] <TimelineDock::setSelection> Changing selection to (QPoint(25,11))  trackIndex -1 isMultitrack false 
[Debug  ] <MLT> [mlt_producer avformat-novalidate] "/media/piotr/DANE/YOUTUBE/source.2020.08.05_atari_emulator/org_video/atari800emulator_internet_sites2.mkv" checking VFR: pkt.duration 33
[Info   ] <MainWindow::showStatusMessage> "Click in rectangle + hold Shift to drag, Wheel to zoom, or Ctrl+Wheel to rotate" 
[Info   ] <MLT> [filter fft] Buffer Reset 11222:11221
[Info   ] <MLT> [filter fft] Buffer Reset 11222:11221
[Info   ] <MainWindow::showStatusMessage> "Click in rectangle + hold Shift to drag, Wheel to zoom, or Ctrl+Wheel to rotate" 
[Info   ] <MLT> [filter fft] Buffer Reset 11222:11221
[Info   ] <MLT> [filter fft] Buffer Reset 11222:11221
[Info   ] <MainWindow::showStatusMessage> "Click in rectangle + hold Shift to drag, Wheel to zoom, or Ctrl+Wheel to rotate" 
[Info   ] <MLT> [filter fft] Buffer Reset 11222:11221
[Info   ] <MLT> [filter fft] Buffer Reset 11222:11221
[Info   ] <MLT> [filter fft] Buffer Reset 11222:11221
[Info   ] <MLT> [filter fft] Buffer Reset 11222:11221
[Info   ] <MLT> [filter fft] Buffer Reset 11222:11221
[Info   ] <MLT> [filter fft] Buffer Reset 11222:11221
[Debug  ] <TimelineDock::setSelection> Changing selection to (QPoint(24,11))  trackIndex -1 isMultitrack false 
[Info   ] <MainWindow::showStatusMessage> "Click in rectangle + hold Shift to drag, Wheel to zoom, or Ctrl+Wheel to rotate" 
[Info   ] <MLT> [filter fft] Buffer Reset 11222:11221
[Info   ] <MLT> [filter fft] Buffer Reset 11222:11221
[Debug  ] <TimelineDock::setSelection> Changing selection to (QPoint(23,11))  trackIndex -1 isMultitrack false 
[Info   ] <MainWindow::showStatusMessage> "Click in rectangle + hold Shift to drag, Wheel to zoom, or Ctrl+Wheel to rotate" 
[Info   ] <MLT> [filter fft] Buffer Reset 11222:11221
[Info   ] <MLT> [filter fft] Buffer Reset 11222:11221
[Info   ] <Util::isMemoryLow> available RAM =  20733372 KB 
[Debug  ] <autosaveTask> Function autosaveTask finished in 93 ms.
[Debug  ] <TimelineDock::setSelection> Changing selection to (QPoint(22,11))  trackIndex -1 isMultitrack false 
[Info   ] <MainWindow::showStatusMessage> "Click in rectangle + hold Shift to drag, Wheel to zoom, or Ctrl+Wheel to rotate" 
[Info   ] <MLT> [filter fft] Buffer Reset 11222:11221
[Info   ] <MLT> [filter fft] Buffer Reset 11222:11221
[Info   ] <MLT> [filter fft] Buffer Reset 11222:10952
[Info   ] <MLT> [filter fft] Buffer Reset 10953:11164
[Info   ] <MLT> [filter fft] Buffer Reset 11165:11572
[Info   ] <MLT> [filter fft] Buffer Reset 11573:11643
[Info   ] <MainWindow::showStatusMessage> "Saved /media/piotr/DANE/YOUTUBE/source.2020.08.05_atari_emulator/2020.08.05_atari_emulatorT_NCH.mlt" 
[Debug  ] <Timeline::LockTrackCommand::redo> trackIndex 11 lock true 
[Info   ] <Util::isMemoryLow> available RAM =  20451880 KB 
[Debug  ] <autosaveTask> Function autosaveTask finished in 95 ms.
[Debug  ] <Timeline::LockTrackCommand::redo> trackIndex 10 lock false 
[Debug  ] <TimelineDock::setSelection> Changing selection to (QPoint(14,10))  trackIndex -1 isMultitrack false 
[Info   ] <MLT> [filter fft] Buffer Reset 11644:11643
[Debug  ] <TimelineDock::setSelection> Changing selection to (QPoint(15,10))  trackIndex -1 isMultitrack false 
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[Debug  ] <MLT> [mlt_producer avformat-novalidate] "/media/piotr/DANE/YOUTUBE/source.2020.08.05_atari_emulator/org_video/atari800emulator_selftest_best.mkv" checking VFR: pkt.duration 33
[Info   ] <MLT> [filter fft] Buffer Reset 11644:11643
[Info   ] <Util::isMemoryLow> available RAM =  20326568 KB 
[Debug  ] <autosaveTask> Function autosaveTask finished in 81 ms.
[Debug  ] <TimelineDock::setSelection> Changing selection to (QPoint(16,10))  trackIndex -1 isMultitrack false 
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[Debug  ] <MLT> [mlt_producer avformat-novalidate] "/media/piotr/DANE/YOUTUBE/source.2020.08.05_atari_emulator/org_video/atari800emulator_selftest_best.mkv" checking VFR: pkt.duration 33
[Info   ] <MLT> [filter fft] Buffer Reset 11644:11643
[Debug  ] <Timeline::LockTrackCommand::redo> trackIndex 10 lock true 
[Info   ] <MainWindow::showStatusMessage> "Saved /media/piotr/DANE/YOUTUBE/source.2020.08.05_atari_emulator/2020.08.05_atari_emulatorT_NCH.mlt" 
[Debug  ] <Mlt::Controller::setPreviewScale> 1920 x 1080 
[Debug  ] <VideoVectorScopeWidget::profileChanged> 709 
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Info   ] <MLT> [filter swresample] 2(stereo) f32le 44100Hz -> 2(stereo) f32le 48000Hz
[Info   ] <MLT> [filter swresample] 2(stereo) f32le 44100Hz -> 2(stereo) f32le 48000Hz
[Debug  ] <MLT> [chain avformat-novalidate] "/media/piotr/DANE/YOUTUBE/source.2020.08.05_atari_emulator/org_video3/T_DSCF2209.MOV" checking VFR: pkt.duration 1001
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Debug  ] <MLT> [chain avformat-novalidate] "/media/piotr/DANE/YOUTUBE/source.2020.08.05_atari_emulator/org_video3/T_DSCF2209.MOV" checking VFR: pkt.duration 1001
[Debug  ] <AudioLevelsTask::run> generating audio levels for /media/piotr/DANE/YOUTUBE/source.2020.08.05_atari_emulator/2020.08.05_atari_emulatorT_NCH.mlt 
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Info   ] <MLT> [filter swresample] 2(stereo) f32le 44100Hz -> 2(stereo) f32le 48000Hz
[Info   ] <MLT> [filter swresample] 2(stereo) f32le 44100Hz -> 2(stereo) f32le 48000Hz
[Debug  ] <MLT> [chain avformat-novalidate] "/media/piotr/DANE/YOUTUBE/source.2020.08.05_atari_emulator/org_video3/T_DSCF2209.MOV" checking VFR: pkt.duration 1001
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[Debug  ] <MLT> [chain avformat-novalidate] "/media/piotr/DANE/YOUTUBE/source.2020.08.05_atari_emulator/org_video3/T_DSCF2209.MOV" checking VFR: pkt.duration 1001
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Debug  ] <MLT> [chain avformat-novalidate] "/media/piotr/DANE/YOUTUBE/source.2020.08.05_atari_emulator/org_video3/T_DSCF2209.MOV" checking VFR: pkt.duration 1001
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Info   ] <MLT> [filter swresample] 2(stereo) float 44100Hz -> 2(stereo) float 48000Hz
[Debug  ] <MLT> [chain avformat-novalidate] "/media/piotr/DANE/YOUTUBE/source.2020.08.05_atari_emulator/org_video3/top_sectret_mission_on_DSCF2204.MOV" checking VFR: pkt.duration 1001
[Info   ] <MLT> [filter fft] Buffer Reset 11644:1
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[Debug  ] <MLT> [chain avformat-novalidate] "/media/piotr/DANE/YOUTUBE/source.2020.08.05_atari_emulator/org_video3/enter_DSCF2211.MOV" checking VFR: pkt.duration 1001
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat-novalidate] "/media/piotr/DANE/YOUTUBE/source.2020.08.05_atari_emulator/org_video2/river_raid_emulatorE.mkv" checking VFR: pkt.duration 33
[Info   ] <MLT> [filter swresample] 2(stereo) f32le 44100Hz -> 2(stereo) f32le 48000Hz
[Info   ] <MLT> [filter swresample] 2(stereo) f32le 44100Hz -> 2(stereo) f32le 48000Hz
[Info   ] <MLT> [filter swresample] 2(stereo) float 44100Hz -> 2(stereo) float 48000Hz
[Debug  ] <MLT> [producer avformat-novalidate] "/media/piotr/DANE/YOUTUBE/source.2020.08.05_atari_emulator/org_video2/DSCF0076.MOV" checking VFR: pkt.duration 1001
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Info   ] <MLT> [filter swresample] 2(stereo) f32le 44100Hz -> 2(stereo) f32le 48000Hz
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Info   ] <MLT> [filter swresample] 2(stereo) f32le 44100Hz -> 2(stereo) f32le 48000Hz
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat-novalidate] "/media/piotr/DANE/YOUTUBE/source.2020.08.05_atari_emulator/org_video/atari800emulator_internet_sites2.mkv" checking VFR: pkt.duration 33
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat-novalidate] "/media/piotr/DANE/YOUTUBE/source.2020.08.05_atari_emulator/org_video2/river_raid_emulatorE.mkv" checking VFR: pkt.duration 33
[Info   ] <MLT> [filter swresample] 2(stereo) f32le 44100Hz -> 2(stereo) f32le 48000Hz
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Info   ] <MLT> [filter swresample] 2(stereo) float 44100Hz -> 2(stereo) float 48000Hz
[Debug  ] <MLT> [producer avformat-novalidate] "/media/piotr/DANE/YOUTUBE/source.2020.08.05_atari_emulator/org_video2/DSCF0076.MOV" checking VFR: pkt.duration 1001
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Info   ] <MLT> [filter swresample] 2(stereo) f32le 44100Hz -> 2(stereo) f32le 48000Hz
[Info   ] <MLT> [filter swresample] 2(stereo) float 44100Hz -> 2(stereo) float 48000Hz
[Debug  ] <MLT> [producer avformat-novalidate] "/media/piotr/DANE/YOUTUBE/source.2020.08.05_atari_emulator/org_video/atari800emulator_internet_sites2.mkv" checking VFR: pkt.duration 33
[Info   ] <MLT> [filter fft] Buffer Reset 2:10974
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat-novalidate] "/media/piotr/DANE/YOUTUBE/source.2020.08.05_atari_emulator/org_video/atari800emulator_internet_sites2.mkv" checking VFR: pkt.duration 33
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat] audio: total_streams 1 max_stream 0 total_channels 2 max_channels 2
[Debug  ] <MLT> [producer avformat-novalidate] "/media/piotr/DANE/YOUTUBE/source.2020.08.05_atari_emulator/org_video/atari800emulator_internet_sites2.mkv" checking VFR: pkt.duration 33
[Info   ] <MLT> [filter fft] Buffer Reset 10975:10974

Is it a problem specific to this project, some, or all?

I have tried to make shotcut crash on both flatpak and AppImage version on Fedora Linux, I have tried 4 diffent project in both packages and I cant make it crash using Copy to Source and setting In and Out point. So I don’t look to be a generic problem on Linux.

1 Like

I checked this with two projects and it crashes…

I’m wondering about one thing more. In all cases I wanted to narrow to very short time, ex. 10 sec only. Might it be somehow related? Or perhaps temporarily one arrow goes beyond the second one in the way which is not expected?

I did not reproduce it that way…

Or perhaps temporarily one arrow goes beyond the second one

…or that way.

I am going to remove Copy Timeline to Source for the next version because it was really only a workaround until export from a region marker became available.

Makers is a much better ways to export timeline ranges, than used Copy Timeline to source and setting In/Out points and export from source, so I see no need for it anymore

Ok, so if it’s going to be modified next version, let me return to that when next version is released. I will do then more testing and we will see… Otherwise spending time on testing of sth which is going to be modified is so so…