21.12.21 crashes when changing the lenght of png image

What is your operating system?
Ubuntu 18.04

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

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.)
It does not happen always but very seldom. I have ex. png image having 10 seconds lenght. I’m trying to adjust the lenght by adding or substracting few frames (moving end left/right/left/right etc.). Suddenly shotcut crashes and log file shows the following data:

[Debug ] TimelineDock::setSelection Changing selection to (QPoint(4,21)) trackIndex -1 isMultitrack false
[Info ] MainWindow::showStatusMessage “Click in rectangle + hold Shift to drag, Wheel to zoom, or Ctrl+Wheel to rotate”
[Debug ] TimelineDock::setSelection Changing selection to (QPoint(20,21)) trackIndex -1 isMultitrack false
[Info ] MainWindow::showStatusMessage “Click in rectangle + hold Shift to drag, Wheel to zoom, or Ctrl+Wheel to rotate”
[Debug ] TimelineDock::setSelection Changing selection to (QPoint(18,21)) trackIndex -1 isMultitrack false
[Info ] MainWindow::showStatusMessage “Click in rectangle + hold Shift to drag, Wheel to zoom, or Ctrl+Wheel to rotate”
[Debug ] TimelineDock::setSelection Changing selection to (QPoint(20,21)) trackIndex -1 isMultitrack false
[Info ] Util::isMemoryLow available RAM = 19998380 KB
[Debug ] Function autosaveTask finished in 82 ms.
[Info ] MainWindow::showStatusMessage “Click in rectangle + hold Shift to drag, Wheel to zoom, or Ctrl+Wheel to rotate”
[Info ] MainWindow::showStatusMessage “Click in rectangle + hold Shift to drag, Wheel to zoom, or Ctrl+Wheel to rotate”
[Info ] Util::isMemoryLow available RAM = 19998864 KB
[Debug ] Function autosaveTask finished in 55 ms.
[Debug ] [consumer sdl2_audio] dropped video frame 9619
[Debug ] [consumer sdl2_audio] dropped video frame 9620
[Debug ] [consumer sdl2_audio] dropped video frame 9621
[Debug ] [consumer sdl2_audio] dropped video frame 9622
[Debug ] [consumer sdl2_audio] dropped video frame 9623
[Debug ] [consumer sdl2_audio] dropped video frame 9624
[Debug ] [consumer sdl2_audio] dropped video frame 9625
[Debug ] [consumer sdl2_audio] dropped video frame 9626
[Debug ] [consumer sdl2_audio] dropped video frame 9627
[Debug ] [consumer sdl2_audio] dropped video frame 9628
[Debug ] [consumer sdl2_audio] dropped video frame 9629
[Debug ] [consumer sdl2_audio] dropped video frame 9630
[Debug ] [consumer sdl2_audio] dropped video frame 9631
[Debug ] [consumer sdl2_audio] dropped video frame 9632
[Debug ] [consumer sdl2_audio] dropped video frame 9633
[Debug ] [consumer sdl2_audio] dropped video frame 9634
[Debug ] [consumer sdl2_audio] dropped video frame 9635
[Debug ] [consumer sdl2_audio] dropped video frame 9636
[Debug ] [consumer sdl2_audio] dropped video frame 9637
[Debug ] [consumer sdl2_audio] dropped video frame 9638
[Debug ] [consumer sdl2_audio] dropped video frame 9639
[Debug ] [consumer sdl2_audio] dropped video frame 9640
[Debug ] [consumer sdl2_audio] dropped video frame 9641
[Debug ] [consumer sdl2_audio] dropped video frame 9642
[Debug ] [consumer sdl2_audio] dropped video frame 9643
[Debug ] [consumer sdl2_audio] dropped video frame 9644
[Debug ] [consumer sdl2_audio] dropped video frame 9645
[Debug ] [consumer sdl2_audio] dropped video frame 9646
[Debug ] [consumer sdl2_audio] dropped video frame 9647
[Debug ] [consumer sdl2_audio] dropped video frame 9648
[Debug ] [consumer sdl2_audio] dropped video frame 9649
[Debug ] [consumer sdl2_audio] dropped video frame 9650
[Debug ] [consumer sdl2_audio] dropped video frame 9651
[Debug ] [consumer sdl2_audio] dropped video frame 9652
[Debug ] [consumer sdl2_audio] dropped video frame 9653
[Debug ] [consumer sdl2_audio] dropped video frame 9654
[Debug ] [consumer sdl2_audio] dropped video frame 9655
[Debug ] [consumer sdl2_audio] dropped video frame 9656
[Debug ] [consumer sdl2_audio] dropped video frame 9657
[Debug ] [consumer sdl2_audio] dropped video frame 9658
[Debug ] [consumer sdl2_audio] dropped video frame 9659
[Debug ] [consumer sdl2_audio] dropped video frame 9660
[Debug ] [consumer sdl2_audio] dropped video frame 9661
[Debug ] [consumer sdl2_audio] dropped video frame 9662
[Debug ] [consumer sdl2_audio] dropped video frame 9663
[Debug ] [consumer sdl2_audio] dropped video frame 9664
[Debug ] [consumer sdl2_audio] dropped video frame 9665
[Debug ] [consumer sdl2_audio] dropped video frame 9666
[Debug ] [consumer sdl2_audio] dropped video frame 9667
[Debug ] [consumer sdl2_audio] dropped video frame 9668
[Debug ] [consumer sdl2_audio] dropped video frame 9669
[Debug ] [consumer sdl2_audio] dropped video frame 9670
[Debug ] [consumer sdl2_audio] dropped video frame 9671
[Debug ] [consumer sdl2_audio] dropped video frame 9672
[Debug ] [consumer sdl2_audio] dropped video frame 9673
[Debug ] [consumer sdl2_audio] dropped video frame 9674
[Debug ] [consumer sdl2_audio] dropped video frame 9675
[Debug ] [consumer sdl2_audio] dropped video frame 9676
[Debug ] [consumer sdl2_audio] dropped video frame 9677
[Debug ] [consumer sdl2_audio] dropped video frame 9678
[Debug ] [consumer sdl2_audio] dropped video frame 9679
[Debug ] [consumer sdl2_audio] dropped video frame 9680
[Debug ] [consumer sdl2_audio] dropped video frame 9681
[Debug ] [consumer sdl2_audio] dropped video frame 9682
[Debug ] [consumer sdl2_audio] dropped video frame 9683
[Debug ] [consumer sdl2_audio] dropped video frame 9684
[Debug ] [consumer sdl2_audio] dropped video frame 9685
[Debug ] [consumer sdl2_audio] dropped video frame 9686
[Debug ] [consumer sdl2_audio] dropped video frame 9687
[Debug ] [consumer sdl2_audio] dropped video frame 9688
[Debug ] [consumer sdl2_audio] dropped video frame 9689
[Debug ] [consumer sdl2_audio] dropped video frame 9690
[Debug ] [consumer sdl2_audio] dropped video frame 9691
[Debug ] [consumer sdl2_audio] dropped video frame 9692
[Debug ] [consumer sdl2_audio] dropped video frame 9693
[Debug ] [consumer sdl2_audio] dropped video frame 9694
[Debug ] [consumer sdl2_audio] dropped video frame 9695
[Debug ] [consumer sdl2_audio] dropped video frame 9696
[Debug ] [consumer sdl2_audio] dropped video frame 9697
[Debug ] [consumer sdl2_audio] dropped video frame 9698
[Debug ] [consumer sdl2_audio] dropped video frame 9699
[Debug ] [consumer sdl2_audio] dropped video frame 9700
[Debug ] [consumer sdl2_audio] dropped video frame 9701
[Debug ] [consumer sdl2_audio] dropped video frame 9702
[Debug ] [consumer sdl2_audio] dropped video frame 9703
[Debug ] [consumer sdl2_audio] dropped video frame 9704
[Debug ] [consumer sdl2_audio] dropped video frame 9705
[Debug ] [consumer sdl2_audio] dropped video frame 9706
[Debug ] [consumer sdl2_audio] dropped video frame 9707
[Debug ] [consumer sdl2_audio] dropped video frame 9708
[Debug ] [consumer sdl2_audio] dropped video frame 9709
[Debug ] [consumer sdl2_audio] dropped video frame 9710
[Debug ] [consumer sdl2_audio] dropped video frame 9711
[Debug ] [consumer sdl2_audio] dropped video frame 9712
[Debug ] [consumer sdl2_audio] dropped video frame 9713
[Debug ] [consumer sdl2_audio] dropped video frame 9714
[Debug ] [consumer sdl2_audio] dropped video frame 9715
[Debug ] [consumer sdl2_audio] dropped video frame 9716
[Debug ] [consumer sdl2_audio] dropped video frame 9717
[Debug ] [consumer sdl2_audio] dropped video frame 9718
[Debug ] [consumer sdl2_audio] dropped video frame 9719
[Debug ] [consumer sdl2_audio] dropped video frame 9720
[Debug ] [consumer sdl2_audio] dropped video frame 9721
[Debug ] [consumer sdl2_audio] dropped video frame 9722
[Debug ] [consumer sdl2_audio] dropped video frame 9723
[Debug ] [consumer sdl2_audio] dropped video frame 9724
[Debug ] [consumer sdl2_audio] dropped video frame 9725
[Debug ] [consumer sdl2_audio] dropped video frame 9726
[Debug ] [consumer sdl2_audio] dropped video frame 9727
[Debug ] [consumer sdl2_audio] dropped video frame 9728
[Debug ] [consumer sdl2_audio] dropped video frame 9729
[Debug ] [consumer sdl2_audio] dropped video frame 9730
[Debug ] [consumer sdl2_audio] dropped video frame 9731
[Debug ] [consumer sdl2_audio] dropped video frame 9732
[Debug ] [consumer sdl2_audio] dropped video frame 9733
[Debug ] [consumer sdl2_audio] dropped video frame 9734
[Debug ] [consumer sdl2_audio] dropped video frame 9735
[Debug ] [consumer sdl2_audio] dropped video frame 9736
[Debug ] [consumer sdl2_audio] dropped video frame 9737
[Debug ] [consumer sdl2_audio] dropped video frame 9738
[Debug ] [consumer sdl2_audio] dropped video frame 9739
[Debug ] [consumer sdl2_audio] dropped video frame 9740
[Debug ] [consumer sdl2_audio] dropped video frame 9741
[Debug ] [consumer sdl2_audio] dropped video frame 9742
[Debug ] [consumer sdl2_audio] dropped video frame 9743
[Debug ] [consumer sdl2_audio] dropped video frame 9744
[Debug ] [consumer sdl2_audio] dropped video frame 9745
[Debug ] [consumer sdl2_audio] dropped video frame 9746
[Debug ] [consumer sdl2_audio] dropped video frame 9747
[Debug ] [consumer sdl2_audio] dropped video frame 9748
[Debug ] [consumer sdl2_audio] dropped video frame 9749
[Debug ] [consumer sdl2_audio] dropped video frame 9750
[Debug ] [consumer sdl2_audio] dropped video frame 9751
[Debug ] [consumer sdl2_audio] dropped video frame 9752
[Debug ] [consumer sdl2_audio] dropped video frame 9753
[Debug ] [consumer sdl2_audio] dropped video frame 9754
[Debug ] [consumer sdl2_audio] dropped video frame 9755
[Debug ] [consumer sdl2_audio] dropped video frame 9756
[Debug ] [consumer sdl2_audio] dropped video frame 9757
[Debug ] [consumer sdl2_audio] dropped video frame 9758
[Debug ] [consumer sdl2_audio] dropped video frame 9759
[Debug ] [consumer sdl2_audio] dropped video frame 9760
[Debug ] [consumer sdl2_audio] dropped video frame 9761
[Debug ] [consumer sdl2_audio] dropped video frame 9762
[Debug ] [consumer sdl2_audio] dropped video frame 9763
[Debug ] [consumer sdl2_audio] dropped video frame 9764
[Debug ] [consumer sdl2_audio] dropped video frame 9765
[Debug ] [consumer sdl2_audio] dropped video frame 9766
[Debug ] [consumer sdl2_audio] dropped video frame 9767
[Debug ] [consumer sdl2_audio] dropped video frame 9768
[Debug ] [consumer sdl2_audio] dropped video frame 9769
[Debug ] [consumer sdl2_audio] dropped video frame 9770
[Debug ] [consumer sdl2_audio] dropped video frame 9771
[Debug ] [consumer sdl2_audio] dropped video frame 9772
[Debug ] [consumer sdl2_audio] dropped video frame 9773
[Debug ] [consumer sdl2_audio] dropped video frame 9774
[Debug ] [consumer sdl2_audio] dropped video frame 9775
[Debug ] [consumer sdl2_audio] dropped video frame 9776
[Debug ] [consumer sdl2_audio] dropped video frame 9777
[Debug ] [consumer sdl2_audio] dropped video frame 9778
[Debug ] [consumer sdl2_audio] dropped video frame 9779
[Debug ] [consumer sdl2_audio] dropped video frame 9780
[Debug ] [consumer sdl2_audio] dropped video frame 9781
[Debug ] [consumer sdl2_audio] dropped video frame 9782
[Debug ] [consumer sdl2_audio] dropped video frame 9783
[Debug ] [consumer sdl2_audio] dropped video frame 9784
[Debug ] [consumer sdl2_audio] dropped video frame 9785
[Debug ] [consumer sdl2_audio] dropped video frame 9786
[Debug ] [consumer sdl2_audio] dropped video frame 9787
[Debug ] [consumer sdl2_audio] dropped video frame 9788
[Debug ] [consumer sdl2_audio] dropped video frame 9789
[Debug ] [consumer sdl2_audio] dropped video frame 9790
[Debug ] [consumer sdl2_audio] dropped video frame 9791
[Debug ] [consumer sdl2_audio] dropped video frame 9792
[Debug ] [consumer sdl2_audio] dropped video frame 9793
[Debug ] [consumer sdl2_audio] dropped video frame 9794
[Debug ] [consumer sdl2_audio] dropped video frame 9795
[Debug ] [consumer sdl2_audio] dropped video frame 9796
[Debug ] [consumer sdl2_audio] dropped video frame 9797
[Debug ] [consumer sdl2_audio] dropped video frame 9798
[Debug ] [consumer sdl2_audio] dropped video frame 9799
[Debug ] [consumer sdl2_audio] dropped video frame 9800
[Debug ] [consumer sdl2_audio] dropped video frame 9801
[Debug ] [consumer sdl2_audio] dropped video frame 9802
[Debug ] [consumer sdl2_audio] dropped video frame 9803
[Debug ] [consumer sdl2_audio] dropped video frame 9804
[Debug ] [consumer sdl2_audio] dropped video frame 9805
[Debug ] [consumer sdl2_audio] dropped video frame 9806
[Debug ] [consumer sdl2_audio] dropped video frame 9807
[Debug ] [consumer sdl2_audio] dropped video frame 9808
[Debug ] [consumer sdl2_audio] dropped video frame 9809
[Debug ] [consumer sdl2_audio] dropped video frame 9810
[Debug ] [consumer sdl2_audio] dropped video frame 9811
[Debug ] [consumer sdl2_audio] dropped video frame 9812
[Debug ] [consumer sdl2_audio] dropped video frame 9813
[Debug ] [consumer sdl2_audio] dropped video frame 9814
[Debug ] [consumer sdl2_audio] dropped video frame 9815
[Debug ] [consumer sdl2_audio] dropped video frame 9816
[Debug ] [consumer sdl2_audio] dropped video frame 9817
[Debug ] [consumer sdl2_audio] dropped video frame 9818
[Debug ] [consumer sdl2_audio] dropped video frame 9819
[Debug ] [consumer sdl2_audio] dropped video frame 9820
[Debug ] [consumer sdl2_audio] dropped video frame 9821
[Debug ] [consumer sdl2_audio] dropped video frame 9822
[Debug ] [consumer sdl2_audio] dropped video frame 9823
[Debug ] [consumer sdl2_audio] dropped video frame 9824
[Debug ] [consumer sdl2_audio] dropped video frame 9825
[Debug ] [consumer sdl2_audio] dropped video frame 9826
[Debug ] [consumer sdl2_audio] dropped video frame 9827
[Debug ] [consumer sdl2_audio] dropped video frame 9828
[Info ] MainWindow::showStatusMessage “Saved /media/tmp.mlt”
[Info ] Util::isMemoryLow available RAM = 19997516 KB
[Debug ] Timeline::InsertCommand::redo trackIndex 21 position 6291
[Error ] [producer_xml] failed to load producer “blank”
[Debug ] TimelineDock::setSelection Changing selection to (QPoint(22,21)) trackIndex -1 isMultitrack false
[Debug ] TimelineDock::onClipMoved moving clip at QPoint(22,21) start 6291 + -112 = 6179
[Debug ] TimelineDock::setSelection Changing selection to () trackIndex -1 isMultitrack false
[Debug ] Timeline::MoveClipCommand::redo track delta 0
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”

