Bug 379274 - Can't select affine transition without crash.
Summary: Can't select affine transition without crash.
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Effects & Transitions (show other bugs)
Version: git-master
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
: 379138 379520 379586 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-04-27 05:27 UTC by Joseph Rice
Modified: 2018-12-07 17:49 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
attachment-11149-0.html (1.31 KB, text/html)
2017-05-22 11:39 UTC, Jean-Pierre Bovee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Rice 2017-04-27 05:27:02 UTC
Application: kdenlive (17.07.70)

Qt Version: 5.8.0
Frameworks Version: 5.33.0
Operating System: Linux 4.10.11-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:

So if I create an affine transition layer, everything works just as expected, but the instant I do anything that would select the transition, including right clicking the transition in order to attempt to delete it, Kdenlive crashes, very suddenly. Only other thing I have to mention is that the preview window renders a tiny bit before it crashes, and that I can move the playback head (Not sure exactly what it's called) to right where the affine transition is, and it renders just fine without crashing, though it still instantly crashes when I try to select the transition.

-- Backtrace:
Application: Kdenlive (kdenlive), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff1bf37f800 (LWP 28094))]

Thread 20 (Thread 0x7ff140f59700 (LWP 28124)):
#0  0x00007ff1b5762756 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ff16a21e6dd in  () at /usr/lib/mlt/libmltsdl.so
#2  0x00007ff1b575c2e7 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007ff1b772f54f in clone () at /usr/lib/libc.so.6

Thread 19 (Thread 0x7ff14cac3700 (LWP 28123)):
#0  0x00007ff1b772576b in ppoll () at /usr/lib/libc.so.6
#1  0x00007ff1af2c779d in pa_mainloop_poll () at /usr/lib/libpulse.so.0
#2  0x00007ff1af2c7d8e in pa_mainloop_iterate () at /usr/lib/libpulse.so.0
#3  0x00007ff169fb555d in  () at /usr/lib/libSDL-1.2.so.0
#4  0x00007ff169f8976b in  () at /usr/lib/libSDL-1.2.so.0
#5  0x00007ff169f91e18 in  () at /usr/lib/libSDL-1.2.so.0
#6  0x00007ff169fd2d39 in  () at /usr/lib/libSDL-1.2.so.0
#7  0x00007ff1b575c2e7 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007ff1b772f54f in clone () at /usr/lib/libc.so.6

Thread 18 (Thread 0x7ff1417fa700 (LWP 28117)):
#0  0x00007ff1b5762756 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ff1be483adb in  () at /usr/lib/libmlt.so.6
#2  0x000000000075218d in  ()
#3  0x00007ff1b812f6d8 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007ff1b575c2e7 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007ff1b772f54f in clone () at /usr/lib/libc.so.6

Thread 17 (Thread 0x7ff143fff700 (LWP 28116)):
#0  0x00007ff1b5762756 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ff16a21f0c0 in  () at /usr/lib/mlt/libmltsdl.so
#2  0x00007ff1b575c2e7 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007ff1b772f54f in clone () at /usr/lib/libc.so.6

Thread 16 (Thread 0x7ff141ffb700 (LWP 28113)):
#0  0x00007ff1b5762756 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ff1be48bd93 in  () at /usr/lib/libmlt.so.6
#2  0x00007ff1b575c2e7 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007ff1b772f54f in clone () at /usr/lib/libc.so.6

Thread 15 (Thread 0x7ff1427fc700 (LWP 28112)):
#0  0x00007ff1b5762756 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ff1be48bd93 in  () at /usr/lib/libmlt.so.6
#2  0x00007ff1b575c2e7 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007ff1b772f54f in clone () at /usr/lib/libc.so.6

Thread 14 (Thread 0x7ff142ffd700 (LWP 28111)):
#0  0x00007ff1b5762756 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ff1be48bd93 in  () at /usr/lib/libmlt.so.6
#2  0x00007ff1b575c2e7 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007ff1b772f54f in clone () at /usr/lib/libc.so.6

Thread 13 (Thread 0x7ff1437fe700 (LWP 28110)):
#0  0x00007ff1b5762756 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ff1be48bd93 in  () at /usr/lib/libmlt.so.6
#2  0x00007ff1b575c2e7 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007ff1b772f54f in clone () at /usr/lib/libc.so.6

