Bug 446980 - startup crash under Mac OS X 10.13.6 (High Sierra)
Summary: startup crash under Mac OS X 10.13.6 (High Sierra)
Status: RESOLVED DUPLICATE of bug 448146
Alias: None
Product: kdenlive
Classification: Applications
Component: Installation (show other bugs)
Version: unspecified
Platform: macOS (DMG) macOS
: NOR crash
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-14 14:45 UTC by Garth Fletcher
Modified: 2022-10-24 05:42 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
fritzibaby: timeline_corruption+


Attachments
screenshot of kdenlive startup (353.16 KB, image/png)
2021-12-14 14:45 UTC, Garth Fletcher
Details
additional information screenshot (121.85 KB, image/png)
2022-01-11 16:11 UTC, mu_dashka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Garth Fletcher 2021-12-14 14:45:44 UTC
Created attachment 144543 [details]
screenshot of kdenlive startup

SUMMARY
Mac OS X 10.13.6 (High Sierra) running on Mac Mini (Late 2012), 2.3 GHz Intel Core i7, 16 GB 1600 MHz DDR3.
Downloaded latest nightly DMG on 2021-12-14, 9 AM
Install (copying app from DMG to /Applications) was successful
     (403,897,837 bytes (423.7 MB on disk))

STEPS TO REPRODUCE
1. double-click on app
2. approve running (1st attempt only)

OBSERVED RESULT
crashes.  Replicated 3 X
splash screen displayed, message overlay:
  "Kdenlive crashed on last startup.
  Do you want to reset the configuration files ?"
Click on YES
crashes

EXPECTED RESULT
to have program run

SOFTWARE/OS VERSIONS
macOS: 10.13.6 (High Sierra)

ADDITIONAL INFORMATION
crash report for "unexpected quit":
Process:               kdenlive [6152]
Path:                  /Applications/kdenlive.app/Contents/MacOS/kdenlive
Identifier:            ???
Version:               ??? (???)
Code Type:             X86-64 (Native)
Parent Process:        kdenlive [6150]
Responsible:           kdenlive [6152]
User ID:               501

Date/Time:             2021-12-14 09:11:24.964 -0500
OS Version:            Mac OS X 10.13.6 (17G14042)
Report Version:        12
Anonymous UUID:        A3E4E58B-E254-E610-3596-3429C059A179


Time Awake Since Boot: 1900 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Illegal instruction: 4
Termination Reason:    Namespace SIGNAL, Code 0x4
Terminating Process:   exc handler [0]

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libgavl.2.dylib               	0x00000001218c245c 0x12189c000 + 156764

Thread 1:
0   libsystem_kernel.dylib        	0x00007fff7b8e528a __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff7baac009 _pthread_wqthread + 1035
2   libsystem_pthread.dylib       	0x00007fff7baabbe9 start_wqthread + 13

Thread 2:
0   libsystem_kernel.dylib        	0x00007fff7b8e528a __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff7baac009 _pthread_wqthread + 1035
2   libsystem_pthread.dylib       	0x00007fff7baabbe9 start_wqthread + 13

Thread 3:
0   libsystem_pthread.dylib       	0x00007fff7baabbdc start_wqthread + 0
1   ???                           	0x000000000f42bf37 0 + 256032567

Thread 4:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	0x00007fff7b8db1fa mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff7b8da714 mach_msg + 60
2   com.apple.CoreFoundation      	0x00007fff5379cdc5 __CFRunLoopServiceMachPort + 341
3   com.apple.CoreFoundation      	0x00007fff5379c117 __CFRunLoopRun + 1783
4   com.apple.CoreFoundation      	0x00007fff5379b787 CFRunLoopRunSpecific + 487
5   com.apple.AppKit              	0x00007fff50e65fc4 _NSEventThread + 184
6   libsystem_pthread.dylib       	0x00007fff7baac661 _pthread_body + 340
7   libsystem_pthread.dylib       	0x00007fff7baac50d _pthread_start + 377
8   libsystem_pthread.dylib       	0x00007fff7baabbf9 thread_start + 13

Thread 5:
0   libsystem_pthread.dylib       	0x00007fff7baabbdc start_wqthread + 0
1   ???                           	0x0000000700000000 0 + 30064771072

