Bug 215179 - Kontact crashes when tring to save a second attachment to a FAT32 partition (usb disk) with russian encoding [KUrl::operator==, KDirModel::expandToUrl, KDirOperator::setCurrentItem]
Summary: Kontact crashes when tring to save a second attachment to a FAT32 partition (...
Status: RESOLVED DUPLICATE of bug 243093
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-18 21:59 UTC by Alex Savin
Modified: 2010-06-30 14:35 UTC (History)
5 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 Alex Savin 2009-11-18 21:59:54 UTC
Application that crashed: kontact
Version of the application: 4.3.3
KDE Version: 4.3.3 (KDE 4.3.3) "release 2"
Qt Version: 4.5.3
Operating System: Linux 2.6.27.37-0.1-pae i686
Distribution: "openSUSE 11.1 (i586)"

What I was doing when the application crashed:
[kontact][kmail]: crash when saving attachment(.jpeg) to usb-disk 

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[KCrash Handler]
#6  0xb5e2f539 in QUrl (this=0xbf8c8030, other=@0x9) at io/qurl.cpp:3936
#7  0xb60ab929 in KUrl::KUrl(KUrl const&) () from /usr/lib/libkdecore.so.5
#8  0xb674f2cf in KDirLister::url() const () from /usr/lib/libkio.so.5
#9  0xb67691e0 in ?? () from /usr/lib/libkio.so.5
#10 0xb676c30c in KDirModel::expandToUrl(KUrl const&) () from /usr/lib/libkio.so.5
#11 0xb4cb5c27 in KDirOperator::setCurrentItem(QString const&) () from /usr/lib/libkfile.so.4
#12 0xb4ccaf69 in ?? () from /usr/lib/libkfile.so.4
#13 0xb4cd0cff in KFileWidget::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkfile.so.4
#14 0xb5e90ee8 in QMetaObject::activate (sender=0x8281160, from_signal_index=30, to_signal_index=30, argv=0x0) at kernel/qobject.cpp:3113
#15 0xb5e91b72 in QMetaObject::activate (sender=0x8281160, m=0xb4d17114, local_signal_index=3, argv=0x0) at kernel/qobject.cpp:3187
#16 0xb4cac9a7 in KDirOperator::finishedLoading() () from /usr/lib/libkfile.so.4
#17 0xb4cad624 in KDirOperator::Private::_k_slotCanceled() () from /usr/lib/libkfile.so.4
#18 0xb4cb946d in KDirOperator::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkfile.so.4
#19 0xb5e90ee8 in QMetaObject::activate (sender=0x8a4b888, from_signal_index=7, to_signal_index=7, argv=0x0) at kernel/qobject.cpp:3113
#20 0xb5e91b72 in QMetaObject::activate (sender=0x8a4b888, m=0xb690bffc, local_signal_index=3, argv=0x0) at kernel/qobject.cpp:3187
#21 0xb674f027 in KDirLister::canceled() () from /usr/lib/libkio.so.5
#22 0xb6751758 in ?? () from /usr/lib/libkio.so.5
#23 0xb67517b7 in KDirLister::stop() () from /usr/lib/libkio.so.5
#24 0xb675a038 in KDirLister::~KDirLister() () from /usr/lib/libkio.so.5
#25 0xb5e8ab4f in QObjectPrivate::deleteChildren (this=0x90e5080) at kernel/qobject.cpp:1847
#26 0xb5e92493 in ~QObject (this=0x90b8800) at kernel/qobject.cpp:836
#27 0xb5e75771 in ~QAbstractItemModel (this=0x90b8800) at kernel/qabstractitemmodel.cpp:1170
#28 0xb6769744 in KDirModel::~KDirModel() () from /usr/lib/libkio.so.5
#29 0xb4caf853 in KDirOperator::Private::~Private() () from /usr/lib/libkfile.so.4
#30 0xb4cafa24 in KDirOperator::~KDirOperator() () from /usr/lib/libkfile.so.4
#31 0xb4cca56a in KFileWidget::~KFileWidget() () from /usr/lib/libkfile.so.4
#32 0xb5e8ab4f in QObjectPrivate::deleteChildren (this=0x8a0fae8) at kernel/qobject.cpp:1847
#33 0xb53a559b in ~QWidget (this=0xbf8c8780) at kernel/qwidget.cpp:1367
#34 0xb5822b26 in ~QDialog (this=0xbf8c8780) at dialogs/qdialog.cpp:298
#35 0xb63d09b4 in KDialog::~KDialog() () from /usr/lib/libkdeui.so.5
#36 0xb6844a97 in KFileDialog::~KFileDialog() () from /usr/lib/libkio.so.5
#37 0xb6847049 in KFileDialog::getSaveUrl(KUrl const&, QString const&, QWidget*, QString const&) () from /usr/lib/libkio.so.5
#38 0xb012f7fd in KMSaveAttachmentsCommand::slotSaveAll (this=0x8c682b8) at /usr/src/debug/kdepim-4.3.3/kmail/kmcommands.cpp:2453
#39 0xb0130315 in KMSaveAttachmentsCommand::qt_metacall (this=0x8c682b8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf8c8c18) at /usr/src/debug/kdepim-4.3.3/build/kmail/kmcommands.moc:799
#40 0xb5e90ee8 in QMetaObject::activate (sender=0x8eab6d8, from_signal_index=13, to_signal_index=13, argv=0x0) at kernel/qobject.cpp:3113
#41 0xb5e91b72 in QMetaObject::activate (sender=0x8eab6d8, m=0xb055a854, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#42 0xb0113817 in KMLoadPartsCommand::partsRetrieved (this=0x8eab6d8) at /usr/src/debug/kdepim-4.3.3/build/kmail/kmcommands.moc:1869
#43 0xb0114f72 in KMLoadPartsCommand::execute (this=0x8eab6d8) at /usr/src/debug/kdepim-4.3.3/kmail/kmcommands.cpp:2774
#44 0xb0130ccc in KMLoadPartsCommand::slotStart (this=0x8eab6d8) at /usr/src/debug/kdepim-4.3.3/kmail/kmcommands.cpp:2749
#45 0xb0121dd3 in KMCommand::qt_metacall (this=0x8eab6d8, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf8c8db8) at /usr/src/debug/kdepim-4.3.3/build/kmail/kmcommands.moc:86
#46 0xb012202a in KMLoadPartsCommand::qt_metacall (this=0x8eab6d8, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbf8c8db8) at /usr/src/debug/kdepim-4.3.3/build/kmail/kmcommands.moc:1852
#47 0xb5e90ee8 in QMetaObject::activate (sender=0x8c59a38, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#48 0xb5e91b72 in QMetaObject::activate (sender=0x8c59a38, m=0xb5f71908, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#49 0xb5e96d17 in QSingleShotTimer::timeout (this=0x8c59a38) at .moc/release-shared/qtimer.moc:76
#50 0xb5e96e3c in QSingleShotTimer::timerEvent (this=0x8c59a38) at kernel/qtimer.cpp:298
#51 0xb5e8be8f in QObject::event (this=0x8c59a38, e=0xbf8c9260) at kernel/qobject.cpp:1075
#52 0xb535376c in QApplicationPrivate::notify_helper (this=0x807ea70, receiver=0x8c59a38, e=0xbf8c9260) at kernel/qapplication.cpp:4065
#53 0xb535ba5e in QApplication::notify (this=0xbf8c9538, receiver=0x8c59a38, e=0xbf8c9260) at kernel/qapplication.cpp:3605
#54 0xb646982d in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#55 0xb5e7b8fb in QCoreApplication::notifyInternal (this=0xbf8c9538, receiver=0x8c59a38, event=0xbf8c9260) at kernel/qcoreapplication.cpp:610
#56 0xb5eab066 in QTimerInfoList::activateTimers (this=0x8075d5c) at kernel/qcoreapplication.h:213
#57 0xb5ea7347 in idleTimerSourceDispatch (source=0x8075d98) at kernel/qeventdispatcher_glib.cpp:184
#58 0xb45b39c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#59 0xb45b7083 in ?? () from /usr/lib/libglib-2.0.so.0
#60 0xb45b7241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#61 0xb5ea7071 in QEventDispatcherGlib::processEvents (this=0x8053fb0, flags={i = -1081306104}) at kernel/qeventdispatcher_glib.cpp:407
#62 0xb53f3cc5 in QGuiEventDispatcherGlib::processEvents (this=0x8053fb0, flags={i = -1081306056}) at kernel/qguieventdispatcher_glib.cpp:202
#63 0xb5e79f1a in QEventLoop::processEvents (this=0xbf8c94b0, flags={i = -1081305992}) at kernel/qeventloop.cpp:149
#64 0xb5e7a362 in QEventLoop::exec (this=0xbf8c94b0, flags={i = -1081305928}) at kernel/qeventloop.cpp:201
#65 0xb5e7c809 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#66 0xb53535e7 in QApplication::exec () at kernel/qapplication.cpp:3525
#67 0x0804c04f in main (argc=1, argv=0xbf8c9834) at /usr/src/debug/kdepim-4.3.3/kontact/src/main.cpp:218

Reported using DrKonqi
Comment 1 Alex Savin 2009-11-18 22:07:18 UTC
bug reproducible: 
1) save first file to disk (it work)
2) try to save next file to disk - and got a crash


