Bug 240073 - kaddressbook crashes on ctrl-a
Summary: kaddressbook crashes on ctrl-a
Status: RESOLVED WORKSFORME
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-30 13:00 UTC by Florian Reinhard
Modified: 2010-05-30 14:49 UTC (History)
1 user (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 Florian Reinhard 2010-05-30 13:00:20 UTC
Application: kaddressbook (4.4.3)
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Steps to reproduce:
1. have a akonadi vcf resource and select it in the 'address books' column
2. select 'Copy addressbook folder' from it's context menu
3. switch to the 'name' column and hit ctrl-a
=> crashes every time for me.

The crash can be reproduced every time.

 -- Backtrace:
Application: KAddressBook (kaddressbook), signal: Segmentation fault
[Current thread is 1 (Thread 0xb78a1730 (LWP 10136))]

Thread 2 (Thread 0xb5216b70 (LWP 10139)):
#0  0x008a8e0f in ?? () from /lib/tls/i686/cmov/libc.so.6
#1  0x0088db70 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x034ad4eb in g_poll () from /lib/libglib-2.0.so.0
#3  0x034a00ac in ?? () from /lib/libglib-2.0.so.0
#4  0x034a04b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x0263360f in QEventDispatcherGlib::processEvents (this=0x8a33c60, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0x02606059 in QEventLoop::processEvents (this=0xb5216270, flags=) at kernel/qeventloop.cpp:149
#7  0x026064aa in QEventLoop::exec (this=0xb5216270, flags=...) at kernel/qeventloop.cpp:201
#8  0x025025a8 in QThread::exec (this=0x8c89d28) at thread/qthread.cpp:487
#9  0x025e5c1b in QInotifyFileSystemWatcherEngine::run (this=0x8c89d28) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x0250532e in QThreadPrivate::start (arg=0x8c89d28) at thread/qthread_unix.cpp:248
#11 0x0023096e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0x0089ba4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb78a1730 (LWP 10136)):
[KCrash Handler]
#6  0x001d1b01 in Akonadi::StandardContactActionManager::Private::updateActions() () from /usr/lib/libkaddressbookprivate.so.4
#7  0x001d04a6 in Akonadi::StandardContactActionManager::qt_metacall (this=0x8abb678, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfee2024) at ./standardcontactactionmanager.moc:89
#8  0x0260cc9a in QMetaObject::metacall (object=0x8abb678, cl=9589696, idx=6, argv=0xbfee2024) at kernel/qmetaobject.cpp:237
#9  0x0261b3d5 in QMetaObject::activate (sender=0x8a8e2b0, m=0x196ee30, local_signal_index=0, argv=0xbfee2024) at kernel/qobject.cpp:3293
#10 0x016345f9 in QItemSelectionModel::selectionChanged (this=0x8a8e2b0, _t1=..., _t2=...) at .moc/release-shared/moc_qitemselectionmodel.cpp:152
#11 0x0163d943 in QItemSelectionModel::emitSelectionChanged (this=0x8a8e2b0, newSelection=..., oldSelection=...) at itemviews/qitemselectionmodel.cpp:1592
#12 0x0163dc53 in QItemSelectionModel::select (this=0x8a8e2b0, selection=..., command=...) at itemviews/qitemselectionmodel.cpp:1099
#13 0x01620dca in QTreeViewPrivate::select (this=0x8a63578, topIndex=..., bottomIndex=..., command=...) at itemviews/qtreeview.cpp:3682
#14 0x0162173e in QTreeView::selectAll (this=0x8a6d460) at itemviews/qtreeview.cpp:2643
#15 0x015dd813 in QAbstractItemView::qt_metacall (this=0x8a6d460, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfee2618) at .moc/release-shared/moc_qabstractitemview.cpp:227
#16 0x0162b98a in QTreeView::qt_metacall (this=0x8a6d460, _c=QMetaObject::InvokeMetaMethod, _id=40, _a=0xbfee2618) at .moc/release-shared/moc_qtreeview.cpp:119
#17 0x00a1ad5a in Akonadi::EntityTreeView::qt_metacall (this=0x8a6d460, _c=QMetaObject::InvokeMetaMethod, _id=40, _a=0xbfee2618) at ./entitytreeview.moc:88
#18 0x0260cc9a in QMetaObject::metacall (object=0x8a6d460, cl=9589696, idx=40, argv=0xbfee2618) at kernel/qmetaobject.cpp:237
#19 0x0261b3d5 in QMetaObject::activate (sender=0x8ab8358, m=0x1961d58, local_signal_index=1, argv=0xbfee2618) at kernel/qobject.cpp:3293
#20 0x01032bd9 in QAction::triggered (this=0x8ab8358, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#21 0x01034dcc in QAction::activate (this=0x8ab8358, event=QAction::Trigger) at kernel/qaction.cpp:1255
#22 0x01036698 in QAction::event (this=0x0, e=0x21) at kernel/qaction.cpp:1181
#23 0x00359d63 in KAction::event (this=0x8ab8358, event=0xbfee2b38) at ../../kdeui/actions/kaction.cpp:129
#24 0x010394dc in QApplicationPrivate::notify_helper (this=0x89c3bf8, receiver=0x8ab8358, e=0xbfee2b38) at kernel/qapplication.cpp:4300
#25 0x0104005e in QApplication::notify (this=0xbfee39f8, receiver=0x8ab8358, e=0xbfee2b38) at kernel/qapplication.cpp:3704
#26 0x00445f5a in KApplication::notify (this=0xbfee39f8, receiver=0x8ab8358, event=0xbfee2b38) at ../../kdeui/kernel/kapplication.cpp:302
#27 0x02607a3b in QCoreApplication::notifyInternal (this=0xbfee39f8, receiver=0x8ab8358, event=0xbfee2b38) at kernel/qcoreapplication.cpp:704
#28 0x0107b34d in QCoreApplication::sendEvent (this=0x89c3ca4, e=0xbfee2fb4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#29 QShortcutMap::dispatchEvent (this=0x89c3ca4, e=0xbfee2fb4) at kernel/qshortcutmap.cpp:879
#30 0x0107d15e in QShortcutMap::tryShortcutEvent (this=0x89c3ca4, o=0x8a24de0, e=0xbfee2fb4) at kernel/qshortcutmap.cpp:364
#31 0x01041e43 in QApplication::notify (this=0xbfee39f8, receiver=0x8a24de0, e=0xbfee2fb4) at kernel/qapplication.cpp:3746
#32 0x00445f5a in KApplication::notify (this=0xbfee39f8, receiver=0x8a24de0, event=0xbfee2fb4) at ../../kdeui/kernel/kapplication.cpp:302
#33 0x02607a3b in QCoreApplication::notifyInternal (this=0xbfee39f8, receiver=0x8a24de0, event=0xbfee2fb4) at kernel/qcoreapplication.cpp:704
#34 0x0103a2be in QCoreApplication::sendSpontaneousEvent (receiver=0x8a24de0, event=0x0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#35 qt_sendSpontaneousEvent (receiver=0x8a24de0, event=0x0) at kernel/qapplication.cpp:5279
#36 0x010f3d90 in QKeyMapper::sendKeyEvent (keyWidget=0x8a24de0, grab=false, type=QEvent::KeyPress, code=65, modifiers=..., text=..., autorepeat=<value optimized out>, count=<value optimized out>, 
    nativeScanCode=38, nativeVirtualKey=97, nativeModifiers=4) at kernel/qkeymapper_x11.cpp:1861
