Bug 471551

Summary: Rendering crashed. Could not update timestamps for skipped samples.
Product: [Applications] kdenlive Reporter: Jim Henderson <jimh>
Component: Rendering & ExportAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED WORKSFORME    
Severity: crash CC: fritzibaby, jimh
Priority: NOR    
Version: 23.04.2   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: crash log before I reinstalled kdenlive
log of render crash after reinstall

Description Jim Henderson 2023-06-28 21:45:47 UTC
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
***


STEPS TO REPRODUCE
1. Make a video using audio preprocessed by Audacity.
2. Render to MP4
3. Rendering crashes with message: [mp3float @ 0x7faa8fe45f80] Could not update timestamps for skipped samples.

OBSERVED RESULT
Rendering crashes with message: [mp3float @ 0x7faa8fe45f80] Could not update timestamps for skipped samples.

EXPECTED RESULT
a nicely rendered MP4 file

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

ADDITIONAL INFORMATION
An online search for "Could not update timestamps for skipped samples." produced these hits:
https://github.com/angelcam/rust-ac-ffmpeg/issues/30
kdenlive bugs 451508 and 447854

Hoping one of you generous developers can find a solution
Comment 1 Jim Henderson 2023-06-28 22:36:32 UTC
I read somewhere that this problem was fixed on a Windows machine by completely removing the previous version of kdenlive and reinstalling, so I did the same. Then I tried to render just the first part of the project, and the crash happened much sooner. I'll try to upload two log files, named with before and after the reinstall.
Comment 2 Jim Henderson 2023-06-28 22:39:15 UTC
Created attachment 159964 [details]
crash log before I reinstalled kdenlive

This crash happened when I was using kdenlive that had been installed over the previous version.
Comment 3 Jim Henderson 2023-06-28 22:41:25 UTC
Created attachment 159965 [details]
log of render crash after reinstall

I removed the previous versions of kdenlive and installed the latest. This time the render job crashed much earlier.
Comment 4 Jim Henderson 2023-07-03 03:44:47 UTC
I run a Windows 10 compter in a virtual machine on my Mac (Host on the Mac is VirtualBox Version 7.0.8 r156879 (Qt5.15.2)). The folder on the Mac where my kdenlive project is located is shared to the client machine, where it appears as drive letter P:.
I installed the latest Windows version of kdenlive on the virtual machine (23.04.2) and opened the project file. The program remade the proxy files and I started Rendering to an MP4 file.
It ran more slowly than on the Mac, probably because the virtual machine is not given as many resources as the Mac has (eg. memory and processors) but it ran fully to completion without any crash :-)

So it seems the problem is in the Mac version of kdenlive, or with how it interacts with the Mac function calls.
Still hoping you developers, so generous with your time, can have some ideas for fixing this problem in the Mac version of kdenlive.
Comment 5 emohr 2024-01-01 14:28:33 UTC
Thank you for the reports. On Mac: Do you switched off parallel processing (ctrl+enter to get into the render dialog -> more option -> un-tick parallel processing)?
Comment 6 Bug Janitor Service 2024-01-16 03:45:30 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2024-01-31 03:45:34 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!