Summary: | KMail crashes when launched | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | Allan Sandfeld <kde> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | faure |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Allan Sandfeld
2017-11-17 09:08:18 UTC
Valgrind seems to be blocked by drkonqi from seeing the details of the crash, there are few errors before though, but they look unrelated: ==21778== Thread 6 QThread: ==21778== Invalid read of size 2 ==21778== at 0x6D197F9: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1) ==21778== by 0x12A35DC0: g_main_context_check (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2) ==21778== by 0x12A3632F: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2) ==21778== by 0x12A3649B: g_main_context_iteration (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2) ==21778== by 0x6D1992E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1) ==21778== by 0x6CC27C9: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1) ==21778== by 0x6AEBCD3: QThread::exec() (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1) ==21778== by 0x6AF0988: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1) ==21778== by 0x10F7E6B9: start_thread (pthread_create.c:333) ==21778== by 0x740C3DC: clone (clone.S:109) ==21778== Address 0x2d94b3f6 is 6 bytes inside a block of size 16 free'd ==21778== at 0x4C2F24B: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==21778== by 0x6CFD105: QSocketNotifier::setEnabled(bool) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1) ==21778== by 0x6D197F8: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1) ==21778== by 0x12A35DC0: g_main_context_check (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2) ==21778== by 0x12A3632F: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2) ==21778== by 0x12A3649B: g_main_context_iteration (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2) ==21778== by 0x6D1992E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1) ==21778== by 0x6CC27C9: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1) ==21778== by 0x6AEBCD3: QThread::exec() (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1) ==21778== by 0x6AF0988: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1) ==21778== by 0x10F7E6B9: start_thread (pthread_create.c:333) ==21778== by 0x740C3DC: clone (clone.S:109) ==21778== Block was alloc'd at ==21778== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==21778== by 0x6D1A471: QEventDispatcherGlib::registerSocketNotifier(QSocketNotifier*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1) ==21778== by 0x6CFCF87: QSocketNotifier::QSocketNotifier(long long, QSocketNotifier::Type, QObject*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1) ==21778== by 0x10074878: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Network.so.5.9.1) ==21778== by 0x10061E44: QAbstractSocket::setSocketDescriptor(long long, QAbstractSocket::SocketState, QFlags<QIODevice::OpenModeFlag>) (in /usr/lib/x86_64-linux-gnu/libQt5Network.so.5.9.1) ==21778== by 0x100781DE: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Network.so.5.9.1) ==21778== by 0x10078639: QLocalSocket::connectToServer(QFlags<QIODevice::OpenModeFlag>) (in /usr/lib/x86_64-linux-gnu/libQt5Network.so.5.9.1) ==21778== by 0xCE847E9: Akonadi::Connection::doReconnect() (in /usr/lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5.6.80) ==21778== by 0xCFAF1A4: Akonadi::Connection::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (in /usr/lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5.6.80) ==21778== by 0x6CF1C58: QObject::event(QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1) ==21778== by 0x5FF03FB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.9.1) ==21778== by 0x5FF7E06: QApplication::notify(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.9.1) ==21778== ==21778== Invalid read of size 2 ==21778== at 0x6D19784: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1) ==21778== by 0x12A35DC0: g_main_context_check (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2) ==21778== by 0x12A3632F: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2) ==21778== by 0x12A3649B: g_main_context_iteration (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2) ==21778== by 0x6D1992E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1) ==21778== by 0x6CC27C9: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1) ==21778== by 0x6AEBCD3: QThread::exec() (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1) ==21778== by 0x6AF0988: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1) ==21778== by 0x10F7E6B9: start_thread (pthread_create.c:333) ==21778== by 0x740C3DC: clone (clone.S:109) ==21778== Address 0x2d94b3f4 is 4 bytes inside a block of size 16 free'd ==21778== at 0x4C2F24B: operator delete(void*) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==21778== by 0x6CFD105: QSocketNotifier::setEnabled(bool) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1) ==21778== by 0x6D197F8: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1) ==21778== by 0x12A35DC0: g_main_context_check (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2) ==21778== by 0x12A3632F: ??? (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2) ==21778== by 0x12A3649B: g_main_context_iteration (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2) ==21778== by 0x6D1992E: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1) ==21778== by 0x6CC27C9: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1) ==21778== by 0x6AEBCD3: QThread::exec() (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1) ==21778== by 0x6AF0988: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1) ==21778== by 0x10F7E6B9: start_thread (pthread_create.c:333) ==21778== by 0x740C3DC: clone (clone.S:109) ==21778== Block was alloc'd at ==21778== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==21778== by 0x6D1A471: QEventDispatcherGlib::registerSocketNotifier(QSocketNotifier*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1) ==21778== by 0x6CFCF87: QSocketNotifier::QSocketNotifier(long long, QSocketNotifier::Type, QObject*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1) ==21778== by 0x10074878: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Network.so.5.9.1) ==21778== by 0x10061E44: QAbstractSocket::setSocketDescriptor(long long, QAbstractSocket::SocketState, QFlags<QIODevice::OpenModeFlag>) (in /usr/lib/x86_64-linux-gnu/libQt5Network.so.5.9.1) ==21778== by 0x100781DE: ??? (in /usr/lib/x86_64-linux-gnu/libQt5Network.so.5.9.1) ==21778== by 0x10078639: QLocalSocket::connectToServer(QFlags<QIODevice::OpenModeFlag>) (in /usr/lib/x86_64-linux-gnu/libQt5Network.so.5.9.1) ==21778== by 0xCE847E9: Akonadi::Connection::doReconnect() (in /usr/lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5.6.80) ==21778== by 0xCFAF1A4: Akonadi::Connection::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (in /usr/lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5.6.80) ==21778== by 0x6CF1C58: QObject::event(QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.9.1) ==21778== by 0x5FF03FB: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.9.1) ==21778== by 0x5FF7E06: QApplication::notify(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.9.1) ==21778== QSocketNotifier: Invalid socket 10 and type 'Read', disabling... QSocketNotifier: Invalid socket 15 and type 'Read', disabling... QSocketNotifier: Invalid socket 19 and type 'Read', disabling... QSocketNotifier: Invalid socket 12 and type 'Read', disabling... QSocketNotifier: Invalid socket 18 and type 'Read', disabling... QSocketNotifier: Invalid socket 17 and type 'Read', disabling... Unable to start Dr. Konqi Re-raising signal for core dump handling. ==21778== ==21778== Process terminating with default action of signal 11 (SIGSEGV) ==21778== at 0x733A428: raise (raise.c:54) ==21778== by 0x57AF860: KCrash::defaultCrashHandler(int) (in /usr/lib/x86_64-linux-gnu/libKF5Crash.so.5.41.0) ==21778== by 0x733A4AF: ??? (in /lib/x86_64-linux-gnu/libc-2.23.so) ==21778== by 0xFAB48C9: KConfigGroup::operator=(KConfigGroup const&) (in /usr/lib/x86_64-linux-gnu/libKF5ConfigCore.so.5.41.0) ==21778== by 0xCF71080: Akonadi::EntityOrderProxyModel::setOrderConfig(KConfigGroup const&) (in /usr/lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5.6.80) ==21778== by 0x87C4CAE: MailCommon::FolderTreeWidget::FolderTreeWidget(QWidget*, KXMLGUIClient*, QFlags<MailCommon::FolderTreeWidget::TreeViewOption>, QFlags<MailCommon::FolderTreeWidgetProxyModel::FolderTreeWidgetProxyModelOption>) (in /usr/lib/x86_64-linux-gnu/libKF5MailCommon.so.5.6.81) ==21778== by 0x51439ED: KMMainWidget::createWidgets() (in /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5.6.80) ==21778== by 0x514F474: KMMainWidget::KMMainWidget(QWidget*, KXMLGUIClient*, KActionCollection*, QExplicitlySharedDataPointer<KSharedConfig>) (in /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5.6.80) ==21778== by 0x51000A9: KMMainWin::KMMainWin(QWidget*) (in /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5.6.80) ==21778== by 0x51111B6: KMKernel::openReader(bool) (in /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5.6.80) ==21778== by 0x51160BB: KMKernel::action(bool, bool, QString const&, QString const&, QString const&, QString const&, QString const&, QUrl const&, QList<QUrl> const&, QStringList const&, QString const&, QString const&, QString const&) (in /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5.6.80) ==21778== by 0x511796B: KMKernel::handleCommandLine(bool, QStringList const&, QString const&) (in /usr/lib/x86_64-linux-gnu/libkmailprivate.so.5.6.80) ==21778== The only recent related commit I could found was 40252aae3c793c7c4df42d90073911c73cebd7f1 but that should be 7.12, and my packages claim to be 7.08 On closer inspection this line: #10 0x00007f162fdc19ee in KMMainWidget::createWidgets (this=this@entry=0x2659970) at /workspace/build/src/kmmainwidget.cpp:996 Corresponds with the sources in the 17.12 branch of kmail, not with 17.08 branch. Is this just neon mispackaging kdepim again? To remove drkonqi from the equation, simply export KDE_DEBUG=1. Either this is a miscompilation... or I did something wrong in terms of KConfigGroup lifetime in https://phabricator.kde.org/D8783 ... but the calling code is simply KConfigGroup grp(KernelIf->config(), "CollectionTreeOrder"); d->entityOrderProxy->setOrderConfig(grp); which should be fine... Does this still happen? I downgraded to neon user instead of dev stable, so I don't know if it still happens there. Thank you for the crash report. As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you. Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |