SUMMARY Dragging any media into the timeline crashes the entire application, tried this with video, images, music, even if you create a simple colour clip and drag it into the timeline the whole thing crashes. STEPS TO REPRODUCE 1. Load application 2. Project -> Add colour clip -> OK 3. Select colour clip from the Project Bin and drag into V1 on the timeline OBSERVED RESULT Application crashes EXPECTED RESULT Application not to crash SOFTWARE/OS VERSIONS Ubuntu 22.04.01 LTS OS Type: 64 Bit GNOME Version 42.2 Window system is X11 Memory: 16 GB Processor Intel Core i7-4790K CPU @ 4.00GHz x 8 Graphics: NVIDIA Corporation GK104 [GeForce GTX 770] ADDITIONAL INFORMATION Starting program: /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 0x7ffff025f640 (LWP 16367)] [New Thread 0x7fffee5fb640 (LWP 16368)] [New Thread 0x7fffeddfa640 (LWP 16369)] [New Thread 0x7fffed441640 (LWP 16370)] Could not detect package type, probably default? App dir is "/usr/bin" === /// CANNOT ACCESS SPEECH DICTIONARIES FOLDER mlt_repository_init: failed to dlopen /usr/lib/x86_64-linux-gnu/mlt-7/libmltrtaudio.so (/usr/lib/x86_64-linux-gnu/mlt-7/libmltrtaudio.so: undefined symbol: snd_pcm_hw_params_test_rate) profilePath from KdenliveSetting::mltPath: "/usr/share/mlt-7/profiles" meltPath from KdenliveSetting::rendererPath: "/usr/bin/melt-7" [New Thread 0x7fffcd471640 (LWP 16372)] Empty metadata for "telecide" Empty metadata for "deinterlace" Empty metadata for "avcolour_space" Empty metadata for "avcolor_space" Empty metadata for "avdeinterlace" Empty metadata for "swscale" Empty metadata for "swresample" Empty metadata for "glsl.manager" Empty metadata for "movit.convert" Empty metadata for "movit.crop" Empty metadata for "movit.resample" Empty metadata for "movit.resize" Empty metadata for "audiochannels" Empty metadata for "audioconvert" Empty metadata for "imageconvert" plugin not available: "avfilter.acompressor" plugin not available: "avfilter.aecho" plugin not available: "avfilter.agate" plugin not available: "avfilter.atadenoise" plugin not available: "avfilter.bwdif" plugin not available: "avfilter.deblock" plugin not available: "avfilter.dedot" plugin not available: "avfilter.deflate" plugin not available: "avfilter.derain" plugin not available: "avfilter.doubleweave" plugin not available: "avfilter.field" plugin not available: "avfilter.framestep" plugin not available: "avfilter.fspp" plugin not available: "avfilter.graphmonitor" plugin not available: "avfilter.hqdn3d" plugin not available: "avfilter.inflate" plugin not available: "avfilter.lagfun" plugin not available: "avfilter.loudnorm" plugin not available: "avfilter.random" plugin not available: "avfilter.removegrain" plugin not available: "avfilter.separatefields" plugin not available: "avfilter.shuffleplanes" plugin not available: "avfilter.sr" plugin not available: "avfilter.tmix" plugin not available: "avfilter.w3fdif" plugin not available: "avfilter.weave" plugin not available: "avfilter.yadif" plugin not available: "frei0r.baltan" plugin not available: "frei0r.bgsubtract0r" plugin not available: "frei0r.bigsh0t_eq_mask" plugin not available: "frei0r.bigsh0t_eq_to_rect" plugin not available: "frei0r.bigsh0t_eq_to_stereo" plugin not available: "frei0r.bigsh0t_hemi_to_eq" plugin not available: "frei0r.bigsh0t_rect_to_eq" plugin not available: "frei0r.bigsh0t_stabilize_360" plugin not available: "frei0r.bigsh0t_transform_360" plugin not available: "frei0r.delay0r" plugin not available: "frei0r.delaygrab" plugin not available: "frei0r.facebl0r" plugin not available: "frei0r.facedetect" plugin not available: "frei0r.lightgraffiti" plugin not available: "frei0r.lightgraffiti" plugin not available: "frei0r.tehRoxx0r" plugin not available: "ladspa" plugin not available: "ladspa" plugin not available: "ladspa" plugin not available: "ladspa.9354877" plugin not available: "ladspa" plugin not available: "ladspa" plugin not available: "ladspa" plugin not available: "ladspa" plugin not available: "ladspa" plugin not available: "ladspa" plugin not available: "ladspa" plugin not available: "ladspa" plugin not available: "movit.unsharp_mask" plugin not available: "region" plugin not available: "timewarp" plugin not available: "opencv.tracker" plugin not available: "region" [New Thread 0x7fffccc70640 (LWP 16373)] defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.audiosource" [New Thread 0x7fffc778b640 (LWP 16374)] QQmlEngine::setContextForObject(): Object already has a QQmlContext [New Thread 0x7fffc6539640 (LWP 16375)] [New Thread 0x7fffc52f8640 (LWP 16376)] [Detaching after fork from child process 16377] [Detaching after fork from child process 16379] kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found [New Thread 0x7fffc4826640 (LWP 16381)] qrc:/qml/assetList.qml:119:25: Type NewStuff.Action unavailable action: NewStuff.Action { ^ file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/newstuff/qml/Action.qml:184:13: Type NewStuff.Page unavailable NewStuff.Page { ^ file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/newstuff/qml/Page.qml:20:1: module "org.kde.kcm" is not installed import org.kde.kcm 1.2 as KCM ^ [New Thread 0x7fffb342b640 (LWP 16382)] qrc:/qml/assetList.qml:119:25: Type NewStuff.Action unavailable action: NewStuff.Action { ^ file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/newstuff/qml/Action.qml:184:13: Type NewStuff.Page unavailable NewStuff.Page { ^ file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/newstuff/qml/Page.qml:20:1: module "org.kde.kcm" is not installed import org.kde.kcm 1.2 as KCM ^ [New Thread 0x7fffb20dd640 (LWP 16383)] [New Thread 0x7fffb16dc640 (LWP 16384)] kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found QFile::setFileName: File (/home/jared/.local/share/stalefiles/kdenlive/_untitled.kdenlivePzlfile_%2Fhome%2Fjared%2FVideoshnnZvPzl) already open :::: USING TRACK COMPOSITING: "frei0r.cairoblend" QQmlEngine::setContextForObject(): Object already has a QQmlContext :::: USING TRACK COMPOSITING: "frei0r.cairoblend" [New Thread 0x7fffb0115640 (LWP 16385)] [New Thread 0x7fff8efff640 (LWP 16386)] [New Thread 0x7fff8e7fe640 (LWP 16387)] :::: USING TRACK COMPOSITING: "frei0r.cairoblend" :::: USING TRACK COMPOSITING: "frei0r.cairoblend" [New Thread 0x7fff8dffd640 (LWP 16388)] [New Thread 0x7fff8d7fc640 (LWP 16389)] [New Thread 0x7fff8cee8640 (LWP 16390)] /////////// starting to add bin clips kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found kf.kio.widgets.kdirmodel: No node found for item that was just removed: QUrl("file:///media/jared/be6b868b-2be8-4a43-8f1f-50c8f2e32212/My Videos/rm2023intro/edge.psd") kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found /////////// found list (QUrl("file:///media/jared/be6b868b-2be8-4a43-8f1f-50c8f2e32212/My Videos/rm2023intro/ActiveDelightfulAmericanindianhorse-mobile.mp4")) /////////// creatclipsfromlist (QUrl("file:///media/jared/be6b868b-2be8-4a43-8f1f-50c8f2e32212/My Videos/rm2023intro/ActiveDelightfulAmericanindianhorse-mobile.mp4")) true "-1" /////////// createClipFromFile "/media/jared/be6b868b-2be8-4a43-8f1f-50c8f2e32212/My Videos/rm2023intro/ActiveDelightfulAmericanindianhorse-mobile.mp4" "-1" === GOT DROPPED MIME: "video/mp4" /////////// final xml "<producer>\n <property name=\"resource\">/media/jared/be6b868b-2be8-4a43-8f1f-50c8f2e32212/My Videos/rm2023intro/ActiveDelightfulAmericanindianhorse-mobile.mp4</property>\n</producer>\n" [New Thread 0x7fff67bff640 (LWP 16392)] ============STARTING LOAD TASK FOR: "/media/jared/be6b868b-2be8-4a43-8f1f-50c8f2e32212/My Videos/rm2023intro/ActiveDelightfulAmericanindianhorse-mobile.mp4" ::::::::::::::::::: [New Thread 0x7fff673fe640 (LWP 16393)] [New Thread 0x7fff66bfd640 (LWP 16394)] [New Thread 0x7fff663fc640 (LWP 16395)] /////////// creatclipsfromlist return false [New Thread 0x7fff65bfb640 (LWP 16396)] [New Thread 0x7fff653fa640 (LWP 16397)] [New Thread 0x7fff64bf9640 (LWP 16398)] [New Thread 0x7fff5ffff640 (LWP 16399)] [New Thread 0x7fff5f7fe640 (LWP 16400)] [New Thread 0x7fff5effd640 (LWP 16401)] ################### ProjectClip::setproducer ################# ################### ClipController::updateProducer ################### ClipController::addmasterproducer ===== READY FOR THUMB ClipType::Video ========= ===== SEEKING THUMB PROD ========= [New Thread 0x7fff5e7fc640 (LWP 16402)] [New Thread 0x7fff5dffb640 (LWP 16403)] [New Thread 0x7fff5d7fa640 (LWP 16404)] [New Thread 0x7fff5cff9640 (LWP 16405)] [New Thread 0x7fff37fff640 (LWP 16406)] [New Thread 0x7fff377fe640 (LWP 16407)] [New Thread 0x7fff36ffd640 (LWP 16408)] [New Thread 0x7fff367fc640 (LWP 16409)] [New Thread 0x7fff35ffb640 (LWP 16410)] ======= SETTING AUDIO DATA IN MON [Thread 0x7fff8d7fc640 (LWP 16389) exited] [Thread 0x7fff8efff640 (LWP 16386) exited] === GOT THUMB FOR: -1 x -1 [Thread 0x7fff5dffb640 (LWP 16403) exited] [Thread 0x7fff5e7fc640 (LWP 16402) exited] [Thread 0x7fff5d7fa640 (LWP 16404) exited] [Thread 0x7fff5cff9640 (LWP 16405) exited] [Thread 0x7fff37fff640 (LWP 16406) exited] [Thread 0x7fff377fe640 (LWP 16407) exited] [Thread 0x7fff36ffd640 (LWP 16408) exited] [Thread 0x7fff367fc640 (LWP 16409) exited] [Thread 0x7fff35ffb640 (LWP 16410) exited] [Thread 0x7fff8dffd640 (LWP 16388) exited] [Thread 0x7fffb0115640 (LWP 16385) exited] [Thread 0x7fff8e7fe640 (LWP 16387) exited] [New Thread 0x7fffb0115640 (LWP 16411)] [New Thread 0x7fff8e7fe640 (LWP 16412)] [New Thread 0x7fff8dffd640 (LWP 16413)] MUTEX LOCK!!!!!!!!!!!! setmodel MUTEX UNLOCK!!!!!!!!!!!! setmodel MUTEX LOCK!!!!!!!!!!!! loadEffects COUNT: 0 [New Thread 0x7fff35ffb640 (LWP 16414)] [New Thread 0x7fff367fc640 (LWP 16415)] [New Thread 0x7fff8d7fc640 (LWP 16416)] // GET TIMELINE PROD FOR STREAM: -1 ==== BUILT CLIP STREAM: -1 ::: REGISTERING CLIP TO BIN::::: :::::::::::::::::::::: REGISTRATION 5 ptr count 4 qml: loaded clip: 347 , ID: 5 , index: 0 , TYPE: Video qml: loaded clip with Astream: -1 malloc(): invalid size (unsorted) Thread 1 "kdenlive" received signal SIGABRT, Aborted. __pthread_kill_implementation (no_tid=0, signo=6, threadid=140737230673152) at ./nptl/pthread_kill.c:44 44 ./nptl/pthread_kill.c: No such file or directory. P.S. would recommend updating your debugging guidelines to mention if a crash occurs to run "kill" otherwise looks like the whole OS has frozen :)
Does this crash also happen in the AppImage build?
(In reply to erjiang from comment #1) > Does this crash also happen in the AppImage build? Yes - just tested on 23.03.70 (eeb27bf53) Not sure how to run the debug on that?
I experienced the same crash and did some debugging which revealed that it is font related. It seems like it is a similar issue as in https://bugzilla.mozilla.org/show_bug.cgi?id=1759667 but for Kdenlive it triggers a crash in Qt due to a buffer overflow here https://github.com/qt/qtbase/blob/5.15/src/platformsupport/fontdatabases/freetype/qfontengine_ft.cpp#L1174. Uninstalling fonts-noto-color-emoji works for me. Installing plasma-integration also gets rid of the crash.