Bug 500794 - Fake encoding crash when there's an ampersand in a filename
Summary: Fake encoding crash when there's an ampersand in a filename
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (other bugs)
Version First Reported In: 24.12.2
Platform: Mint (Ubuntu based) Linux
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-26 23:54 UTC by Ivan
Modified: 2025-03-14 16:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In: 25.04.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan 2025-02-26 23:54:25 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY


STEPS TO REPRODUCE
1. Try rendering a file with an ampersand in the filename
2. 
3. 

OBSERVED RESULT
Renders the file perfectly fine but says it crashed. Leaves the .log file intact (which has the filename as it should be) but the file containing the rendered video has &38; instead of just a & yet plays perfectly fine. There's nothing actually wrong with the file.

EXPECTED RESULT
Should render fine. Which it does but complains it's crashed when it hasn't.

SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
In my system "kinfo" does not exist!

Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Jean-Baptiste Mardelle 2025-03-14 14:22:37 UTC
Thanks for your report, I can confirm the issue
Comment 2 Jean-Baptiste Mardelle 2025-03-14 16:02:49 UTC
Git commit 701e17d06a1a5c4587f1ea58d4f2f39cd8a0db33 by Jean-Baptiste Mardelle.
Committed on 14/03/2025 at 16:02.
Pushed by mardelle into branch 'release/25.04'.

Fix rendering files with an ampersand in name is broken on linux
FIXED-IN: 25.04.0

M  +15   -0    renderer/renderjob.cpp
M  +19   -4    src/dialogs/renderwidget.cpp

https://invent.kde.org/multimedia/kdenlive/-/commit/701e17d06a1a5c4587f1ea58d4f2f39cd8a0db33