Bug 457497 - kdenlive crash when move and paste disabled clip
Summary: kdenlive crash when move and paste disabled clip
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (other bugs)
Version First Reported In: 22.04.3
Platform: PCLinuxOS Linux
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-04 21:27 UTC by qla0
Modified: 2024-06-10 15:38 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
installed program on Ubuntu Studio (221.49 KB, text/plain)
2022-08-04 21:27 UTC, qla0
Details

Note You need to log in before you can comment on or make changes to this bug.
Description qla0 2022-08-04 21:27:59 UTC
Created attachment 151121 [details]
installed program on Ubuntu Studio

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1.  open kdenlive
2. load picture (clip) ProjectBin
3.  drag picture to timeline
4.  Disable clip
5.  change from Normal mode to Overwrite mode
6. move clip

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version:  PClos - 5.24.4
KDE Frameworks Version: 
Qt Version: 5.15.2

ADDITIONAL INFORMATION

the same effect on:
- PclinuxOs   -    fully upgraded
- Ubuntu Studio  22.04.1 LTS -    fully upgraded

This bug in in kdenlive-22.04.3-x86_x64.AppImage too.
Comment 1 erjiang 2022-08-14 23:43:26 UTC
Confirmed on latest master (74ef83e0): failed assertion Q_ASSERT(isTrack(trackId)) in TimelineModel::getClipByPosition (trackId==-1)

Backtrace:

#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140737230649792) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=140737230649792) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=140737230649792, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x00007ffff4b29476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4  0x00007ffff4b0f7f3 in __GI_abort () at ./stdlib/abort.c:79
#5  0x00007ffff50b4ba3 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ffff50b3ff0 in qt_assert_x(char const*, char const*, char const*, int) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x0000555555bffd48 in TimelineModel::getClipByPosition(int, int, int) const (this=0x555558af89d0, trackId=-1, position=212, playlist=-1) at /home/eric/kdenlive-space/kdenlive/src/timeline2/model/timelinemodel.cpp:368
#8  0x0000555555eecd09 in TimelineFunctions::liftZone(std::shared_ptr<TimelineItemModel> const&, int, QPoint, std::function<bool ()>&, std::function<bool ()>&) (timeline=std::shared_ptr<TimelineItemModel> (use count 3, weak count 8) = {...}, trackId=-1, zone=..., undo=..., redo=...) at /home/eric/kdenlive-space/kdenlive/src/timeline2/model/timelinefunctions.cpp:683
#9  0x0000555555d318cc in TimelineController::endFakeMove(int, int, bool, bool, bool) (this=0x555558d8aaa0, clipId=6, position=212, updateView=true, logUndo=true, invalidateTimeline=true) at /home/eric/kdenlive-space/kdenlive/src/timeline2/view/timelinecontroller.cpp:4031
#10 0x0000555555677e0d in TimelineController::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x555558d8aaa0, _c=QMetaObject::InvokeMetaMethod, _id=221, _a=0x7fffffffa660) at /home/eric/kdenlive-space/kdenlive/build/src/kdenliveLib_autogen/CFUJZ622G4/moc_timelinecontroller.cpp:1441
#11 0x000055555567b08a in TimelineController::qt_metacall(QMetaObject::Call, int, void**) (this=0x555558d8aaa0, _c=QMetaObject::InvokeMetaMethod, _id=221, _a=0x7fffffffa660) at /home/eric/kdenlive-space/kdenlive/build/src/kdenliveLib_autogen/CFUJZ622G4/moc_timelinecontroller.cpp:2030
Comment 2 Jean-Baptiste Mardelle 2024-06-10 15:38:21 UTC
Cannot reproduce anymore in current versions (24.05.0)