Thread 6:: QDBusConnectionManager
0   libsystem_kernel.dylib        	0x00007fff7b8e609a poll + 10
1   org.qt-project.QtCore         	0x000000010eb2eebe qt_safe_poll(pollfd*, unsigned int, timespec const*) + 94
2   org.qt-project.QtCore         	0x000000010eb3070c QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 812
3   org.qt-project.QtCore         	0x000000010eacd717 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 471
4   org.qt-project.QtCore         	0x000000010e90d19c QThread::exec() + 140
5   org.qt-project.QtDBus         	0x000000010d51cf93 QDBusConnectionManager::run() + 19
6   org.qt-project.QtCore         	0x000000010e90e0aa QThreadPrivate::start(void*) + 330
7   libsystem_pthread.dylib       	0x00007fff7baac661 _pthread_body + 340
8   libsystem_pthread.dylib       	0x00007fff7baac50d _pthread_start + 377
9   libsystem_pthread.dylib       	0x00007fff7baabbf9 thread_start + 13

Thread 7:: com.apple.CFSocket.private
0   libsystem_kernel.dylib        	0x00007fff7b8e4cf2 __select + 10
1   com.apple.CoreFoundation      	0x00007fff537d68ab __CFSocketManager + 635
2   libsystem_pthread.dylib       	0x00007fff7baac661 _pthread_body + 340
3   libsystem_pthread.dylib       	0x00007fff7baac50d _pthread_start + 377
4   libsystem_pthread.dylib       	0x00007fff7baabbf9 thread_start + 13

Thread 8:: Thread (pooled)
0   libsystem_kernel.dylib        	0x00007fff7b8e4a16 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff7baad589 _pthread_cond_wait + 732
2   org.qt-project.QtCore         	0x000000010e916046 QWaitConditionPrivate::wait_relative(QDeadlineTimer) + 278
3   org.qt-project.QtCore         	0x000000010e915d5e QWaitConditionPrivate::wait(QDeadlineTimer) + 94
4   org.qt-project.QtCore         	0x000000010e915cb4 QWaitCondition::wait(QMutex*, QDeadlineTimer) + 84
5   org.qt-project.QtCore         	0x000000010e9125d6 QThreadPoolThread::run() + 662
6   org.qt-project.QtCore         	0x000000010e90e0aa QThreadPrivate::start(void*) + 330
7   libsystem_pthread.dylib       	0x00007fff7baac661 _pthread_body + 340
8   libsystem_pthread.dylib       	0x00007fff7baac50d _pthread_start + 377
9   libsystem_pthread.dylib       	0x00007fff7baabbf9 thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x000000000000009f  rbx: 0x00007f8d2a884e00  rcx: 0x0000000000000000  rdx: 0x0000000121e0c000
  rdi: 0x0000000121dd6d94  rsi: 0x0000000000000000  rbp: 0x0000000121de7690  rsp: 0x00007ffee46a5580
   r8: 0x0000000003000001   r9: 0x0000000000000003  r10: 0x00007f8d3040e4d0  r11: 0x00007fff7baa1d80
  r12: 0x0000000000000000  r13: 0x0000000121e0c000  r14: 0x0000000116f86000  r15: 0x0000000000000000
  rip: 0x00000001218c245c  rfl: 0x0000000000010246  cr2: 0x0000000121f0b000
  
Logical CPU:     4
Error Code:      0x00000000
Trap Number:     6


Binary Images:
       0x10b559000 -        0x10bc90fff + (??? - ???) <795A6274-0327-39B3-BC97-23D80CF73CA9> /Applications/kdenlive.app/Contents/MacOS/kdenlive
       0x10bde3000 -        0x10be72ff3 +libKF5KIOFileWidgets.5.88.0.dylib (0) <AE23410E-3378-386D-B25B-AC1BD641C70B> /Applications/kdenlive.app/Contents/Frameworks/libKF5KIOFileWidgets.5.88.0.dylib

