Bug 408226

Summary: Kdenlive crash when loading audio .mp3 to project
Product: [Applications] kdenlive Reporter: Willem <waswart>
Component: Rendering & ExportAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: normal CC: fritzibaby, snd.noise
Priority: NOR Flags: fritzibaby: Brainstorm+
Version First Reported In: 19.04.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Willem 2019-06-02 23:00:52 UTC
SUMMARY
When adding a .mp3 to a project, Kdenlive crashes.

STEPS TO REPRODUCE
1. In empty project, click Add clip
2. Select any .mp3 from file system
3. Click OK

OBSERVED RESULT
Kdenlive crashes.
$ kdenlive --mlt-log debug
| 2019-06-03 10:53:12.479 | [producer avformat] /home/wass/media/audio/pos-vid-music/27-may-2019/mp3/2_angie.mp3
    mlt_service_cache_get: name producer_avformat object 0x7fc4d0007a70
| 2019-06-03 10:53:12.479 | mlt_cache_get: get 0 = 0x7fc4d0007a70, 0x7fc4d00073f0
| 2019-06-03 10:53:12.479 | mlt_consumer.c:1589: T(wait_for_frame_queue)=9442 us
| 2019-06-03 10:53:12.479 | mlt_consumer.c:856: T(mlt_consumer_get_frame)=82 us
| 2019-06-03 10:53:12.480 | [filter avcolor_space] rgb24a -> yuv422 @ 1920x1080 space 709->709
[consumer sdl2_audio] Audio Opened: driver=pulseaudio channels=2 frequency=48000
| 2019-06-03 10:53:12.481 | [filter avcolor_space] yuv422 -> yuv420p @ 1920x1080 space 709->709
| 2019-06-03 10:53:12.482 | [filter deinterlace] error 0 deint 1 prog 1 fmt yuv420p method onefield
| 2019-06-03 10:53:12.482 | TFF in 0 out -1
| 2019-06-03 10:53:12.488 | mlt_consumer.c:900: T(mlt_frame_get_image)=8706 us
| 2019-06-03 10:53:12.488 | [producer avformat] /home/wass/media/audio/pos-vid-music/27-may-2019/mp3/2_angie.mp3
    mlt_service_cache_get: name producer_avformat object 0x7fc4d0007a70
| 2019-06-03 10:53:12.488 | mlt_cache_get: get 0 = 0x7fc4d0007a70, 0x7fc4d00073f0
| 2019-06-03 10:53:12.488 | mlt_consumer.c:856: T(mlt_consumer_get_frame)=73 us
| 2019-06-03 10:53:12.489 | [filter avcolor_space] rgb24a -> yuv422 @ 1920x1080 space 709->709
Floating point exception (core dumped)

EXPECTED RESULT
.mp3 audio file added to project

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 emohr 2019-06-03 15:17:09 UTC
Thank you for reporting. I added the crashlog to issue: https://invent.kde.org/kde/kdenlive/issues/117 as we haven't found the root cause so far.
Comment 2 Willem 2019-07-03 07:42:55 UTC
Fixed on Linux with latest qt5 5.13.0-1 & kdenlive 19.04.2-2
Comment 3 farid 2021-03-04 21:09:25 UTC
Thanks for reporting.