Thread 12 (Thread 0x7ff14d2c4700 (LWP 28106)):
#0  0x00007ff1b5762b63 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ff1b81304c6 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007ff1b812bbc4 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007ff1b812f6d8 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007ff1b575c2e7 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007ff1b772f54f in clone () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7ff15c83d700 (LWP 28105)):
#0  0x00007ff1af5831e0 in g_mutex_unlock () at /usr/lib/libglib-2.0.so.0
#1  0x00007ff1af53dad6 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#2  0x00007ff1b835f09b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#3  0x00007ff1b83088ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007ff1b812aa73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#5  0x00007ff1b812f6d8 in  () at /usr/lib/libQt5Core.so.5
#6  0x00007ff1b575c2e7 in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007ff1b772f54f in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7ff15d03e700 (LWP 28104)):
#0  0x00007ff1b772567d in poll () at /usr/lib/libc.so.6
#1  0x00007ff1af53d9b6 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007ff1af53dacc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007ff1b835f09b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007ff1b83088ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007ff1b812aa73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007ff1b812f6d8 in  () at /usr/lib/libQt5Core.so.5
#7  0x00007ff1b575c2e7 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007ff1b772f54f in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7ff15effe700 (LWP 28103)):
#0  0x00007ff1b772567d in poll () at /usr/lib/libc.so.6
#1  0x00007ff1af53d9b6 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007ff1af53dacc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007ff1b835f09b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007ff1b83088ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007ff1b812aa73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007ff1b9d5b025 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007ff1b812f6d8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007ff1b575c2e7 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007ff1b772f54f in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7ff15f7ff700 (LWP 28102)):
#0  0x00007ff1b5762b63 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ff1b81304c6 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007ff1b812bbc4 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007ff1b812f6d8 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007ff1b575c2e7 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007ff1b772f54f in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7ff164f4d700 (LWP 28101)):
#0  0x00007ff1b772567d in poll () at /usr/lib/libc.so.6
#1  0x00007ff1af53d9b6 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007ff1af53dacc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007ff1b835f09b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007ff1b83088ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007ff1b812aa73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007ff1b9d5b025 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007ff1b812f6d8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007ff1b575c2e7 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007ff1b772f54f in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7ff171a24700 (LWP 28100)):
#0  0x00007ff1b772567d in poll () at /usr/lib/libc.so.6
#1  0x00007ff1781ebd51 in  () at /usr/lib/libusb-1.0.so.0
#2  0x00007ff1b575c2e7 in start_thread () at /usr/lib/libpthread.so.0
#3  0x00007ff1b772f54f in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7ff18bfff700 (LWP 28099)):
#0  0x00007ff1b772567d in poll () at /usr/lib/libc.so.6
#1  0x00007ff1af53d9b6 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007ff1af53dacc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007ff1b835f09b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007ff1b83088ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007ff1b812aa73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007ff1ba7eb125 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007ff1b812f6d8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007ff1b575c2e7 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007ff1b772f54f in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7ff19919a700 (LWP 28098)):
#0  0x00007ff1b772567d in poll () at /usr/lib/libc.so.6
#1  0x00007ff1af53d9b6 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007ff1af53dd42 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3  0x00007ff1a08d7ff6 in  () at /usr/lib/libgio-2.0.so.0
#4  0x00007ff1af565295 in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007ff1b575c2e7 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007ff1b772f54f in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7ff19999b700 (LWP 28097)):
#0  0x00007ff1b772137d in read () at /usr/lib/libc.so.6
#1  0x00007ff1af581e20 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007ff1af53d47e in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007ff1af53d954 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007ff1af53dacc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007ff1af53db11 in  () at /usr/lib/libglib-2.0.so.0
#6  0x00007ff1af565295 in  () at /usr/lib/libglib-2.0.so.0
#7  0x00007ff1b575c2e7 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007ff1b772f54f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7ff1a3f3f700 (LWP 28096)):
#0  0x00007ff1b772567d in poll () at /usr/lib/libc.so.6
#1  0x00007ff1aee808e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007ff1aee82679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007ff1a68c5239 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007ff1b812f6d8 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007ff1b575c2e7 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007ff1b772f54f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7ff1bf37f800 (LWP 28094)):
[KCrash Handler]
#6  0x00007ff1b9373425 in QAction::setEnabled(bool) () at /usr/lib/libQt5Widgets.so.5
#7  0x000000000065c076 in  ()
#8  0x0000000000637a13 in  ()
#9  0x0000000000618e7e in  ()
#10 0x0000000000534249 in  ()
#11 0x00000000005346ce in  ()
#12 0x00000000008bb3b8 in  ()
#13 0x00007ff1b8335d79 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#14 0x00000000008a5358 in  ()
#15 0x000000000056bb4c in  ()
#16 0x000000000059df78 in  ()
#17 0x00007ff1b93bf64f in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#18 0x00007ff1b94a6ede in QFrame::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#19 0x00007ff1b96ae1bb in QGraphicsView::viewportEvent(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#20 0x00007ff1b830a1d1 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#21 0x00007ff1b9377325 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#22 0x00007ff1b937f8c5 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#23 0x00007ff1b830a470 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#24 0x00007ff1b937e0cd in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib/libQt5Widgets.so.5
#25 0x00007ff1b93d93e6 in  () at /usr/lib/libQt5Widgets.so.5
#26 0x00007ff1b93dbe03 in  () at /usr/lib/libQt5Widgets.so.5
#27 0x00007ff1b937734c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#28 0x00007ff1b937eb61 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#29 0x00007ff1b830a470 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#30 0x00007ff1b8857d53 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#31 0x00007ff1b88598c5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
#32 0x00007ff1b883544b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#33 0x00007ff1a69259e0 in  () at /usr/lib/libQt5XcbQpa.so.5
#34 0x00007ff1af53d7b7 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#35 0x00007ff1af53da20 in  () at /usr/lib/libglib-2.0.so.0
#36 0x00007ff1af53dacc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#37 0x00007ff1b835f07f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#38 0x00007ff1b83088ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#39 0x00007ff1b8310e14 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#40 0x00000000004915ed in  ()
#41 0x00007ff1b7663511 in __libc_start_main () at /usr/lib/libc.so.6
#42 0x0000000000491dfa in _start ()
Comment 1 Joseph Rice 2017-04-27 05:37:11 UTC
I rolled back to version 16.12.3, and this doesn't happen on that version, so at least my project isn't going to be inaccessible in the mean time.
Comment 2 Cyril 2017-05-08 10:21:41 UTC
Same here on Kdenlive 17.04 on Manjaro.

