Fedora Linux Support Community & Resources Center
  #1  
Old 8th September 2017, 09:04 PM
TheBigRed Offline
Registered User
 
Join Date: Mar 2008
Location: Germany
Posts: 404
linuxfedorafirefox
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
Reply With Quote
  #2  
Old 11th September 2017, 09:16 AM
srakitnican Offline
Registered User
 
Join Date: Oct 2011
Posts: 1,539
linuxchrome
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
Reply With Quote
  #3  
Old 11th September 2017, 10:01 AM
TheBigRed Offline
Registered User
 
Join Date: Mar 2008
Location: Germany
Posts: 404
linuxfedorafirefox
Re: shotcut-17.09 crashes on f26

Quote:
Originally Posted by srakitnican View Post
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.
Reply With Quote
  #4  
Old 12th September 2017, 08:32 AM
TheBigRed Offline
Registered User
 
Join Date: Mar 2008
Location: Germany
Posts: 404
linuxfedorafirefox
Re: shotcut-17.09 crashes on f26

Is there a chance to debug the program to find the cause of the error?
Reply With Quote
  #5  
Old 12th September 2017, 08:29 PM
srakitnican Offline
Registered User
 
Join Date: Oct 2011
Posts: 1,539
linuxchrome
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
File Type: log backtrace.log (27.0 KB, 7 views)

Last edited by srakitnican; 12th September 2017 at 08:43 PM. Reason: Full backtrace generated with: thread apply all bt full
Reply With Quote
  #6  
Old 12th September 2017, 08:39 PM
TheBigRed Offline
Registered User
 
Join Date: Mar 2008
Location: Germany
Posts: 404
linuxfedorafirefox
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.
Reply With Quote
  #7  
Old 14th September 2017, 08:47 PM
TheBigRed Offline
Registered User
 
Join Date: Mar 2008
Location: Germany
Posts: 404
linuxfedorafirefox
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();
Reply With Quote
  #8  
Old 15th September 2017, 08:53 AM
TheBigRed Offline
Registered User
 
Join Date: Mar 2008
Location: Germany
Posts: 404
linuxfedorafirefox
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.
Reply With Quote
  #9  
Old 15th September 2017, 10:36 AM
srakitnican Offline
Registered User
 
Join Date: Oct 2011
Posts: 1,539
linuxchrome
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.
Reply With Quote
  #10  
Old 15th September 2017, 10:47 AM
srakitnican Offline
Registered User
 
Join Date: Oct 2011
Posts: 1,539
linuxchrome
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.
Reply With Quote
  #11  
Old 15th September 2017, 11:03 AM
srakitnican Offline
Registered User
 
Join Date: Oct 2011
Posts: 1,539
linuxchrome
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.
Reply With Quote
  #12  
Old 15th September 2017, 11:52 AM
TheBigRed Offline
Registered User
 
Join Date: Mar 2008
Location: Germany
Posts: 404
linuxfedorafirefox
Re: shotcut-17.09 crashes on f26

Quote:
Originally Posted by srakitnican View Post
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

Quote:
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.
Reply With Quote
Reply

Tags
crashes, f26, shotcut1709

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


Current GMT-time: 05:47 (Saturday, 23-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat