Bug 355285 - Freeze when adding Corners effect
Summary: Freeze when adding Corners effect
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Effects & Transitions (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-13 12:17 UTC by Michael
Modified: 2015-12-14 21:47 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael 2015-11-13 12:17:11 UTC
When I add a Corners effect on a clip (even a color clip), Kdenlive freeze and receive a SIGSEGV.



Reproducible: Always

Steps to Reproduce:
1. Import any clip
2. Add a Corners effect to the clip

Actual Results:  
Kdenlive freeze and receive a SIGSEGV. There is the gdb output :

Starting program: /usr/bin/kdenlive 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe1915700 (LWP 12781)]
[New Thread 0x7fffd6433700 (LWP 12782)]
[New Thread 0x7fffd5c32700 (LWP 12783)]
[New Thread 0x7fffbd1ad700 (LWP 12784)]
[New Thread 0x7fffb4823700 (LWP 12785)]
[New Thread 0x7fffaf746700 (LWP 12786)]
Invalid playlist
Removing cache at "/home/rezemika/.cache/kdenlive-thumbs.kcache"
Invalid playlist
QCursor: Cannot create bitmap cursor; invalid bitmap(s)
[New Thread 0x7fffadcdf700 (LWP 12787)]
[Thread 0x7fffadcdf700 (LWP 12787) exited]
[New Thread 0x7fffadcdf700 (LWP 12788)]
[New Thread 0x7fffa7fff700 (LWP 12789)]
[New Thread 0x7fffa77fe700 (LWP 12790)]
[New Thread 0x7fffa6ffd700 (LWP 12791)]
[New Thread 0x7fffa67fc700 (LWP 12792)]
[New Thread 0x7fffa5ffb700 (LWP 12793)]
[New Thread 0x7fffa17f9700 (LWP 12794)]
+ ++  INSERT DROP:  0  /  QPointF(2896.07,42)
[Thread 0x7fffadcdf700 (LWP 12788) exited]
[Thread 0x7fffa17f9700 (LWP 12794) exited]
Invalid playlist
Invalid playlist
Invalid playlist
[Thread 0x7fffa5ffb700 (LWP 12793) exited]
[New Thread 0x7fffa5ffb700 (LWP 12864)]
[New Thread 0x7fffa17f9700 (LWP 12865)]
[New Thread 0x7fffadcdf700 (LWP 12866)]
[New Thread 0x7fffa57fa700 (LWP 12867)]
[New Thread 0x7fffa4ff9700 (LWP 12868)]
[New Thread 0x7fffa47f8700 (LWP 12869)]
[New Thread 0x7fffa3ff7700 (LWP 12870)]
[New Thread 0x7fffa37f6700 (LWP 12871)]
[New Thread 0x7fffa2ff5700 (LWP 12872)]
[New Thread 0x7fffa27f4700 (LWP 12873)]
[swscaler @ 0x7fff7f8fcfa0] Warning: data is not aligned! This can lead to a speedloss
[New Thread 0x7fff5affd700 (LWP 12874)]
[New Thread 0x7fff5a7fc700 (LWP 12875)]
[Thread 0x7fff5a7fc700 (LWP 12875) exited]
[New Thread 0x7fff5a7fc700 (LWP 12876)]
[New Thread 0x7fff59ffb700 (LWP 12877)]
[New Thread 0x7fff527fc700 (LWP 12878)]
[Thread 0x7fff5a7fc700 (LWP 12876) exited]
[Thread 0x7fff527fc700 (LWP 12878) exited]
Invalid playlist
[Thread 0x7fff59ffb700 (LWP 12877) exited]
[New Thread 0x7fff59ffb700 (LWP 12879)]
[Thread 0x7fff59ffb700 (LWP 12879) exited]
[New Thread 0x7fff59ffb700 (LWP 12880)]
[New Thread 0x7fff527fc700 (LWP 12881)]
[New Thread 0x7fff5a7fc700 (LWP 12882)]
+ ++  INSERT DROP:  0  /  QPointF(1466.29,0)
// DROP 2:  ("1")
[Thread 0x7fff59ffb700 (LWP 12880) exited]
[Thread 0x7fff5a7fc700 (LWP 12882) exited]
[Thread 0x7fff527fc700 (LWP 12881) exited]
[New Thread 0x7fff527fc700 (LWP 12883)]
[Thread 0x7fff527fc700 (LWP 12883) exited]
[New Thread 0x7fff527fc700 (LWP 12884)]
[New Thread 0x7fff5a7fc700 (LWP 12885)]
[New Thread 0x7fff59ffb700 (LWP 12886)]
[New Thread 0x7fff357f2700 (LWP 12887)]
[New Thread 0x7fff34ff1700 (LWP 12888)]
[New Thread 0x7fff347f0700 (LWP 12889)]
[New Thread 0x7fff33fef700 (LWP 12890)]
[New Thread 0x7fff337ee700 (LWP 12891)]
[New Thread 0x7fff32fed700 (LWP 12892)]
[New Thread 0x7fff327ec700 (LWP 12893)]
[New Thread 0x7fff31feb700 (LWP 12894)]
[New Thread 0x7fff317ea700 (LWP 12895)]
[New Thread 0x7fff30fe9700 (LWP 12896)]

