Bug 469944 - File--Save As crashes without saving after a source image is changed
Summary: File--Save As crashes without saving after a source image is changed
Status: REPORTED
Alias: None
Product: kdenlive
Classification: Applications
Component: Timeline & Editing (show other bugs)
Version: 23.04.1
Platform: macOS (DMG) macOS
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords: triaged, usability
Depends on:
Blocks:
 
Reported: 2023-05-18 12:14 UTC by Jim Henderson
Modified: 2024-10-27 09:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot of dialog for approval to import the new image (164.03 KB, image/png)
2023-05-18 12:14 UTC, Jim Henderson
Details
crash report sent to Apple. See highlighted "CRASH GUARD" (196.34 KB, text/plain)
2023-05-18 12:16 UTC, Jim Henderson
Details
The tag that mentioned the image that I had changed, "Slide15" (901 bytes, text/plain)
2023-05-18 12:18 UTC, Jim Henderson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Henderson 2023-05-18 12:14:36 UTC
Created attachment 159071 [details]
Screenshot of dialog for approval to import the new image

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
That site says this doesn't work for Macs

STEPS TO REPRODUCE
1. Add videos and still images, saving the project XML file after each one, successfuly.
2. Notice that one of the images is inadequate.
3. Save the project and close kdenlive.
4. Replace the image with a better one, in the same folder and with the same filename.
5. Start kdenlive and load the .kdenlive file. Approve importing again the new version of the image. (see screenshot)
6. Do some more editing.
7. Do File->Save As with a new name.

OBSERVED RESULT
Program crashes with error report to Apple. (see uploaded file) Project is not saved.

EXPECTED RESULT
I expected the program to save the project in the .kdenlive file and let me continue working.

SOFTWARE/OS VERSIONS
Windows: 
macOS:  Ventura 13.3.1 (a) (Intel)
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
The crash information highlights STACK GUARD, so it seems something was trying to access memory that it shouldn't.
I edited the latest-saved .kdenlive file and deleted the tag that gave the details of the image that I had changed. I'll upload what I deleted.
I then reloaded that project file and I can now save the project again.

I reported similar behaviour at https://bugs.kde.org/show_bug.cgi?id=467114
Comment 1 Jim Henderson 2023-05-18 12:16:08 UTC
Created attachment 159073 [details]
crash report sent to Apple. See highlighted "CRASH GUARD"
Comment 2 Jim Henderson 2023-05-18 12:18:03 UTC
Created attachment 159075 [details]
The tag that mentioned the image that I had changed, "Slide15"

After I removed that section of the newest .kdenlive file, I was able to load the project and save it with a new name.