[Slackbuilds-users] shotcut 16.09 error.
Larry Hajali
larryhaja at gmail.com
Wed Sep 14 06:51:08 UTC 2016
>
> I am getting a segmentation fault with shotcut 16.09 when running the
> application. Mlt seems to be causing the segmentation fault. Compiles with
> out problems.
>
> bash-4.3$ ./shotcut
> [Info ] <Application::Application(int&, char**)> Starting Shotcut
> version 16.09.13
> [Info ] <Application::Application(int&, char**)> Linux version
> [Info ] <Application::Application(int&, char**)> number of logical
> cores = 8
> [Info ] <Application::Application(int&, char**)> locale =
> QLocale(English, Latin, UnitedStates)
> [Info ] <Application::Application(int&, char**)> install dir =
> "/home/userx/Downloads/slackbuilds/shotcut/shotcut/
> src/shotcut/src/build/src"
> [Info ] <Application::Application(int&, char**)> device pixel ratio = 1
> [Debug ] <ShotcutSettings::singleton> language "en_US"
> [Debug ] <ShotcutSettings::singleton> deinterlacer "onefield"
> [Debug ] <ShotcutSettings::singleton> external monitor ""
> [Debug ] <ShotcutSettings::singleton> GPU processing false
> [Debug ] <ShotcutSettings::singleton> interpolation "nearest"
> [Debug ] <ShotcutSettings::singleton> video mode ""
> [Debug ] <ShotcutSettings::singleton> realtime true
> [Debug ] <MainWindow::changeTheme> begin
> [Debug ] <MainWindow::changeTheme> end
> [Debug ] <MainWindow::MainWindow()> begin
> [Info ] <GLTestWidget::GLTestWidget(QWidget*)> OpenGL context version 4
> 5
> [Debug ] <Mlt::Controller::Controller()> begin
> Segmentation fault
> --
>
I get the same error when building a new version of shotcut. The problem
is that shotcut is built with qt5 pulls in mlt plugin
/usr/lib{,64}/mlt/libmltqt.so, which is built with qt.
bash-4.3$ strace /usr/bin/shotcut
....
open("/usr/lib64/mlt/libmltqt.so", O_RDONLY|O_CLOEXEC) = 17
read(17,
"\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\331\0\0\0\0\0\0"...,
832) = 832
fstat(17, {st_mode=S_IFREG|0755, st_size=148664, ...}) = 0
mmap(NULL, 2243816, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 17, 0)
= 0x7f1d374b5000
mprotect(0x7f1d374d7000, 2097152, PROT_NONE) = 0
mmap(0x7f1d376d7000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 17, 0x22000) = 0x7f1d376d7000
close(17) = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 17
fstat(17, {st_mode=S_IFREG|0644, st_size=240904, ...}) = 0
mmap(NULL, 240904, PROT_READ, MAP_PRIVATE, 17, 0) = 0x7f1d6009b000
close(17) = 0
open("/usr/lib64/libQtXml.so.4", O_RDONLY|O_CLOEXEC) = 17
read(17,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\r\1\0\0\0\0\0"..., 832) =
832
fstat(17, {st_mode=S_IFREG|0755, st_size=284360, ...}) = 0
mmap(NULL, 2379496, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 17, 0)
= 0x7f1d37270000
mprotect(0x7f1d372b3000, 2097152, PROT_NONE) = 0
mmap(0x7f1d374b3000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 17, 0x43000) = 0x7f1d374b3000
close(17) = 0
open("/usr/lib64/libQtSvg.so.4", O_RDONLY|O_CLOEXEC) = 17
read(17, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 I\1\0\0\0\0\0"...,
832) = 832
fstat(17, {st_mode=S_IFREG|0755, st_size=366000, ...}) = 0
mmap(NULL, 2461128, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 17, 0)
= 0x7f1d37017000
mprotect(0x7f1d3706e000, 2093056, PROT_NONE) = 0
mmap(0x7f1d3726d000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 17, 0x56000) = 0x7f1d3726d000
close(17) = 0
open("/usr/lib64/libQtOpenGL.so.4", O_RDONLY|O_CLOEXEC) = 17
read(17,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\275\2\0\0\0\0\0"..., 832)
= 832
fstat(17, {st_mode=S_IFREG|0755, st_size=1050384, ...}) = 0
mmap(NULL, 3149304, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 17, 0)
= 0x7f1d36d16000
mprotect(0x7f1d36e0f000, 2093056, PROT_NONE) = 0
mmap(0x7f1d3700e000, 32768, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 17, 0xf8000) = 0x7f1d3700e000
mmap(0x7f1d37016000, 3576, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1d37016000
close(17) = 0
open("/usr/lib64/libQtGui.so.4", O_RDONLY|O_CLOEXEC) = 17
read(17,
"\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\317\36\0\0\0\0\0"..., 832)
= 832
fstat(17, {st_mode=S_IFREG|0755, st_size=11504728, ...}) = 0
mmap(NULL, 13613152, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 17, 0)
= 0x7f1d3601a000
mprotect(0x7f1d36ac2000, 2093056, PROT_NONE) = 0
mmap(0x7f1d36cc1000, 335872, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 17, 0xaa7000) = 0x7f1d36cc1000
mmap(0x7f1d36d13000, 10336, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1d36d13000
close(17) = 0
open("/usr/lib64/libQtCore.so.4", O_RDONLY|O_CLOEXEC) = 17
read(17,
"\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0'\10\0\0\0\0\0"..., 832) =
832
fstat(17, {st_mode=S_IFREG|0755, st_size=3119528, ...}) = 0
mmap(NULL, 5217896, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 17, 0)
= 0x7f1d35b20000
mprotect(0x7f1d35e0b000, 2093056, PROT_NONE) = 0
mmap(0x7f1d3600a000, 65536, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 17, 0x2ea000) = 0x7f1d3600a000
close(17) = 0
mprotect(0x7f1d376d7000, 4096, PROT_READ) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_ACCERR, si_addr=0x7f1d7fd7b5c0}
---
+++ killed by SIGSEGV +++
Segmentation fault
bash-4.3$ ldd /usr/lib64/mlt/libmltqt.so | grep -i qt
libQtXml.so.4 => /usr/lib64/libQtXml.so.4 (0x00007f136b346000)
libQtSvg.so.4 => /usr/lib64/libQtSvg.so.4 (0x00007f136b0ec000)
libQtOpenGL.so.4 => /usr/lib64/libQtOpenGL.so.4 (0x00007f136adeb000)
libQtGui.so.4 => /usr/lib64/libQtGui.so.4 (0x00007f136a0ef000)
libQtCore.so.4 => /usr/lib64/libQtCore.so.4 (0x00007f1369bf4000)
Replacing --qimage-libdir=${QT4DIR}/qt/lib
and --qimage-includedir=${QT4DIR}/qt/include
with --qt-libdir=/usr/lib${LIBDIRSUFFIX}
and --qt-includedir=/usr/include/qt5 in the mlt.slackbuild will build
libmltqt.so plugin with qt5.
--Larry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20160913/e3c6f1c7/attachment-0001.html>
More information about the SlackBuilds-users
mailing list