Program received signal SIGSEGV, Segmentation fault.
MonitorEditWidget::getScene (this=this@entry=0x0)
    at ../../src/monitor/monitoreditwidget.cpp:105
105	../../src/monitor/monitoreditwidget.cpp: Aucun fichier ou dossier de ce type.

Expected Results:  
The effect should appear in the effects list and work without freezing.

I have Xubuntu 15.10, and there is my versions :

Kdenlive : 15.08.1
KDE Frameworks 5.15.0
Qt 5.4.2 (built against 5.4.2)
The xcb windowing system

PS : Sorry for my poor English.
Comment 1 Jean-Baptiste Mardelle 2015-11-23 00:53:32 UTC
Git commit 7b395db98444bd69bee19366619cc68cdbd51f73 by Jean-Baptiste Mardelle.
Committed on 23/11/2015 at 00:53.
Pushed by mardelle into branch 'Applications/15.12'.

Fix crash when adding corners effect (some porting required)

M  +1    -0    data/CMakeLists.txt
A  +123  -0    data/kdenlivemonitorcornerscene.qml     [License: UNKNOWN]  *
M  +7    -0    src/definitions.h
M  +4    -6    src/effectstack/collapsibleeffect.cpp
M  +3    -3    src/effectstack/collapsibleeffect.h
M  +2    -2    src/effectstack/effectstackedit.cpp
M  +2    -2    src/effectstack/effectstackedit.h
M  +26   -28   src/effectstack/effectstackview2.cpp
M  +2    -2    src/effectstack/effectstackview2.h
M  +6    -6    src/effectstack/parametercontainer.cpp
M  +4    -4    src/effectstack/parametercontainer.h
M  +38   -64   src/effectstack/widgets/cornerswidget.cpp
M  +2    -4    src/effectstack/widgets/cornerswidget.h
M  +5    -5    src/effectstack/widgets/geometrywidget.cpp
M  +1    -1    src/mainwindow.cpp
M  +0    -2    src/monitor/CMakeLists.txt
M  +28   -26   src/monitor/glwidget.cpp
M  +3    -4    src/monitor/glwidget.h
M  +60   -15   src/monitor/monitor.cpp
M  +5    -2    src/monitor/monitor.h
M  +7    -9    src/onmonitoritems/rotoscoping/rotowidget.cpp
M  +1    -2    src/onmonitoritems/rotoscoping/rotowidget.h
M  +7    -6    src/project/transitionsettings.cpp

The files marked with a * at the end have a non valid license. Please read: http://techbase.kde.org/Policies/Licensing_Policy and use the headers which are listed at that page.


http://commits.kde.org/kdenlive/7b395db98444bd69bee19366619cc68cdbd51f73