Bug 407082

Summary: Crash on track split + overlap
Product: [Applications] kdenlive Reporter: b3_1987
Component: Video Effects & TransitionsAssignee: Vincent PINON <vpinon>
Status: RESOLVED WORKSFORME    
Severity: crash CC: fritzibaby
Priority: NOR Flags: fritzibaby: timeline_corruption+
Version First Reported In: 19.04.0   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description b3_1987 2019-04-30 09:59:49 UTC
When trying to split a track, then overlap the 2 parts and add a wipe effect between them, if I want to play and see the transition then Kdenlive crashes.

I'm using another project, inserted into the current project (I use the first project to "stitch" together the videos, and then import it into the second project in order to have it act as one single video). Besides the fact that it is imported with a wrong duration (about 40% longer than in reality - with black at the end), after correcting the duration it often crashes when splitting the track.

STEPS TO REPRODUCE
1. Create a new project and import an existing Kdenlive project (same framerate) into this project. Insert the project into the timeline and crop the last part of the track (the extra black part - another reported bug).
2. Split the track (right click - Split at playhead) twice, delete the part between the 2 split points.
3. Move the last part to overlap the first and insert a wipe effect between the 2 track parts. 
4. Move the playhead before the split/overlap zone and try to play the project, in order to see the transition.

OBSERVED RESULT
Kdenlive plays up to the overlap zone, then stops and the program crashes.


EXPECTED RESULT
It should play the transition.


SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.57.0
Qt Version: 5.12.3
Kernel Version: 4.19.36-1-MANJARO
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 23,3 GiB of RAM


ADDITIONAL INFORMATION
Debug info in the terminal ends with:
[mpegts @ 0x7f61c6a8de00] PES packet size mismatch
[mpegts @ 0x7f61c6a8de00] PES packet size mismatch
[mpegts @ 0x7f61c6aca500] PES packet size mismatch
[mpegts @ 0x7f61c6ab44c0] PES packet size mismatch
[mpegts @ 0x7f625bac9a40] PES packet size mismatch
[mpegts @ 0x7f625bac9a40] PES packet size mismatch
[mpegts @ 0x7f625bac9a40] PES packet size mismatch
[mpegts @ 0x7f625bac9a40] PES packet size mismatch
[mpegts @ 0x7f625bac9a40] PES packet size mismatch
[mpegts @ 0x7f625bac9a40] PES packet size mismatch
[h264 @ 0x7f6259477740] co located POCs unavailable
[mpegts @ 0x7f61c6aca500] PES packet size mismatch
[mpegts @ 0x7f61c6aca500] PES packet size mismatch
[mpegts @ 0x7f61c6aca500] PES packet size mismatch
[mpegts @ 0x7f61c6aca500] PES packet size mismatch
[mpegts @ 0x7f61c6aca500] PES packet size mismatch
[mpegts @ 0x7f61c6aca500] PES packet size mismatch
[h264 @ 0x7f61c6a924c0] top block unavailable for requested intra mode
[h264 @ 0x7f61c6a924c0] error while decoding MB 14 0, bytestream 236376
[h264 @ 0x7f61c6ab3640] top block unavailable for requested intra mode
[h264 @ 0x7f61c6ab3640] error while decoding MB 17 0, bytestream 26609
[h264 @ 0x7f61c577e440] top block unavailable for requested intra mode
[h264 @ 0x7f61c577e440] error while decoding MB 34 0, bytestream 244905
Assertion src->f->buf[0] failed at libavcodec/h264_picture.c:71
[1]    16119 abort (core dumped)  kdenlive
Comment 1 emohr 2019-06-13 16:49:55 UTC
Please try with the current Kdenlive AppImage version 19.04.2d to see if there are any packaging issues https://files.kde.org/kdenlive/release/ 

If the problem/issue doesn't occur when using the AppImage, then it's your configuration or packaging.
Comment 2 Bug Janitor Service 2019-06-28 04:33:10 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2019-07-13 04:33:10 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!