Bug 176745 - Deleting email address from a contact causes signal 11 (SIGSEGV).
Summary: Deleting email address from a contact causes signal 11 (SIGSEGV).
Status: RESOLVED FIXED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-02 21:34 UTC by George Czerw
Modified: 2009-01-09 01:16 UTC (History)
3 users (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 George Czerw 2008-12-02 21:34:58 UTC
Version:            (using KDE 4.1.3)
OS:                Linux
Installed from:    Mandriva RPMs


Attempting to delete an email address from a contact causes signal 11 (SIGSEGV).  See below:

KDE Version 4.1.3 (Mandriva 2009.0)
Kmail, Version 1.10.3
Kontact, Version 1.3
Kaddressbook Version 4.1

**********************
A Fatal Error Occurred
The application Kontact (kontact) crashed and caused the signal 11 (SIGSEGV).

Please attach the following information to your bug report:

Application: Kontact (kontact), signal SIGSEGV
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb4a7a6d0 (LWP 32762)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0xb7146db2 in ?? () from /usr/lib/libQtGui.so.4
#7  0xb71485da in QLineEdit::setText () from /usr/lib/libQtGui.so.4
#8  0xb7c5d4b0 in KLineEdit::setText () from /usr/lib/libkdeui.so.5
#9  0xb0be0d53 in ?? () from /usr/lib/libkaddressbookprivate.so.4
#10 0xb0be0e28 in ?? () from /usr/lib/libkaddressbookprivate.so.4
#11 0xb76e7c8d in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#12 0xb76e80bb in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#13 0xb73a5415 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4
#14 0xb70e200d in ?? () from /usr/lib/libQtGui.so.4
#15 0xb70e3ccb in ?? () from /usr/lib/libQtGui.so.4
#16 0xb70e3f66 in QAbstractButton::mouseReleaseEvent ()
   from /usr/lib/libQtGui.so.4
#17 0xb6ddf9ca in QWidget::event () from /usr/lib/libQtGui.so.4
#18 0xb70e1e90 in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#19 0xb718cfb3 in QPushButton::event () from /usr/lib/libQtGui.so.4
#20 0xb6d84fac in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#21 0xb6d8dbef in QApplication::notify () from /usr/lib/libQtGui.so.4
#22 0xb7b99b91 in KApplication::notify () from /usr/lib/libkdeui.so.5
#23 0xb76d2853 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#24 0xb6d8ce11 in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#25 0xb6df9d1d in ?? () from /usr/lib/libQtGui.so.4
#26 0xb6df9180 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#27 0xb6e22204 in ?? () from /usr/lib/libQtGui.so.4
#28 0xb54887ca in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0xb548bee8 in ?? () from /usr/lib/libglib-2.0.so.0
#30 0xb548c0a8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0xb76fe34a in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#32 0xb6e2195a in ?? () from /usr/lib/libQtGui.so.4
#33 0xb76d0ec3 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#34 0xb76d1081 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#35 0xb76d37f2 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#36 0xb6d84e14 in QApplication::exec () from /usr/lib/libQtGui.so.4
#37 0x0804bb1c in _start ()
Comment 1 Dario Andres 2009-01-07 18:27:19 UTC
If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? Thanks :)
Comment 2 George Czerw 2009-01-07 21:32:17 UTC
I would be happy to do that, however there have been no updated debug packages posted for KDE 4.1.3 that I can find.  The debug-updates directories are totally empty.  If installing the 4.1.2 debug packages would work, please let me know.
Comment 3 Dario Andres 2009-01-07 21:39:07 UTC
According to this: http://packages.ubuntu.com/search?keywords=kdepim-dbg&searchon=names&suite=all&section=all 
There are -dbg packages for 4.1.3 in  intrepid-backports
Comment 4 George Czerw 2009-01-07 21:46:57 UTC
I am using Mandriva 2009.0 not Ubuntu.
Comment 5 Dario Andres 2009-01-07 21:53:58 UTC
Ops o_O
Do you have the debug_main, debug_contrib repos configured  ?
It isn't the best to mix different versions of any software.
Comment 6 George Czerw 2009-01-07 21:55:29 UTC
OK Andres, I located updated 4.1.3 debug packages in a debug-main/testing directory.  Do I need anything other than the kdepim4-debug and kdepimlibs4-debug packages?
Comment 7 Dario Andres 2009-01-07 21:56:28 UTC
You may need kdelibs4-debug and qt4-debug (or libqt4-debug). THen you can try to reproduce the crash to post a complete backtrace :) Thanks
Comment 8 George Czerw 2009-01-07 22:46:08 UTC
This crash will occur whenever you delete the "only" email address listed for the contact.  For example, if the contact has 1 email address listed, the application will SIGSEV after you delete that address and apply the change.  If the contact has 2 email addresses listed, deleting 1 of the 2 and then saving the contact, will result in a perfectly saved contact listing 1 email address.  If, however, you re-open that contact and delete the remaining email address, the application will SIGSEV after you apply the change to the contact.

