Bug 202693 - kaddressbook crash editing an unexistant contact
Summary: kaddressbook crash editing an unexistant contact
Status: VERIFIED FIXED
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-05 21:30 UTC by FiNeX
Modified: 2009-09-04 15:38 UTC (History)
2 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 FiNeX 2009-08-05 21:30:32 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Clicking on "edit contact" makes kaddressbook crash probably because the address book list is empty.


Application: KAddressBook (kaddressbook), signal: Segmentation fault
[KCrash Handler]
#5  0x00007f8ff2c7b8fd in QModelIndex::data (this=0x7fff6e047340, arole=34) at /usr/include/QtCore/qabstractitemmodel.h:378
#6  0x00007f8ff2c7b645 in Akonadi::StandardContactActionManager::qt_metacall (this=<value optimized out>, _c=<value optimized out>, _id=<value optimized out>, _a=0x7fff6e047540)
    at /home/test/KDE4/src/kdepim/kaddressbook/standardcontactactionmanager.cpp:124
#7  0x00007f8fef2a7e0c in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#8  0x00007f8fefe18fd7 in QAction::triggered () from /usr/lib/libQtGui.so.4
#9  0x00007f8fefe1a41f in QAction::activate () from /usr/lib/libQtGui.so.4
#10 0x00007f8ff020456d in ?? () from /usr/lib/libQtGui.so.4
#11 0x00007f8ff020a48a in ?? () from /usr/lib/libQtGui.so.4
#12 0x00007f8ff320bb8e in KMenu::mouseReleaseEvent (this=0xebc690, e=0x7fff6e047340) at /home/test/KDE4/src/kdelibs/kdeui/widgets/kmenu.cpp:456
#13 0x00007f8fefe6d810 in QWidget::event () from /usr/lib/libQtGui.so.4
#14 0x00007f8ff020cc4b in QMenu::event () from /usr/lib/libQtGui.so.4
#15 0x00007f8fefe1ee2c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#16 0x00007f8fefe25f41 in QApplication::notify () from /usr/lib/libQtGui.so.4
#17 0x00007f8ff3139816 in KApplication::notify (this=0x7fff6e049de0, receiver=0xebc690, event=0x7fff6e0480e0) at /home/test/KDE4/src/kdelibs/kdeui/kernel/kapplication.cpp:302
#18 0x00007f8fef292d0c in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#19 0x00007f8fefe25810 in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#20 0x00007f8fefe8bb2e in ?? () from /usr/lib/libQtGui.so.4
#21 0x00007f8fefe8a409 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#22 0x00007f8fefeb25fc in ?? () from /usr/lib/libQtGui.so.4
#23 0x00007f8fe8952dbe in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#24 0x00007f8fe8956568 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#25 0x00007f8fe8956690 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#26 0x00007f8fef2bb1d6 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#27 0x00007f8fefeb1dde in ?? () from /usr/lib/libQtGui.so.4
#28 0x00007f8fef291612 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#29 0x00007f8fef2919e4 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#30 0x00007f8fef293b99 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#31 0x00000000004048a6 in main (argc=<value optimized out>, argv=<value optimized out>) at /home/test/KDE4/src/kdepim/kaddressbook/main.cpp:49
Comment 1 Tobias Koenig 2009-08-17 12:02:18 UTC
Hej,

this has been fixed in recent SVN trunk version

Ciao,
Tobias
Comment 2 Sabine Faure 2009-09-04 15:38:09 UTC
This is corrected now.

It is now impossible to click on ''Edit Contact'' in an empty address book. The option has been disabled from the Edit menu when there is no Contacts available.

Trunk, Svn Rev 1019588