Bug 257532 - multimedia/mlt6: kdenlive crashes after recent changes
Summary: multimedia/mlt6: kdenlive crashes after recent changes
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-kde (Team)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-01 13:47 UTC by Stefan Ehmann
Modified: 2021-08-01 15:21 UTC (History)
1 user (show)

See Also:
tcberner: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Ehmann 2021-08-01 13:47:25 UTC
First, kdenlive complained that SDL or rtaudio must be enabled. After recompiling with SDL2=on, the KDE crash handler pops up:

Application: Kdenlive (kdenlive), signal: Segmentation fault

[KCrash Handler]
#7  0x00000008020a2ec1 in mlt_service_connect_producer () at /usr/local/lib/libmlt.so.6
#8  0x00000000006bc86a in  ()
#9  0x00000000006baf47 in  ()
#10 0x00000000006b9722 in  ()
#11 0x0000000000850114 in  ()
#12 0x000000000084efeb in  ()
#13 0x000000000084e66f in  ()
#14 0x0000000803c6683d in QObject::event(QEvent*) () at /usr/local/lib/qt5/libQt5Core.so.5
#15 0x000000080269bda9 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
#16 0x000000080269d2b3 in QApplication::notify(QObject*, QEvent*) () at /usr/local/lib/qt5/libQt5Widgets.so.5
#17 0x0000000803c3b980 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/local/lib/qt5/libQt5Core.so.5
#18 0x0000000803c3c9f9 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/local/lib/qt5/libQt5Core.so.5
#19 0x0000000803c948b8 in  () at /usr/local/lib/qt5/libQt5Core.so.5
#20 0x000000080524c12e in g_main_context_dispatch () at /usr/local/lib/libglib-2.0.so.0
#21 0x000000080524c4d4 in  () at /usr/local/lib/libglib-2.0.so.0
#22 0x000000080524c596 in g_main_context_iteration () at /usr/local/lib/libglib-2.0.so.0
#23 0x0000000803c942f0 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/local/lib/qt5/libQt5Core.so.5
#24 0x0000000803c37f17 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/local/lib/qt5/libQt5Core.so.5
#25 0x0000000803c3c01e in QCoreApplication::exec() () at /usr/local/lib/qt5/libQt5Core.so.5
#26 0x000000000048134a in  ()
#27 0x000000000047dcdf in  ()
#28 0x000000000047dbe0 in  ()
#29 0x0000000000000000 in  ()
[Inferior 1 (process 62830) detached]
Comment 1 Tobias C. Berner freebsd_committer 2021-08-01 14:09:21 UTC
Moin moin 

Sorry for the breakage, I guess I was a bit too restrictitve in the default-options. 

Could you try with the XML option ON too? I think that one is required for kdenlive.

(I have AVFORMAT, FREI0R, GDK, KDENLIVE, PLUS, PLUSGPL, RESAMPLE, RTAUDIO, SDL2, SOX, VIDSTAB, VORIBS and XML on, and kdenlive starts).



mfg Tobias
Comment 2 Stefan Ehmann 2021-08-01 14:53:55 UTC
Thanks for the quick reply.

Enabling XML also fixes the crash for me.
Comment 3 commit-hook freebsd_committer 2021-08-01 15:21:08 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a0b4d4e12f173b0c7fee22c44bb88b894babf9b7

commit a0b4d4e12f173b0c7fee22c44bb88b894babf9b7
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2021-08-01 15:18:55 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2021-08-01 15:20:29 +0000

    multimedia/mlt6: make default options work for multimedia/kdenlive

    PR:             257532
    Reported by:    Stefan Ehmann <shoesoft@gmx.net>

 multimedia/mlt6/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Comment 4 Tobias C. Berner freebsd_committer 2021-08-01 15:21:37 UTC
Committed. 

mfg Tobias