Bug 159281

Summary: KAddress Crashes after editing a contact and then selecting another contact in the KAddressbook
Product: [Unmaintained] kab3 Reporter: Kenneth Vetter <kenv>
Component: generalAssignee: Tobias Koenig <tokoe>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: osterfeld
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: file is output from hwinfo and dpkg -l
Kcrash report with debugging symbols

Description Kenneth Vetter 2008-03-14 02:33:00 UTC
Version:           3.5.9 (using 3.5.9 "release 51.2" , openSUSE )
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.22.17-0.1-default

Version:           3.5.9 (using 3.5.9 "release 51.2", Kontact Version 1.2.9 openSUSE )

Re-posting of my bug report "158179" with what I hope is a better title & description.  I find it difficult to believe that I am the only person having this issue on two separate computers.

This bug is present on “two” computers, a Dell 4700 and a Reason/Intel motherboard running the same openSUSE 10.3 & KDE 3.5.9  release 51.2


when editing a contact:
Kontact PIM -> Contacts(KAddressBook) -> Settings -> Show Extension -> Contact Editor(KAddressBook)

Editing a contact in the kaddress book using the Kaddress book Editor results in:

1.contact information is edited and then the list of contacts seems to refresh/reload every few second which moves any highlighted contact to the bottom of the list.  Contact list & Contact Editor seems to blink every few seconds.  This behavior continues until the computer is restarted or Kontact (KDEPIM) crashes.

2.after editing a contact and every thing is blinking, clicking on another contact in the list, will often cause the Kontact (KDEPIM) crash closing mail, notes, calender, contacts, to-do, and the journal.

I installed KDE4-KAddressBook 3.93.0.svn712059-12 i586 and It did not have this behavior, However it has it's own problems and I would rather just run the version & layout I have. I just want it to not start blinking and crashing when I make an edit to a contact with it's editor.

I would expect the contacts information to change and be able to continue editing contacts until I was finished and elected closed Kontact or move to some other activity

Additional behavior noted:

Once the refresh cycle starts, if you then try to put additional information in a field, the field looses focus when the refresh occurs and the focus is placed on the name in the address book.  You can keep clicking the field in the editor and get two or three letters or numbers entered until it refreshes and refocuses on the name in the address book.

Example: You may have to click a phone number field 5 times to get a phone number entered.  After successfully entering a new phone number and selecting another contact you are normally rewarded with a Kontact PIM crash & close and a new KDE Crash Handler Report


Last crash backtrace 


 [?1034h(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb60a76d0 (LWP 3504)]
[New Thread 0xb3865b90 (LWP 3565)]
[New Thread 0xb4066b90 (LWP 3564)]
[New Thread 0xb4867b90 (LWP 3563)]
[New Thread 0xb5068b90 (LWP 3562)]
[KCrash handler]
#6  0xb6de9b45 in QListViewItem::depth () from /usr/lib/qt3/lib/libqt-mt.so.3
#7  0xb6de9b59 in QListViewItem::depth () from /usr/lib/qt3/lib/libqt-mt.so.3
#8  0xb6df2cb7 in QListView::contentsMousePressEventEx ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#9  0xb6df3254 in QListView::contentsMousePressEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#10 0xb751e1dd in KListView::contentsMousePressEvent ()
   from /opt/kde3/lib/libkdeui.so.4
#11 0xb2c7d5ab in ContactListView::contentsMousePressEvent ()
   from /opt/kde3/lib/kde3/libkaddrbk_tableview.so
#12 0xb6e247b1 in QScrollView::viewportMousePressEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0xb6e21b46 in QScrollView::eventFilter ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#14 0xb6df06f6 in QListView::eventFilter () from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0xb6d0f16c in QObject::activate_filters ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0xb6d0f1db in QObject::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0xb6d4866c in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0xb6cb114c in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0xb6cb2073 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0xb735bff2 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#21 0xb6c5066a in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0xb6c4f436 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#23 0xb6c60240 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#24 0xb6cc7cd0 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0xb6cc7b66 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0xb6cb0cbf in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0x0805bf43 in QWidget::setUpdatesEnabled ()
#28 0xbf9518bc in ?? ()
#29 0x00000001 in ?? ()
#30 0x00000001 in ?? ()
#31 0x00000000 in ?? ()
Comment 1 Timothy Tuck 2008-08-19 16:54:58 UTC
Created attachment 26938 [details]
file is output from hwinfo and dpkg -l

anything i can do in testing let me know. KDE ROCKS!! thanks guys.
Comment 2 Karl Ferdinand Ebert 2008-10-27 23:52:15 UTC
Created attachment 28193 [details]
Kcrash report with debugging symbols
Comment 3 Christophe Marin 2008-10-28 00:01:35 UTC
Copy/paste from comment #2: 

Anwendung: Kontact (kontact), Signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0x7f51429a66f0 (LWP 7731)]
[KCrash handler]
#5  0x00007f513e790dd8 in Q3ListViewItem::depth (this=0x1f13b20)
    at itemviews/q3listview.cpp:3799
