You are not logged in.

#1 2018-01-19 02:59:56

Kale Good
Member
Registered: 2014-08-17
Posts: 46

Help with a kdenlive stack trace?

EDIT: Went to file a bug report, and found the following problem after following their instructions:

$melt video.mp4
[consumer sdl] Failed to initialize SDL: No available video device

I've been having a helluva time with kdenlive. The offical kdenlive package broke pretty bad (can't open files or add clips to projects), so I went and installed the AppImage (after fiddling around with mlt, mlt-git, different ffmpeg versions, freiOr-plugins, etc). That, however, is currently unusable because I can't move the position-marker in the timeline (so I can't jump to any position or mark a spot I want to cut). So I'm back to trying to figure out what's going on with the Arch package.

I thought it was an update of ffmpeg and/or mlt that broke it. However, from my best guess (looking at the change, access, and modified dates of projects I exported), kdenlive was working after those updates (however, if mv would change the metadata of the file, I **might** be wrong about the creation date of the file I"m using for reference).

Right now gdb reports the following trace on attempting to open a file (this is my first time running gdb and I'm just following the debugging guide). It segfaults when trying to open a project file or add a video to the project. I haven't checked to see if it is the same segfault on both instances. I also haven't exhaustively tested to see if other things cause it to segfault; I do recall doing something early on that wasn't a file operation that also caused it to crash.

#0  0x00007ffff7de3ac8 in _dl_relocate_object () at /lib64/ld-linux-x86-64.so.2
#1  0x00007ffff7deb9b3 in dl_open_worker () at /lib64/ld-linux-x86-64.so.2
#2  0x00007ffff03c2b04 in _dl_catch_error () at /usr/lib/libc.so.6
#3  0x00007ffff7deb2fa in _dl_open () at /lib64/ld-linux-x86-64.so.2
#4  0x00007ffff03c20ad in do_dlopen () at /usr/lib/libc.so.6
#5  0x00007ffff03c2b04 in _dl_catch_error () at /usr/lib/libc.so.6
#6  0x00007ffff03c2147 in dlerror_run () at /usr/lib/libc.so.6
#7  0x00007ffff03c21e1 in __libc_dlopen_mode () at /usr/lib/libc.so.6
#8  0x00007fffee3a430c in pthread_cancel_init () at /usr/lib/libpthread.so.0
#9  0x00007fffee3a4504 in _Unwind_ForcedUnwind () at /usr/lib/libpthread.so.0
#10 0x00007fffee3a2521 in __pthread_unwind () at /usr/lib/libpthread.so.0
#11 0x00007fffee39a305 in  () at /usr/lib/libpthread.so.0
#12 0x00007ffff0393da4 in pthread_exit () at /usr/lib/libc.so.6
#13 0x00007fffc05ca312 in  () at /usr/lib/libSDL-1.2.so.0
#14 0x00007fffee39908c in start_thread () at /usr/lib/libpthread.so.0
#15 0x00007ffff0386e1f in clone () at /usr/lib/libc.so.6

What might have broken it?
ffmpeg?
Doubtful, it's updates are on the 29th (1:3.4-4 -> 1:3.4.1-1), after which my machine was definitely working. It's next appearance in the pacman logs is me trying to "fix" it by downgrading it (which didn't work; dependency hell). That doesn't seem to have been the issue.
mlt?
Well, there's a lot of me fiddling around with mlt and mlt-git (I think I was trying to get hardware acceleration to work); however, it looks mlt was what I had settled on while the program was working (that is the version that kdenlive calls for). Again, nothing in the log files until after it was broken.
frei0r?
It was there while it was working, and removing it doesn't fix anything.
movit?
Again, it was there while it was working, and removing it doesn't fix anything.
kdenlive?
Doubtful; log files show
[2017-12-17 09:17] [ALPM] upgraded kdenlive (17.08.1-1 -> 17.12.0-1) (this was part of a system upgrade)
[2018-01-03 22:46] [PACMAN] Running 'pacman -S kdenlive' (this is the command to install or reinstall the program that I manually ran. I'm guessing this was where I learned that I have to recompile if I change mlt versions (which, IIRC, I was doing to try to get hardware decoding))
[2018-01-03 22:46] [ALPM] reinstalled kdenlive (17.12.0-1)
Again, my best guess says kden was working on 01-03, so it seems all these programs are in the clear.

Ok, so those are the things I've seen in other posts that cause a lot of problems. So, thinking more generally, there are 2 system-wide things I can think of that might have had an effect:
1) I messed around with my graphics card driver. However, I'm 99% sure that I'm back to running nvidia-lts.
2) I installed a new bootloader (systemd-boot), ran mkinitcpio, and deleted subdirectories in /boot/ that were leftover from an ubuntu dual-boot.

As best I can guess, the program broke after an update on 01-05. Below is cat/var/log/pacman.log | grep upgraded  for 01-03 (my best guess as to when it was last working) through 01-09 (when the log files show me trying to downgrade to fix the problem, my best guess as to when I first noticed the problem); is there anything in here that might have done it? Glibc is in there; might that be related to the libc.so in the stacktrace?

[2018-01-05 11:18] [ALPM] [2018-01-05 11:18] [ALPM] upgraded apm (1.18.12-1 -> 1.19.0-1)
[2018-01-05 11:18] [ALPM] upgraded bluez (5.47-4 -> 5.48-1)
[2018-01-05 11:18] [ALPM] upgraded bluez-libs (5.47-4 -> 5.48-1)
[2018-01-05 11:18] [ALPM] upgraded json-c (0.12.1-1 -> 0.13-1)
[2018-01-05 11:18] [ALPM] upgraded cryptsetup (2.0.0-1 -> 2.0.0-2)
[2018-01-05 11:18] [ALPM] upgraded bluez-utils (5.47-4 -> 5.48-1)
[2018-01-05 11:18] [ALPM] upgraded chmlib (0.40-4 -> 0.40-5)
[2018-01-05 11:18] [ALPM] upgraded optipng (0.7.6-2 -> 0.7.7-1)
[2018-01-05 11:18] [ALPM] upgraded python2-setuptools (1:38.2.5-1 -> 1:38.3.0-1)
[2018-01-05 11:18] [ALPM] upgraded nvidia-utils (387.34-1 -> 387.34-2)
[2018-01-05 11:18] [ALPM] upgraded qt5-base (5.10.0-1 -> 5.10.0-2)
[2018-01-05 11:18] [ALPM] upgraded calibre (3.14.0-1 -> 3.15.0-1)
[2018-01-05 11:18] [ALPM] upgraded cdrtools (3.02a07-2 -> 3.02a09-1)
[2018-01-05 11:18] [ALPM] upgraded re2 (20171201-1 -> 20180101-1)
[2018-01-05 11:18] [ALPM] upgraded librsvg (2:2.40.20-1 -> 2:2.41.2-1)
[2018-01-05 11:18] [ALPM] upgraded chromium (63.0.3239.108-2 -> 63.0.3239.132-1)
[2018-01-05 11:18] [ALPM] upgraded protobuf (3.4.1-1 -> 3.5.0.1-1)
[2018-01-05 11:18] [ALPM] upgraded clementine (1.3.1-10 -> 1.3.1-11)
[2018-01-05 11:18] [ALPM] upgraded libmagick (7.0.7.16-1 -> 7.0.7.19-1)
[2018-01-05 11:18] [ALPM] upgraded imagemagick (7.0.7.16-1 -> 7.0.7.19-1)
[2018-01-05 11:18] [ALPM] upgraded intel-tbb (2018_20170919-1 -> 2018_20171205-1)
[2018-01-05 11:18] [ALPM] upgraded lcms (1.19-5 -> 1.19-6)
[2018-01-05 11:18] [ALPM] upgraded lib32-libjpeg-turbo (1.5.2-2 -> 1.5.3-1)
[2018-01-05 11:18] [ALPM] upgraded libmagick6 (6.9.9.27-1 -> 6.9.9.31-1)
[2018-01-05 11:18] [ALPM] upgraded libmariadbclient (10.1.29-1 -> 10.1.30-1)
[2018-01-05 11:18] [ALPM] upgraded libnautilus-extension (3.26.2-1 -> 3.26.2-2)
[2018-01-05 11:18] [ALPM] upgraded libnghttp2 (1.28.0-1 -> 1.29.0-1)
[2018-01-05 11:18] [ALPM] upgraded libphonenumber (8.8.5-1 -> 8.8.8-1)
[2018-01-05 11:18] [ALPM] upgraded libupnp (1.6.22-1 -> 1.6.24-1)
[2018-01-05 11:18] [ALPM] upgraded linux (4.14.8-1 -> 4.14.11-1)
[2018-01-05 11:18] [ALPM] upgraded linux-headers (4.14.8-1 -> 4.14.11-1)
[2018-01-05 11:19] [ALPM] upgraded linux-lts (4.9.72-1 -> 4.9.74-1)
[2018-01-05 11:19] [ALPM] upgraded linux-lts-headers (4.9.72-1 -> 4.9.74-1)
[2018-01-05 11:19] [ALPM] upgraded nano (2.9.1-1 -> 2.9.2-1)
[2018-01-05 11:19] [ALPM] upgraded nautilus (3.26.2-1 -> 3.26.2-2)
[2018-01-05 11:19] [ALPM] upgraded nvidia (387.34-14 -> 387.34-17)
[2018-01-05 11:19] [ALPM] upgraded opencl-nvidia (387.34-1 -> 387.34-2)
[2018-01-05 11:19] [ALPM] upgraded python-setuptools (1:38.2.5-1 -> 1:38.3.0-1)
[2018-01-05 11:19] [ALPM] upgraded qt5-webengine (5.10.0-1 -> 5.10.0-2)
[2018-01-08 08:33] [ALPM] upgraded linux-api-headers (4.12.7-1 -> 4.14.8-1)
[2018-01-08 08:33] [ALPM] upgraded glibc (2.26-8 -> 2.26-10)
[2018-01-08 08:34] [ALPM] upgraded gcc-libs (7.2.1-2 -> 7.2.1+20171224-1)
[2018-01-08 08:34] [ALPM] upgraded aspell-en (2016.06.26-1 -> 2017.08.24-1)
[2018-01-08 08:34] [ALPM] upgraded cryptsetup (2.0.0-2 -> 2.0.0-5)
[2018-01-08 08:34] [ALPM] upgraded e2fsprogs (1.43.7-1 -> 1.43.8-1)
[2018-01-08 08:34] [ALPM] upgraded nvidia-utils (387.34-2 -> 387.34-4)
[2018-01-08 08:34] [ALPM] upgraded atom (1.23.1-1 -> 1.23.2-1)
[2018-01-08 08:34] [ALPM] upgraded binutils (2.29.1-1 -> 2.29.1-2)
[2018-01-08 08:34] [ALPM] upgraded boost-libs (1.65.1-2 -> 1.66.0-1)
[2018-01-08 08:34] [ALPM] upgraded openimageio (1.7.17-1 -> 1.7.17-2)
[2018-01-08 08:34] [ALPM] upgraded openshadinglanguage (1.7.6-2 -> 1.7.6-3)
[2018-01-08 08:34] [ALPM] upgraded zstd (1.3.2-1 -> 1.3.3-1)
[2018-01-08 08:35] [ALPM] upgraded openvdb (4.0.2-2 -> 4.0.2-4)
[2018-01-08 08:35] [ALPM] upgraded python-setuptools (1:38.3.0-1 -> 1:38.4.0-1)
[2018-01-08 08:35] [ALPM] upgraded blender (17:2.79-7 -> 17:2.79-8)
[2018-01-08 08:35] [ALPM] upgraded boost (1.65.1-2 -> 1.66.0-1)
[2018-01-08 08:35] [ALPM] upgraded cgal (4.11-1 -> 4.11-2)
[2018-01-08 08:35] [ALPM] upgraded chromium (63.0.3239.132-1 -> 63.0.3239.132-2)
[2018-01-08 08:35] [ALPM] upgraded firefox (57.0.3-1 -> 57.0.4-1)
[2018-01-08 08:35] [ALPM] upgraded gcc (7.2.1-2 -> 7.2.1+20171224-1)
[2018-01-08 08:35] [ALPM] upgraded vim-runtime (8.0.1415-1 -> 8.0.1415-2)
[2018-01-08 08:35] [ALPM] upgraded gvim (8.0.1415-1 -> 8.0.1415-2)
[2018-01-08 08:35] [ALPM] upgraded libmagick (7.0.7.19-1 -> 7.0.7.21-1)
[2018-01-08 08:35] [ALPM] upgraded imagemagick (7.0.7.19-1 -> 7.0.7.21-1)
[2018-01-08 08:35] [ALPM] upgraded iw (4.9-2 -> 4.14-1)
[2018-01-08 08:36] [ALPM] upgraded lib32-glibc (2.26-8 -> 2.26-10)
[2018-01-08 08:36] [ALPM] upgraded lib32-gcc-libs (7.2.1-2 -> 7.2.1+20171224-1)
[2018-01-08 08:36] [ALPM] upgraded libabw (0.1.1-2 -> 0.1.2-1)
[2018-01-08 08:36] [ALPM] upgraded libatomic_ops (7.4.8-1 -> 7.6.2-1)
[2018-01-08 08:36] [ALPM] upgraded libcmis (0.5.1-7 -> 0.5.1-8)
[2018-01-08 08:36] [ALPM] upgraded libe-book (0.1.2-8 -> 0.1.3-1)
[2018-01-08 08:36] [ALPM] upgraded libixion (0.12.2-3 -> 0.12.2-4)
[2018-01-08 08:36] [ALPM] upgraded libmagick6 (6.9.9.31-1 -> 6.9.9.33-1)
[2018-01-08 08:36] [ALPM] upgraded libmspub (0.1.2-8 -> 0.1.3-1)
[2018-01-08 08:36] [ALPM] upgraded liborcus (0.12.1-3 -> 0.12.1-4)
[2018-01-08 08:36] [ALPM] upgraded protobuf (3.5.0.1-1 -> 3.5.1.1-1)
[2018-01-08 08:36] [ALPM] upgraded libphonenumber (8.8.8-1 -> 8.8.8-2)
[2018-01-08 08:36] [ALPM] upgraded linux (4.14.11-1 -> 4.14.12-1)
[2018-01-08 08:36] [ALPM] upgraded linux-headers (4.14.11-1 -> 4.14.12-1)
[2018-01-08 08:36] [ALPM] upgraded linux-lts (4.9.74-1 -> 4.9.75-1)
[2018-01-08 08:36] [ALPM] upgraded linux-lts-headers (4.9.74-1 -> 4.9.75-1)
[2018-01-08 08:36] [ALPM] upgraded lua52-luajson (1.3.3-2 -> 1.3.4-1)
[2018-01-08 08:36] [ALPM] upgraded lyx (2.2.3-5 -> 2.2.3-6)
[2018-01-08 08:36] [ALPM] upgraded mupen64plus (2.5-9 -> 2.5-10)
[2018-01-08 08:36] [ALPM] upgraded nvidia (387.34-17 -> 387.34-18)
[2018-01-08 08:36] [ALPM] upgraded nvidia-lts (387.34-4 -> 387.34-5)
[2018-01-08 08:37] [ALPM] upgraded opencl-nvidia (387.34-2 -> 387.34-4)
[2018-01-08 08:37] [ALPM] upgraded openscad (2015.03.03-13 -> 2015.03.03-14)
[2018-01-08 08:37] [ALPM] upgraded python2-html5lib (1.0.1-1 -> 1.0.1-2)
[2018-01-08 08:37] [ALPM] upgraded python2-msgpack (0.4.8-2 -> 0.5.0-2)
[2018-01-08 08:37] [ALPM] upgraded python2-setuptools (1:38.3.0-1 -> 1:38.4.0-1)
[2018-01-08 08:37] [ALPM] upgraded ruby (2.4.3-1 -> 2.5.0-1)
[2018-01-08 08:37] [ALPM] upgraded subversion (1.9.7-3 -> 1.9.7-4)
[2018-01-08 08:37] [ALPM] upgraded supercollider (3.8.0-3 -> 3.8.0-4)
[2018-01-08 08:37] [ALPM] upgraded tensorflow (1.4.1-2 -> 1.4.1-3)
[2018-01-08 08:37] [ALPM] upgraded wxgtk-common (3.0.3.1-9 -> 3.0.3.1-10)
[2018-01-08 08:37] [ALPM] upgraded wxgtk2 (3.0.3.1-9 -> 3.0.3.1-10)
[2018-01-08 08:37] [ALPM] upgraded wxgtk3 (3.0.3.1-9 -> 3.0.3.1-10)
[2018-01-08 08:37] [ALPM] upgraded xapian-core (1:1.4.4-1 -> 1:1.4.5-1)
[2018-01-08 08:37] [ALPM] upgraded xfsprogs (4.13.1-1 -> 4.14.0-1)
[2018-01-08 13:59] [ALPM] upgraded nvidia-utils (387.34-4 -> 387.34-5)
[2018-01-08 13:59] [ALPM] upgraded blender (17:2.79-8 -> 17:2.79-9)
[2018-01-08 13:59] [ALPM] upgraded jansson (2.10-2 -> 2.10-3)
[2018-01-08 13:59] [ALPM] upgraded opencl-nvidia (387.34-4 -> 387.34-5)
[2018-01-08 13:59] [ALPM] upgraded shotwell (2:0.26.3-1 -> 2:0.26.4-1)
[2018-01-08 22:39] [ALPM] upgraded argon2 (20171227-2 -> 20171227-3)
[2018-01-08 22:39] [ALPM] upgraded fcron (3.2.1-2 -> 3.2.1-3)
[2018-01-08 22:39] [ALPM] upgraded lib32-acl (2.2.52-2 -> 2.2.52-3)
[2018-01-08 22:39] [ALPM] upgraded openssh (7.6p1-1 -> 7.6p1-2)
[2018-01-09 11:06] [ALPM] upgraded archlinux-keyring (20171213-1 -> 20180108-1)
[2018-01-09 11:06] [ALPM] upgraded gcc-libs (7.2.1+20171224-1 -> 7.2.1+20171224-2)
[2018-01-09 11:06] [ALPM] upgraded gcc (7.2.1+20171224-1 -> 7.2.1+20171224-2)
[2018-01-09 11:06] [ALPM] upgraded inkscape (0.92.2-7 -> 0.92.2-8)
[2018-01-09 11:06] [ALPM] upgraded lib32-gcc-libs (7.2.1+20171224-1 -> 7.2.1+20171224-2)
[2018-01-09 11:06] [ALPM] upgraded perl-uri (1.72-2 -> 1.73-1)
[2018-01-09 22:29] [ALPM] upgraded ghostscript (9.22-6 -> 9.22-7)
[2018-01-09 22:29] [ALPM] upgraded libgdiplus (4.2-2 -> 5.6-1)
[2018-01-09 22:29] [ALPM] upgraded libupnp (1.6.24-1 -> 1.6.24-2)
[2018-01-09 22:29] [ALPM] upgraded netctl (1.14-1 -> 1.15-1)
[2018-01-09 22:29] [ALPM] upgraded osinfo-db (20170423-1 -> 20170813-1)

Looking through installed and deleted files for that time, I can't find anything that I could imagine would affect kdenlive.

Thanks for the help.

Last edited by Kale Good (2018-01-19 03:28:03)

Offline

Board footer

Powered by FluxBB