****** deleted many lines to make bug report fit within 64K limit
****** full listing available on request

    0x7fff7babb000 -     0x7fff7bac2ff7  libsystem_symptoms.dylib (820.60.3) <A45B4D84-2C69-3F19-83C2-2F1EEA73A7B5> /usr/lib/system/libsystem_symptoms.dylib
    0x7fff7bac3000 -     0x7fff7bad7ff7  libsystem_trace.dylib (829.70.2) <4C4E5351-E370-3226-9B30-61E250DE3B2E> /usr/lib/system/libsystem_trace.dylib
    0x7fff7bad9000 -     0x7fff7badeff7  libunwind.dylib (35.3) <BAE12DA3-CF33-32AD-86B0-CCD6705ADFAA> /usr/lib/system/libunwind.dylib
    0x7fff7badf000 -     0x7fff7bb0cfff  libxpc.dylib (1205.70.16) <26D99819-B813-320E-9E8F-9D57AD2DA63B> /usr/lib/system/libxpc.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 220965
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=504.6M resident=0K(0%) swapped_out_or_unallocated=504.6M(100%)
Writable regions: Total=239.6M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=239.6M(100%)
 
                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework               128K        2 
Activity Tracing                   256K        2 
CG backing stores                 1588K        4 
CG image                            68K        2 
CoreGraphics                         8K        2 
CoreImage                            8K        3 
CoreUI image file                  180K        4 
Dispatch continuations            16.0M        2 
Kernel Alloc Once                    8K        2 
MALLOC                           143.7M       49 
MALLOC guard page                   48K        9 
MALLOC_LARGE (reserved)           54.2M        2         reserved VM address space (unallocated)
Memory Tag 242                      12K        2 
STACK GUARD                       56.0M       10 
Stack                             12.1M       10 
VM_ALLOCATE                        148K       11 
__DATA                            41.9M      416 
__FONT_DATA                          4K        2 
__GLSLBUILTINS                    2588K        2 
__LINKEDIT                       217.7M      260 
__TEXT                           287.7M      406 
__UNICODE                          560K        2 
mapped file                       84.1M       86 
shared memory                      624K       10 
===========                     =======  ======= 
TOTAL                            919.4M     1276 
TOTAL, minus reserved VM space   865.2M     1276 

Model: Macmini6,2, BootROM 422.0.0.0.0, 4 processors, Intel Core i7, 2.3 GHz, 16 GB, SMC 2.8f1
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x802C, 0x31364B544631473634485A2D314736453220
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x802C, 0x31364B544631473634485A2D314736453220
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x10E), Broadcom BCM43xx 1.0 (7.21.190.20.1a4)
Bluetooth: Version 6.0.7f22, 3 services, 27 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: APPLE HDD HTS541010A9E662, 1 TB
Serial ATA Device: Mercury Electra 6G SSD, 1 TB
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: USB2.0 Hub
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: Hub
USB Device: IR Receiver
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: USB 3.0 Bus
USB Device: Hub in Apple Pro Keyboard
USB Device: Apple Optical USB Mouse
USB Device: Apple Pro Keyboard
FireWire Device: On-The-Go Pro, OWC, Up to 800 Mb/sec
FireWire Device: On-The-Go Pro, OWC, Up to 800 Mb/sec
Thunderbolt Bus: Mac mini, Apple Inc., 23.4
Comment 1 emohr 2021-12-19 13:53:34 UTC
Please try with answering "no", after the spash screen and the message overlay: "Kdenlive crashed on last startup. Do you want to reset the configuration files ?"
Comment 2 Garth Fletcher 2021-12-19 17:31:35 UTC
On 12/19/21 8:53 AM, emohr wrote:
> https://bugs.kde.org/show_bug.cgi?id=446980
>
> emohr <fritzibaby@gmx.net> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                   CC|                            |fritzibaby@gmx.net
>                Flags|                            |timeline_corruption+
>
> --- Comment #1 from emohr <fritzibaby@gmx.net> ---
> Please try with answering "no", after the spash screen and the message overlay:
> "Kdenlive crashed on last startup. Do you want to reset the configuration files
> ?"

Same result after answering "no".

Crash report appended
Comment 3 emohr 2021-12-19 18:30:43 UTC
And if you try to start the nightly build: https://binary-factory.kde.org/job/Kdenlive_Nightly_macos/

