Bug 424759 - mlt crashes (core dump) with every rendering attempt
Summary: mlt crashes (core dump) with every rendering attempt
Status: RESOLVED UPSTREAM
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Display & Export (show other bugs)
Version: 20.04.3
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-28 15:39 UTC by Martin Ueding
Modified: 2020-08-09 13:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
fritzibaby: timeline_corruption+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Ueding 2020-07-28 15:39:07 UTC
I have tried to render a little project and for any codec that I choose I get a crash. The syslog gives me this:

Jul 28 09:52:34 mu-x220 systemd-coredump[82646]:
  Process 82642 (mlt-melt) of user 1000 dumped core.
                                                 
  Stack trace of thread 82642:
  #0  0x00007f5b859ad9e5 raise (libc.so.6 + 0x3c9e5)
  #1  0x00007f5b85996895 abort (libc.so.6 + 0x25895)
  #2  0x00007f5b7d8f1a7f _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x91a7f)
  #3  0x00007f5b7de65e85 _ZN13QFontDatabaseC2Ev.cold (libQt5Gui.so.5 + 0xeae85)
  #4  0x00007f5b746ca5cb _ZL5fontsv (libpbf.so + 0x2e5cb)
  #5  0x00007f5b746caa85 _ZN4Font13fromJsonArrayERK10QJsonArray (libpbf.so + 0x2ea85)
  #6  0x00007f5b746ba879 _ZN5Style5Layer6LayoutC1ERK11QJsonObject (libpbf.so + 0x1e879)
  #7  0x00007f5b746beee7 _ZN5Style5LayerC1ERK11QJsonObject (libpbf.so + 0x22ee7)
  #8  0x00007f5b746c08a0 _ZN5Style4loadERK7QString (libpbf.so + 0x248a0)
  #9  0x00007f5b746b5a88 _ZN9PBFPluginC2Ev (libpbf.so + 0x19a88)
  #10 0x00007f5b746d5375 qt_plugin_instance (libpbf.so + 0x39375)
  #11 0x00007f5b7dab3564 _ZN15QLibraryPrivate14pluginInstanceEv (libQt5Core.so.5 + 0x253564)
  #12 0x00007f5b7daae16d _ZNK14QFactoryLoader8instanceEi (libQt5Core.so.5 + 0x24e16d)
  #13 0x00007f5b7def0fa6 _ZL23createReadHandlerHelperP9QIODeviceRK10QByteArraybb (libQt5Gui.so.5 + 0x175fa6)
  #14 0x00007f5b7def1d84 _ZN19QImageReaderPrivate11initHandlerEv (libQt5Gui.so.5 + 0x176d84)
  #15 0x00007f5b7def27e0 _ZNK12QImageReader7canReadEv (libQt5Gui.so.5 + 0x1777e0)
  #16 0x00007f5b7ebc17fa init_qimage (libmltqt.so + 0x167fa)
  #17 0x00007f5b7ebbcdf5 producer_qimage_init (libmltqt.so + 0x11df5)
  #18 0x00007f5b85cf6542 mlt_factory_producer (libmlt.so.6 + 0x29542)
  #19 0x00007f5b7ea5308e create_producer (libmltcore.so + 0xa08e)
  #20 0x00007f5b7ea536a9 producer_loader_init (libmltcore.so + 0xa6a9)
  #21 0x00007f5b85cf6542 mlt_factory_producer (libmlt.so.6 + 0x29542)
  #22 0x00007f5b85d17c90 on_end_element (libmltxml.so + 0x9c90)
  #23 0x00007f5b856a10cd xmlParseEndTag1.constprop.0 (libxml2.so.2 + 0x4a0cd)
  #24 0x00007f5b856a11c4 xmlParseElementEnd (libxml2.so.2 + 0x4a1c4)
  #25 0x00007f5b856a5721 xmlParseContent (libxml2.so.2 + 0x4e721)
  #26 0x00007f5b856a6dc0 xmlParseDocument (libxml2.so.2 + 0x4fdc0)
  #27 0x00007f5b85d18dce producer_xml_init (libmltxml.so + 0xadce)
  #28 0x00007f5b85cf6542 mlt_factory_producer (libmlt.so.6 + 0x29542)
  #29 0x00007f5b7ea532a1 create_producer (libmltcore.so + 0xa2a1)
  #30 0x00007f5b7ea536a9 producer_loader_init (libmltcore.so + 0xa6a9)
  #31 0x00007f5b85cf6542 mlt_factory_producer (libmlt.so.6 + 0x29542)
  #32 0x00007f5b7ea547fa producer_melt_init (libmltcore.so + 0xb7fa)
  #33 0x00007f5b85cf6542 mlt_factory_producer (libmlt.so.6 + 0x29542)
  #34 0x0000558ec88772b5 main (mlt-melt + 0x32b5)
  #35 0x00007f5b85998042 __libc_start_main (libc.so.6 + 0x27042)
  #36 0x0000558ec887838e _start (mlt-melt + 0x438e)


I have just installed kdenlive from the Fedora 32 packages. Unfortunately their backtrace infrastructure is being migrated, and they suggested that I open a bug report here.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 32
KDE Plasma Version: 20.04.1
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2
Comment 1 emohr 2020-08-07 15:43:46 UTC
Please try with the current Kdenlive AppImage version 20.04.1b 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 Martin Ueding 2020-08-09 11:56:15 UTC
I have tried the 20.04b AppImage and with that I was able to export the video just fine. I have reported the issue with Fedora as it seems to be a downstream problem.

https://bugzilla.redhat.com/show_bug.cgi?id=1867377
Comment 3 emohr 2020-08-09 13:20:58 UTC
Thank you for the feedback and contribution. Glad to hear it works.