kdenlive crashes on Linux Mint Cinnamon - Aborted (core dumped) - ./nptl/pthread_kill.c: No such file or directory.

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
ElijahG
Level 1
Level 1
Posts: 2
Joined: Sat Mar 18, 2023 9:00 pm

kdenlive crashes on Linux Mint Cinnamon - Aborted (core dumped) - ./nptl/pthread_kill.c: No such file or directory.

Post by ElijahG »

Hi, I and some other people are having an issue with kdenlive(both stable and experimental versions appimage / flatpak) on Linux Mint Cinnamon (there is a KDE bug report at https://bugs.kde.org/show_bug.cgi?id=462777). Kdenlive crashes after two clicks between any kind of tracks (audio/video) with any kind of effects(gain, fade, etc) in the timeline. The last lines of console output are:

Code: Select all

deleting collapsibleeffectview
terminate called after throwing an instance of 'std::out_of_range'
what(): _Map_base::at
Aborted (core dumped)
Only some specific Linux Mint Cinnamon machines seem to be affected. Kdenlive did't crash when I tried replicating the bug on the same computer but in a different desktop environment (KDE Plasma). So, it seems to me that it's connected to Cinnamon somehow. Strangely enough the issue is also absent when I run Kdenlive with sudo on Linux Mint Cinnamon.

I ran Kdenlive with gdb and got this in the log; I have a feeling it might mean something:

Code: Select all

./nptl/pthread_kill.c: No such file or directory.
The full log:

Code: Select all

./nptl/pthread_kill.c: No such file or directory.
The full log: Already logging to gdb.txt.
Starting program: /home/eliotg/Desktop/kdenlive-22.12.2-496-linux-gcc-x86_64.AppImage 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Detaching after fork from child process 13399]
process 13396 is executing new program: /usr/bin/env
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
process 13396 is executing new program: /usr/bin/bash
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Detaching after fork from child process 13404]
[Detaching after fork from child process 13406]
process 13396 is executing new program: /tmp/.mount_kdenliu46xHO/usr/bin/kdenlive
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe55ff640 (LWP 13407)]
[New Thread 0x7fffe4dfe640 (LWP 13408)]
[New Thread 0x7fffd15ff640 (LWP 13409)]
[New Thread 0x7fffd0dfe640 (LWP 13412)]
[New Thread 0x7fffcbbff640 (LWP 13413)]
[New Thread 0x7fffcb3fe640 (LWP 13414)]
[New Thread 0x7fffca1bd640 (LWP 13415)]
[New Thread 0x7fffc8f7c640 (LWP 13416)]
[New Thread 0x7fffa7fff640 (LWP 13417)]
[New Thread 0x7fffa77fe640 (LWP 13418)]
[New Thread 0x7fffa6ffd640 (LWP 13419)]
[New Thread 0x7fffa63fc640 (LWP 13420)]
[New Thread 0x7fffa5bfb640 (LWP 13421)]
[New Thread 0x7fffa49ba640 (LWP 13422)]
[New Thread 0x7fff8b9ff640 (LWP 13423)]
[New Thread 0x7fff8adfe640 (LWP 13424)]
[New Thread 0x7fffe84ef640 (LWP 13425)]
[New Thread 0x7fff8a1fd640 (LWP 13426)]
[New Thread 0x7fff899fc640 (LWP 13427)]
[New Thread 0x7fff891fb640 (LWP 13428)]
[New Thread 0x7fff889fa640 (LWP 13434)]
[New Thread 0x7fff4f080640 (LWP 13435)]
[New Thread 0x7fff4de7f640 (LWP 13437)]
[New Thread 0x7fff4d67e640 (LWP 13438)]
[New Thread 0x7fff4ce7d640 (LWP 13439)]
[Thread 0x7fff889fa640 (LWP 13434) exited]
[Thread 0x7fff8a1fd640 (LWP 13426) exited]
[Thread 0x7fff891fb640 (LWP 13428) exited]
[Thread 0x7fffe84ef640 (LWP 13425) exited]
[Thread 0x7fff899fc640 (LWP 13427) exited]
[New Thread 0x7fffe84ef640 (LWP 13440)]
[New Thread 0x7fff899fc640 (LWP 13441)]
[New Thread 0x7fff891fb640 (LWP 13442)]
[New Thread 0x7fff8a1fd640 (LWP 13443)]
[New Thread 0x7fff889fa640 (LWP 13445)]

