Bug 463465 - Importing large H256 videos (150GB+) causing constant crashing.
Summary: Importing large H256 videos (150GB+) causing constant crashing.
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Display & Export (show other bugs)
Version: git-master
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-25 20:14 UTC by Norbert
Modified: 2023-09-21 14:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Norbert 2022-12-25 20:14:09 UTC
SUMMARY:
***
KdenLive crashes every time I try to import 20 H.256 video files totaling 300GB. It crashes after about 150GB have been imported. I have 32GB of RAM, but only saw 20GB utilization before the crash.

This was tested on lates ArchLinux vanilla Package and the git-master build.
***


STEPS TO REPRODUCE:
1. Start KDE
2. Import Big mkv files (about 20GB per File)

OBSERVED RESULT:
It freeze/crashe after about 9/23 were imported

SOFTWARE/OS VERSIONS:
KdenLive: 23.03.70 (2646520063f5ee0b9dff8d0e949d3edb82dbc541)
Linux/KDE Plasma: ArchLinux 6.1.1 x64
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7

SPECS:
CPU: Ryzen 9 7950X
GPU: RX 6900 XT
RAM: 2x16GB DDR5 6000Mhz (swappines=10)
Session: X11

DEBUG:
'''
Thread 1 "kdenlive" received signal SIGSEGV, Segmentation fault.
0x00007ffff4cdfcab in QMutex::lock() () from /usr/lib/libQt5Core.so.5
(gdb) bt
#0  0x00007ffff4cdfcab in QMutex::lock() () at /usr/lib/libQt5Core.so.5
#1  0x00007ffff4e8c37f in QCoreApplicationPrivate::lockThreadPostEventList(QObject*) () at /usr/lib/libQt5Core.so.5
#2  0x00007ffff4e8d502 in QCoreApplication::postEvent(QObject*, QEvent*, int) () at /usr/lib/libQt5Core.so.5
#3  0x0000555555a846f1 in TaskManager::slotCancelJobs(QVector<AbstractTask::JOBTYPE>) (this=0x5555566ff298, exceptions=...) at /home/sandwich/Stuff/Git/kdenlive/src/jobs/taskmanager.cpp:152
#4  0x0000555555eb3b2c in Core::cleanup() (this=0x5555566ff280) at /home/sandwich/Stuff/Git/kdenlive/src/core.cpp:1329
#5  0x0000555555bd5acb in ProjectManager::closeCurrentDocument(bool, bool) (this=0x555556c177a0, saveChanges=true, quit=true) at /home/sandwich/Stuff/Git/kdenlive/src/project/projectmanager.cpp:328
#6  0x0000555555eee570 in MainWindow::queryClose() (this=0x555556aec410) at /home/sandwich/Stuff/Git/kdenlive/src/mainwindow.cpp:963
#7  0x00007ffff76d27ed in KMainWindow::closeEvent(QCloseEvent*) () at /usr/lib/libKF5XmlGui.so.5
#8  0x0000555555f02641 in MainWindow::closeEvent(QCloseEvent*) (this=0x555556aec410, event=0x7fffffffc8d0) at /home/sandwich/Stuff/Git/kdenlive/src/mainwindow.cpp:2520
#9  0x00007ffff61af348 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#10 0x00007ffff770427e in KXmlGuiWindow::event(QEvent*) () at /usr/lib/libKF5XmlGui.so.5
#11 0x00007ffff6178b1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#12 0x00007ffff4e8cf98 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#13 0x00007ffff61ae03e in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () at /usr/lib/libQt5Widgets.so.5
#14 0x00007ffff61d02f7 in  () at /usr/lib/libQt5Widgets.so.5
#15 0x00007ffff6178b1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007ffff4e8cf98 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#17 0x00007ffff594086f in QGuiApplicationPrivate::processCloseEvent(QWindowSystemInterfacePrivate::CloseEvent*) () at /usr/lib/libQt5Gui.so.5
#18 0x00007ffff59289a5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#19 0x00007fffeff2f710 in  () at /usr/lib/libQt5XcbQpa.so.5
#20 0x00007ffff351687b in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#21 0x00007ffff356dc89 in  () at /usr/lib/libglib-2.0.so.0
#22 0x00007ffff3515132 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#23 0x00007ffff4ed7c4c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#24 0x00007ffff4e8573c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#25 0x00007ffff4e90269 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#26 0x0000555555638173 in main(int, char**) (argc=1, argv=0x7fffffffdc88) at /home/sandwich/Stuff/Git/kdenlive/src/main.cpp:345
'''
Comment 1 farid 2023-09-21 14:30:26 UTC
Hi, can you please test with latest version?
Comment 2 Norbert 2023-09-21 14:50:19 UTC
Hallo @farid I can confirm with my current version of KdenLive 23.08.1, it is not crashing any more.
Comment 3 farid 2023-09-21 14:51:37 UTC
(In reply to Norbert from comment #2)
> Hallo @farid I can confirm with my current version of KdenLive 23.08.1, it
> is not crashing any more.

Thanks for the feedback.