This is a problem and indicates a problem in the project. I remember mentioning this a few weeks ago in another bug report but you. Is this the same project? You should look for something bogus in the playlist or timeline. It might be very short and hard to see in the timeline.

Also this is the last action reported in the log suggesting it is a duplicate of what you previously reported.

Well, I’m not a shortcut expert. However please note that this bug concerns a newer version that the one previously reported and a fully new project.

What do you mean by “something bogus”?

Moreover please note that when I restart shotcut and when I do the same thing the bug is not repeated. I have impression that it might be related with one thing. I have ex. 9 seconds lenght png image. Next I want to change the lenght to 10 seconds. I press left mouse key and start changing lenght. As sometimes mouse is not “obeying” so I’m getting ex. 10 sec and 2 frames. I still keep the mouse key pressed and change the lenght to ex. 9 sec 28 frames. So I’m playing again to ex. 10 sec and 1 frames. And then finally I get these 10 sec 0 frames exactly. Usually it works without problems. But sometimes these constant lenght changes causes crash… At least it was the case of this bug as I don’t remember details concerning the previous one…

And one thing more - is there any process run in the background when editing? I noticed that usually it happens when there is strange delay in reaction on lenght changing actions…

Thanks for clarifying. I found that trim is not reporting in the log until you actually redo after undo (not all log entries with “redo” in them actually represent redo after undo for a technical reason).
Do you recall if you had the Ripple and/or Ripple-all-tracks options turned on?
Do you recall if the playhead was over the area being trimmed?

