Bug 467917 - Crash when saving title
Summary: Crash when saving title
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface (show other bugs)
Version: 22.12.3
Platform: macOS (DMG) macOS
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-29 07:54 UTC by Dennis Plöger
Modified: 2023-04-03 13:02 UTC (History)
0 users

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 Dennis Plöger 2023-03-29 07:54:08 UTC
SUMMARY
When saving a title in the title editor, the application crashes.

STEPS TO REPRODUCE
1. Add a new title clip to the project
2. Add some title content
3. Click on the "Save as" menu item, choose a filename and click the save button 

OBSERVED RESULT
kdenlive crashes

EXPECTED RESULT
The title is saved

SOFTWARE/OS VERSIONS
macOS: Ventura 13.2.1
KDE Plasma Version: n/a
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8 

ADDITIONAL INFORMATION
I'm on a mac M1 and gdb is not supported for the ARM architecture. I tried to run kdenlive using lldb, but only got "error: process exited with status -1 (lost connection)" with it. Do you have any hints on how to supply you with a backtrace?

These are the log lines from a run at least:

Could not detect package type, probably default? App dir is "/Applications/kdenlive.app/Contents/MacOS"
dbus[56071]: Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
kf.windowsystem: Could not find any platform plugin
Starting render server
profilePath from appDir/../share:  "/Applications/kdenlive.app/Contents/share/mlt/profiles"
profilePath from appDir/../Resources:  "/Applications/kdenlive.app/Contents/Resources/mlt/profiles"
meltPath from profilePath/../../../bin:  "/Applications/kdenlive.app/Contents/bin/melt"
meltPath from profilePath/../../../MacOS:  "/Applications/kdenlive.app/Contents/MacOS/melt"
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  "deinterlace"
Empty metadata for  "audiochannels"
Empty metadata for  "audioconvert"
Empty metadata for  "imageconvert"
Empty metadata for  "telecide"
plugin not available: "avfilter.acompressor"
plugin not available: "avfilter.aecho"
plugin not available: "avfilter.agate"
plugin not available: "avfilter.atadenoise"
plugin not available: "avfilter.bs2b"
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.mcdeint"
plugin not available: "avfilter.random"
plugin not available: "avfilter.removegrain"
plugin not available: "avfilter.separatefields"
plugin not available: "avfilter.shuffleplanes"
plugin not available: "avfilter.sofalizer"
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.lightgraffiti"
plugin not available: "frei0r.lightgraffiti"
plugin not available: "frei0r.rgbparade"
plugin not available: "frei0r.scale0tilt"
plugin not available: "frei0r.tehRoxx0r"
plugin not available: "frei0r.vectorscope"
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: "ladspa"
plugin not available: "ladspa"
plugin not available: "ladspa"
plugin not available: "movit.blur"
plugin not available: "movit.sharpen"
plugin not available: "movit.diffusion"
plugin not available: "movit.flip"
plugin not available: "movit.glow"
plugin not available: "movit.lift_gamma_gain"
plugin not available: "movit.mirror"
plugin not available: "movit.opacity"
plugin not available: "movit.rect"
plugin not available: "movit.saturation"
plugin not available: "movit.unsharp_mask"
plugin not available: "movit.vignette"
plugin not available: "movit.white_balance"
plugin not available: "rbpitch"
plugin not available: "rbpitch"
plugin not available: "sox"
plugin not available: "sox"
plugin not available: "sox"
plugin not available: "sox"
plugin not available: "sox"
plugin not available: "sox"
plugin not available: "sox"
plugin not available: "timewarp"
plugin not available: "region"
=== /// CANNOT ACCESS SPEECH DICTIONARIES FOLDER
QQmlEngine::setContextForObject(): Object already has a QQmlContext
static QStringList Solid::Backends::IOKit::IOKitManagerPrivate::devicesFromRegistry(io_iterator_t) IORegistryEntryGetPath failed
static QStringList Solid::Backends::IOKit::IOKitManagerPrivate::devicesFromRegistry(io_iterator_t) IORegistryEntryGetPath failed
static QStringList Solid::Backends::IOKit::IOKitManagerPrivate::devicesFromRegistry(io_iterator_t) IORegistryEntryGetPath failed
static QStringList Solid::Backends::IOKit::IOKitManagerPrivate::devicesFromRegistry(io_iterator_t) IORegistryEntryGetPath failed
static QStringList Solid::Backends::IOKit::IOKitManagerPrivate::devicesFromRegistry(io_iterator_t) IORegistryEntryGetPath failed
static QStringList Solid::Backends::IOKit::IOKitManagerPrivate::devicesFromRegistry(io_iterator_t) IORegistryEntryGetPath failed
static QStringList Solid::Backends::IOKit::IOKitManagerPrivate::devicesFromRegistry(io_iterator_t) IORegistryEntryGetPath failed
static QStringList Solid::Backends::IOKit::IOKitManagerPrivate::devicesFromRegistry(io_iterator_t) IORegistryEntryGetPath failed
static QStringList Solid::Backends::IOKit::IOKitManagerPrivate::devicesFromRegistry(io_iterator_t) IORegistryEntryGetPath failed
static QStringList Solid::Backends::IOKit::IOKitManagerPrivate::devicesFromRegistry(io_iterator_t) IORegistryEntryGetPath failed
static QStringList Solid::Backends::IOKit::IOKitManagerPrivate::devicesFromRegistry(io_iterator_t) IORegistryEntryGetPath failed
static QStringList Solid::Backends::IOKit::IOKitManagerPrivate::devicesFromRegistry(io_iterator_t) IORegistryEntryGetPath failed
static QStringList Solid::Backends::IOKit::IOKitManagerPrivate::devicesFromRegistry(io_iterator_t) IORegistryEntryGetPath failed
static QStringList Solid::Backends::IOKit::IOKitManagerPrivate::devicesFromRegistry(io_iterator_t) IORegistryEntryGetPath failed
static QStringList Solid::Backends::IOKit::IOKitManagerPrivate::devicesFromRegistry(io_iterator_t) IORegistryEntryGetPath failed
"applications.menu"  not found in  ()
kf.service.sycoca: Service type not found: "inode/directory"
kf.service.sycoca: Service type not found: "application/x-kdenlivetitle"
kf.service.sycoca: Service type not found: "video/mlt-playlist"
QQmlEngine::setContextForObject(): Object already has a QQmlContext
QQmlEngine::setContextForObject(): Object already has a QQmlContext
QQmlEngine::setContextForObject(): Object already has a QQmlContext
QQmlEngine::setContextForObject(): Object already has a QQmlContext
qt.qpa.fonts: Populating font family aliases took 202 ms. Replace uses of missing font family "Party LET" with one that exists to avoid this cost.
2023-03-29 09:38:14.991 kdenlive[56071:5349862] +[CATransaction synchronize] called within transaction
kf.kio.widgets: Failed to check which JobView API is supported "Not connected to D-Bus server"
fish: Job 1, '/Applications/kdenlive.app/Cont…' terminated by signal SIGBUS (Misaligned address error)
Comment 1 Jean-Baptiste Mardelle 2023-04-03 11:24:45 UTC
Git commit 506e7cbb50961246eb4f9585541ad1f641568639 by Jean-Baptiste Mardelle.
Committed on 03/04/2023 at 11:23.
Pushed by mardelle into branch 'release/23.04'.

Refactor save title to use QSaveFile instead of QTemporaryFile + KIO job.

M  +7    -16   src/titler/titledocument.cpp
M  +1    -1    src/titler/titlewidget.cpp

https://invent.kde.org/multimedia/kdenlive/commit/506e7cbb50961246eb4f9585541ad1f641568639
Comment 2 Jean-Baptiste Mardelle 2023-04-03 13:02:38 UTC
Thanks for your report, this is now fixed with my last commit