[Bug 226788] New: crash in KDirWatch on exporting contact in KAddressBook

Tobias Koenig tokoe at kde.org
Sun Feb 14 10:59:53 GMT 2010


https://bugs.kde.org/show_bug.cgi?id=226788

           Summary: crash in KDirWatch on exporting contact in
                    KAddressBook
           Product: kde
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: tokoe at kde.org


Version:            (using Devel)
Compiler:          gcc 
OS:                Linux
Installed from:    Compiled sources

Steps to reproduce:
In current SVN trunk version open KAddressBook
  - select a contact
  - choose File -> Export VCard 3.0
  - choose 'Selected contacts' -> Ok
  - click Ok again
  - choose a filename that does not already exists
  - click Ok again
after exporting the contact, KAddressBook crashes with the following bt:
Application: KAddressBook (kaddressbook), signal: Segmentation fault
The current source language is "auto; currently c".
[KCrash Handler]
#5  QList<KDirWatchPrivate::Client*>::detach (this=0x0, instance=0x0) at
/opt/qt-kde-trunk/include/QtCore/qlist.h:122
#6  QList<KDirWatchPrivate::Client*>::begin (this=0x0, instance=0x0) at
/opt/qt-kde-trunk/include/QtCore/qlist.h:248
#7  KDirWatchPrivate::Entry::removeClient (this=0x0, instance=0x0) at
/mnt/archive/src/kde-trunk/src/kdelibs/kio/kio/kdirwatch.cpp:456
#8  0x00007f086cb068c0 in KDirWatchPrivate::removeEntry (this=0x1a46480,
instance=0x0, e=0x0, sub_entry=0x0) at
/mnt/archive/src/kde-trunk/src/kdelibs/kio/kio/kdirwatch.cpp:890
#9  0x00007f086cb0900e in KDirWatchPrivate::slotRemoveDelayed (this=0x1a46480)
at /mnt/archive/src/kde-trunk/src/kdelibs/kio/kio/kdirwatch.cpp:1313
#10 0x00007f086cb0d29c in KDirWatchPrivate::qt_metacall (this=0x1a46480,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9e51ee00)
    at /mnt/archive/src/kde-trunk/build/kdelibs/kio/kdirwatch_p.moc:84
#11 0x00007f086a380889 in QMetaObject::metacall (object=0x1a46480,
cl=QMetaObject::InvokeMetaMethod, idx=7, argv=0x7fff9e51ee00)
    at /mnt/archive/src/qt-kde-trunk/src/src/corelib/kernel/qmetaobject.cpp:237
#12 0x00007f086a396c9f in QMetaObject::activate (sender=0x18f08a0,
m=0x7f086a4fb0e0, local_signal_index=0, argv=0x0) at
/mnt/archive/src/qt-kde-trunk/src/src/corelib/kernel/qobject.cpp:3275
#13 0x00007f086a3a082d in QSingleShotTimer::timeout (this=0x18f08a0) at
.moc/debug-shared/qtimer.moc:82
#14 0x00007f086a3a06fd in QSingleShotTimer::timerEvent (this=0x18f08a0) at
/mnt/archive/src/qt-kde-trunk/src/src/corelib/kernel/qtimer.cpp:308
#15 0x00007f086a3924d1 in QObject::event (this=0x18f08a0, e=0x7fff9e51f7c0) at
/mnt/archive/src/qt-kde-trunk/src/src/corelib/kernel/qobject.cpp:1212
#16 0x00007f086aa74310 in QApplicationPrivate::notify_helper (this=0x12e60b0,
receiver=0x18f08a0, e=0x7fff9e51f7c0) at
/mnt/archive/src/qt-kde-trunk/src/src/gui/kernel/qapplication.cpp:4298
#17 0x00007f086aa717ae in QApplication::notify (this=0x7fff9e51fbe0,
receiver=0x18f08a0, e=0x7fff9e51f7c0) at
/mnt/archive/src/qt-kde-trunk/src/src/gui/kernel/qapplication.cpp:3702
#18 0x00007f086c4e3c96 in KApplication::notify (this=0x7fff9e51fbe0,
receiver=0x18f08a0, event=0x7fff9e51f7c0) at
/mnt/archive/src/kde-trunk/src/kdelibs/kdeui/kernel/kapplication.cpp:302
#19 0x00007f086a37882c in QCoreApplication::notifyInternal
(this=0x7fff9e51fbe0, receiver=0x18f08a0, event=0x7fff9e51f7c0)
    at
/mnt/archive/src/qt-kde-trunk/src/src/corelib/kernel/qcoreapplication.cpp:704
#20 0x00007f086c941789 in QCoreApplication::sendEvent (receiver=0x18f08a0,
event=0x7fff9e51f7c0) at
../../include/QtCore/../../../src/src/corelib/kernel/qcoreapplication.h:215
#21 0x00007f086a3b8e53 in QTimerInfoList::activateTimers (this=0x12eb0b0) at
/mnt/archive/src/qt-kde-trunk/src/src/corelib/kernel/qeventdispatcher_unix.cpp:603
#22 0x00007f086a3b4203 in timerSourceDispatch (source=0x12eb050) at
/mnt/archive/src/qt-kde-trunk/src/src/corelib/kernel/qeventdispatcher_glib.cpp:184
#23 0x00007f086a3b42ea in idleTimerSourceDispatch (source=0x12eb110) at
/mnt/archive/src/qt-kde-trunk/src/src/corelib/kernel/qeventdispatcher_glib.cpp:231
#24 0x00007f0865e708fe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#25 0x00007f0865e742b8 in ?? () from /lib/libglib-2.0.so.0
#26 0x00007f0865e743e0 in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#27 0x00007f086a3b569b in QEventDispatcherGlib::processEvents (this=0x12bbe50,
flags=...) at
/mnt/archive/src/qt-kde-trunk/src/src/corelib/kernel/qeventdispatcher_glib.cpp:412
#28 0x00007f086ab5aee4 in QGuiEventDispatcherGlib::processEvents
(this=0x12bbe50, flags=...) at
/mnt/archive/src/qt-kde-trunk/src/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007f086a375824 in QEventLoop::processEvents (this=0x7fff9e51fb80,
flags=...) at
/mnt/archive/src/qt-kde-trunk/src/src/corelib/kernel/qeventloop.cpp:149
#30 0x00007f086a37597a in QEventLoop::exec (this=0x7fff9e51fb80, flags=...) at
/mnt/archive/src/qt-kde-trunk/src/src/corelib/kernel/qeventloop.cpp:201
#31 0x00007f086a378f2e in QCoreApplication::exec () at
/mnt/archive/src/qt-kde-trunk/src/src/corelib/kernel/qcoreapplication.cpp:981
#32 0x00007f086aa71320 in QApplication::exec () at
/mnt/archive/src/qt-kde-trunk/src/src/gui/kernel/qapplication.cpp:3577
#33 0x0000000000404b4d in main (argc=<value optimized out>, argv=<value
optimized out>) at
/mnt/archive/src/kde-trunk/src/kdepim/kaddressbook/main.cpp:51

The crash doesn't happen if you choose a filename that already exists, in this
case a 'Are your sure to overwrite' dialog is presented and KAddressBook
doesn't crash.

My guess is that the KIO::NetAccess::upload() in VCardXXPort::doExport() might
have some influence, however it worked before, so it must be a change somewhere
down in KIO or KDirWatch

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list