I reproduced it only when using ripple-all-tracks thus far.

I’m sorry I don’t recall. It’s possible that I had ripple or ripple-all-tracks on as I sometimes use them but I’m not sure… However lately when I was editing my new project I run the screen recording program. Unfortunately that time the shortcut didn’t crash. But I will do video recording next time when editing and if it crashes, I will give you link to the video with the last ex. 30 seconds before crash.

I didn’t forget but lately my shotcut didn’t crash… :frowning:

Ok, I have one next shotcut crash. But here not sure if it’s the same bug or similar. Looking on the log, as not being expert, I would say it’s the same bug (failed to load producer “blank”). However the way to get to it was a bit different. As previously changing the length of elements on the track were causing this bug. And here it’s undo operation which caused it. I’m listing below log file and giving the link to the video showing few last seconds before bug.

link (1. please let me know when I can delete the video when it’s not needed any longer 2. when changing the element lenght before crash the shotcut become very slowly and seems not to react or to react with huge delay on mouse movements): https://youtu.be/PiK7Qtn8R88

log:
[Debug ] [consumer sdl2_audio] dropped video frame 302
[Debug ] [consumer sdl2_audio] dropped video frame 303
[Debug ] [consumer sdl2_audio] dropped video frame 304
[Info ] MainWindow::showStatusMessage “Saved /media/piotr/DANE/YOUTUBE/source.2021.11.01_telefon_narcyz_jak_dziala/2021.11.01_telefon_narcyz_jak_dziala8.mlt”
[Error ] The DeckLink drivers are not installed.
[Debug ] VideoVectorScopeWidget::profileChanged 709
[Debug ] VideoVectorScopeWidget::profileChanged 709
[Debug ] NewProjectFolder::showEvent m_profile “atsc_1080p_30” action.data “atsc_1080p_30”
[Debug ] VideoVectorScopeWidget::profileChanged 709
[Info ] [consumer sdl2_audio] Audio Opened: driver=pulseaudio channels=2 frequency=48000
[Debug ] TimelineDock::dragEnterEvent true
[Debug ] Timeline::OverwriteCommand::redo trackIndex 19 position 4136
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Debug ] Player::setIn in -1 out 119
[Debug ] Player::setOut in -1 out -1
[Debug ] TimelineDock::setSelection Changing selection to (QPoint(2,19)) trackIndex -1 isMultitrack false
[Info ] Util::isMemoryLow available RAM = 9955864 KB
[Debug ] Function autosaveTask finished in 184 ms.
[Debug ] Timeline::RemoveTransitionByTrimOutCommand::undo trackIndex 19 clipIndex 3 delta -494
[Debug ] Timeline::OverwriteCommand::undo trackIndex 19 position 4136

