Bug 501583 - startup crash on Apple Silicon mac
Summary: startup crash on Apple Silicon mac
Status: CONFIRMED
Alias: None
Product: kdenlive
Classification: Applications
Component: Setup & Installation (other bugs)
Version First Reported In: 24.12.3
Platform: macOS (DMG) macOS
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2025-03-16 15:39 UTC by steve
Modified: 2025-05-31 13:07 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description steve 2025-03-16 15:39:12 UTC
SUMMARY
Startup crash w v24.12.3. Did not encounter this using 24.12.2. 24.12.3 did open earlier, but now the crash happens on every open. Greeted by "Kdenlive crashed on last startup. Do you want to reset the configuration files ?" and I tried both `Continue`  and `Reset`  options to no avail.

Did some testing and dragged a video into Kdenlive earlier. That video has since been removed. Not sure if that is causing the trouble?

STEPS TO REPRODUCE
1. open kdenlive

OBSERVED RESULT
Crash log (1 year): https://bin.disroot.org/?9a7984ef8b7a3bc9#DajADEkbdjPDL9vAjRhnzsYpEopP63uU14HqdjGM37Cc

EXPECTED RESULT
no crash

SOFTWARE/OS VERSIONS
macOS: 15.3.2
kdenlive 24.12.3

ADDITIONAL INFORMATION
There are a few macOS startup crashes, e.g. this one for 24.12.2 on intel mac https://bugs.kde.org/show_bug.cgi?id=501416. If I missed my crash already being reported, sorry and please set this one to duplicate.
Comment 1 emohr 2025-03-18 18:16:05 UTC
Login as administrator and run:
sudo codesign --force --sign - "/Applications/kdenlive.app"

If you got the error:
/Applications/kdenlive.app: replacing existing signature
/Applications/kdenlive.app: Operation not permitted

On top right it appears the message: “do you want to give Terminal full disk access?” -> click yes. Restart the terminal and run the same command again and it will replace the existing signature and Kdenlive starts.
Comment 2 steve 2025-03-19 10:40:58 UTC
Done, thanks for your response. So something needs to be adjusted in CI for the macOS builds to be correctly signed?
Comment 3 steve 2025-03-24 19:16:33 UTC
It happened again. There probably isn't a permanent solution until this is addressed in the build process?
Comment 4 iGadget 2025-04-10 15:05:46 UTC
I'm getting this on Apple x86_64 (running macOS Monterey 12.7.6) as well.
Proposed workaround results in this error:

error: The specified item could not be found in the keychain.

What am I missing?
Comment 5 emohr 2025-04-10 16:32:37 UTC
The signature issue is not solved yet.
Please follow the steps in https://bugs.kde.org/show_bug.cgi?id=501583#c1
Comment 6 iGadget 2025-04-10 18:47:01 UTC
(In reply to emohr from comment #5)
> The signature issue is not solved yet.
> Please follow the steps in https://bugs.kde.org/show_bug.cgi?id=501583#c1

I followed the steps, I'm just getting a different error:

owner@mac ~ % sudo codesign --force --sign -"Applications/kdenlive.app"
Password:
error: The specified item could not be found in the keychain.

No message on the top right asking for Terminal full disk access.
Comment 7 modus-kameras1t 2025-05-31 13:07:58 UTC
this happened on my Mac only when I changed the directory of the kdenlive from Programs to MyApps ... In Programs kdenlive starts without problems