Thread 1 "AppRun.wrapped" received signal SIGABRT, Aborted.
__pthread_kill_implementation (no_tid=0, signo=6, threadid=140737266089600) at ./nptl/pthread_kill.c:44
44	./nptl/pthread_kill.c: No such file or directory.
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140737266089600) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=140737266089600) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=140737266089600, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x00007ffff4624476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4  0x00007ffff460a7f3 in __GI_abort () at ./stdlib/abort.c:79
#5  0x00007ffff49b5bbe in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00007ffff49c124c in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x00007ffff49c12b7 in std::terminate() () from /lib/x86_64-linux-gnu/libstdc++.so.6
#8  0x00007ffff49c1518 in __cxa_throw () from /lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007ffff49b84e6 in std::__throw_out_of_range(char const*) () from /lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00000000004cb7de in ?? ()
#11 0x00000000004cbe87 in ?? ()
#12 0x00007ffff4d93a3f in QAbstractItemModel::hasChildren(QModelIndex const&) const () from /tmp/.mount_kdenliu46xHO/usr/lib/libQt5Core.so.5
#13 0x00007ffff6172340 in QAccessibleTableCell::state() const () from /tmp/.mount_kdenliu46xHO/usr/lib/libQt5Widgets.so.5
#14 0x00007fffef9895bf in AtSpiAdaptor::accessibleInterface(QAccessibleInterface*, QString const&, QDBusMessage const&, QDBusConnection const&) ()
   from /tmp/.mount_kdenliu46xHO/usr/lib/libQt5XcbQpa.so.5
#15 0x00007fffef98c46f in AtSpiAdaptor::handleMessage(QDBusMessage const&, QDBusConnection const&) () from /tmp/.mount_kdenliu46xHO/usr/lib/libQt5XcbQpa.so.5
#16 0x00007ffff6474aef in QDBusConnectionPrivate::activateObject(QDBusConnectionPrivate::ObjectTreeNode&, QDBusMessage const&, int) () from /tmp/.mount_kdenliu46xHO/usr/lib/libQt5DBus.so.5
#17 0x00007ffff64771a8 in QDBusActivateObjectEvent::placeMetaCall(QObject*) () from /tmp/.mount_kdenliu46xHO/usr/lib/libQt5DBus.so.5
#18 0x00007ffff4e1f43e in QObject::event(QEvent*) () from /tmp/.mount_kdenliu46xHO/usr/lib/libQt5Core.so.5
#19 0x00007ffff5f277ef in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /tmp/.mount_kdenliu46xHO/usr/lib/libQt5Widgets.so.5
#20 0x00007ffff4df45ea in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /tmp/.mount_kdenliu46xHO/usr/lib/libQt5Core.so.5
#21 0x00007ffff4df7377 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /tmp/.mount_kdenliu46xHO/usr/lib/libQt5Core.so.5
#22 0x00007ffff4e49283 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /tmp/.mount_kdenliu46xHO/usr/lib/libQt5Core.so.5
#23 0x00007ffff38655ad in g_main_context_dispatch () from /tmp/.mount_kdenliu46xHO/usr/lib/libglib-2.0.so.0
#24 0x00007ffff3865800 in ?? () from /tmp/.mount_kdenliu46xHO/usr/lib/libglib-2.0.so.0
#25 0x00007ffff386588f in g_main_context_iteration () from /tmp/.mount_kdenliu46xHO/usr/lib/libglib-2.0.so.0
#26 0x00007ffff4e48954 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /tmp/.mount_kdenliu46xHO/usr/lib/libQt5Core.so.5
#27 0x00007ffff4df316b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /tmp/.mount_kdenliu46xHO/usr/lib/libQt5Core.so.5
#28 0x00007ffff4dfadac in QCoreApplication::exec() () from /tmp/.mount_kdenliu46xHO/usr/lib/libQt5Core.so.5
#29 0x000000000047d890 in ?? ()
#30 0x00007ffff460bd90 in __libc_start_call_main (main=main@entry=0x47bea0, argc=argc@entry=1, argv=argv@entry=0x7fffffffdae8) at ../sysdeps/nptl/libc_start_call_main.h:58
#31 0x00007ffff460be40 in __libc_start_main_impl (main=0x47bea0, argc=1, argv=0x7fffffffdae8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, 
    stack_end=0x7fffffffdad8) at ../csu/libc-start.c:392
#32 0x000000000047f19f in ?? ()
At this point, I am convinced that the bug doesn't originate from kdenlive itself, but perhaps from Cinnamon.
So, does anyone know what's going on here and how to fix it?
Last edited by LockBot on Wed Sep 20, 2023 10:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
mikeflan
Level 17
Level 17
Posts: 7158
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: kdenlive crashes on Linux Mint Cinnamon - Aborted (core dumped) - ./nptl/pthread_kill.c: No such file or directory.

Post by mikeflan »

Thanks for reporting that. Reviews on Kdenlive have been very good over the last 2 years, including the last review 2 months ago.
I guess many people are unaffected by the bug.
tomek_wap
Level 1
Level 1
Posts: 2
Joined: Mon Aug 21, 2023 11:15 am