One thing more. This bug appeared once again but that time I didn’t make recording. What I only noticed then I didn’t have options Ripple and/or Ripple-all-tracks options turned on. I was sure that they were turned off then just before crash.

In both cases it concerns 21.12.21 shotcut version.

And one thing more when this bug appeared. This time it’s classical situation which I meant at the beginning. Changing the size and moving element. Shotcut 21.12.21.

Link to video: https://youtu.be/AK7eDywGgcY (please let me know when I can delete it)

And log file:
[Debug ] [consumer sdl2_audio] dropped video frame 2669
[Debug ] [consumer sdl2_audio] dropped video frame 2670
[Info ] MainWindow::showStatusMessage “Click in rectangle + hold Shift to drag, Wheel to zoom, or Ctrl+Wheel to rotate”
[Info ] Util::isMemoryLow available RAM = 17830268 KB
[Debug ] Function autosaveTask finished in 224 ms.
[Debug ] Database::deleteOldThumbnails::lambda removing 55
[Info ] MainWindow::showStatusMessage “Saved /media/piotr/DANE/YOUTUBE/source.2021.11.01_telefon_narcyz_jak_dziala/2021.11.01_telefon_narcyz_jak_dzialaD.mlt”
[Debug ] Timeline::OverwriteCommand::redo trackIndex 20 position 19450
[Error ] [producer_xml] failed to load producer “blank”
[Debug ] TimelineDock::setSelection Changing selection to (QPoint(49,20)) trackIndex -1 isMultitrack false
[Error ] [producer_xml] failed to load producer “blank”
[Debug ] TimelineDock::setSelection Changing selection to (QPoint(50,20)) trackIndex -1 isMultitrack false
[Debug ] TimelineDock::setSelection Changing selection to (QPoint(49,20)) trackIndex -1 isMultitrack false
[Debug ] TimelineDock::setSelection Changing selection to (QPoint(50,20)) trackIndex -1 isMultitrack false
[Debug ] TimelineDock::setSelection Changing selection to (QPoint(37,20)) trackIndex -1 isMultitrack false
[Debug ] TimelineDock::onClipMoved moving clip at QPoint(37,20) start 19450 + -78 = 19372
[Debug ] TimelineDock::setSelection Changing selection to () trackIndex -1 isMultitrack false
[Debug ] Timeline::MoveClipCommand::redo track delta 0
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Info ] Util::isMemoryLow available RAM = 17637028 KB
[Debug ] Function autosaveTask finished in 293 ms.
[Debug ] Database::deleteOldThumbnails::lambda removing 25
[Debug ] TimelineDock::setSelection Changing selection to (QPoint(37,20)) trackIndex -1 isMultitrack false
[Debug ] TimelineDock::onClipMoved moving clip at QPoint(37,20) start 19372 + -10 = 19362
[Debug ] TimelineDock::setSelection Changing selection to () trackIndex -1 isMultitrack false
[Debug ] Timeline::MoveClipCommand::redo track delta 0
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Debug ] TimelineDock::setSelection Changing selection to (QPoint(48,21)) trackIndex -1 isMultitrack false
[Info ] MainWindow::showStatusMessage “Click in rectangle + hold Shift to drag, Wheel to zoom, or Ctrl+Wheel to rotate”
[Debug ] TimelineDock::setSelection Changing selection to (QPoint(37,20)) trackIndex -1 isMultitrack false
[Info ] MainWindow::showStatusMessage “Click in rectangle + hold Shift to drag, Wheel to zoom, or Ctrl+Wheel to rotate”
[Info ] MainWindow::showStatusMessage “Saved /media/piotr/DANE/YOUTUBE/source.2021.11.01_telefon_narcyz_jak_dziala/2021.11.01_telefon_narcyz_jak_dzialaD.mlt”
[Info ] Util::isMemoryLow available RAM = 17711700 KB
[Debug ] Function autosaveTask finished in 231 ms.
[Info ] MainWindow::showStatusMessage “Saved /media/piotr/DANE/YOUTUBE/source.2021.11.01_telefon_narcyz_jak_dziala/2021.11.01_telefon_narcyz_jak_dzialaD.mlt”
[Info ] MainWindow::showStatusMessage “Saved /media/piotr/DANE/YOUTUBE/source.2021.11.01_telefon_narcyz_jak_dziala/2021.11.01_telefon_narcyz_jak_dzialaD.mlt”
[Info ] MainWindow::showStatusMessage “Saved /media/piotr/DANE/YOUTUBE/source.2021.11.01_telefon_narcyz_jak_dziala/2021.11.01_telefon_narcyz_jak_dzialaD.mlt”
[Info ] Util::isMemoryLow available RAM = 17640148 KB
[Debug ] Timeline::OverwriteCommand::redo trackIndex 19 position 19616
[Error ] [producer_xml] failed to load producer “blank”
[Debug ] TimelineDock::setSelection Changing selection to (QPoint(38,19)) trackIndex -1 isMultitrack false
[Error ] [producer_xml] failed to load producer “blank”
[Debug ] TimelineDock::setSelection Changing selection to (QPoint(39,19)) trackIndex -1 isMultitrack false
[Debug ] TimelineDock::setSelection Changing selection to (QPoint(38,19)) trackIndex -1 isMultitrack false
[Debug ] TimelineDock::setSelection Changing selection to (QPoint(39,19)) trackIndex -1 isMultitrack false
[Debug ] TimelineDock::setSelection Changing selection to (QPoint(28,19)) trackIndex -1 isMultitrack false
[Debug ] TimelineDock::onClipMoved moving clip at QPoint(28,19) start 19616 + -34 = 19582
[Debug ] TimelineDock::setSelection Changing selection to () trackIndex -1 isMultitrack false
[Debug ] Timeline::MoveClipCommand::redo track delta 0
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”
[Debug ] TimelineDock::setSelection Changing selection to (QPoint(28,19)) trackIndex -1 isMultitrack false
[Debug ] TimelineDock::onClipMoved moving clip at QPoint(28,19) start 19582 + -10 = 19572
[Debug ] TimelineDock::setSelection Changing selection to () trackIndex -1 isMultitrack false
[Debug ] Timeline::MoveClipCommand::redo track delta 0
[Error ] [producer_xml] failed to load producer “blank”
[Error ] [producer_xml] failed to load producer “blank”

