Bug 402396 - Throwing exceptions from an event handler is not supported in Qt
Summary: Throwing exceptions from an event handler is not supported in Qt
Status: RESOLVED DUPLICATE of bug 401692
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-20 22:33 UTC by jeremy
Modified: 2019-03-11 12:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***