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

            Bug ID: 356313
           Summary: Deleting empty track while two clips in timeline are
                    grouped causes delayed crash
           Product: kdenlive
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: User Interface
          Assignee: j...@kdenlive.org
          Reporter: qubo...@gmail.com

catalyst-libgl 15.11-1
ffmpeg 1:2.8.3-1
ffmpeg-compat 1:0.10.16-4
mlt 0.9.8-3
qt5-base 5.5.1-3
xorg-server 1.16.4-1
v15.11.90-21-g5a606d4
* Applications/15.12

Steps to reproduce:
1. Start kdenlive
2. RClick project bin and add color clip, press OK in popup window
3. Drag clip to Video 2 track twice (next to each other)
4. Ctrl+A to select both clips
5. Right-click one of them and select "group clips"
6. Right click the control panel of Video 1 track and select "delete track",
press OK in popup window
7. Don't do anything, wait for 5 seconds

Expected result:
1. Video 1 track gets deleted
2. Nothing else happens

Actual result:
1. Video 1 track gets deleted
2. After a short delay, Kdenlive crashes

GDB:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff16cb596 in ?? () from /usr/lib/libQt5Widgets.so.5

BT:

#0  0x00007ffff16cb596 in ?? () from /usr/lib/libQt5Widgets.so.5
#1  0x00007ffff16c0f8f in QGraphicsItem::childItems() const () from
/usr/lib/libQt5Widgets.so.5
#2  0x00000000004e2d64 in ClipManager::groupsXml() const ()
#3  0x000000000049eaa8 in KdenliveDoc::groupsXml() const ()
#4  0x00000000004f56e8 in ProjectManager::prepareSave() ()
#5  0x00000000004f55d4 in ProjectManager::slotAutoSave() ()
#6  0x0000000000826f18 in ProjectManager::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) ()
#7  0x00007fffef5f512a in QMetaObject::activate(QObject*, int, int, void**) ()
   from /usr/lib/libQt5Core.so.5
#8  0x00007fffef602048 in QTimer::timerEvent(QTimerEvent*) () from
/usr/lib/libQt5Core.so.5
#9  0x00007fffef5f5fa3 in QObject::event(QEvent*) () from
/usr/lib/libQt5Core.so.5
#10 0x00007ffff13bd01c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
   from /usr/lib/libQt5Widgets.so.5
#11 0x00007ffff13c24f6 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libQt5Widgets.so.5
#12 0x00007fffef5c69ab in QCoreApplication::notifyInternal(QObject*, QEvent*)
()
   from /usr/lib/libQt5Core.so.5
#13 0x00007fffef61c16d in QTimerInfoList::activateTimers() () from
/usr/lib/libQt5Core.so.5
#14 0x00007fffef61c671 in ?? () from /usr/lib/libQt5Core.so.5
#15 0x00007fffeb7a0dc7 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#16 0x00007fffeb7a1020 in ?? () from /usr/lib/libglib-2.0.so.0
#17 0x00007fffeb7a10cc in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#18 0x00007fffef61d34f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQt5Core.so.5
#19 0x00007fffef5c437a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQt5Core.so.5
#20 0x00007fffef5cc33c in QCoreApplication::exec() () from
/usr/lib/libQt5Core.so.5
#21 0x00000000007bf8b1 in main ()

Instead of creating and grouping two clips, you can also import a video with
audio, place it in timeline and split it (both clips will be grouped by
default). It appears to be important that you delete a track that is not
occupied by one of the group elements to trigger this bug.

Video:
https://youtu.be/b2PERiv4vhY

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to