Bug 469406

Summary: Kate 23.04.0 crashing at start on macOS Ventura 13.3.1
Product: [Applications] kate Reporter: Yaroslav Sidlovsky <zawertun>
Component: applicationAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: 0xcf17, end.send233, harish.annamalai, kde, linux1977, mitrax, pdothash, scorpio, waqar.17a, xu107288696
Priority: NOR    
Version: 23.04.0   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: crash.log

Description Yaroslav Sidlovsky 2023-05-06 08:53:07 UTC
Created attachment 158735 [details]
crash.log

Kate has been installed from this url: https://binary-factory.kde.org/view/MacOS/job/Kate_Release_macos/lastSuccessfulBuild/artifact/kate-23.04.0-1934-macos-clang-x86_64.dmg

Nightly build crashing too (https://binary-factory.kde.org/view/MacOS/job/Kate_Nightly_macos/lastSuccessfulBuild/artifact/kate-master-1905-macos-clang-x86_64.dmg).

Stack trace:

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   CoreFoundation                	    0x7ff805e9c8e6 _CFGetNonObjCTypeID + 10
1   CoreFoundation                	    0x7ff805d932e6 CFNotificationCenterAddObserver + 55
2   CoreFoundation                	    0x7ff805e8aa1a ___CFNotificationCenterInitializeDependentNotificationIfNecessary_block_invoke + 212
3   libdispatch.dylib             	    0x7ff805b53033 _dispatch_client_callout + 8
4   libdispatch.dylib             	    0x7ff805b54267 _dispatch_once_callout + 20
5   CoreFoundation                	    0x7ff805e8a93f _CFNotificationCenterInitializeDependentNotificationIfNecessary + 374
6   CoreFoundation                	    0x7ff805d903b8 _CFLocaleCopyCurrentGuts + 2254
7   QtCore                        	       0x10a483528 QSystemLocale::fallbackUiLocale() const + 536
8   QtCore                        	       0x10a44212b systemData() + 203
9   QtCore                        	       0x10a44e4dc (anonymous namespace)::Q_QGS_defaultLocalePrivate::innerFunction() + 108
10  QtCore                        	       0x10a44293f QLocale::QLocale() + 15
11  QtCore                        	       0x10a4fa021 QResourceFileEnginePrivate::QResourceFileEnginePrivate() + 65
12  QtCore                        	       0x10a4f8e55 QResourceFileEngine::QResourceFileEngine(QString const&) + 37
13  QtCore                        	       0x10a512041 _q_resolveEntryAndCreateLegacyEngine_recursive(QFileSystemEntry&, QFileSystemMetaData&, QAbstractFileEngine*&, bool) + 225
14  QtCore                        	       0x10a511e76 QFileSystemEngine::resolveEntryAndCreateLegacyEngine(QFileSystemEntry&, QFileSystemMetaData&) + 102
15  QtCore                        	       0x10a4e6447 QFileInfo::exists(QString const&) + 71
16  QtCore                        	       0x10a3c6513 QLibraryInfoPrivate::findConfiguration() + 35
17  QtCore                        	       0x10a3c62c7 QLibrarySettings::load() + 23
18  QtCore                        	       0x10a3c7c56 QLibraryInfoPrivate::configuration() + 150
19  QtCore                        	       0x10a3c6bbe QLibraryInfo::location(QLibraryInfo::LibraryLocation) + 46
20  QtCore                        	       0x10a598d7c QCoreApplication::libraryPathsLocked() + 1020
21  QtCore                        	       0x10a59569b QCoreApplication::libraryPaths() + 43
22  QtCore                        	       0x10a584d94 QFactoryLoader::update() + 36
23  QtCore                        	       0x10a586650 QFactoryLoader::QFactoryLoader(char const*, QString const&, Qt::CaseSensitivity) + 224
24  QtGui                         	       0x109842842 QGlobalStatic<QFactoryLoader, (anonymous namespace)::Q_QGS_loader::innerFunction(), (anonymous namespace)::Q_QGS_loader::guard>::operator()() + 178
25  QtGui                         	       0x109842b92 QPlatformIntegrationFactory::keys(QString const&) + 674
26  QtGui                         	       0x10984feec QGuiApplicationPrivate::createPlatformIntegration() + 1724
27  QtGui                         	       0x1098513cb QGuiApplicationPrivate::createEventDispatcher() + 27
28  QtCore                        	       0x10a59516f QCoreApplicationPrivate::init() + 1151
29  QtGui                         	       0x10984bb69 QGuiApplicationPrivate::init() + 57
30  QtWidgets                     	       0x1091e141a QApplicationPrivate::init() + 26
31  kate                          	       0x10779b3cc 0x107788000 + 78796
32  kate                          	       0x1077944b4 0x107788000 + 50356
33  dyld                          	    0x7ff80599a41f start + 1903
Comment 1 Yaroslav Sidlovsky 2023-05-06 08:59:32 UTC
Old Kate version (22.12.2) works fine without crashes.
Comment 2 Yaroslav Sidlovsky 2023-05-10 13:02:17 UTC
Just tried latest build (kate-23.04.0-1938-macos-clang-x86_64.dmg) - still broken.
Comment 3 0xcf17 2023-05-29 01:30:46 UTC
Can confirm, both latest nightly and release builds throws SIGSEGV and wont start on MacOS 13.4
Comment 4 Waqar Ahmed 2023-06-16 10:20:07 UTC
*** Bug 471104 has been marked as a duplicate of this bug. ***
Comment 5 Waqar Ahmed 2023-06-19 13:30:11 UTC
*** Bug 471213 has been marked as a duplicate of this bug. ***
Comment 6 Harish 2023-06-22 05:46:33 UTC
Can anyone suggest where I can download 22.12.2 version?
Comment 7 Laurent Trinques 2023-06-26 17:49:01 UTC
(In reply to Harish from comment #6)
> Can anyone suggest where I can download 22.12.2 version?

Same for me, https://www.macupdate.com/app/mac/63455/kate
Kate
Version 22.12.2 --> link error 404 !!!
Comment 8 Hiyase 2023-06-27 10:56:40 UTC
(In reply to Laurent Trinques from comment #7)
> (In reply to Harish from comment #6)
> > Can anyone suggest where I can download 22.12.2 version?
> 
> Same for me, https://www.macupdate.com/app/mac/63455/kate
> Kate
> Version 22.12.2 --> link error 404 !!!

i hava it 
https://drive.google.com/file/d/1ekKI7ZAvRNLyFDiG2g6qrWxg5ahRz0-8/view?usp=sharing
Comment 9 pdothash 2023-07-19 15:29:17 UTC
Not reproducible in the nightly 1978 build!
Comment 10 Yaroslav Sidlovsky 2023-07-19 15:47:11 UTC
Can confirm that Kate installed from "kate-master-1978-macos-clang-x86_64.dmg" works fine.
Comment 11 Waqar Ahmed 2023-07-19 16:25:52 UTC
Thanks for confirming. I guess Qt or whichever part of the stack that was broken fixed itself.
Comment 12 Waqar Ahmed 2023-07-22 09:10:12 UTC
*** Bug 472432 has been marked as a duplicate of this bug. ***
Comment 13 Waqar Ahmed 2023-07-22 09:10:42 UTC
*** Bug 472480 has been marked as a duplicate of this bug. ***
Comment 14 xu107288696 2023-07-24 18:33:37 UTC
Broken again in the Kate 23.04.3-2013
Comment 15 xu107288696 2023-07-24 18:46:15 UTC
Just tested nightly and it's not broken. Sorry for the spam.