Do you have the possibility to try on another Mac? If so please check if Kdenlive starts.
Comment 4 Garth Fletcher 2021-12-19 19:21:48 UTC
On 12/19/21 1:30 PM, emohr wrote:
> https://bugs.kde.org/show_bug.cgi?id=446980
>
> --- Comment #3 from emohr<fritzibaby@gmx.net>  ---
> And if you try to start the nightly build:
> https://binary-factory.kde.org/job/Kdenlive_Nightly_macos/
>
> Do you have the possibility to try on another Mac? If so please check if
> Kdenlive starts.
Tested on MacBook Pro 8,2 (15" Early 2011) Mac OS X 10.13.6 (High 
Sierra), 8 GB RAM
Did install (had never been installed before) using
"kdenlive-master-961-macos-64-clang.dmg" downloaded 2021_12_14 from
https://build-artifacts.kde.org/binary-factory/Kdenlive_Nightly_macos/lastSuccessfulBuild/kdenlive-master-961-macos-64-clang.dmg

First start immediately crashes.
Second start shows dialog, clicking "no" crashes.

Crash report appended.

Many thanks for helping to figure this out!

Cordially,
Comment 5 emohr 2021-12-20 19:42:22 UTC
Can you make a test? Download Shotcut https://shotcut.org/download/ and try to run it. It has the same MLT framework and should run with OpenGL 2.0. Your Intel graphic card 3000/4000 support OpenGL 2.1. If it crash as well try to update the graphic card driver.
Comment 6 Garth Fletcher 2021-12-21 02:20:28 UTC
Shotcut installs and runs without problem.

On 12/20/21 2:42 PM, emohr wrote:
> https://bugs.kde.org/show_bug.cgi?id=446980
>
> --- Comment #5 from emohr<fritzibaby@gmx.net>  ---
> Can you make a test? Download Shotcuthttps://shotcut.org/download/  and try to
> run it. It has the same MLT framework and should run with OpenGL 2.0. Your
> Intel graphic card 3000/4000 support OpenGL 2.1. If it crash as well try to
> update the graphic card driver.
Comment 7 emohr 2021-12-21 17:31:39 UTC
Thank you for testing. I reported the issue to the developer team.
Comment 8 mu_dashka 2022-01-11 16:11:38 UTC
Created attachment 145329 [details]
additional information screenshot
Comment 9 emohr 2022-01-11 18:49:17 UTC
Thank you for the log. It's helpful. It seems a similar issue as on M1 (dbus-daemon).
Comment 10 Matteo 2022-01-18 21:21:58 UTC
I have a similar result on macOS Catalina 10.15.7

▶ /Applications/kdenlive.app/Contents/MacOS/kdenlive
dbus[11486]: Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
=== /// CANNOT ACCESS SPEECH DICTIONARIES FOLDER
Starting render server
profilePath from appDir/../share:  "/Applications/kdenlive.app/Contents/share/mlt/profiles"
profilePath from appDir/../Resources:  "/Applications/kdenlive.app/Contents/Resources/mlt/profiles"
meltPath from profilePath/.../bin:  "/Applications/kdenlive.app/Contents/Resources/mlt/profiles"
meltPath from profilePath/.../MacOS:  "/Applications/kdenlive.app/Contents/Resources/mlt/profiles"
Invalid metadata for  "avcolour_space"
Failed to parse "avcolour_space"
Invalid metadata for  "avcolor_space"
Failed to parse "avcolor_space"
Invalid metadata for  "avdeinterlace"
Failed to parse "avdeinterlace"
Invalid metadata for  "swscale"
Failed to parse "swscale"
Invalid metadata for  "swresample"
Failed to parse "swresample"
Invalid metadata for  "deinterlace"
Failed to parse "deinterlace"
[1]    11486 illegal hardware instruction  /Applications/kdenlive.app/Contents/MacOS/kdenlive
Comment 11 emohr 2022-01-19 15:54:00 UTC
 Thank you for the report. It looks similar about db-bus. It looks like Kdenlive runs on MacOS 11 and 12 on Intel only. We collect all inputs here: https://invent.kde.org/multimedia/kdenlive/-/issues/993
Comment 12 emohr 2022-04-08 05:54:11 UTC
@Garth Fletcher , @Matteo

Please test if this workaround solves the problem and you can start Kdenlive: https://bugs.kde.org/show_bug.cgi?id=448146#c2
Comment 13 mu_dashka 2022-04-11 12:14:19 UTC
i can confirm that the workaround mentioned above solves the problem on my old imac mid 2011 running Mac OS X 10.13.6 (High Sierra). Thank You very much
Comment 14 erjiang 2022-10-24 05:42:32 UTC
Looks like this was the same issue as #448146 which has been fixed.

*** This bug has been marked as a duplicate of bug 448146 ***