Here is the complete backtrace:

Application: Kontact (kontact), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb4a686d0 (LWP 7141)]
[KCrash handler]
#6  0xb7134db2 in ?? () from /usr/lib/libQtGui.so.4
#7  0xb71365da in QLineEdit::setText () from /usr/lib/libQtGui.so.4
#8  0xb7c4b4b0 in KLineEdit::setText (this=0x9423668, text=@0x8dcc9fc)
    at /usr/src/debug/kdelibs-4.1.3/kdeui/widgets/klineedit.cpp:530
#9  0xaff51d53 in EmailEditWidget::edit (this=0x8dc4150)
    at /usr/src/debug/kdepim-4.1.3/kaddressbook/emaileditwidget.cpp:147
#10 0xaff51e28 in EmailEditWidget::qt_metacall (this=0x8dc4150, 
    _c=QMetaObject::InvokeMetaMethod, _id=7733413, _a=0xbfc0a8c0)
    at /usr/src/debug/kdepim-4.1.3/build/kaddressbook/emaileditwidget.moc:71
#11 0xb76d5c8d in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#12 0xb76d60bb in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#13 0xb7393415 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4
#14 0xb70d000d in ?? () from /usr/lib/libQtGui.so.4
#15 0xb70d1ccb in ?? () from /usr/lib/libQtGui.so.4
#16 0xb70d1f66 in QAbstractButton::mouseReleaseEvent ()
   from /usr/lib/libQtGui.so.4
#17 0xb6dcd9ca in QWidget::event () from /usr/lib/libQtGui.so.4
#18 0xb70cfe90 in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#19 0xb717afb3 in QPushButton::event () from /usr/lib/libQtGui.so.4
#20 0xb6d72fac in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#21 0xb6d7bbef in QApplication::notify () from /usr/lib/libQtGui.so.4
#22 0xb7b87b91 in KApplication::notify (this=0xbfc0b6f8, receiver=0x9c4b6c0, 
    event=0xbfc0ae78)
    at /usr/src/debug/kdelibs-4.1.3/kdeui/kernel/kapplication.cpp:311
#23 0xb76c0853 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#24 0xb6d7ae11 in QApplicationPrivate::sendMouseEvent ()
   from /usr/lib/libQtGui.so.4
#25 0xb6de7d1d in ?? () from /usr/lib/libQtGui.so.4
#26 0xb6de7180 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#27 0xb6e10204 in ?? () from /usr/lib/libQtGui.so.4
#28 0xb54767ca in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0xb5479ee8 in ?? () from /usr/lib/libglib-2.0.so.0
#30 0xb547a0a8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0xb76ec34a in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#32 0xb6e0f95a in ?? () from /usr/lib/libQtGui.so.4
#33 0xb76beec3 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#34 0xb76bf081 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#35 0xb76c17f2 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#36 0xb6d72e14 in QApplication::exec () from /usr/lib/libQtGui.so.4
#37 0x0804bb1c in main (argc=-1077888524, argv=0xbfc0b7d9)
    at /usr/src/debug/kdepim-4.1.3/kontact/src/main.cpp:218
Comment 9 Allen Winter 2009-01-08 22:41:53 UTC
SVN commit 907904 by winterz:

Fix a crash when deleting a contact's email address.
BUG: 176745


 M  +5 -1      emaileditwidget.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=907904
Comment 10 George Czerw 2009-01-08 23:50:41 UTC
winterz, thanks!  Out of curiousity, What is the process for formally releasing this?
Comment 11 Allen Winter 2009-01-09 01:16:04 UTC
wait for KDE 4.2.0 and install it
OR
contact your distribution and ask them to apply this patch to your kdepim package if you are using KDE 4.1.x.