Bug 402396

Summary: Throwing exceptions from an event handler is not supported in Qt
Product: [Frameworks and Libraries] Akonadi Reporter: jeremy
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: faure
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=401692
Latest Commit: Version Fixed In:

Description jeremy 2018-12-20 22:33:26 UTC
Output from akonadictl started in konsole:


org.kde.pim.akonadiserver: Received ModifySubscription command before RegisterSubscriber
org.kde.pim.akonadicore: "QLocalSocket: Remote closed" "/tmp/akonadi-jeremy.9k9RMP/akonadiserver-ntf.socket"
Fontconfig error: Cannot scan config file "infinality/conf.d"
ProtocolException thrown:Failed to write data to stream
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt.
You must not let any exception whatsoever propagate through Qt code.
If that is not possible, in Qt 5 you must at least reimplement
QCoreApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'Akonadi::ProtocolException'
  what():  Failed to write data to stream
org.kde.pim.akonadicontrol: ProcessControl: Application "/usr/bin/akonadi_akonotes_resource" stopped unexpectedly ( "Process crashed" )
org.kde.pim.akonadicontrol: Application '/usr/bin/akonadi_akonotes_resource' crashed! 1 restarts left



Linux/KDE Plasma: 4.9.76-gentoo-r1 / 18.08.2 
(available in About System)
KDE Plasma Version: 15.13.5
KDE Frameworks Version: 5.52.0
Qt Version: 5.11.1
Comment 1 David Faure 2019-03-11 12:19:28 UTC

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