Bug 460688

Summary: Crash: when going back in history/undo ctrl+z (after Time Remapping)
Product: [Applications] kdenlive Reporter: Veps <veps>
Component: Video Effects & TransitionsAssignee: Jean-Baptiste Mardelle <jb>
Status: CONFIRMED ---    
Severity: normal CC: fritzibaby
Priority: NOR    
Version First Reported In: git-master   
Target Milestone: ---   
Platform: Other   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Veps 2022-10-19 00:09:13 UTC
==== SUMMARY
Crashes when trying to revert changes after "Time Remapping" alias Speed Ramp.

==== STEPS TO REPRODUCE
[0. Load existing profile.]
1. Apply speed ramp to clip
2. Make some time changes
3. De-select clip and undo changes via CTRL+Z

==== OBSERVED RESULT
Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	kdenlive.exe
  Application Version:	0.0.0.0
  Application Timestamp:	00000000
  Fault Module Name:	libmlt++-7.dll
  Fault Module Version:	0.0.0.0
  Fault Module Timestamp:	00000000
  Exception Code:	c0000005
  Exception Offset:	000000000000939b
  OS Version:	6.1.7601.2.1.0.256.48
  Locale ID:	1031
  Additional Information 1:	d99f
  Additional Information 2:	d99fe4f86dd04d2d5b3aec01d3dc19f1
  Additional Information 3:	ea16
  Additional Information 4:	ea16c338e91f971974e5362c820ef98e

==== EXPECTERED RESULT
When the very first recorded history/state of the project is reached do nothing even if I though I continue to press CTRL+Z.

==== SOFTWARE/OS VERSIONS
Windows: 7

==== ADDITIONAL INFORMATION
Have the impression that kdenlive tried to go "before" the very first state like "state -1" since I think I already saw the very first state reemerging in the timeline right before the crash while hitting multiple times CTRL+Z.
Comment 1 emohr 2023-12-30 09:16:10 UTC
Thank you for reporting. I can confirm the crash following your steps (tested with 23.08.4).
Comment 2 emohr 2025-08-12 15:52:47 UTC
I checked with the latest master (commit 2640a1d21b).
The crash is gone when doing undo with ctrl+z.

But if I select an undo step and click on the clip the time-remap effect doesn’t appear in the effect stack anymore.