Bug 302876

Summary: Crash on open of Kontacts
Product: [Applications] kontact Reporter: Andrew Weiss <rumbeard>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: matteo.bernardini, rumbeard
Priority: NOR    
Version: 4.8.3   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Andrew Weiss 2012-07-02 08:52:50 UTC
Application: kontact (4.8.3)
KDE Platform Version: 4.8.4 (4.8.4) (Compiled from sources)
Qt Version: 4.8.2
Operating System: Linux 3.4.3-1.fc17.ppc64 ppc64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed: I was starting Kontacts application.  Crash occurred on startup.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0xfffaa32adb0 (LWP 4628))]

Thread 3 (Thread 0xfffa10df0b0 (LWP 4629)):
#0  0x00000080761a1a80 in __pthread_cond_wait (cond=0x80e6d24d90, mutex=0x80e6d24d68) at pthread_cond_wait.c:156
#1  0x00000080e640869c in WTF::TCMalloc_PageHeap::scavengerThread (this=0x80e6d16cc0) at wtf/FastMalloc.cpp:2495
#2  0x00000080e6408840 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x000000807619c5b4 in start_thread (arg=0xfffa10df0b0) at pthread_create.c:311
#4  0x0000008075f992d0 in .__clone () from /lib64/libc.so.6

Thread 2 (Thread 0xfffa055f0b0 (LWP 4630)):
#0  0x00000080761a6094 in .__libc_read () from /lib64/libpthread.so.0
#1  0x00000080df18edd0 in read (__nbytes=16, __buf=<error reading variable: value has been optimized out>, __fd=10) at /usr/include/bits/unistd.h:45
#2  g_wakeup_acknowledge (wakeup=0x377b3060) at gwakeup.c:212
#3  0x00000080df137e00 in g_main_context_check (context=0xfff980009a0, max_priority=<optimized out>, fds=0xfff9800e2d0, n_fds=<optimized out>) at gmain.c:2980
#4  0x00000080df138434 in g_main_context_iterate (context=context@entry=0xfff980009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at gmain.c:3143
#5  0x00000080df138684 in g_main_context_iteration (context=0xfff980009a0, may_block=<optimized out>) at gmain.c:3207
#6  0x00000080e012f020 in QEventDispatcherGlib::processEvents (this=0xfff980008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00000080e00ea544 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00000080e00ea988 in QEventLoop::exec (this=0xfffa055e4e0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00000080dff9b240 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00000080dff9b410 in QThread::run (this=<error reading variable: value has been optimized out>) at thread/qthread.cpp:568
#11 0x00000080dff9f794 in QThreadPrivate::start (arg=0x3793a8f0) at thread/qthread_unix.cpp:307
#12 0x000000807619c5b4 in start_thread (arg=0xfffa055f0b0) at pthread_create.c:311
#13 0x0000008075f992d0 in .__clone () from /lib64/libc.so.6

Thread 1 (Thread 0xfffaa32adb0 (LWP 4628)):
[KCrash Handler]
#6  0x00000080e642c61c in reserveAndCommit (executable=<optimized out>, writable=<optimized out>, usage=<optimized out>, bytes=<optimized out>) at wtf/OSAllocatorPosix.cpp:97
#7  WTF::OSAllocator::reserveUncommitted (bytes=<optimized out>, usage=<optimized out>, writable=<optimized out>, executable=<optimized out>) at wtf/OSAllocatorPosix.cpp:38
#8  0x00000080e655a584 in WTF::PageAllocationAligned::allocate (size=16384, alignment=16384, usage=<optimized out>, writable=<optimized out>, executable=<optimized out>) at wtf/PageAllocationAligned.cpp:57
#9  0x00000080e652fc8c in JSC::MarkedBlock::create (globalData=0xfffa0803000, cellSize=104) at heap/MarkedBlock.cpp:38
#10 0x00000080e643a9c0 in JSC::MarkedSpace::allocateBlock (this=0xfffa0804858, sizeClass=...) at heap/MarkedSpace.cpp:55
#11 0x00000080e643adf0 in JSC::MarkedSpace::allocateFromSizeClass (this=<optimized out>, sizeClass=...) at heap/MarkedSpace.cpp:85
#12 0x00000080e64839d0 in allocate (bytes=104, this=<error reading variable: value has been optimized out>) at runtime/JSCell.h:376
#13 allocate (bytes=104, this=0xfffa0804850) at runtime/JSCell.h:388
#14 operator new (globalData=0xfffa0803000, size=<optimized out>) at runtime/JSCell.h:398
#15 createStructure (globalData=...) at runtime/Structure.h:161
#16 JSC::JSGlobalData::JSGlobalData (this=0xfffa0803000, globalDataType=<optimized out>, threadStackType=<optimized out>) at runtime/JSGlobalData.cpp:185
#17 0x00000080e648545c in create (type=JSC::ThreadStackTypeLarge) at runtime/JSGlobalData.cpp:326
#18 JSC::JSGlobalData::createLeaked (type=<optimized out>) at runtime/JSGlobalData.cpp:331
#19 0x00000080e58e8b6c in WebCore::JSDOMWindowBase::commonJSGlobalData () at bindings/js/JSDOMWindowBase.cpp:176
#20 0x00000080e589d69c in WebCore::FrameLoaderClientQt::createDocumentLoader (this=0x3795c7e0, request=..., substituteData=...) at WebCoreSupport/FrameLoaderClientQt.cpp:990
#21 0x00000080e5d09714 in WebCore::FrameLoader::load (this=0xfffa07fa478, request=<error reading variable: value has been optimized out>, substituteData=<error reading variable: value has been optimized out>, lockHistory=<optimized out>) at loader/FrameLoader.cpp:1460
#22 0x00000080e5844930 in QWebFrame::setHtml (this=0x3795ca00, html=..., baseUrl=...) at Api/qwebframe.cpp:974
#23 0x00000080e5863ba0 in QWebView::setHtml (this=<optimized out>, html=..., baseUrl=...) at Api/qwebview.cpp:476
#24 0x00000080e22bd778 in Kontact::MainWindow::paintAboutScreen (this=<optimized out>, msg=...) at /usr/src/debug/kdepim-4.8.3/kontact/src/mainwindow.cpp:401
#25 0x00000080e22be05c in Kontact::MainWindow::initWidgets (this=0x37909b90) at /usr/src/debug/kdepim-4.8.3/kontact/src/mainwindow.cpp:361
#26 0x00000080e22bf6b0 in Kontact::MainWindow::initGUI (this=<error reading variable: value has been optimized out>) at /usr/src/debug/kdepim-4.8.3/kontact/src/mainwindow.cpp:166
#27 0x00000080e22c7c8c in Kontact::MainWindow::MainWindow (this=0x37909b90, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.8.3/kontact/src/mainwindow.cpp:152
#28 0x0000000010004744 in KontactApp::newInstance (this=0xfffc85af060) at /usr/src/debug/kdepim-4.8.3/kontact/src/main.cpp:134
#29 0x00000fffabba84b0 in KUniqueApplicationAdaptor::newInstance (this=0x379087d0, asn_id=..., args=...) at /usr/src/debug/kdelibs-4.8.4/kdeui/kernel/kuniqueapplication.cpp:442
#30 0x00000fffabba8564 in qt_static_metacall (_a=0xfffc85adaf0, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kdelibs-4.8.4/ppc64-redhat-linux-gnu/kdeui/kuniqueapplication_p.moc:57
#31 KUniqueApplicationAdaptor::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0xfffc85adaf0) at /usr/src/debug/kdelibs-4.8.4/ppc64-redhat-linux-gnu/kdeui/kuniqueapplication_p.moc:51
#32 0x00000fffabba8754 in KUniqueApplicationAdaptor::qt_metacall (this=0x379087d0, _c=<optimized out>, _id=0, _a=0xfffc85adaf0) at /usr/src/debug/kdelibs-4.8.4/ppc64-redhat-linux-gnu/kdeui/kuniqueapplication_p.moc:101
#33 0x00000080e0592adc in QDBusConnectionPrivate::deliverCall (this=this@entry=0x377938a0, object=object@entry=0x379087d0, msg=..., metaTypes=..., slotIdx=<optimized out>) at qdbusintegrator.cpp:947
#34 0x00000080e0593d70 in QDBusConnectionPrivate::activateCall (this=this@entry=0x377938a0, object=0x379087d0, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:850
#35 0x00000080e0594968 in QDBusConnectionPrivate::activateObject (this=0x377938a0, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1423
#36 0x00000080e0594a88 in QDBusActivateObjectEvent::placeMetaCall (this=0x3793f1c0) at qdbusintegrator.cpp:1537
#37 0x00000080e010aca8 in QObject::event (this=0xfffc85af060, e=<error reading variable: value has been optimized out>) at kernel/qobject.cpp:1195
#38 0x00000080e00ecb2c in QCoreApplication::event (this=<error reading variable: value has been optimized out>, e=<error reading variable: value has been optimized out>) at kernel/qcoreapplication.cpp:1727
#39 0x00000080e0ce55d0 in QApplication::event (this=0xfffc85af060, e=0x3793f1c0) at kernel/qapplication.cpp:2533
#40 0x00000080e0ce2918 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0xfffc85af060, e=0x3793f1c0) at kernel/qapplication.cpp:4551
#41 0x00000080e0ce8974 in QApplication::notify (this=0xfffc85af060, receiver=0xfffc85af060, e=0x3793f1c0) at kernel/qapplication.cpp:4412
#42 0x00000fffabb9f364 in KApplication::notify (this=0xfffc85af060, receiver=0xfffc85af060, event=0x3793f1c0) at /usr/src/debug/kdelibs-4.8.4/kdeui/kernel/kapplication.cpp:311
#43 0x00000080e00ec1f0 in QCoreApplication::notifyInternal (this=0xfffc85af060, receiver=0xfffc85af060, event=0x3793f1c0) at kernel/qcoreapplication.cpp:915
#44 0x00000080e00f09d8 in sendEvent (event=0x3793f1c0, receiver=0xfffc85af060) at kernel/qcoreapplication.h:231
#45 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<optimized out>, data=0x37771600) at kernel/qcoreapplication.cpp:1539
#46 0x00000080e00f0e00 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=<optimized out>) at kernel/qcoreapplication.cpp:1432
#47 0x00000080e012eda8 in sendPostedEvents () at kernel/qcoreapplication.h:236
#48 postEventSourceDispatch (s=0x377a76d0) at kernel/qeventdispatcher_glib.cpp:279
#49 0x00000080df1380bc in g_main_dispatch (context=0x377a5bc0) at gmain.c:2539
#50 g_main_context_dispatch (context=0x377a5bc0) at gmain.c:3075
#51 0x00000080df138578 in g_main_context_iterate (context=context@entry=0x377a5bc0, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at gmain.c:3146
#52 0x00000080df138684 in g_main_context_iteration (context=0x377a5bc0, may_block=<optimized out>) at gmain.c:3207
#53 0x00000080e012efac in QEventDispatcherGlib::processEvents (this=0x37772ee0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#54 0x00000080e0db605c in QGuiEventDispatcherGlib::processEvents (this=<error reading variable: value has been optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#55 0x00000080e00ea544 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#56 0x00000080e00ea988 in QEventLoop::exec (this=0xfffc85aee90, flags=...) at kernel/qeventloop.cpp:204
#57 0x00000080e00f0ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#58 0x00000080e0cdfcb4 in QApplication::exec () at kernel/qapplication.cpp:3812
#59 0x0000000010003650 in main (argc=<optimized out>, argv=0xfffc85af518) at /usr/src/debug/kdepim-4.8.3/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Andrew Weiss 2012-07-02 11:52:30 UTC
Created attachment 72273 [details]
New crash information added by DrKonqi