#37 0x010f62f5 in QKeyMapperPrivate::translateKeyEvent (this=0x89f1ff8, keyWidget=0x8a24de0, event=0xbfee367c, grab=33) at kernel/qkeymapper_x11.cpp:1831
#38 0x010c9757 in QApplication::x11ProcessEvent (this=0xbfee39f8, event=0xbfee367c) at kernel/qapplication_x11.cpp:3394
#39 0x010f960a in x11EventSourceDispatch (s=0x89c8f68, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#40 0x0349c5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#41 0x034a02d8 in ?? () from /lib/libglib-2.0.so.0
#42 0x034a04b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#43 0x026335d5 in QEventDispatcherGlib::processEvents (this=0x89a44c0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#44 0x010f9135 in QGuiEventDispatcherGlib::processEvents (this=0x89a44c0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x02606059 in QEventLoop::processEvents (this=0xbfee3974, flags=) at kernel/qeventloop.cpp:149
#46 0x026064aa in QEventLoop::exec (this=0xbfee3974, flags=...) at kernel/qeventloop.cpp:201
#47 0x0260a69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#48 0x01039577 in QApplication::exec () at kernel/qapplication.cpp:3579
#49 0x0804c64d in main (argc=1, argv=0xbfee3b14) at ../../kaddressbook/main.cpp:58

Possible duplicates by query: bug 237530, bug 223135.

Reported using DrKonqi
Comment 1 Tobias Koenig 2010-05-30 14:10:28 UTC
Hej Florian,

this sounds like the same crash described in bug #237689, which
has already been fixed in SVN trunk, at least I can't reproduce the
crash here anymore with trunk version.
Please reopen the bug report if you can reproduce it with KDE 4.5.

Ciao,
Tobias
Comment 2 Florian Reinhard 2010-05-30 14:49:34 UTC
Thx for the quick response!

Could you please backport the fix to the 4.4 branch?

Thank you in advance,
F