FedoraForum.org - Fedora Support Forums and Community
Results 1 to 13 of 13
  1. #1
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    431

    shotcut-17.09 crashes on f26

    Hi,

    i have created a rpm package of shotcut for f26 and it builds fine, but when i start shotcut it crashes with
    this error message:

    Code:
    [Debug  ] <MainWindow::MainWindow()> begin 
    [Info   ] <GLTestWidget::GLTestWidget(QWidget*)> OpenGL context version 3 0 
    [Debug  ] <Mlt::Controller::Controller()> begin 
    [Info   ] <MLT> plugin_mgr_get_object_file_plugins: error opening shared object file '/usr/lib64/ladspa/ladspa-rubberband.cat': /usr/lib64/ladspa/ladspa-rubberband.cat: invalid ELF header
    [Debug  ] <Mlt::Controller::Controller()> end 
    [Debug  ] <Mlt::GLWidget::GLWidget(QObject*)> begin 
    [Debug  ] <Mlt::GLWidget::GLWidget(QObject*)> end 
    [Debug  ] <MainWindow::setupSettingsMenu> begin 
    libDeckLinkAPI.so: cannot open shared object file: No such file or directory
    [Error  ] <MLT> [ 0x556b73e0bc30] The DeckLink drivers not installed.
    [Debug  ] <MainWindow::setupSettingsMenu> end
    How can I solve this ?

    rpm files:
    shotcut.spec
    shotcut-17.09-1.fc26.src.rpm

  2. #2
    Join Date
    Oct 2011
    Posts
    1,610

    Re: shotcut-17.09 crashes on f26

    Not sure what is exactly wrong, just poking in the dark...

    /usr/lib64/ladspa/ladspa-rubberband.cat - That indeed does not look like a library, I wonder if that is the problem.

    Can you run official binary provided by shotcut?

    https://github.com/mltframework/shot...170904.tar.bz2

  3. #3
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    431

    Re: shotcut-17.09 crashes on f26

    Quote Originally Posted by srakitnican
    Not sure what is exactly wrong, just poking in the dark...

    /usr/lib64/ladspa/ladspa-rubberband.cat - That indeed does not look like a library, I wonder if that is the problem.

    Can you run official binary provided by shotcut?

    https://github.com/mltframework/shot...170904.tar.bz2

    the official shotcut binary works perfectly.
    Last edited by TheBigRed; 12th September 2017 at 07:49 AM.

  4. #4
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    431

    Re: shotcut-17.09 crashes on f26

    Is there a chance to debug the program to find the cause of the error?

  5. #5
    Join Date
    Oct 2011
    Posts
    1,610

    Re: shotcut-17.09 crashes on f26

    Yes with a debugger, see: http://fedoraproject.org/wiki/StackTraces . Me however don't have a clue how to do it, but here's a backtrace if anyone else wants to try:

    Code:
    #0  0x00007ffff766232f in mlt_consumer_stop (self=0x0) at mlt_consumer.c:1635
    #1  0x000055555562f659 in EncodeDock::EncodeDock(QWidget*) (this=
        0x555555f698b0, parent=<optimized out>) at docks/encodedock.cpp:74
    #2  0x00005555555cb2b2 in MainWindow::MainWindow() (this=0x555555ab9110) at mainwindow.cpp:344
    #3  0x00005555555cc845 in MainWindow::singleton() () at mainwindow.cpp:506
    #4  0x00005555555b893c in main(int, char**) (argc=<optimized out>, argv=<optimized out>)
        at main.cpp:264
    Attached Files Attached Files
    Last edited by srakitnican; 12th September 2017 at 08:43 PM. Reason: Full backtrace generated with: thread apply all bt full

  6. #6
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    431

    Re: shotcut-17.09 crashes on f26

    [QUOTE=srakitnican;1794432]Yes with a debugger, see: http://fedoraproject.org/wiki/StackTraces . Me however don't have a clue how to do it, but here's a backtrace if anyone else wants to try:

    [CODE]#0 0x00007ffff766232f in mlt_consumer_stop (self=0x0) at mlt_consumer.c:1635
    #1 0x000055555562f659 in EncodeDock::EncodeDock(QWidget*) (this=
    0x555555f698b0, parent=<optimized out>) at docks/encodedock.cpp:74
    #2 0x00005555555cb2b2 in MainWindow::MainWindow() (this=0x555555ab9110) at mainwindow.cpp:344
    #3 0x00005555555cc845 in MainWindow::singleton() () at mainwindow.cpp:506
    #4 0x00005555555b893c in main(int, char**) (argc=<optimized out>, argv=<optimized out>)
    at main.cpp:264
    [/QUOTE

    I opened a ticket in the shotcut forum and if it is useful I will also post the backtrace there.
    https://forum.shotcut.org/t/cant-run...dora-26/2579/5
    Last edited by TheBigRed; 15th September 2017 at 11:54 AM.

  7. #7
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    431

    Re: shotcut-17.09 crashes on f26

    upstream told me to add some debug messages to the EncodeDock constructor to try to infer where the crash is happening, but i don't know how to do this.

    mltframework/shotcut/blob/master/src/docks/encodedock.cpp#L44

    Code:
        #include <QTimer>
        #include <QFileInfo>
    
        // formulas to map absolute value ranges to percentages as int
        #define TO_ABSOLUTE(min, max, rel) qRound(float(min) + float((max) - (min) + 1) * float(rel) / 100.0f)
        #define TO_RELATIVE(min, max, abs) qRound(100.0f * float((abs) - (min)) / float((max) - (min) + 1))
        static const int kOpenCaptureFileDelayMs = 1500;
    
        static double getBufferSize(Mlt::Properties& preset, const char* property);
    
        EncodeDock::EncodeDock(QWidget *parent) :
        QDockWidget(parent),
        ui(new Ui::EncodeDock),
        m_presets(Mlt::Repository::presets()),
        m_immediateJob(0),
        m_profiles(Mlt::Profile::list()),
        m_isDefaultSettings(true)
        {
        LOG_DEBUG() << "begin";
        ui->setupUi(this);
        ui->stopCaptureButton->hide();

  8. #8
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    431

    Re: shotcut-17.09 crashes on f26

    the mlt package for f26 comes with libraries in version 6.4.1, but shotcut only runs with the newer version
    6.5.0.

    Code:
    /usr/lib64/libmlt++.so.6.4.1
    /usr/lib64/libmlt.so.6.4.1
    I build a newer version with the spec-file from http://pkgs.fedoraproject.org/cgit/r.../tree/mlt.spec
    an took the files from github.
    Code:
    # git clone https://github.com/mltframework/mlt.git mlt-6.5.0
    With this new version shotcut runs fine.

  9. #9
    Join Date
    Oct 2011
    Posts
    1,610

    Re: shotcut-17.09 crashes on f26

    Great, it seems only kdenlive and synfig use this library, so maybe it should not be a big trouble upgrading it. Try to contact maintainer of this library first. If everything else fails you could always bundle it I guess.

  10. #10
    Join Date
    Oct 2011
    Posts
    1,610

    Re: shotcut-17.09 crashes on f26

    Hmm on a better look, 6.4.1 seems to be the latest version released. https://github.com/mltframework/mlt/releases so maybe it should work with it.

  11. #11
    Join Date
    Oct 2011
    Posts
    1,610

    Re: shotcut-17.09 crashes on f26

    In the meantime, I guess you could also use older Shotcut version (16.12 perhaps?), which I would expect to work with currently released MLT version since they were both released at roughly the same time. Included build script just fetches current master tree of MLT from github.

  12. #12
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    431

    Re: shotcut-17.09 crashes on f26

    Quote Originally Posted by srakitnican
    In the meantime, I guess you could also use older Shotcut version (16.12 perhaps?), which I would expect to work with currently released MLT version since they were both released at roughly the same time.
    this combination do not work: mlt-6.4.1 with shotcut-17.09 or shotcut-16.12 or shotcut-16.10 or shotcut-16.06

    Included build script just fetches current master tree of MLT from github.
    ok that the reason, why it fails.
    Last edited by TheBigRed; 15th September 2017 at 01:05 PM.

  13. #13
    Join Date
    Mar 2008
    Location
    Germany
    Posts
    431

    Re: shotcut-17.09 crashes on f26

    mlt-freeworld is compellingly necessary otherwise shotcut coredumps

Similar Threads

  1. K3b crashes
    By tech291083 in forum Using Fedora
    Replies: 14
    Last Post: 8th May 2016, 10:52 AM
  2. Exaile crashes and crashes...
    By RevanKnight in forum Using Fedora
    Replies: 3
    Last Post: 14th January 2011, 08:39 PM
  3. yum crashes
    By roguerx in forum Using Fedora
    Replies: 3
    Last Post: 23rd March 2007, 06:41 PM
  4. gij crashes with $?==139
    By yaraju in forum Programming & Packaging
    Replies: 5
    Last Post: 25th July 2005, 03:24 PM
  5. x.org crashes...
    By greif in forum Using Fedora
    Replies: 3
    Last Post: 19th July 2004, 04:27 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •