Bug 251396 - akonadi crash when starting kopete in xmonad
Summary: akonadi crash when starting kopete in xmonad
Status: RESOLVED DOWNSTREAM
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Mail Dispatcher Agent (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 252024 266000 266452 266454 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-16 02:00 UTC by Arne Babenhauserheide
Modified: 2011-02-22 02:05 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arne Babenhauserheide 2010-09-16 02:00:36 UTC
Application: akonadi_maildispatcher_agent (0.1)
KDE Platform Version: 4.5.1 (KDE 4.5.1) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.34-gentoo-r1 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:

I started kopete. It didn’t show for some time. Then all akonadi resources showed me a Dr. Konqui, one for each (and one for kopete). 



- Unusual behavior I noticed:

The resources keep crashing again and again.

arne@fluss ~ $ pkill kopete
arne@fluss ~ $ kopete
kopete(28480) Kopete::Global::Properties::Properties:
kopete(28480) Kopete::IdentityManager::load: Created identity  "XWlvYCOSPa"
kopete(28480) Kopete::IdleTimer::IdleTimer: Using platform idle timer
QSystemTrayIcon::setVisible: No Icon set
kopete(28480) KopeteWindow::slotIdentityStatusIconChanged: QVariant(, )
kopete(28480)/libakonadi Akonadi::AgentManagerPrivate::createDBusInterface: AgentManager failed to get a valid AgentManager DBus interface. Error is: 1 "org.freedesktop.DBus.Error.NameHasNoOwner" "Could not get owner of name 'org.freedesktop.Akonadi.Control': no such name" 
arne@fluss ~ $ kopete
arne@fluss ~ $ kopete

kopete(28598): Communication problem with  "kopete" , it probably crashed. 
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." " 

arne@fluss ~ $ 
arne@fluss ~ $ kopete(28480)/kdecore (KLibrary) kde4Factory: The library "/usr/lib64/kde4/kopete_history.so" does not offer a qt_plugin_instance function.
kopete(28480) ChatWindowStyleManager::ChatWindowStyleManager:
kopete(28480) ChatWindowStyleManager::loadStyles: "/home/arne/.kde4.1/share/apps/kopete/styles/"
kopete(28480) ChatWindowStyleManager::loadStyles: "/usr/share/apps/kopete/styles/"
kopete(28480) KopeteWindow::slotIdentityStatusIconChanged: QVariant(, )
kopete(28480) KopeteWindow::slotIdentityStatusIconChanged: QVariant(, )
kopete(28480) KopeteWindow::slotIdentityStatusIconChanged: QVariant(, )
kopete(28480) KopeteWindow::slotIdentityStatusIconChanged: QVariant(, )
kopete(28480) KopeteWindow::slotIdentityStatusIconChanged: QVariant(, )
kopete(28480) KopeteWindow::slotIdentityStatusIconChanged: QVariant(, )
kopete(28480) KopeteWindow::slotIdentityStatusIconChanged: QVariant(, )
KCrash: Application 'kopete' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/home/arne/.kde4/socket-fluss/kdeinit4__1
arne@fluss ~ $ kopete
kopete(28707) Kopete::Global::Properties::Properties:
kopete(28707) Kopete::IdentityManager::load: Created identity  "XWlvYCOSPa"
kopete(28707) Kopete::IdleTimer::IdleTimer: Using platform idle timer
QSystemTrayIcon::setVisible: No Icon set
kopete(28707) KopeteWindow::slotIdentityStatusIconChanged: QVariant(, )

^[O4Q^[O4Rkopete(28706): Communication problem with  "kopete" , it probably crashed. 
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." " 

arne@fluss ~ $ 
arne@fluss ~ $ kopete
kopete(28755): Communication problem with  "kopete" , it probably crashed. 
Error message was:  "org.freedesktop.DBus.Error.NoReply" : " "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken." " 

arne@fluss ~ $ kopete(28707)/kdecore (KLibrary) kde4Factory: The library "/usr/lib64/kde4/kopete_history.so" does not offer a qt_plugin_instance function.
kopete(28707) ChatWindowStyleManager::ChatWindowStyleManager:
kopete(28707) ChatWindowStyleManager::loadStyles: "/home/arne/.kde4.1/share/apps/kopete/styles/"
kopete(28707) ChatWindowStyleManager::loadStyles: "/usr/share/apps/kopete/styles/"
kopete(28707) KopeteWindow::slotIdentityStatusIconChanged: QVariant(, )
kopete(28707) KopeteWindow::slotIdentityStatusIconChanged: QVariant(, )
kopete(28707) KopeteWindow::slotIdentityStatusIconChanged: QVariant(, )
kopete(28707) KopeteWindow::slotIdentityStatusIconChanged: QVariant(, )
kopete(28707) KopeteWindow::slotIdentityStatusIconChanged: QVariant(, )
kopete(28707) KopeteWindow::slotIdentityStatusIconChanged: QVariant(, )
kopete(28707) KopeteWindow::slotIdentityStatusIconChanged: QVariant(, )
KCrash: Application 'kopete' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/home/arne/.kde4/socket-fluss/kdeinit4__1

arne@fluss ~ $

-- Backtrace:
Application: Akonadi Agent (akonadi_maildispatcher_agent), signal: Segmentation fault
[KCrash Handler]
#6  0x00007f2b630d0ca3 in Akonadi::NotificationMessage::operation() const () from /usr/lib/libakonadiprotocolinternals.so.1
#7  0x00007f2b67831c40 in Akonadi::MonitorPrivate::invalidateCaches(Akonadi::NotificationMessage const&) () from /usr/lib/libakonadi-kde.so.4
#8  0x00007f2b678321cd in Akonadi::MonitorPrivate::slotNotify(QList<Akonadi::NotificationMessage> const&) () from /usr/lib/libakonadi-kde.so.4
#9  0x00007f2b6782cd92 in Akonadi::Monitor::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libakonadi-kde.so.4
#10 0x00007f2b671f1830 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#11 0x00007f2b678845b2 in OrgFreedesktopAkonadiNotificationManagerInterface::notify(QList<Akonadi::NotificationMessage> const&) () from /usr/lib/libakonadi-kde.so.4
#12 0x00007f2b678845fd in OrgFreedesktopAkonadiNotificationManagerInterface::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libakonadi-kde.so.4
#13 0x00007f2b66c096dc in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QList<int> const&, int) () from /usr/lib64/qt4/libQtDBus.so.4
#14 0x00007f2b66c13adf in QDBusCallDeliveryEvent::placeMetaCall(QObject*) () from /usr/lib64/qt4/libQtDBus.so.4
#15 0x00007f2b671ee2f8 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#16 0x00007f2b6447d85d in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#17 0x00007f2b64484ae4 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#18 0x00007f2b659448d6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#19 0x00007f2b671de3f3 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007f2b671e0af8 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007f2b67207a03 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4
#22 0x00007f2b629fb993 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#23 0x00007f2b629ff798 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#24 0x00007f2b629ff954 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#25 0x00007f2b6720755c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#26 0x00007f2b6452ca4f in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#27 0x00007f2b671dcd62 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#28 0x00007f2b671dd134 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#29 0x00007f2b671e0d86 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#30 0x00007f2b67788c03 in Akonadi::AgentBase::init(Akonadi::AgentBase*) () from /usr/lib/libakonadi-kde.so.4
#31 0x0000000000409555 in main ()

Reported using DrKonqi
Comment 1 Daniel Pinto dos Santos 2011-02-06 10:51:25 UTC
Same here...
Not able to use kopete, all akonadi resources crash. I'm using MySql as backend.
Comment 2 Christophe Marin 2011-02-06 13:28:17 UTC
(In reply to comment #1)
> Same here...
> Not able to use kopete, all akonadi resources crash. I'm using MySql as
> backend.

also using gentoo ?

which akonadi version ? (akonadictl --version)
which kde version ? 

Do you have a better backtrace than the original one ?
Comment 3 Daniel Pinto dos Santos 2011-02-06 17:24:02 UTC
(In reply to comment #2)
> also using gentoo ?
> 
> which akonadi version ? (akonadictl --version)
> which kde version ? 
> 
> Do you have a better backtrace than the original one ?

Yes, also using gentoo.
Akonadi version is: ~ $ akonadictl --version
Akonadi 1.5.0
KDE & Kopete version is: 4.4.5

I'm afraid I cannot provide better backtraces as I don't have gdm installed. But all the resources crash with: "Signal: 11 (Segmentation fault)"
Comment 4 Daniel Pinto dos Santos 2011-02-07 19:58:37 UTC
(In reply to comment #2)
> 
> also using gentoo ?
> 
> which akonadi version ? (akonadictl --version)
> which kde version ? 
> 
> Do you have a better backtrace than the original one ?

Switching back to akonadi 1.4.1 resolves the problem.
Indeed akonadi 1.5.0 is not yet in gentoo stable tree.
Comment 5 Christophe Marin 2011-02-16 14:42:41 UTC
*** Bug 266454 has been marked as a duplicate of this bug. ***
Comment 6 Christophe Marin 2011-02-16 14:42:49 UTC
*** Bug 252024 has been marked as a duplicate of this bug. ***
Comment 7 Christophe Marin 2011-02-16 14:43:03 UTC
*** Bug 266000 has been marked as a duplicate of this bug. ***
Comment 8 Christophe Marin 2011-02-16 14:53:09 UTC
According to the Gentoo gurus, you're mixing stables and unstables branches.

Two solutions:
- Don't do that or fill a bug report on the Gentoo bug tracker,
- Update your KDE version to 4.6
Comment 9 Christophe Marin 2011-02-22 02:05:19 UTC
*** Bug 266452 has been marked as a duplicate of this bug. ***