Bug 415741 - Akonadi crash : event handler is not supported in Qt
Summary: Akonadi crash : event handler is not supported in Qt
Status: RESOLVED DUPLICATE of bug 403391
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: server (show other bugs)
Version: 5.13.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-31 12:08 UTC by Bruno Friedmann
Modified: 2020-08-25 20:52 UTC (History)
1 user (show)

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


Attachments
Backtrace from drkonqi (87.79 KB, text/plain)
2019-12-31 12:08 UTC, Bruno Friedmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Friedmann 2019-12-31 12:08:03 UTC
Created attachment 124806 [details]
Backtrace from drkonqi

Application: akonadiserver (5.13.0 (19.12.0))

Qt Version: 5.13.1
Frameworks Version: 5.65.0
Operating System: Linux 5.3.12-2-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
Sorting new email by delete, reading, moving them around, on the second action, the email stay in inbox folder and afterwards akonadi crash appear
- Custom settings of the application:
akonadi is using postgresql11 central (highly beefy) server
kde is using breeze dark setting
video is nvidia
in xorg-session.log there those messages
LOGIN CALLBACK in libCVP11LCB: CK_RV CB_Initialize(CK_CONTEXT_PTR, CK_C_INITIALIZE_ARGS_PTR, CK_ULONG_PTR)
[Parent 20988, Gecko_IOThread] WARNING: pipe error (112): Connection reset by peer: file /home/abuild/rpmbuild/BUILD/firefox-70.0.1/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358
ProtocolException thrown:ProtocolException thrown:ProtocolException thrown:ProtocolException thrown:ProtocolException thrown:ProtocolException thrown:Timeout while waiting for dataProtocolException thrown:Timeout while waiting for dataTimeout while waiting for dataProtocolException thrown:Timeout while waiting for data
Timeout while waiting for data

Timeout while waiting for data


Timeout while waiting for data
Timeout while waiting for data
ProtocolException thrown:Timeout while waiting for data
ProtocolException thrown:Failed to write data to stream
terminate called after throwing an instance of 'Akonadi::ProtocolException'
  what():  Failed to write data to stream
ProtocolException thrown:Timeout while waiting for data
KCrash: Application 'akonadiserver' crashing...
KCrash: Attempting to start /usr/lib64/libexec/drkonqi from kdeinit
postgresql log : bf_akonadi  bf_akonadi LOG:  could not receive data from client: Connection reset by peer

and in system log
Dec 31 12:41:00 qt-kt akonadiserver[13775]: org.kde.pim.akonadiserver.search: Executing search "kmail2-48271-SearchSession"
Dec 31 12:41:00 qt-kt akonadiserver[13775]: org.kde.pim.akonadiserver.search: Search  "kmail2-48271-SearchSession" done (without remote search)
Dec 31 12:41:02 qt-kt akonadiserver[13775]: QIODevice::write (QLocalSocket): device not open
Dec 31 12:41:02 qt-kt akonadiserver[13775]: 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.

The crash can be reproduced every time.

See Attached backtrace

The reporter indicates this bug may be a duplicate of or related to bug 414974, bug 414528.

Possible duplicates by query: bug 415634, bug 415339, bug 415068, bug 414974, bug 414885.
Comment 1 Ahmad Samir 2020-08-25 20:52:50 UTC

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