Bug 448146 - Mac M1 latest OS Crash KDenlive for MacOS
Summary: Mac M1 latest OS Crash KDenlive for MacOS
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface (show other bugs)
Version: unspecified
Platform: macOS (DMG) macOS
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
: 446980 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-01-09 04:56 UTC by Dermot
Modified: 2022-10-24 05:42 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 22.04.0
fritzibaby: Brainstorm+


Attachments
crash log (192.48 KB, image/png)
2022-04-06 10:07 UTC, Jean-Baptiste Mardelle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dermot 2022-01-09 04:56:55 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. Followed setup on a Mac M1 Monterey 12.1 as per:
tried 986 & 987 - same result
https://kdenlive.org/en/2021/10/kdenlive-comes-to-macos-nightly-version/
2.  Started KDE
3. Crashes

OBSERVED RESULT
Starts

EXPECTED RESULT
See full application

SOFTWARE/OS VERSIONS
Windows: 
macOS:  latest 


ADDITIONAL INFORMATION
Comment 1 emohr 2022-01-09 16:40:59 UTC
Thank you for reporting. Kdenlive on Mac runs only on MacOS 11 and 12 on Intel. It seems a craft build issue: https://invent.kde.org/multimedia/kdenlive/-/issues/993 .
Comment 2 Jean-Baptiste Mardelle 2022-04-06 10:07:05 UTC
The startup crash on Mac M1 is related to libgavl. The following steps allow to run Kdenlive on a Mac M1 with OS 12.3.1:
Go to the Applications Folder. Right click on Kdenlive (Ctrl+click), select "Show package content".

This shows the content package. Go to :
Contents > Framework

Delete the 2 files:
libgavl.dylib
libgavl.2.dylib

Close the Finder window, now Kdenlive starts correctly
Comment 3 Jean-Baptiste Mardelle 2022-04-06 10:07:38 UTC
Created attachment 147995 [details]
crash log

Crash log on Mac M1
Comment 4 Garth Fletcher 2022-04-11 14:54:49 UTC
Deleting the 2 files:
libgavl.dylib
libgavl.2.dylib
solved the startup crash under Mac OS X 10.13.6
Comment 5 emohr 2022-04-12 17:59:52 UTC
@Garth Fletcher: Could you test with daily master 1080? It should start without deleting the 2 files: libgavl.dylib, libgavl.2.dylib. Can you confirm?
Comment 6 Garth Fletcher 2022-04-13 04:14:07 UTC
how do I download the daily master?

On 4/12/22 1:59 PM, emohr wrote:
> https://bugs.kde.org/show_bug.cgi?id=448146
>
> --- Comment #5 from emohr <fritzibaby@gmx.net> ---
> @Garth Fletcher: Could you test with daily master 1080? It should start without
> deleting the 2 files: libgavl.dylib, libgavl.2.dylib. Can you confirm?
Comment 8 Garth Fletcher 2022-04-13 06:51:44 UTC
On 4/13/22 2:30 AM, emohr wrote:
> https://bugs.kde.org/show_bug.cgi?id=448146
>
> --- Comment #7 from emohr <fritzibaby@gmx.net> ---
> Download the daily build from here:
> https://binary-factory.kde.org/job/Kdenlive_Nightly_macos/lastSuccessfulBuild/artifact/
>
> Follow these steps for installation:
> https://docs.kdenlive.org/en/getting_started/installation.html#kdenlive-on-macos
from 
https://binary-factory.kde.org/job/Kdenlive_Nightly_macos/1080/artifact/
I downloaded kdenlive-master-1080-macos-64-clang.dmg
and installed it.

When started it displays the "splash screen" for several seconds, then 
crashes.

I've appended the crash report

Cordially,
Comment 9 Garth Fletcher 2022-04-13 07:44:03 UTC
On 4/13/22 2:30 AM, emohr wrote:
> https://bugs.kde.org/show_bug.cgi?id=448146
>
> --- Comment #7 from emohr <fritzibaby@gmx.net> ---
> Download the daily build from here:
> https://binary-factory.kde.org/job/Kdenlive_Nightly_macos/lastSuccessfulBuild/artifact/
>
> Follow these steps for installation:
> https://docs.kdenlive.org/en/getting_started/installation.html#kdenlive-on-macos
I started with 1080 because that was the version you suggested in your 
earlier email.

Next I downloaded kdenlive-master-1081-macos-64-clang.dmg
which your last email suggested, and installed it.

Same result except is asked if I wanted to "reset the configuration file"
Whether I answered Yes or No, it still crashed shortly thereafter.

see appended crash report

Cordially,
Comment 10 emohr 2022-04-13 16:08:33 UTC
Thank you for the test. It doesn't start on M1 either. Investigation is ongoing.
Comment 11 emohr 2022-04-18 16:37:55 UTC
@Garth Fletcher: Could you test with daily master No.1085 (or newer)? Hopefully it should start now without deleting the 2 files: libgavl.dylib, libgavl.2.dylib. Download the daily build from here: https://binary-factory.kde.org/job/Kdenlive_Nightly_macos/lastSuccessfulBuild/artifact/
Comment 12 Garth Fletcher 2022-04-18 17:48:44 UTC
On 4/18/22 12:37 PM, emohr wrote:
> https://bugs.kde.org/show_bug.cgi?id=448146
>
> --- Comment #11 from emohr<fritzibaby@gmx.net>  ---
> @Garth Fletcher: Could you test with daily master No.1085 (or newer)? Hopefully
> it should start now without deleting the 2 files: libgavl.dylib,
> libgavl.2.dylib. Download the daily build from here:
> https://binary-factory.kde.org/job/Kdenlive_Nightly_macos/lastSuccessfulBuild/artifact/

Opens and runs, no crash - well done!

Environment is:
   Mac mini (2012)
   OS X 10.13.6

Thank you,
Comment 13 emohr 2022-05-07 09:15:40 UTC
Kdenlive 22.04 runs on M1 in Intel mode (Rosetta) and on older MacOS down to 10.13.6 (High Sierra).
Comment 14 erjiang 2022-10-24 05:42:32 UTC
*** Bug 446980 has been marked as a duplicate of this bug. ***