Auto-save runs every minute, and that needs to traverse the object model to build XML from it. Also, on that interval but not usually at the same time, it deletes old thumbnails and waveforms from the filesystem cache when there is over 5000 of them.

[Error ] [producer_xml] failed to load producer “blank”

I am seeing these sometimes as well when trying to reproduce the bug. So, I doubt it is “something bogus in your project” that I mentioned before. I do not yet know if that is related to the crash bug. It seems like it could be since some of your logs show it at the end.

I did reproduce the undo bug. That is different and fixed for the next version.

I also found a way to reproduce a crash in the debugger when moving a clip, and I am still trying to understand it.

It’s something with shotcut or with some libraries as I have the same errors in my different projects (unless it’s somehow related to my linux version but I rather doubt it).

Concerning this “failed to load producer “blank”” I can confirm it’s always in logs after crash at the end.

I’m happy that you already “repaired” one of those bugs and that you are on good track to “repair” the second one. As those crashes are quite irritating… Thanks a lot for your work! :slight_smile:

I’m also wondering if it might be something related to parallel access to some objects etc…? I think that always (or almost always, not sure 100%) before observing this crash there was very strange delay when changing the object lenght… Either perhaps there is some kind of loop…? After restart I’m doing the same thing (at least it looks like the same as it might happen that there is very slight difference) and then the same steps repeated again seems not to cause crash…

This is fixed for the next version 22.x! It also removes the "failed to load producer blank” errors in the log since it was related to that.

Wow! Big thank you! :slight_smile:

@shotcut Quick info. I used 22.01.17 beta version around around 7-10 hours and this bug didn’t occured. Thus there is a good chance that’s fully solved. :slight_smile: Big thank you once again. :slight_smile:

1 Like