usb-disk have fat32 FS, and name of mail and attachment have ru_RU.utf8 encoding
Comment 2 Christophe Marin 2009-11-18 22:12:28 UTC
Can you install the kdelibs-debuginfo package and try to get a better backtrace please ?
Comment 3 Alex Savin 2009-11-18 22:28:53 UTC
with kdelibs4-debuginfo:

Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0xb3cbd700 (LWP 28372))]

Thread 2 (Thread 0xaea31b90 (LWP 29763)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb4ee2401 in select () from /lib/libc.so.6
#2  0xb5cc7637 in QProcessManager::run (this=0x8076470) at io/qprocess_unix.cpp:296
#3  0xb5bf5592 in QThreadPrivate::start (arg=0x8076470) at thread/qthread_unix.cpp:188
#4  0xb5b931b5 in start_thread () from /lib/libpthread.so.0
#5  0xb4ee93ae in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb3cbd700 (LWP 28372)):
[KCrash Handler]
#6  QUrl::operator== (this=0xbf8f12a8, url=@0xbf8f1328) at ../../src/corelib/tools/qbytearray.h:377
#7  0xb5f196d4 in KUrl::operator== (this=0xbf8f12a8, _u=@0xbf8f1328) at /usr/src/debug/kdelibs-4.3.3/kdecore/io/kurl.cpp:587
#8  0xb65da6d4 in KDirModel::expandToUrl (this=0x8d04ca8, url=@0xbf8f1328) at /usr/src/debug/kdelibs-4.3.3/kio/kio/kdirmodel.cpp:1082
#9  0xb4b23c27 in KDirOperator::setCurrentItem (this=0x8d06c08, url=@0xbf8f1390) at /usr/src/debug/kdelibs-4.3.3/kfile/kdiroperator.cpp:1713
#10 0xb4b38f69 in KFileWidgetPrivate::_k_slotLoadingFinished (this=0x8d5ce58) at /usr/src/debug/kdelibs-4.3.3/kfile/kfilewidget.cpp:1487
#11 0xb4b3ecff in KFileWidget::qt_metacall (this=0x8d8cc70, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0xbf8f1448) at /usr/src/debug/kdelibs-4.3.3/build/kfile/kfilewidget.moc:135
#12 0xb5cfeee8 in QMetaObject::activate (sender=0x8d06c08, from_signal_index=30, to_signal_index=30, argv=0x0) at kernel/qobject.cpp:3113
#13 0xb5cffb72 in QMetaObject::activate (sender=0x8d06c08, m=0xb4b85114, local_signal_index=3, argv=0x0) at kernel/qobject.cpp:3187
#14 0xb4b1a9a7 in KDirOperator::finishedLoading (this=0x8d06c08) at /usr/src/debug/kdelibs-4.3.3/build/kfile/kdiroperator.moc:288
#15 0xb4b1b624 in KDirOperator::Private::_k_slotCanceled (this=0x8d675c0) at /usr/src/debug/kdelibs-4.3.3/kfile/kdiroperator.cpp:2265
#16 0xb4b2746d in KDirOperator::qt_metacall (this=0x8d06c08, _c=QMetaObject::InvokeMetaMethod, _id=55, _a=0xbf8f1568) at /usr/src/debug/kdelibs-4.3.3/build/kfile/kdiroperator.moc:241
#17 0xb5cfeee8 in QMetaObject::activate (sender=0x8afe860, from_signal_index=7, to_signal_index=7, argv=0x0) at kernel/qobject.cpp:3113
#18 0xb5cffb72 in QMetaObject::activate (sender=0x8afe860, m=0xb6779ffc, local_signal_index=3, argv=0x0) at kernel/qobject.cpp:3187
#19 0xb65bd027 in KDirLister::canceled (this=0x8afe860) at /usr/src/debug/kdelibs-4.3.3/build/kio/kdirlister.moc:220
#20 0xb65bf758 in KDirListerCache::stop (this=0x8cf2308, lister=0x8c98d20, silent=false) at /usr/src/debug/kdelibs-4.3.3/kio/kio/kdirlister.cpp:364
#21 0xb65bf7b7 in KDirLister::stop (this=0x8afe860) at /usr/src/debug/kdelibs-4.3.3/kio/kio/kdirlister.cpp:1901
#22 0xb65c8038 in ~KDirLister (this=0x8afe860) at /usr/src/debug/kdelibs-4.3.3/kio/kio/kdirlister.cpp:1881
#23 0xb5cf8b4f in QObjectPrivate::deleteChildren (this=0x8ae5418) at kernel/qobject.cpp:1847
#24 0xb5d00493 in ~QObject (this=0x8d04ca8) at kernel/qobject.cpp:836
#25 0xb5ce3771 in ~QAbstractItemModel (this=0x8d04ca8) at kernel/qabstractitemmodel.cpp:1170
#26 0xb65d7744 in ~KDirModel (this=0x8d04ca8) at /usr/src/debug/kdelibs-4.3.3/kio/kio/kdirmodel.cpp:331
#27 0xb4b1d853 in ~Private (this=0x8d675c0) at /usr/src/debug/kdelibs-4.3.3/kfile/kdiroperator.cpp:351
#28 0xb4b1da24 in ~KDirOperator (this=0x8d06c08) at /usr/src/debug/kdelibs-4.3.3/kfile/kdiroperator.cpp:423
#29 0xb4b3856a in ~KFileWidget (this=0x8d8cc70) at /usr/src/debug/kdelibs-4.3.3/kfile/kfilewidget.cpp:107
#30 0xb5cf8b4f in QObjectPrivate::deleteChildren (this=0x8ccd9f0) at kernel/qobject.cpp:1847
#31 0xb521359b in ~QWidget (this=0xbf8f18d0) at kernel/qwidget.cpp:1367
#32 0xb5690b26 in ~QDialog (this=0xbf8f18d0) at dialogs/qdialog.cpp:298
#33 0xb623e9b4 in ~KDialog (this=0xbf8f18d0) at /usr/src/debug/kdelibs-4.3.3/kdeui/dialogs/kdialog.cpp:197
#34 0xb66b2a97 in ~KFileDialog (this=0xbf8f18d0) at /usr/src/debug/kdelibs-4.3.3/kio/kfile/kfiledialog.cpp:290
#35 0xb66b5049 in KFileDialog::getSaveUrl (dir=@0xbf8f1b68, filter=@0xbf8f1c74, parent=0x0, caption=@0xbf8f1c70) at /usr/src/debug/kdelibs-4.3.3/kio/kfile/kfiledialog.cpp:735
#36 0xaffa27fd in KMSaveAttachmentsCommand::slotSaveAll (this=0x8da09e0) at /usr/src/debug/kdepim-4.3.3/kmail/kmcommands.cpp:2453
#37 0xaffa3315 in KMSaveAttachmentsCommand::qt_metacall (this=0x8da09e0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf8f1d68) at /usr/src/debug/kdepim-4.3.3/build/kmail/kmcommands.moc:799
#38 0xb5cfeee8 in QMetaObject::activate (sender=0x8cf0c78, from_signal_index=13, to_signal_index=13, argv=0x0) at kernel/qobject.cpp:3113
#39 0xb5cffb72 in QMetaObject::activate (sender=0x8cf0c78, m=0xb03cd854, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#40 0xaff86817 in KMLoadPartsCommand::partsRetrieved (this=0x8cf0c78) at /usr/src/debug/kdepim-4.3.3/build/kmail/kmcommands.moc:1869
#41 0xaff87f72 in KMLoadPartsCommand::execute (this=0x8cf0c78) at /usr/src/debug/kdepim-4.3.3/kmail/kmcommands.cpp:2774
#42 0xaffa3ccc in KMLoadPartsCommand::slotStart (this=0x8cf0c78) at /usr/src/debug/kdepim-4.3.3/kmail/kmcommands.cpp:2749
#43 0xaff94dd3 in KMCommand::qt_metacall (this=0x8cf0c78, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf8f1f08) at /usr/src/debug/kdepim-4.3.3/build/kmail/kmcommands.moc:86
#44 0xaff9502a in KMLoadPartsCommand::qt_metacall (this=0x8cf0c78, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbf8f1f08) at /usr/src/debug/kdepim-4.3.3/build/kmail/kmcommands.moc:1852
#45 0xb5cfeee8 in QMetaObject::activate (sender=0x8d66ae0, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#46 0xb5cffb72 in QMetaObject::activate (sender=0x8d66ae0, m=0xb5ddf908, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#47 0xb5d04d17 in QSingleShotTimer::timeout (this=0x8d66ae0) at .moc/release-shared/qtimer.moc:76
#48 0xb5d04e3c in QSingleShotTimer::timerEvent (this=0x8d66ae0) at kernel/qtimer.cpp:298
#49 0xb5cf9e8f in QObject::event (this=0x8d66ae0, e=0xbf8f23b0) at kernel/qobject.cpp:1075
#50 0xb51c176c in QApplicationPrivate::notify_helper (this=0x807ec08, receiver=0x8d66ae0, e=0xbf8f23b0) at kernel/qapplication.cpp:4065
#51 0xb51c9a5e in QApplication::notify (this=0xbf8f2688, receiver=0x8d66ae0, e=0xbf8f23b0) at kernel/qapplication.cpp:3605
#52 0xb62d782d in KApplication::notify (this=0xbf8f2688, receiver=0x8d66ae0, event=0xbf8f23b0) at /usr/src/debug/kdelibs-4.3.3/kdeui/kernel/kapplication.cpp:302
#53 0xb5ce98fb in QCoreApplication::notifyInternal (this=0xbf8f2688, receiver=0x8d66ae0, event=0xbf8f23b0) at kernel/qcoreapplication.cpp:610
#54 0xb5d19066 in QTimerInfoList::activateTimers (this=0x8075ac4) at kernel/qcoreapplication.h:213
#55 0xb5d15347 in idleTimerSourceDispatch (source=0x8075b00) at kernel/qeventdispatcher_glib.cpp:184
#56 0xb44219c8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#57 0xb4425083 in ?? () from /usr/lib/libglib-2.0.so.0
#58 0xb4425241 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#59 0xb5d15071 in QEventDispatcherGlib::processEvents (this=0x8053fb0, flags={i = -1081137832}) at kernel/qeventdispatcher_glib.cpp:407
#60 0xb5261cc5 in QGuiEventDispatcherGlib::processEvents (this=0x8053fb0, flags={i = -1081137784}) at kernel/qguieventdispatcher_glib.cpp:202
#61 0xb5ce7f1a in QEventLoop::processEvents (this=0xbf8f2600, flags={i = -1081137720}) at kernel/qeventloop.cpp:149
#62 0xb5ce8362 in QEventLoop::exec (this=0xbf8f2600, flags={i = -1081137656}) at kernel/qeventloop.cpp:201
#63 0xb5cea809 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#64 0xb51c15e7 in QApplication::exec () at kernel/qapplication.cpp:3525
#65 0x0804c04f in main (argc=1, argv=0xbf8f2984) at /usr/src/debug/kdepim-4.3.3/kontact/src/main.cpp:218
Comment 4 Dario Andres 2009-11-21 17:13:03 UTC
I wonder if this could be related to bug 210446. Thanks
Comment 5 Björn Ruberg 2009-12-12 00:41:53 UTC
I doubt so. I cannot reproduce this bug. But I don't have a Russian encoding.
Comment 6 Matthias Fuchs 2010-06-30 14:35:35 UTC
Fixed in 4.5

*** This bug has been marked as a duplicate of bug 243093 ***