#6  0x00007f513e79cd9a in Q3ListView::contentsMousePressEventEx (
    this=0x2075330, e=0x7fff4aae5880) at itemviews/q3listview.cpp:4307
#7  0x00007f513e3eb4be in K3ListView::contentsMousePressEvent (
    this=0x2075330, e=0x7fff4aae5880)
    at /build/buildd/kde4libs-4.1.2/kde3support/kdeui/k3listview.cpp:790
#8  0x00007f513e7f2e49 in Q3ScrollView::viewportMousePressEvent (
    this=0x2075330, e=0x7fff4aae6120) at widgets/q3scrollview.cpp:1738
#9  0x00007f513e7f4596 in Q3ScrollView::eventFilter (this=0x2075330, 
    obj=0x2075e10, e=0x7fff4aae6120) at widgets/q3scrollview.cpp:1466
#10 0x00007f513e79803e in Q3ListView::eventFilter (this=0x2075330, 
    o=0x2075e10, e=0x7fff4aae6120) at itemviews/q3listview.cpp:3771
#11 0x00007f51408ab658 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x2075e10, event=0x7fff4aae6120)
    at kernel/qcoreapplication.cpp:694
#12 0x00007f5140d5ea2c in QApplicationPrivate::notify_helper (this=0x14d80b0, 
    receiver=0x2075e10, e=0x7fff4aae6120) at kernel/qapplication.cpp:3799
#13 0x00007f5140d6704a in QApplication::notify (this=<value optimized out>, 
    receiver=0x2075e10, e=0x7fff4aae6120) at kernel/qapplication.cpp:3528
#14 0x00007f5141d5841b in KApplication::notify (this=0x7fff4aae6eb0, 
    receiver=0x2075e10, event=0x7fff4aae6120)
    at /build/buildd/kde4libs-4.1.2/kdeui/kernel/kapplication.cpp:311
#15 0x00007f51408ac381 in QCoreApplication::notifyInternal (
    this=0x7fff4aae6eb0, receiver=0x2075e10, event=0x7fff4aae6120)
    at kernel/qcoreapplication.cpp:587
#16 0x00007f5140d663e8 in QApplicationPrivate::sendMouseEvent (
    receiver=0x2075e10, event=0x7fff4aae6120, alienWidget=0x2075e10, 
    nativeWidget=0x15c8960, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7f51416e4000)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212
#17 0x00007f5140dca909 in QETWidget::translateMouseEvent (this=0x15c8960, 
    event=<value optimized out>) at kernel/qapplication_x11.cpp:4042
#18 0x00007f5140dc97ff in QApplication::x11ProcessEvent (this=0x40, 
    event=0x7fff4aae69e0) at kernel/qapplication_x11.cpp:3160
#19 0x00007f5140df0c84 in x11EventSourceDispatch (s=0x14db8e0, callback=0, 
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#20 0x00007f513ad3278b in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#21 0x00007f513ad35f5d in ?? () from /usr/lib/libglib-2.0.so.0
#22 0x00007f513ad3611b in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#23 0x00007f51408d470f in QEventDispatcherGlib::processEvents (
    this=0x14cc080, flags=<value optimized out>)
    at kernel/qeventdispatcher_glib.cpp:319
#24 0x00007f5140df044f in QGuiEventDispatcherGlib::processEvents (
    this=0x1f13b20, flags=<value optimized out>)
    at kernel/qguieventdispatcher_glib.cpp:198
#25 0x00007f51408aaca2 in QEventLoop::processEvents (
    this=<value optimized out>, flags={i = 1252945104})
    at kernel/qeventloop.cpp:143
#26 0x00007f51408aae2d in QEventLoop::exec (this=0x7fff4aae6d10, flags=
      {i = 1252945184}) at kernel/qeventloop.cpp:194
#27 0x00007f51408ad2dd in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:845
#28 0x0000000000404821 in main (argc=1, argv=0x7fff4aae7488)
    at /tmp/buildd/kdepim-4.1.2/kontact/src/main.cpp:218
#0  0x00007f5140196fc0 in __nanosleep_nocancel () from /lib/libc.so.6
Comment 4 Frank Osterfeld 2008-11-09 22:28:08 UTC

*** This bug has been marked as a duplicate of bug 158179 ***
Comment 5 Tobias Koenig 2009-08-05 16:35:36 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.