Bug 248418 - KAddressBook crash when adding a contact while address book is in copy state
Summary: KAddressBook crash when adding a contact while address book is in copy state
Status: RESOLVED FIXED
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-08-19 19:23 UTC by supernobby
Modified: 2010-09-02 16:39 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 supernobby 2010-08-19 19:23:14 UTC
Application: kaddressbook (4.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-24-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
Hi,
I have setup the "Personal Contacts" in the KDE Address Book. In context menu for a address book you can select something like "copy address book folder". If you did this an then click on the "New Contact" icon, the program will crash on my installation.
I hope this helps!

The crash can be reproduced every time.

 -- Backtrace:
Application: Adressbuch (kaddressbook), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fe572a81780 (LWP 2304))]

Thread 2 (Thread 0x7fe55e596710 (LWP 2307)):
#0  0x00007fe56fc25f83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fe56b2604a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fe56b2608fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fe570591566 in QEventDispatcherGlib::processEvents (this=0x21a5b50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007fe570566992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fe570566d6c in QEventLoop::exec (this=0x7fe55e595d90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fe570470d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fe570547178 in QInotifyFileSystemWatcherEngine::run (this=0x21a4fc0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fe570473775 in QThreadPrivate::start (arg=0x21a4fc0) at thread/qthread_unix.cpp:248
#9  0x00007fe56dc359ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fe56fc326fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe572a81780 (LWP 2304)):
[KCrash Handler]
#5  0x00007fe5719e1fa3 in MainWidget::currentAddressBook() const () from /usr/lib/libkaddressbookprivate.so.4
#6  0x00007fe5719e23c3 in MainWidget::newContact() () from /usr/lib/libkaddressbookprivate.so.4
#7  0x00007fe5719e359c in MainWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkaddressbookprivate.so.4
#8  0x00007fe57057ae3f in QMetaObject::activate (sender=0x1ffd990, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3293
#9  0x00007fe570ed6032 in QAction::triggered (this=0x7fe56fecae40, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#10 0x00007fe570ed80ab in QAction::activate (this=0x1ffd990, event=<value optimized out>) at kernel/qaction.cpp:1255
#11 0x00007fe5712926ca in QAbstractButtonPrivate::click (this=0x20243e0) at widgets/qabstractbutton.cpp:528
#12 0x00007fe57129297c in QAbstractButton::mouseReleaseEvent (this=0x203f400, e=0x7ffffb462140) at widgets/qabstractbutton.cpp:1121
#13 0x00007fe57135e8ca in QToolButton::mouseReleaseEvent (this=0x7fe56fecae40, e=0x18) at widgets/qtoolbutton.cpp:721
#14 0x00007fe570f32582 in QWidget::event (this=0x203f400, event=0x7ffffb462140) at kernel/qwidget.cpp:7998
#15 0x00007fe570edc22c in QApplicationPrivate::notify_helper (this=0x1db7230, receiver=0x203f400, e=0x7ffffb462140) at kernel/qapplication.cpp:4300
#16 0x00007fe570ee2ecb in QApplication::notify (this=0x7ffffb462de0, receiver=0x203f400, e=0x7ffffb462140) at kernel/qapplication.cpp:3865
#17 0x00007fe571e74526 in KApplication::notify (this=0x7ffffb462de0, receiver=0x203f400, event=0x7ffffb462140) at ../../kdeui/kernel/kapplication.cpp:302
#18 0x00007fe57056806c in QCoreApplication::notifyInternal (this=0x7ffffb462de0, receiver=0x203f400, event=0x7ffffb462140) at kernel/qcoreapplication.cpp:704
#19 0x00007fe570ee20ae in QCoreApplication::sendEvent (receiver=0x203f400, event=0x7ffffb462140, alienWidget=0x203f400, nativeWidget=0x2021190, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#20 QApplicationPrivate::sendMouseEvent (receiver=0x203f400, event=0x7ffffb462140, alienWidget=0x203f400, nativeWidget=0x2021190, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2965
#21 0x00007fe570f61f65 in QETWidget::translateMouseEvent (this=0x2021190, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#22 0x00007fe570f608ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7ffffb462a60) at kernel/qapplication_x11.cpp:3501
#23 0x00007fe570f8c882 in x11EventSourceDispatch (s=0x1dbb5f0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#24 0x00007fe56b25c8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#25 0x00007fe56b260748 in ?? () from /lib/libglib-2.0.so.0
#26 0x00007fe56b2608fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#27 0x00007fe570591513 in QEventDispatcherGlib::processEvents (this=0x1d887a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#28 0x00007fe570f8c46e in QGuiEventDispatcherGlib::processEvents (this=0x7fe56fecae40, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007fe570566992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#30 0x00007fe570566d6c in QEventLoop::exec (this=0x7ffffb462d90, flags=) at kernel/qeventloop.cpp:201
#31 0x00007fe57056aaab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#32 0x000000000040579d in _start ()

Reported using DrKonqi
Comment 1 Tobias Koenig 2010-09-02 16:39:03 UTC
Hej Andreas,

this bug has been fixed already in 4.4.5, please update if possible.

Ciao,
Tobias