Bug 398589 - Crash when trying to move color clip
Summary: Crash when trying to move color clip
Status: RESOLVED NOT A BUG
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (show other bugs)
Version: git-master
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-13 20:44 UTC by Camille
Modified: 2018-09-14 11:51 UTC (History)
1 user (show)

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 Camille 2018-09-13 20:44:57 UTC
Hi, 

I compiled kdenlive from the git repo   f77309cfd6a0a112f6416e4e68bf38ef46a7bcc0 (HEAD -> refactoring_timeline, origin/refactoring_timeline)

Here are the steps that lead to crash : 
1) Launch Kdenlive
2) Add a color clip via the menu above the bin
3) Choose green as a color (actually the color doesn't seem to matter)
4) Drag the clip on the first video track (called "V2")
5) Try to move it.
6) It crashes.

Below  is the terminal output. 
One "suspicious" part is: 

> Trying to construct 5 tracks.
> ////////////////////////////////
> SUSPICIOUS: we weren't expecting a producer when parsing the timeline

Just let me know if you need more info (if it's not part of the timeline corruption pb you're already trying to solve.
Cheers, 
Camille 


[...]
  - hevc_vaapi
  - mjpeg_vaapi
  - mpeg2_vaapi
  - vp8_vaapi
  - vp9_vaapi
...
kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/libexec/kf5/klauncher'
kdeinit5: Launched KLauncher, pid = 3776, result = 0
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kdeinit5: opened connection to :0
kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so'
Shortcut for action  "rename" "Renommer" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
QWidget::setMinimumSize: (effect_list/QDockWidget) Negative sizes (0,-1) are not possible
QWidget::setMinimumSize: (transition_list/QDockWidget) Negative sizes (0,-1) are not possible
QXcbConnection: XCB error: 8 (BadMatch), sequence: 769, resource id: 50331712, major code: 155 (Unknown), minor code: 11
QFile::setFileName: File (/home/camille/.local/share/stalefiles/kdenlive/_untitled.kdenlivejIzfile_%2Fhome%2Fcamille%2FVid%C3%A9osUH3WVjIz) is already opened
Loading bin playlist...
//////////////////////
Trying to construct 5 tracks.
////////////////////////////////
SUSPICIOUS: we weren't expecting a producer when parsing the timeline
$$$$$$$$$$$$$$$$$$$$$ Planting effect
REGISTER TRACK 1 0
$$$$$$$$$$$$$$$$$$$$$ Planting effect
REGISTER TRACK 2 1
$$$$$$$$$$$$$$$$$$$$$ Planting effect
REGISTER TRACK 3 2
$$$$$$$$$$$$$$$$$$$$$ Planting effect
REGISTER TRACK 4 3
/////////// requestAddBinClip "-1"
/////////// found id "2"
/////////// constructed 
Setting parent to  "-1"
MANAGE BIN ITEM INSERT "2"
Inserting clip "2"
Inserting invalid clip "2"
/////////// added  true
################### JOB finished 0
################### loadjob COMMIT
################### ProjectClip::setproducer
################### ClipController::updateProducer
################### ClipController::addmasterproducer
$$$$$$$$$$$$$$$$$$$$$ Planting effect
Setting parent to  "-1"
QPoint(0,125)
MUTEX LOCK!!!!!!!!!!!! setmodel
MUTEX UNLOCK!!!!!!!!!!!! setmodel
MUTEX LOCK!!!!!!!!!!!! loadEffects: 
################### JOB finished 2
################### JOB finished 1
/// CLI DURATION:  125
qml: dropped data:  2
requestClipInsertion  "2"     4   90
requestClipCreation  "2"
producer request 5 1
$$$$$$$$$$$$$$$$$$$$$ Planting effect
 // /REQUEST TL CLP REGSTR:  5 
--------
CLIPS COUNT:  0
REGISTRATION  5 ptr count 3
// FINAL MOVE:  false , UPDATE VIEW:  true
starting to simplify updates
merging changes
Insert Update of item  5 to track 4 at pos 90
 // /REQUEST TL CLP REGSTR:  5 
--------
CLIPS COUNT:  0
REGISTRATION  5 ptr count 2
refresh  0 1 0 124
producer request 5 1
qml: keyframe model changed............
qml: loaded clip:  90 , ID:  5 , index:  0 , TYPE: Color
// FINAL MOVE:  false , UPDATE VIEW:  true
/// REQUESTOING CLIP DELETION_:  true
starting to simplify updates
merging changes
Change Update of item  5 roles:
StartRole
/// REQUESTOING CLIP DELETION_:  true
starting to simplify updates
merging changes
 // /REQUEST TL CLP REGSTR:  5 
--------
CLIPS COUNT:  0
REGISTRATION  5 ptr count 2
requestClipInsertion  "2"     4   105
requestClipCreation  "2"
producer request 6 1
$$$$$$$$$$$$$$$$$$$$$ Planting effect
 // /REQUEST TL CLP REGSTR:  6 
--------
CLIPS COUNT:  0
REGISTRATION  6 ptr count 3
// FINAL MOVE:  true , UPDATE VIEW:  true
starting to simplify updates
merging changes
Insert Update of item  6 to track 4 at pos 105
 // /REQUEST TL CLP REGSTR:  6 
--------
CLIPS COUNT:  0
REGISTRATION  6 ptr count 2
refresh  0 1 0 124
producer request 6 1
qml: keyframe model changed............
qml: loaded clip:  105 , ID:  6 , index:  0 , TYPE: Color
qml: Clip clicked 5
Changing selection to (5)  trackIndex -1 isMultitrack false
terminate called after throwing an instance of 'std::out_of_range'
  what():  _Map_base::at
Abandon (core dumped)
Comment 1 emohr 2018-09-14 05:11:43 UTC
Developing still ongoing. I think you don’t can use the refactoring branch at the moment. Even the 18.08-beta18 is not stable. Wait on a further official announcement for testing.