Bug 364316 - git master: frequent crashes when using the scissors tool
Summary: git master: frequent crashes when using the scissors tool
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-14 13:58 UTC by Wegwerf
Modified: 2016-06-14 20:20 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wegwerf 2016-06-14 13:58:15 UTC
With the recent timeline code refactoring the scissors tool may have become unstable. During editing, the scissors tool usually crashes Kdenlive after several cuts (around 5 cuts or so). The top of the stack trace looks like this:

 Thread 1 "kdenlive" received signal SIGSEGV, Segmentation fault.
0x00007ffff395b4c5 in QGraphicsItemPrivate::invalidateParentGraphicsEffectsRecursively() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
(gdb) bt full
#0  0x00007ffff395b4c5 in QGraphicsItemPrivate::invalidateParentGraphicsEffectsRecursively() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
No symbol table info available.
#1  0x00007ffff3966e35 in QGraphicsItem::update(QRectF const&) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
No symbol table info available.
#2  0x000000000055b401 in AbstractClipItem::setMainSelectedClip(bool) ()
No symbol table info available.
#3  0x00000000006327e9 in RazorManager::mousePress(ItemInfo, QFlags<Qt::KeyboardModifier>, QList<QGraphicsItem*>) ()
No symbol table info available.
#4  0x0000000000599c75 in CustomTrackView::mousePressEvent(QMouseEvent*) ()
No symbol table info available.


Reproducible: Always

Steps to Reproduce:
1. Add a clip to the timeline.
2. Select scissors tool.
3. Make several cuts to the clip in the timeline, you may take you time.

Actual Results:  
Eventually, Kdenlive crashes after making 5 cuts or so.

Expected Results:  
Cutting the clip without crashing Kdenlive.
Comment 1 Jean-Baptiste Mardelle 2016-06-14 20:13:46 UTC
Git commit ea20e5ef74a872e238ed6e95a3c5d33bb6e7c79a by Jean-Baptiste Mardelle.
Committed on 14/06/2016 at 20:13.
Pushed by mardelle into branch 'master'.

Fix crash on razor clip

M  +2    -2    src/timeline/managers/razormanager.cpp

http://commits.kde.org/kdenlive/ea20e5ef74a872e238ed6e95a3c5d33bb6e7c79a
Comment 2 Wegwerf 2016-06-14 20:20:36 UTC
Looks fine now, couldn't crash Kdenlive using the Scissors/Razor tool anymore while cutting clips into tiny pieces. Thank you very much for fixing!