Bug 435755 - Kdenlive crashes when importing an .ogg file with album art
Summary: Kdenlive crashes when importing an .ogg file with album art
Status: RESOLVED UPSTREAM
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (other bugs)
Version First Reported In: 20.12.3
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
: 433992 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-04-15 07:43 UTC by Vojtěch Bartoň
Modified: 2021-04-16 18:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Crash log (2.51 KB, text/vnd.kde.kcrash-report)
2021-04-15 07:43 UTC, Vojtěch Bartoň
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vojtěch Bartoň 2021-04-15 07:43:53 UTC
Created attachment 137624 [details]
Crash log

SUMMARY
Adding an .ogg file with album art into the project bin crashes Kdenlive. This doesn't happen with MP3 files. Not sure about other formats though.

STEPS TO REPRODUCE
1. Have an .ogg file with album art
2. Add it into Kdenlive's project bin

OBSERVED RESULT
Kdenlive crashes

EXPECTED RESULT
Import the .ogg file

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro 21.0.1
(available in About System)
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Comment 1 Julius Künzel 2021-04-16 11:52:08 UTC
Thanks for your report! I can confirm the crash.
Comment 2 Julius Künzel 2021-04-16 12:29:48 UTC
I have this problem only with the flatpak, not with my local installation (build form master). However in the flatpak this happens also if try to play the file with the melt cmd tool.

I created this upstream report: https://github.com/mltframework/mlt/issues/704
Comment 3 Julius Künzel 2021-04-16 12:33:07 UTC
Can you try to run this command on the command line (terminal / console)?

$ melt /path/to/file.ogg

Does it crash too (or do you get a "melt: command not found")? What is the output of this command?

$ melt -version
Comment 4 Julius Künzel 2021-04-16 12:52:28 UTC
*** Bug 433992 has been marked as a duplicate of this bug. ***
Comment 5 Vojtěch Bartoň 2021-04-16 17:02:16 UTC
(In reply to Julius Künzel from comment #3)
> Can you try to run this command on the command line (terminal / console)?
> 
> $ melt /path/to/file.ogg
> 
> Does it crash too (or do you get a "melt: command not found")? What is the
> output of this command?
> 
> $ melt -version

Yep, melt crashes for me too:
$ melt song12.ogg

mlt_repository_init: failed to dlopen /usr/lib/mlt/libmltopencv.so
  (libopencv_tracking.so.4.5: sdílený objektový soubor nelze otevřít: Adresář nebo soubor neexistuje)
mlt_repository_init: failed to dlopen /usr/lib/mlt/libmltopengl.so
  (libmovit.so.8: sdílený objektový soubor nelze otevřít: Adresář nebo soubor neexistuje)
mlt_repository_init: failed to dlopen /usr/lib/mlt/libmltrtaudio.so
  (librtaudio.so.6: sdílený objektový soubor nelze otevřít: Adresář nebo soubor neexistuje)
Assertion stream_index < ogg->nstreams failed at libavformat/oggdec.c:943
zsh: abort (core dumped)  melt song12.ogg


$ melt --version

melt 6.24.0
Copyright (C) 2002-2020 Meltytech, LLC
<https://www.mltframework.org/>
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Comment 6 Julius Künzel 2021-04-16 17:19:10 UTC
Okay, thanks for your response! This confirms it is definitively an upstream issue.
Comment 7 Julius Künzel 2021-04-16 18:30:09 UTC
It is fixed upstream now. Sooner or later this will be in kdenlive (can't promise it will be in 21.04). I am closing this now.