Opened 13 months ago

Last modified 13 months ago

#67143 assigned defect

akregator (and other kdepim4 apps) crash on launch

Reported by: ShadSterling (Shad Sterling) Owned by: bjoern.ricks@…
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: ventura Cc:
Port: kdepim4

Description

This is after both port load dbus with no errors:

--->  Loading startupitem 'dbus-system' for dbus
--->  Loading startupitem 'dbus-session' for dbus

And launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist with errors:

Load failed: 5: Input/output error
Try running `launchctl bootstrap` as root for richer errors.

Output from running /Applications/MacPorts/KDE4/akregator.app/Contents/MacOS/akregator in Terminal:

QIODevice::setTextModeEnabled: The device is not open
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
2023-03-24 11:48:51.413 akregator[14411:1855565] *** Assertion failure in -[NSNib initWithContentsOfURL:], NSNib.m:65
2023-03-24 11:48:51.425 akregator[14411:1855565] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Deprecated in 10.8.'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007ff81a80c3eb __exceptionPreprocess + 242
	1   libobjc.A.dylib                     0x00007ff81a358e25 objc_exception_throw + 48
	2   Foundation                          0x00007ff81b6b1dc0 -[NSCalendarDate initWithCoder:] + 0
	3   AppKit                              0x00007ff81df804c3 -[NSNib initWithContentsOfURL:] + 105
	4   QtGui                               0x00000001129233cf _Z18qt_mac_loadMenuNibP16QCocoaMenuLoader + 751
	5   QtGui                               0x0000000112926955 _Z7qt_initP19QApplicationPrivatei + 2117
	6   QtGui                               0x0000000112993f48 _ZN19QApplicationPrivate9constructEv + 568
	7   QtGui                               0x000000011299433e _ZN12QApplicationC2ERiPPcbi + 94
	8   libkdeui.5.14.3.dylib               0x0000000111ab6bc2 _ZN12KApplicationC2EbRK14KComponentData + 70
	9   libkdeui.5.14.3.dylib               0x0000000111abb00d _ZN18KUniqueApplicationC2Ebb + 45
	10  libkontactinterface.4.14.3.dylib    0x000000010f303486 _ZN16KontactInterface20PimUniqueApplicationC2Ev + 38
	11  akregator                           0x000000010f232833 main + 952
	12  dyld                                0x00007ff81a385310 start + 2432
)
libc++abi: terminating with uncaught exception of type NSException
Abort trap: 6

Output from running /Applications/MacPorts/KDE4/kontact.app/Contents/MacOS/kontact in Terminal:

QIODevice::setTextModeEnabled: The device is not open
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
2023-03-24 11:48:55.222 kontact[14442:1855707] *** Assertion failure in -[NSNib initWithContentsOfURL:], NSNib.m:65
2023-03-24 11:48:55.223 kontact[14442:1855707] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Deprecated in 10.8.'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007ff81a80c3eb __exceptionPreprocess + 242
	1   libobjc.A.dylib                     0x00007ff81a358e25 objc_exception_throw + 48
	2   Foundation                          0x00007ff81b6b1dc0 -[NSCalendarDate initWithCoder:] + 0
	3   AppKit                              0x00007ff81df804c3 -[NSNib initWithContentsOfURL:] + 105
	4   QtGui                               0x000000011029b3cf _Z18qt_mac_loadMenuNibP16QCocoaMenuLoader + 751
	5   QtGui                               0x000000011029e955 _Z7qt_initP19QApplicationPrivatei + 2117
	6   QtGui                               0x000000011030bf48 _ZN19QApplicationPrivate9constructEv + 568
	7   QtGui                               0x000000011030c33e _ZN12QApplicationC2ERiPPcbi + 94
	8   libkdeui.5.14.3.dylib               0x000000010d760bc2 _ZN12KApplicationC2EbRK14KComponentData + 70
	9   libkdeui.5.14.3.dylib               0x000000010d76500d _ZN18KUniqueApplicationC2Ebb + 45
	10  kontact                             0x000000010c5eb136 _ZN10KontactAppC2Ev + 28
	11  kontact                             0x000000010c5ea271 main + 3494
	12  dyld                                0x00007ff81a385310 start + 2432
)
libc++abi: terminating with uncaught exception of type NSException
Abort trap: 6

Is there something else I need to do to get D-Bus right? Was there a change in launchctl?

Change History (2)

comment:1 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: bjoern.ricks@… removed
Keywords: ventura added; Ventura removed
Owner: set to bjoern.ricks@…
Status: newassigned

Have you followed these steps?

wiki:KDE#Stepsrequiredafterinstallation

I'm not sure if those steps are still required; the page has not been edited in 3 years. But the KDE ports in MacPorts are probably more outdated than that.

comment:2 Changed 13 months ago by ShadSterling (Shad Sterling)

I'm not sure I had before, but I have now to no apparent effect. I was not able to find the QtCurve settings in System Settings, and the dbus-session LaunchAgent had the same I/O error. kbuildsycoca4 output includes quite a few undefined and unknown services, would the full output be helpful? I did once have Akregator working, I'm not sure how long ago or what change might have broken it. The output now is not much different from the other day:

QIODevice::setTextModeEnabled: The device is not open
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
2023-03-26 17:14:02.218 akregator[63008:5383777] *** Assertion failure in -[NSNib initWithContentsOfURL:], NSNib.m:65
2023-03-26 17:14:02.229 akregator[63008:5383777] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Deprecated in 10.8.'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007ff81a80c3eb __exceptionPreprocess + 242
	1   libobjc.A.dylib                     0x00007ff81a358e25 objc_exception_throw + 48
	2   Foundation                          0x00007ff81b6b1dc0 -[NSCalendarDate initWithCoder:] + 0
	3   AppKit                              0x00007ff81df804c3 -[NSNib initWithContentsOfURL:] + 105
	4   QtGui                               0x00000001071c93cf _Z18qt_mac_loadMenuNibP16QCocoaMenuLoader + 751
	5   QtGui                               0x00000001071cc955 _Z7qt_initP19QApplicationPrivatei + 2117
	6   QtGui                               0x0000000107239f48 _ZN19QApplicationPrivate9constructEv + 568
	7   QtGui                               0x000000010723a33e _ZN12QApplicationC2ERiPPcbi + 94
	8   libkdeui.5.14.3.dylib               0x000000010635cbc2 _ZN12KApplicationC2EbRK14KComponentData + 70
	9   libkdeui.5.14.3.dylib               0x000000010636100d _ZN18KUniqueApplicationC2Ebb + 45
	10  libkontactinterface.4.14.3.dylib    0x0000000103ba9486 _ZN16KontactInterface20PimUniqueApplicationC2Ev + 38
	11  akregator                           0x0000000103ad8833 main + 952
	12  dyld                                0x00007ff81a385310 start + 2432
)
libc++abi: terminating with uncaught exception of type NSException
Abort trap: 6
Note: See TracTickets for help on using tickets.