Bug 183067

Summary: Crash in KAddressBook after updating a contact
Product: [Unmaintained] kab3 Reporter: Emmanuel Surleau <emmanuel.surleau>
Component: generalAssignee: Tobias Koenig <tokoe>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: andresbajotierra, efffkaaa, thrawnkb
Priority: NOR    
Version: 4.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Emmanuel Surleau 2009-02-03 23:03:13 UTC
Version:           4.1 (using 4.2.00 (KDE 4.2.0), Debian packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.28-2.slh.5-sidux-686

In KAddressBook, after you modify an existing contact (for instance, by changing the formatted name in the "Edit name" popup, or modifying a phone number), clicking on a different contact makes KAddressBook crash.

Here is the stack trace:

Application: KAddressBook (kaddressbook), signal SIGSEGV
[Current thread is 1 (Thread 0xb51c38d0 (LWP 3963))]

Thread 1 (Thread 0xb51c38d0 (LWP 3963)):
[KCrash Handler]
#6  0xb62b7c58 in Q3ListViewItem::depth (this=0x8766768) at itemviews/q3listview.cpp:3799
#7  0xb62c4532 in Q3ListView::contentsMousePressEventEx (this=0x86361a0, e=0xbf9981cc) at itemviews/q3listview.cpp:4307
#8  0xb62c4b94 in Q3ListView::contentsMousePressEvent (this=0x86361a0, e=0xbf9981cc) at itemviews/q3listview.cpp:4139
#9  0xb6547f1d in K3ListView::contentsMousePressEvent (this=0x86361a0, e=0xbf9981cc) at ../../kde3support/kdeui/k3listview.cpp:796
#10 0xb3587f15 in ContactListView::contentsMousePressEvent (this=0x86361a0, e=0xbf9981cc) at ../../../kaddressbook/views/contactlistview.cpp:307
#11 0xb6321f61 in Q3ScrollView::viewportMousePressEvent (this=0x86361a0, e=0xbf99881c) at widgets/q3scrollview.cpp:1738
#12 0xb6323b40 in Q3ScrollView::eventFilter (this=0x86361a0, obj=0x8658018, e=0xbf99881c) at widgets/q3scrollview.cpp:1466
#13 0xb62bf506 in Q3ListView::eventFilter (this=0x86361a0, o=0x8658018, e=0xbf99881c) at itemviews/q3listview.cpp:3771
#14 0xb6d562ca in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x80abe38, receiver=0x8658018, event=0xbf99881c) at kernel/qcoreapplication.cpp:694
#15 0xb720f77a in QApplicationPrivate::notify_helper (this=0x80abe38, receiver=0x8658018, e=0xbf99881c) at kernel/qapplication.cpp:3799
#16 0xb7217fd1 in QApplication::notify (this=0xbf998fb8, receiver=0x8658018, e=0xbf99881c) at kernel/qapplication.cpp:3528
#17 0xb7ba077d in KApplication::notify (this=0xbf998fb8, receiver=0x8658018, event=0xbf99881c) at ../../kdeui/kernel/kapplication.cpp:307
#18 0xb6d570e1 in QCoreApplication::notifyInternal (this=0xbf998fb8, receiver=0x8658018, event=0xbf99881c) at kernel/qcoreapplication.cpp:587
#19 0xb721725e in QApplicationPrivate::sendMouseEvent (receiver=0x8658018, event=0xbf99881c, alienWidget=0x8658018, nativeWidget=0x80bb8d8, buttonDown=0xb79d2670, lastMouseReceiver=@0xb79d2674)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212
#20 0xb7280e2d in QETWidget::translateMouseEvent (this=0x80bb8d8, event=0xbf998d0c) at kernel/qapplication_x11.cpp:4044
#21 0xb727fc11 in QApplication::x11ProcessEvent (this=0xbf998fb8, event=0xbf998d0c) at kernel/qapplication_x11.cpp:3162
#22 0xb72a963a in x11EventSourceDispatch (s=0x80b6260, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#23 0xb5aac1b8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#24 0xb5aaf853 in ?? () from /usr/lib/libglib-2.0.so.0
#25 0x080b5678 in ?? ()
#26 0x00000000 in ?? ()
Comment 1 Ricardo 2009-02-26 19:37:16 UTC
I can reproduce this myself too every time.
Just one remark, it happens when you modify the contact in the right panel (you have previously selected View>Contact Editor)
Comment 2 efffkaaa 2009-03-19 19:58:51 UTC
Exactly the same happens to me. Sometimes kaddressbook doesn't crash, but most of the time it does and certainly after 2-3 edits. Especially when I change categories for contacts.
Comment 3 Dario Andres 2009-06-06 14:34:28 UTC
Thanks

*** This bug has been marked as a duplicate of bug 158179 ***
Comment 4 Tobias Koenig 2009-08-05 16:41:16 UTC
The development of the old KAddressBook will be discontinued for KDE 4.4.
Since the new application has the same name, but a completly new code base we close all bug reports against the old version and ask the submitters to resend there reports against the new product.