Re: kdenlive crashes on Linux Mint Cinnamon - Aborted (core dumped) - ./nptl/pthread_kill.c: No such file or directory.

Post by tomek_wap »

I also have this problem since recently. Maybe 2-3 months or so.
I also run Mint Cinnamon.
I mostly use the volume (keyframable) effect, and when I click on another clip, the Kdenlive suddenly quits.

I have tried some other versions of Kdenlive, flatpak, the image ones, but nothing helps.

I have removed that effect from every clip in the timeline, and it's OK.
But that's not a solution.

I've noticed something strange.
When running Kdenlive from the "start" menu, i.e. via clicking on its icon, it runs 23.04.3 version, but when typing "kdenlive" in a terminal, it runs as 23.04.2 version.
It seems like I have two verions installed?? I don't know how.

So I've tried my project with the 23.04.2 version, and with the effects added to all of my clips, and I can jump between one and another w/o Kdenlive quitting. This seems to work only until I click on a clip in the project bin clip list ...

I can't believe this is hapenning :(
Last edited by tomek_wap on Mon Aug 21, 2023 11:53 am, edited 1 time in total.
mintician
Level 3
Level 3
Posts: 110
Joined: Tue May 02, 2023 3:48 am

Re: kdenlive crashes on Linux Mint Cinnamon - Aborted (core dumped) - ./nptl/pthread_kill.c: No such file or directory.

Post by mintician »

I also experienced crashes with the Flatpak version.

Running this command

Code: Select all

mkdir -p ~/.var/app/org.kde.kdenlive/cache/thumbnails/
fixed my issue. Not sure this applies here. Just FYI
Linux Mint 21.1 Cinnamon
ElijahG
Level 1
Level 1
Posts: 2
Joined: Sat Mar 18, 2023 9:00 pm

Re: kdenlive crashes on Linux Mint Cinnamon - Aborted (core dumped) - ./nptl/pthread_kill.c: No such file or directory.

Post by ElijahG »

It's been about 4 months since I had this issue and I've never actually found any descent solution other than reinstalling linux mint entirely.

The last thing I tried on my machine before reinstalling was to create a new user and run kdenlive logged into it. To my surprise, not only did kdenlive not crash, but some cinnamon elements were slightly different (I think I can remember the shutdown menu being different and possibly the settings app).

So, considering all this, I think these crashes aren't only cinnamon-specific, but also user-specific. Perhaps, cinnamon configuration got "corrupted" for my user and maybe the "corruption" was caused by some updates. For now the best solution I can come up with is to let go and reinstall mint, but I suppose one could also switch to a different user.
Hoser Rob
Level 20
Level 20
Posts: 11796
Joined: Sat Dec 15, 2012 8:57 am

Re: kdenlive crashes on Linux Mint Cinnamon - Aborted (core dumped) - ./nptl/pthread_kill.c: No such file or directory.

Post by Hoser Rob »

UNfortunately like many bug reports, that one was filed by someone with no clue how to properly file a bug report. Devs do not have the time or the inclination to hold their hands, esp. when they're unlikely yo have the same systems running.

Also, kdenlive is a known bug fest, has been for years.
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
tomek_wap
Level 1
Level 1
Posts: 2
Joined: Mon Aug 21, 2023 11:15 am

Re: kdenlive crashes on Linux Mint Cinnamon - Aborted (core dumped) - ./nptl/pthread_kill.c: No such file or directory.

Post by tomek_wap »

mintician wrote: Tue Aug 22, 2023 11:28 am I also experienced crashes with the Flatpak version.

Running this command

Code: Select all

mkdir -p ~/.var/app/org.kde.kdenlive/cache/thumbnails/
fixed my issue. Not sure this applies here. Just FYI
the mkdir does not help.

ElijahG wrote: Tue Aug 22, 2023 1:02 pm It's been about 4 months since I had this issue and I've never actually found any descent solution other than reinstalling linux mint entirely.

The last thing I tried on my machine before reinstalling was to create a new user and run kdenlive logged into it. To my surprise, not only did kdenlive not crash, but some cinnamon elements were slightly different (I think I can remember the shutdown menu being different and possibly the settings app).

So, considering all this, I think these crashes aren't only cinnamon-specific, but also user-specific. Perhaps, cinnamon configuration got "corrupted" for my user and maybe the "corruption" was caused by some updates. For now the best solution I can come up with is to let go and reinstall mint, but I suppose one could also switch to a different user.
trying to recreate the bug on a new user (didn't think of it at first) - but need to solve permissions issue to the disk where the project is located.


Re-installing Mint is not an option for now. Too much hassle just for one software.
For the time being I've moved onto Shotcut, well I am trying it out and it seems OK to work with, but it's learning a new software ...

Thnx
Locked

Return to “Software & Applications”