akonadiconsole (0.99) on KDE Platform 4.8.4 (4.8.4) using Qt 4.8.2

- What I was doing when the application crashed: Trying to start akonadiconsole.  Crash on start.

-- Backtrace (Reduced):
#6  0x00000080e642c61c in reserveAndCommit (executable=<optimized out>, writable=<optimized out>, usage=<optimized out>, bytes=<optimized out>) at wtf/OSAllocatorPosix.cpp:97
#7  WTF::OSAllocator::reserveUncommitted (bytes=<optimized out>, usage=<optimized out>, writable=<optimized out>, executable=<optimized out>) at wtf/OSAllocatorPosix.cpp:38
#8  0x00000080e655a584 in WTF::PageAllocationAligned::allocate (size=16384, alignment=16384, usage=<optimized out>, writable=<optimized out>, executable=<optimized out>) at wtf/PageAllocationAligned.cpp:57
#9  0x00000080e652fc8c in JSC::MarkedBlock::create (globalData=0xfff93fd3000, cellSize=104) at heap/MarkedBlock.cpp:38
#10 0x00000080e643a9c0 in JSC::MarkedSpace::allocateBlock (this=0xfff93fd4858, sizeClass=...) at heap/MarkedSpace.cpp:55
Comment 2 ponce 2012-07-03 04:16:11 UTC
seems like this latest  crash you reported is solved rebuilding akonadi over qt-4.8.2 (tested on slackware64-current).
Comment 3 Jekyll Wu 2012-07-03 09:26:38 UTC
*** Bug 302902 has been marked as a duplicate of this bug. ***
Comment 4 Christophe Marin 2012-08-28 16:07:40 UTC
#28 0x0000000010004744 in KontactApp::newInstance (this=0xfffc85af060) at /usr/src/debug/kdepim-4.8.3/kontact/src/main.cpp:134
#29 0x00000fffabba84b0 in KUniqueApplicationAdaptor::newInstance (this=0x379087d0, asn_id=..., args=...) at /usr/src/debug/kdelibs-4.8.4/kdeui/kernel/kuniqueapplication.cpp:442

Any particular reason for using kdepim 4.8.3 and kdelibs 4.8.4 ? Sounds like a failing package update
Comment 5 Denis Kurz 2016-09-24 19:29:52 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 6 Denis Kurz 2017-01-07 21:56:54 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.