Copy/paste an affine transition, try to move it, it crashes. Everytime.
Same problem as bug 379520?
Comment 3 Joseph Rice 2017-05-08 22:32:58 UTC
Sounds exactly like my issue, annoying since it's possible to place the affine transition on the timeline without selecting it, but not possible to remove it, since every way to do so also arbitrarily requires selecting it, essentially "bricking" the project until you roll back the Kdenlive version. Also, thanks for the importance vote.
Comment 4 alcinos 2017-05-09 15:34:09 UTC
Git commit 3ab863f0d58594802b53a36d0002d9415b9622ba by Nicolas Carion.
Committed on 09/05/2017 at 15:35.
Pushed by alcinos into branch 'Applications/17.04'.

Fix init of geometryWidget

M  +3    -3    src/effectstack/widgets/geometrywidget.cpp

https://commits.kde.org/kdenlive/3ab863f0d58594802b53a36d0002d9415b9622ba
Comment 5 alcinos 2017-05-09 15:38:36 UTC
*** Bug 379520 has been marked as a duplicate of this bug. ***
Comment 6 alcinos 2017-05-09 15:51:07 UTC
Should be fixed, tell me if you still run into issues regarding this.
Comment 7 alcinos 2017-05-09 15:52:35 UTC
*** Bug 379586 has been marked as a duplicate of this bug. ***
Comment 8 alcinos 2017-05-09 15:59:23 UTC
*** Bug 379138 has been marked as a duplicate of this bug. ***
Comment 9 Joseph Rice 2017-05-09 17:33:08 UTC
(In reply to alcinos from comment #8)

Compiled the git version (17.07.70.r8463.6435a4ebd), and it still happens, but it crashes a bit more quickly? Definitely not fixed. Doing the same thing causes the same crash. I'm not 100% sure if I even installed the fixed version, all I know is that between a few hours ago and now, the git version changed, and I compiled and installed the newer version.
Comment 10 Christoph Feck 2017-05-10 03:10:49 UTC
Did you mean to reopen this issue? The state 'verified' would mean the fix has been verified to work.
Comment 11 Joseph Rice 2017-05-10 03:24:14 UTC
(In reply to Christoph Feck from comment #10)
> Did you mean to reopen this issue? The state 'verified' would mean the fix
> has been verified to work.

I'm not really terribly familiar with Bugzilla, so I don't really know what to do at this point. The fix done by Alcinos didn't seem to fix anything, though as I mentioned before, I don't even know if I had the fixed version or not.
Comment 12 Joseph Rice 2017-05-10 03:27:51 UTC
Just noticed that the git version changed again, but the version number went down? It changed from 17.07.70.r8463.6435a4ebd to 17.03.70.r7974.a09d52c. I'm guessing this lower (but also newer) version is the "fixed" version I didn't download and compile. Will compile and install it to see if it fixes the issue. I'm normally this incompetent.
Comment 13 Joseph Rice 2017-05-10 04:05:57 UTC
Nope, not fixed.
Comment 14 Joseph Rice 2017-05-10 04:36:17 UTC
(In reply to Joseph Rice from comment #12)
> Just noticed that the git version changed again, but the version number went
> down? It changed from 17.07.70.r8463.6435a4ebd to 17.03.70.r7974.a09d52c.
> I'm guessing this lower (but also newer) version is the "fixed" version I
> didn't download and compile. Will compile and install it to see if it fixes
> the issue. I'm normally this incompetent.

As for the version number changing, it seems to just be a mistake on my end, since the package, after being compiled, still seems to be 17.07.70.r8463.6435a4ebd. Also, not sure what to change status to.
Comment 15 pgkos.bugzilla 2017-05-10 07:40:21 UTC
It would be nice if someone could verify this:

The crash always happens when the beginning (startpoint) of the affine transition is before a video clip (so there is no video clip present at the moment when the affine transition starts).

My analysis shows that the problem probably is in the CustomTrackView::updateTimelineSelection():

timeline/customtrackview.cpp:823 call to getClipItemAtStart(m_dragItemInfo.startPos, m_dragItemInfo.track);

returns null if the transition does not begin at exactly the same timepoint as a video clip, and therefore the frame size (p) remains zero, which will then cause a crash in geometrywidget.cpp:59:

m_originalSize->setEnabled(false);

will always crash, as m_originalSize is always null in that line.

Calling getClipItemAtStart (in customtrackview.cpp:823) is conceptually wrong - a transition may begin when there is no clip. We would need something like "getFirstClipFollowingStart".

Also, see the full backtrace with debugging symbols here: bug 379586.
Comment 16 Cyril 2017-05-10 07:58:56 UTC
(In reply to pgkos.bugzilla from comment #15)
> It would be nice if someone could verify this:
> 
> The crash always happens when the beginning (startpoint) of the affine
> transition is before a video clip (so there is no video clip present at the
> moment when the affine transition starts).
> 
In my case, I use the affine transition between 2 videos. So there is a video clip present at the "startpoint" (actually, there are even 2 videos).
Comment 17 pgkos.bugzilla 2017-05-10 08:38:52 UTC
(In reply to Cyril from comment #16)
> In my case, I use the affine transition between 2 videos. So there is a
> video clip present at the "startpoint" (actually, there are even 2 videos).

The alcinos' commit fixes the issue for me - I have just rebuilt the latest git 17.04 branch and everything works fine.

Just make sure you do:
git clone "git://anongit.kde.org/kdenlive.git"
git checkout Applications/17.04
Comment 18 Cyril 2017-05-10 10:05:03 UTC
(In reply to pgkos.bugzilla from comment #17)

> The alcinos' commit fixes the issue for me - I have just rebuilt the latest
> git 17.04 branch and everything works fine.
This was not clear to me, I was still referring to the original bug report.
Comment 19 alcinos 2017-05-22 11:06:05 UTC
Now that the bug-fix should have propagated (it is on master and on the latest AppImage, but not 17.04.1 unfortunately), could you try and see if all the problems are gone ?
Comment 20 Cyril 2017-05-22 11:29:44 UTC
(In reply to alcinos from comment #19)
> Now that the bug-fix should have propagated (it is on master and on the
> latest AppImage, but not 17.04.1 unfortunately), could you try and see if
> all the problems are gone ?

Using the AppImage, it works for me.
Thanks you!
Comment 21 Jean-Pierre Bovee 2017-05-22 11:39:38 UTC
Created attachment 105672 [details]
attachment-11149-0.html

Hi! 

Many thanks ! 
I'll try. 

with some care I succeeded to get out. 
Sure that fixing it will make it more confortable. 


Jean-Pierre 
----- Mail original -----

De: "Cyril" <bugzilla_noreply@kde.org> 
À: jpbovee@free.fr 
Envoyé: Lundi 22 Mai 2017 13:29:44 
Objet: [kdenlive] [Bug 379274] Can't select affine transition without crash. 

https://bugs.kde.org/show_bug.cgi?id=379274 

--- Comment #20 from Cyril <linux4cyril@free.fr> --- 
(In reply to alcinos from comment #19) 
> Now that the bug-fix should have propagated (it is on master and on the 
> latest AppImage, but not 17.04.1 unfortunately), could you try and see if 
> all the problems are gone ? 

Using the AppImage, it works for me. 
Thanks you!
Comment 22 Roger Morton 2017-08-05 01:50:21 UTC
I have a project where I can reproduce this issue in version 17.04.0. My experince is that if you try and select and move an affine transtion while the play head/carat is over the affine transition it  crashes.
 But when I run appimage 17.04.1 the bug is gone. So I say this is fixed.