Bug 363404 - git master: trying to load a saved title crashes Kdenlive
Summary: git master: trying to load a saved title crashes Kdenlive
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-22 15:18 UTC by Wegwerf
Modified: 2016-06-07 21:47 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wegwerf 2016-05-22 15:18:23 UTC
When trying to load a previously saved title in a new title, Kdenlive crashes. It suffices to save a simple title with just a text, and then reloading it in a new title.

Before the segfault I see this:

Invalid URL: QUrl("/home/xxxxx/Videos/kdenlive/titles")
Thread 1 "kdenlive" received signal SIGSEGV, Segmentation fault.
0x00007ffff395bef3 in QGraphicsItem::sceneBoundingRect() const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5

Running Kdenlive under gdb gives this backtrace (only the first few lines given):
#0  0x00007ffff395bef3 in QGraphicsItem::sceneBoundingRect() const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
No symbol table info available.
#1  0x0000000000839c1d in TitleWidget::displayBackgroundFrame() ()
No symbol table info available.
#2  0x0000000000841ce9 in TitleWidget::adjustFrameSize() ()
No symbol table info available.
#3  0x00000000008408d1 in TitleWidget::setXml(QDomDocument const&) ()
No symbol table info available.
#4  0x000000000083fd62 in TitleWidget::loadTitle(QUrl) ()
No symbol table info available.
#5  0x000000000097cba9 in TitleWidget::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
No symbol table info available.
#6  0x00007ffff20e3fca in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.


Reproducible: Always

Steps to Reproduce:
1. Start a new Kdenlive project.
2. Add a new title clip.
3. In the title editor: add some text.
4. In the title editor: save title
5. Close title editor.
6. Add another new title clip.
7. In the title editor: load the previously saved title.

Actual Results:  
Kdenlive crashes with a segmentation fault.

Expected Results:  
Previously saved title is correctly reloaded without crashing.
Comment 1 Jean-Baptiste Mardelle 2016-05-22 18:16:26 UTC
Git commit 36f4ffbf05eddc991e6fb25006be1720c904112c by Jean-Baptiste Mardelle.
Committed on 22/05/2016 at 18:16.
Pushed by mardelle into branch 'master'.

Fix crash on loading title in Title Editor

M  +0    -1    src/titler/titledocument.cpp
M  +3    -0    src/titler/titlewidget.cpp

http://commits.kde.org/kdenlive/36f4ffbf05eddc991e6fb25006be1720c904112c
Comment 2 Wegwerf 2016-05-24 21:16:22 UTC
This is fixed, thank you very much, Jean-Baptiste!
Comment 3 Vincent PINON 2016-06-07 21:47:14 UTC
Git commit 358ff8ff96801caaf7ecae5e04760120333c68d3 by Vincent Pinon, on behalf of Jean-Baptiste Mardelle.
Committed on 07/06/2016 at 20:30.
Pushed by vpinon into branch 'Applications/16.04'.

Fix crash on loading title in Title Editor

M  +0    -1    src/titler/titledocument.cpp
M  +3    -0    src/titler/titlewidget.cpp

http://commits.kde.org/kdenlive/358ff8ff96801caaf7ecae5e04760120333c68d3