Bug 301612

Summary: Kontact crashes upon switching to address book
Product: [Applications] kontact Reporter: Georg Greve <greve>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adaptee, m0ses, o-z, tprotopopescu
Priority: NOR    
Version: 4.8.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Georg Greve 2012-06-10 22:19:44 UTC
Application: kontact (4.8.4)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.2
Operating System: Linux 3.4.0-1.fc17.x86_64 x86_64
Distribution (Platform): Fedora RPMs

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

I switched to the address book. That's it. Clicked on the icon. Works every time.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f910c75c880 (LWP 3374))]

Thread 3 (Thread 0x7f90ff794700 (LWP 3375)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x0000003550e1677d in WTF::TCMalloc_PageHeap::scavengerThread (this=0x3551800980) at wtf/FastMalloc.cpp:2495
#2  0x0000003550e16889 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x0000003d01007d14 in start_thread (arg=0x7f90ff794700) at pthread_create.c:309
#4  0x0000003d008f199d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f90fee93700 (LWP 3376)):
#0  0x0000003d008e8eef in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003d038479b4 in g_main_context_poll (n_fds=1, fds=0x7f90f80029c0, timeout=9021, context=0x7f90f80009a0, priority=<optimized out>) at gmain.c:3440
#2  g_main_context_iterate (context=context@entry=0x7f90f80009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at gmain.c:3141
#3  0x0000003d03847ad4 in g_main_context_iteration (context=0x7f90f80009a0, may_block=1) at gmain.c:3207
#4  0x000000333dba4506 in QEventDispatcherGlib::processEvents (this=0x7f90f80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x000000333db7513f in QEventLoop::processEvents (this=this@entry=0x7f90fee92d20, flags=...) at kernel/qeventloop.cpp:149
#6  0x000000333db753c8 in QEventLoop::exec (this=0x7f90fee92d20, flags=...) at kernel/qeventloop.cpp:204
#7  0x000000333da78650 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x000000333da7b5eb in QThreadPrivate::start (arg=0xd37b90) at thread/qthread_unix.cpp:307
#9  0x0000003d01007d14 in start_thread (arg=0x7f90fee93700) at pthread_create.c:309
#10 0x0000003d008f199d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f910c75c880 (LWP 3374)):
[KCrash Handler]
#6  __memcpy_ssse3_back () at ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:2281
#7  0x000000333db09fcb in memcpy (__len=16, __src=<optimized out>, __dest=0x7fffd3cdc3c0) at /usr/include/bits/string3.h:52
#8  read (size=16, target=0x7fffd3cdc3c0 "", this=0x14289f8) at io/qiodevice_p.h:108
#9  QIODevice::read (this=0x1428930, data=0x7fffd3cdc3c0 "", maxSize=16) at io/qiodevice.cpp:799
#10 0x000000333db60382 in QUuid::createUuid () at plugin/quuid.cpp:863
#11 0x00007f910dcae241 in Private (this=0x1b8f6d0) at /usr/src/debug/kdepimlibs-4.8.4/kabc/contactgroup.cpp:302
#12 KABC::ContactGroup::ContactGroup (this=0x1b8f710) at /usr/src/debug/kdepimlibs-4.8.4/kabc/contactgroup.cpp:324
#13 0x00007f910df4a1a4 in Private (this=0x1b8f710) at /usr/src/debug/kdepimlibs-4.8.4/akonadi/contact/abstractcontactgroupformatter.cpp:29
#14 Akonadi::AbstractContactGroupFormatter::AbstractContactGroupFormatter (this=0x1b8f7a0) at /usr/src/debug/kdepimlibs-4.8.4/akonadi/contact/abstractcontactgroupformatter.cpp:38
#15 0x00007f910df7c8d9 in Akonadi::StandardContactGroupFormatter::StandardContactGroupFormatter (this=0x1b8f7a0) at /usr/src/debug/kdepimlibs-4.8.4/akonadi/contact/standardcontactgroupformatter.cpp:35
#16 0x00007f910df5a5f5 in Private (parent=0x1b86810, this=0x1b879f0) at /usr/src/debug/kdepimlibs-4.8.4/akonadi/contact/contactgroupviewer.cpp:58
#17 Akonadi::ContactGroupViewer::ContactGroupViewer (this=0x1b86810, parent=<optimized out>) at /usr/src/debug/kdepimlibs-4.8.4/akonadi/contact/contactgroupviewer.cpp:155
#18 0x00007f90a968241a in MainWidget::setupGui (this=this@entry=0x1b60f00) at /usr/src/debug/kdepim-4.8.4/kaddressbook/mainwidget.cpp:409
#19 0x00007f90a9683fcc in MainWidget::MainWidget (this=0x1b60f00, guiClient=0x18fcc88, parent=<optimized out>) at /usr/src/debug/kdepim-4.8.4/kaddressbook/mainwidget.cpp:128
#20 0x00007f90a98e4c7b in KAddressBookPart::KAddressBookPart (this=this@entry=0x18fcc60, parentWidget=parentWidget@entry=0xd2ded0, parent=parent@entry=0xd2ded0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /usr/src/debug/kdepim-4.8.4/kaddressbook/kaddressbookpart.cpp:51
#21 0x00007f90a98e50cf in KPluginFactory::createPartInstance<KAddressBookPart> (parentWidget=0xd2ded0, parent=0xd2ded0, args=...) at /usr/include/kde4/kpluginfactory.h:483
#22 0x00007f910f421c65 in KPluginFactory::create (this=0xe8c820, iface=0x7f911074ad00 "KParts::ReadOnlyPart", parentWidget=0xd2ded0, parent=0xd2ded0, args=..., keyword=...) at /usr/src/debug/kdelibs-4.8.4/kdecore/util/kpluginfactory.cpp:203
#23 0x00007f911096aeaf in create<KParts::ReadOnlyPart> (args=..., parent=0xd2ded0, this=<optimized out>) at /usr/include/kde4/kpluginfactory.h:507
#24 KontactInterface::Core::createPart (this=0xd2ded0, libname=0x1127728 "kaddressbookpart") at /usr/src/debug/kdepimlibs-4.8.4/kontactinterface/core.cpp:87
#25 0x00007f90b63563cb in KAddressBookPlugin::createPart (this=<optimized out>) at /usr/src/debug/kdepim-4.8.4/kontact/plugins/kaddressbook/kaddressbook_plugin.cpp:132
#26 0x00007f911096d4b9 in KontactInterface::Plugin::part (this=0xf9b860) at /usr/src/debug/kdepimlibs-4.8.4/kontactinterface/plugin.cpp:191
#27 0x00007f9110da7ebf in Kontact::MainWindow::selectPlugin (this=0xd2ded0, plugin=0x1) at /usr/src/debug/kdepim-4.8.4/kontact/src/mainwindow.cpp:796
#28 0x000000333db8cb9f in QMetaObject::activate (sender=0xcda280, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd3cdce90) at kernel/qobject.cpp:3547
#29 0x00007f9110daa88f in Kontact::SidePaneBase::pluginSelected (this=<optimized out>, _t1=0xf9b860) at /usr/src/debug/kdepim-4.8.4/x86_64-redhat-linux-gnu/kontact/src/sidepanebase.moc:103
#30 0x000000333db8cb9f in QMetaObject::activate (sender=0xbcc580, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd3cdcfe0) at kernel/qobject.cpp:3547
#31 0x00007f9110dab1ef in Kontact::Navigator::pluginActivated (this=this@entry=0xbcc580, _t1=0xf9b860) at /usr/src/debug/kdepim-4.8.4/x86_64-redhat-linux-gnu/kontact/src/iconsidepane.moc:109
#32 0x00007f9110dab26a in Kontact::Navigator::slotCurrentChanged (this=0xbcc580, current=...) at /usr/src/debug/kdepim-4.8.4/kontact/src/iconsidepane.cpp:475
#33 0x000000333db8cb9f in QMetaObject::activate (sender=0xd30200, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd3cdd170) at kernel/qobject.cpp:3547
#34 0x0000003548d23bea in QItemSelectionModel::currentChanged (this=this@entry=0xd30200, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:172
#35 0x0000003548d23cd9 in QItemSelectionModel::setCurrentIndex (this=0xd30200, index=..., command=...) at itemviews/qitemselectionmodel.cpp:1175
#36 0x0000003548cd4f8a in QAbstractItemView::mousePressEvent (this=0xbcc580, event=<optimized out>) at itemviews/qabstractitemview.cpp:1682
#37 0x0000003548819ff3 in QWidget::event (this=0xbcc580, event=0x7fffd3cddef0) at kernel/qwidget.cpp:8367
#38 0x0000003548bc3b46 in QFrame::event (this=0xbcc580, e=0x7fffd3cddef0) at widgets/qframe.cpp:557
#39 0x0000003548cd1163 in QAbstractItemView::viewportEvent (this=0xbcc580, event=0x7fffd3cddef0) at itemviews/qabstractitemview.cpp:1644
#40 0x000000333db76556 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0xd33c90, event=0x7fffd3cddef0) at kernel/qcoreapplication.cpp:1025
#41 0x00000035487ca34c in QApplicationPrivate::notify_helper (this=this@entry=0xbd9d90, receiver=receiver@entry=0xd33c90, e=e@entry=0x7fffd3cddef0) at kernel/qapplication.cpp:4547
#42 0x00000035487cf05b in QApplication::notify (this=<optimized out>, receiver=0xd33c90, e=0x7fffd3cddef0) at kernel/qapplication.cpp:4094
#43 0x00007f910f927736 in KApplication::notify (this=0x7fffd3cdebc0, receiver=0xd33c90, event=0x7fffd3cddef0) at /usr/src/debug/kdelibs-4.8.4/kdeui/kernel/kapplication.cpp:311
#44 0x000000333db763ee in QCoreApplication::notifyInternal (this=0x7fffd3cdebc0, receiver=0xd33c90, event=0x7fffd3cddef0) at kernel/qcoreapplication.cpp:915
#45 0x00000035487cb1bb in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#46 QApplicationPrivate::sendMouseEvent (receiver=0xd33c90, event=0x7fffd3cddef0, alienWidget=0xd33c90, nativeWidget=0xcda280, buttonDown=0x354929dd68, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3162
#47 0x0000003548845894 in QETWidget::translateMouseEvent (this=this@entry=0xcda280, event=event@entry=0x7fffd3cde660) at kernel/qapplication_x11.cpp:4523
#48 0x0000003548844621 in QApplication::x11ProcessEvent (this=0x7fffd3cdebc0, event=0x7fffd3cde660) at kernel/qapplication_x11.cpp:3646
#49 0x000000354886a60c in x11EventSourceDispatch (s=s@entry=0xbded70, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#50 0x0000003d038476e5 in g_main_dispatch (context=0xbde620) at gmain.c:2539
#51 g_main_context_dispatch (context=context@entry=0xbde620) at gmain.c:3075
#52 0x0000003d03847a18 in g_main_context_iterate (context=context@entry=0xbde620, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at gmain.c:3146
#53 0x0000003d03847ad4 in g_main_context_iteration (context=0xbde620, may_block=1) at gmain.c:3207
#54 0x000000333dba44e6 in QEventDispatcherGlib::processEvents (this=0xba2ee0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#55 0x000000354886a2ee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#56 0x000000333db7513f in QEventLoop::processEvents (this=this@entry=0x7fffd3cdea30, flags=...) at kernel/qeventloop.cpp:149
#57 0x000000333db753c8 in QEventLoop::exec (this=0x7fffd3cdea30, flags=...) at kernel/qeventloop.cpp:204
#58 0x000000333db7a1b8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#59 0x0000000000403459 in main (argc=1, argv=0x7fffd3cded08) at /usr/src/debug/kdepim-4.8.4/kontact/src/main.cpp:218

Possible duplicates by query: bug 292141, bug 292140, bug 292139, bug 279909.

Reported using DrKonqi
Comment 1 Oliver Zimmermann 2012-06-13 19:09:06 UTC
Created attachment 71806 [details]
New crash information added by DrKonqi

kontact (4.8.4) on KDE Platform 4.8.4 (4.8.4) "release 511" using Qt 4.8.2

- What I was doing when the application crashed:

Same thing: switching to the address book made it crash,

-- Backtrace (Reduced):
#6  memcpy () at ../sysdeps/i386/i586/memcpy.S:118
#7  0xb62dda3d in read (size=16, target=0xbffba36c "", this=0x857c2c4) at /usr/include/bits/string3.h:52
#8  QIODevice::read (this=0x8231410, data=0xbffba36c "", maxSize=16) at io/qiodevice.cpp:799
#9  0xb633ddcc in QUuid::createUuid () at plugin/quuid.cpp:863
#10 0xb347f19e in Private (this=0x8e72c88) at /usr/src/debug/kdepimlibs-4.8.4/kabc/contactgroup.cpp:302
Comment 2 tprotopopescu 2012-06-23 12:51:03 UTC
Created attachment 72064 [details]
New crash information added by DrKonqi

kontact (4.8.4) on KDE Platform 4.8.4 (4.8.4) using Qt 4.8.1

- What I was doing when the application crashed:

Clicked on the addresbook icon. This happens just after opening Kontact, or after moving around by clicking some of the other component icons (mail, calendar etc). 

Happens with Nepomuk switched off also. 

- Custom settings of the application:

Running openSUSE 12.2 Beta in a virtual machine.

-- Backtrace (Reduced):
#7  0xb6376d45 in memcpy (__len=16, __src=<optimized out>, __dest=0xbfad952c) at /usr/include/bits/string3.h:52
#8  read (size=16, target=0xbfad952c "", this=0x8cba5bc) at io/qiodevice_p.h:108
#9  QIODevice::read (this=0x8cba550, data=0xbfad952c "", maxSize=16) at io/qiodevice.cpp:799
#10 0xb63d465c in QUuid::createUuid () at plugin/quuid.cpp:863
#11 0xb34ec3ee in Private (this=0x9120670) at /usr/src/debug/kdepimlibs-4.8.4/kabc/contactgroup.cpp:302
Comment 3 m0ses 2012-07-02 15:22:28 UTC
Created attachment 72282 [details]
New crash information added by DrKonqi

kontact (4.8.4) on KDE Platform 4.8.4 (4.8.4) using Qt 4.8.1

- What I was doing when the application crashed:

i klicked on addressbook, (no contacts in there, as i started with an complete new profile)

OS: openSUSE 12.2 beta2

-- Backtrace (Reduced):
#7  0x00007f9c573074fb in memcpy (__len=16, __src=<optimized out>, __dest=0x7fff3c956e50) at /usr/include/bits/string3.h:52
#8  read (size=16, target=0x7fff3c956e50 "", this=0x1e1c1b8) at io/qiodevice_p.h:108
#9  QIODevice::read (this=0x1e1c0f0, data=0x7fff3c956e50 "", maxSize=16) at io/qiodevice.cpp:799
#10 0x00007f9c5735d9c2 in QUuid::createUuid () at plugin/quuid.cpp:863
#11 0x00007f9c4d5c4351 in Private (this=0x24bf7e0) at /usr/src/debug/kdepimlibs-4.8.4/kabc/contactgroup.cpp:302
Comment 4 Jekyll Wu 2012-07-03 13:40:43 UTC

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