Bug 250864 - Akonadi nepomuk feeders crashed when attempting to display error message (4.6) [findNode. QFontCache::findEngineData, ..., QFontDatabase::load, QFontPrivate::engineForScript]
Summary: Akonadi nepomuk feeders crashed when attempting to display error message (4.6...
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Nepomuk Feeder Agents (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Tobias Koenig
URL:
Keywords:
: 258563 258564 262201 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-11 12:55 UTC by Alex Merry
Modified: 2012-03-11 16:35 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (9.44 KB, text/plain)
2011-01-10 14:17 UTC, Luis Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Merry 2010-09-11 12:55:14 UTC
Application: akonadi_nepomuk_contact_feeder (0.1)
KDE Platform Version: 4.5.67 (4.6 >= 20100901) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.35-ARCH x86_64
Distribution (Platform): Archlinux Packages

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

I pulled Nepomuk out from under Akonadi (I'd killed the virtuoso-t processes before starting akonadi, and stopped nepomuk altogether while Akonadi was running).  The contacts feeder and the email feeder both crashed immediately.

-- Backtrace:
Application: Akonadi Agent (akonadi_nepomuk_contact_feeder), signal: Segmentation fault
[KCrash Handler]
#6  0x00007fa49345d84b in QMap<QFontCache::Key, QFontEngineData*>::findNode (this=0x1eecd60, key=...) at ../../include/QtCore/../../src/corelib/tools/qmap.h:462
#7  QMap<QFontCache::Key, QFontEngineData*>::find (this=0x1eecd60, key=...) at ../../include/QtCore/../../src/corelib/tools/qmap.h:583
#8  QFontCache::findEngineData (this=0x1eecd60, key=...) at text/qfont.cpp:2721
#9  0x00007fa49347e290 in getEngineData (d=0x1d20fd0, script=0) at text/qfontdatabase.cpp:994
#10 QFontDatabase::load (d=0x1d20fd0, script=0) at text/qfontdatabase_x11.cpp:1912
#11 0x00007fa49345d531 in QFontPrivate::engineForScript (this=0x1d20fd0, script=0) at text/qfont.cpp:270
#12 0x00007fa4934905dc in QScriptLine::setDefaultHeight (this=0x1eb5b70, eng=0x1d9e7d0) at text/qtextengine.cpp:2009
#13 0x00007fa49349cc50 in QTextLine::layout_helper (this=0x7ffff67caac0, maxGlyphs=2147483647) at text/qtextlayout.cpp:1756
#14 0x00007fa4934de786 in QTextDocumentLayoutPrivate::layoutBlock (this=0x1d6cef0, bl=<value optimized out>, blockPosition=0, blockFormat=..., layoutStruct=0x7ffff67cb170, layoutFrom=-159601968, 
    layoutTo=2147483647, previousBlockFormat=0x0) at text/qtextdocumentlayout.cpp:2604
#15 0x00007fa4934df9f1 in QTextDocumentLayoutPrivate::layoutFlow (this=0x1d6cef0, it=..., layoutStruct=0x7ffff67cb170, layoutFrom=0, layoutTo=2147483647, width=<value optimized out>)
    at text/qtextdocumentlayout.cpp:2406
#16 0x00007fa4934e50ec in QTextDocumentLayoutPrivate::layoutFrame (this=0x1d6cef0, f=0x1ed46d0, layoutFrom=0, layoutTo=2147483647, frameWidth=..., frameHeight=..., parentY=...)
    at text/qtextdocumentlayout.cpp:2147
#17 0x00007fa4934e5b41 in QTextDocumentLayoutPrivate::layoutFrame (this=0x1d6cef0, f=0x1ed46d0, layoutFrom=0, layoutTo=2147483647, parentY=...) at text/qtextdocumentlayout.cpp:2053
#18 0x00007fa4934e5fd8 in QTextDocumentLayout::doLayout (this=0x1e81ce0, from=0, oldLength=<value optimized out>, length=2147483647) at text/qtextdocumentlayout.cpp:2918
#19 0x00007fa4934e64ba in QTextDocumentLayoutPrivate::ensureLayoutedByPosition (this=0x1d6cef0, position=1000) at text/qtextdocumentlayout.cpp:3080
#20 0x00007fa4934e6c05 in QTextDocumentLayoutPrivate::layoutStep (this=0x1d6cef0) at text/qtextdocumentlayout.cpp:3086
#21 0x00007fa4934e788c in QTextDocumentLayout::documentChanged (this=0x1e81ce0, from=<value optimized out>, oldLength=0, length=1) at text/qtextdocumentlayout.cpp:2878
#22 0x00007fa4934aed24 in QTextDocument::documentLayout (this=0x1e98360) at text/qtextdocument.cpp:1043
#23 0x00007fa493483146 in QTextControlPrivate::_q_documentLayoutChanged (this=<value optimized out>) at text/qtextcontrol.cpp:622
#24 0x00007fa493485efd in QTextControlPrivate::setContent (this=0x1d6cc10, format=Qt::RichText, text=..., document=0x0) at text/qtextcontrol.cpp:434
#25 0x00007fa4934862a4 in QTextControlPrivate::init (this=<value optimized out>, format=<value optimized out>, text=<value optimized out>, document=<value optimized out>) at text/qtextcontrol.cpp:405
#26 0x00007fa4934886ce in QTextControl (this=0x1e8dbb0, parent=0x1d46530) at text/qtextcontrol.cpp:764
#27 0x00007fa493645490 in QLabelPrivate::ensureTextControl (this=0x1d6c8d0) at widgets/qlabel.cpp:1505
#28 0x00007fa4936457b8 in QLabel::setText (this=0x1d46530, text=<value optimized out>) at widgets/qlabel.cpp:354
#29 0x00007fa493645f19 in QLabel (this=0x1d46530, text=..., parent=0x1eec8f0, f=<value optimized out>) at widgets/qlabel.cpp:180
#30 0x00007fa49630c50e in KMessageBox::createKMessageBox (dialog=0x1e85d80, icon=..., text=..., strlist=..., ask=..., checkboxReturn=0x0, options=..., details=..., notifyType=QMessageBox::Critical)
    at /home/kde-devel/src/KDE/kdelibs/kdeui/dialogs/kmessagebox.cpp:187
#31 0x00007fa49630c1e6 in KMessageBox::createKMessageBox (dialog=0x1e85d80, icon=QMessageBox::Critical, text=..., strlist=..., ask=..., checkboxReturn=0x0, options=..., details=...)
    at /home/kde-devel/src/KDE/kdelibs/kdeui/dialogs/kmessagebox.cpp:152
#32 0x00007fa49630ffcd in KMessageBox::errorListWId (parent_id=0, text=..., strlist=..., caption=..., options=...) at /home/kde-devel/src/KDE/kdelibs/kdeui/dialogs/kmessagebox.cpp:847
#33 0x00007fa49630fc72 in KMessageBox::error (parent=0x0, text=..., caption=..., options=...) at /home/kde-devel/src/KDE/kdelibs/kdeui/dialogs/kmessagebox.cpp:814
#34 0x0000000000413c4d in NepomukFeederAgentBase::selfTest (this=0x1d5ff50) at /home/kde-devel/src/KDE/kdepim/runtime/agents/nepomukfeeder/nepomukfeederagentbase.cpp:407
#35 0x00000000004155c2 in NepomukFeederAgentBase::qt_metacall (this=0x1d5ff50, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7ffff67cc340)
    at /home/kde-devel/build/KDE/kdepim/runtime/agents/nepomuk_contact_feeder/nepomukfeederagentbase.moc:103
#36 0x000000000040d2b7 in Akonadi::NepomukContactFeeder::qt_metacall (this=0x1d5ff50, _c=QMetaObject::InvokeMetaMethod, _id=28, _a=0x7ffff67cc340)
    at /home/kde-devel/build/KDE/kdepim/runtime/agents/nepomuk_contact_feeder/nepomukcontactfeeder.moc:66
#37 0x00007fa495499def in QMetaObject::activate (sender=0x1d62770, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#38 0x00007fa494c1ff7d in Nepomuk::ResourceManager::nepomukSystemStopped (this=0x1d62770) at /home/kde-devel/build/KDE/kdelibs/nepomuk/resourcemanager.moc:122
#39 0x00007fa494c1df1a in Nepomuk::ResourceManagerPrivate::_k_dbusServiceUnregistered (this=0x1d620d0, serviceName=...) at /home/kde-devel/src/KDE/kdelibs/nepomuk/core/resourcemanager.cpp:231
#40 0x00007fa494c1fe55 in Nepomuk::ResourceManager::qt_metacall (this=0x1d62770, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7ffff67cc530)
    at /home/kde-devel/build/KDE/kdelibs/nepomuk/resourcemanager.moc:91
#41 0x00007fa495499def in QMetaObject::activate (sender=0x1d61460, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7ffff67cc530) at kernel/qobject.cpp:3287
#42 0x00007fa494eee6a5 in QDBusServiceWatcher::serviceUnregistered (this=<value optimized out>, _t1=<value optimized out>) at .moc/release-shared/moc_qdbusservicewatcher.cpp:139
#43 0x00007fa494eef1e4 in QDBusServiceWatcher::qt_metacall (this=0x1d61460, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7ffff67cc620) at .moc/release-shared/moc_qdbusservicewatcher.cpp:91
#44 0x00007fa494eb0f9b in QDBusConnectionPrivate::deliverCall (this=0x1c87dc0, object=0x1d61460, msg=..., metaTypes=..., slotIdx=7) at qdbusintegrator.cpp:904
#45 0x00007fa494ebe22f in QDBusCallDeliveryEvent::placeMetaCall (this=<value optimized out>, object=<value optimized out>) at qdbusintegrator_p.h:101
#46 0x00007fa495497689 in QObject::event (this=0x1d61460, e=0x1ed49f0) at kernel/qobject.cpp:1240
#47 0x00007fa493258ae4 in QApplicationPrivate::notify_helper (this=0x1c00510, receiver=0x1d61460, e=0x1ed49f0) at kernel/qapplication.cpp:4302
#48 0x00007fa49325cbca in QApplication::notify (this=<value optimized out>, receiver=0x1d61460, e=0x1ed49f0) at kernel/qapplication.cpp:4185
#49 0x00007fa4963ab459 in KApplication::notify (this=0x7ffff67cd2e0, receiver=0x1d61460, event=0x1ed49f0) at /home/kde-devel/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:310
#50 0x00007fa495485d8c in QCoreApplication::notifyInternal (this=0x7ffff67cd2e0, receiver=0x1d61460, event=0x1ed49f0) at kernel/qcoreapplication.cpp:726
#51 0x00007fa4954894ea in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x1bc2730) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#52 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1bc2730) at kernel/qcoreapplication.cpp:1367
#53 0x00007fa4954ae373 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#54 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#55 0x00007fa48e4d0b33 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#56 0x00007fa48e4d1310 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#57 0x00007fa48e4d15ad in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#58 0x00007fa4954ae87f in QEventDispatcherGlib::processEvents (this=0x1bc1e30, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#59 0x00007fa4932f860e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#60 0x00007fa495485172 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#61 0x00007fa4954853ac in QEventLoop::exec (this=0x7ffff67cd230, flags=...) at kernel/qeventloop.cpp:201
#62 0x00007fa4954897bb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#63 0x00007fa495849e5d in Akonadi::AgentBase::init (r=0x1d5ff50) at /home/kde-devel/src/KDE/kdepimlibs/akonadi/agentbase.cpp:512
#64 0x000000000040e95b in Akonadi::AgentBase::init<Akonadi::NepomukContactFeeder> (argc=3, argv=0x7ffff67cd438) at /home/kde-devel/kde/include/akonadi/agentbase.h:317
#65 0x000000000040d1f5 in main (argc=3, argv=0x7ffff67cd438) at /home/kde-devel/src/KDE/kdepim/runtime/agents/nepomuk_contact_feeder/nepomukcontactfeeder.cpp:263

Reported using DrKonqi
Comment 1 Dario Andres 2010-12-02 22:51:35 UTC
[Comment from a bug triager]
From bug 258563:
- What I was doing when the application crashed:
Akonadi crashed when I logged into the Plasma Desktop... It seems to work fine
after it automatically restarted, but this isn't the first time it happened.
Comment 2 Dario Andres 2010-12-02 22:52:06 UTC
*** Bug 258563 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2010-12-02 22:52:07 UTC
*** Bug 258564 has been marked as a duplicate of this bug. ***
Comment 4 Christophe Marin 2011-01-05 17:41:41 UTC
*** Bug 262201 has been marked as a duplicate of this bug. ***
Comment 5 Luis Silva 2011-01-10 14:17:01 UTC
Created attachment 55821 [details]
New crash information added by DrKonqi

akonadi_nepomuk_calendar_feeder (0.1) on KDE Platform 4.5.95 (4.6 RC2) using Qt 4.7.1

- What I was doing when the application crashed:

I completely stoped both akonadi and nepomuk:
akonadictl stop
qdbus org.kde.NepomukServer /nepomukserver quit

 After the computer settled I started akonadi:
akonadictl start

 After akonadi started completely I started nepomuk:
nepomuk server

The crash happens immediately and consistently.

-- Backtrace (Reduced):
#6  0x0000003a4d1d18aa in operator< (this=0x1227ce0, key=...) at text/qfont_p.h:229
#7  qMapLessThanKey<QFontCache::Key> (this=0x1227ce0, key=...) at ../../include/QtCore/../../src/corelib/tools/qmap.h:107
#8  findNode (this=0x1227ce0, key=...) at ../../include/QtCore/../../src/corelib/tools/qmap.h:484
#9  find (this=0x1227ce0, key=...) at ../../include/QtCore/../../src/corelib/tools/qmap.h:605
#10 QFontCache::findEngineData (this=0x1227ce0, key=...) at text/qfont.cpp:2734
Comment 6 Volker Krause 2012-03-11 16:35:50 UTC
The akonadi_nepomuk_<type>_feeder processes don't exist anymore in KDE PIM 4.8.