Bug 179549 - Crash when selecting file for new local account
Summary: Crash when selecting file for new local account
Status: RESOLVED FIXED
Alias: None
Product: kfile
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
: 181106 183803 189886 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-03 22:01 UTC by Georg Wittenburg
Modified: 2009-04-22 00:31 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 Georg Wittenburg 2009-01-03 22:01:22 UTC
Version:            (using Devel)
Installed from:    Compiled sources

How to reproduce:
1) In Kontact's Kmail component, click Setting -> Configure KMail...
2) Goto Accounts, click Add...
3) Select "Local mailbox", click OK
4) Click Choose...
5) Select any file, e.g. /var/mail/$USER, click OK
=> crash

Backtrace is as follows:

Application: Kontact (kontact), signal SIGABRT
[Current thread is 0 (LWP 3808)]

Thread 2 (Thread 0xaf785b90 (LWP 3824)):
#0  0xb7f10424 in __kernel_vsyscall ()
#1  0xb6b2a9f1 in select () from /lib/i686/cmov/libc.so.6
#2  0xb76c0660 in QProcessManager::run (this=0x950b708) at io/qprocess_unix.cpp:301
#3  0xb75f152e in QThreadPrivate::start (arg=0x950b708) at thread/qthread_unix.cpp:185
#4  0xb53924c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#5  0xb6b3261e in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb4aa09f0 (LWP 3808)):
[KCrash Handler]
#6  0xb7f10424 in __kernel_vsyscall ()
#7  0xb6a7d640 in raise () from /lib/i686/cmov/libc.so.6
#8  0xb6a7f018 in abort () from /lib/i686/cmov/libc.so.6
#9  0xb75e96cd in qt_message_output (msgType=QtFatalMsg, 
    buf=0xbfb24de0 "ASSERT: \"(mode & KFile::File) || (mode & KFile::Directory) || (mode & KFile::Files)\" in file ../../kfile/kfilewidget.cpp, line 735") at global/qglobal.cpp:2102
#10 0xb75e9796 in qFatal (msg=0xb7731438 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2303
#11 0xb75e9825 in qt_assert (assertion=0xaeb447f8 "(mode & KFile::File) || (mode & KFile::Directory) || (mode & KFile::Files)", file=0xaeb43a4c "../../kfile/kfilewidget.cpp", line=735)
    at global/qglobal.cpp:1872
#12 0xaeb149f5 in KFileWidget::slotOk (this=0xa2b7110) at ../../kfile/kfilewidget.cpp:735
#13 0xb62c46f3 in KFileDialog::slotOk (this=0xbfb27f38) at ../../kio/kfile/kfiledialog.cpp:374
#14 0xb62c4d16 in KFileDialog::qt_metacall (this=0xbfb27f38, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfb270ec) at ./kfiledialog.moc:80
#15 0xb76f5bd0 in QMetaObject::activate (sender=0xa2af960, from_signal_index=29, to_signal_index=30, argv=0xbfb270ec) at kernel/qobject.cpp:3031
#16 0xb76f5fd0 in QMetaObject::activate (sender=0xa2af960, m=0xb758da64, from_local_signal_index=2, to_local_signal_index=3, argv=0xbfb270ec) at kernel/qobject.cpp:3121
#17 0xb73c0b01 in QAbstractButton::clicked (this=0xa2af960, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:185
#18 0xb7113e09 in QAbstractButtonPrivate::emitClicked (this=0xa2b57d8) at widgets/qabstractbutton.cpp:538
#19 0xb7115a04 in QAbstractButtonPrivate::click (this=0xa2b57d8) at widgets/qabstractbutton.cpp:531
#20 0xb7115c96 in QAbstractButton::mouseReleaseEvent (this=0xa2af960, e=0xbfb2778c) at widgets/qabstractbutton.cpp:1110
#21 0xb6e2e7c2 in QWidget::event (this=0xa2af960, event=0xbfb2778c) at kernel/qwidget.cpp:7163
#22 0xb7113cae in QAbstractButton::event (this=0xa2af960, e=0xbfb2778c) at widgets/qabstractbutton.cpp:1072
#23 0xb71ba590 in QPushButton::event (this=0xa2af960, e=0xbfb2778c) at widgets/qpushbutton.cpp:652
#24 0xb6dd679c in QApplicationPrivate::notify_helper (this=0x9512bc8, receiver=0xa2af960, e=0xbfb2778c) at kernel/qapplication.cpp:3803
#25 0xb6ddefd1 in QApplication::notify (this=0xbfb2a33c, receiver=0xa2af960, e=0xbfb2778c) at kernel/qapplication.cpp:3528
#26 0xb7bd9a0d in KApplication::notify (this=0xbfb2a33c, receiver=0xa2af960, event=0xbfb2778c) at ../../kdeui/kernel/kapplication.cpp:307
#27 0xb76e10d1 in QCoreApplication::notifyInternal (this=0xbfb2a33c, receiver=0xa2af960, event=0xbfb2778c) at kernel/qcoreapplication.cpp:587
#28 0xb6dde25e in QApplicationPrivate::sendMouseEvent (receiver=0xa2af960, event=0xbfb2778c, alienWidget=0xa2af960, nativeWidget=0xbfb27f38, buttonDown=0xb7599610, lastMouseReceiver=@0xb7599614)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212
#29 0xb6e47dfd in QETWidget::translateMouseEvent (this=0xbfb27f38, event=0xbfb27c7c) at kernel/qapplication_x11.cpp:4042
#30 0xb6e46be1 in QApplication::x11ProcessEvent (this=0xbfb2a33c, event=0xbfb27c7c) at kernel/qapplication_x11.cpp:3160
#31 0xb6e7060a in x11EventSourceDispatch (s=0x950b0e8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#32 0xb53de1b8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#33 0xb53e1853 in ?? () from /usr/lib/libglib-2.0.so.0
#34 0x09509d18 in ?? ()
#35 0x00000000 in ?? ()
Comment 1 Dario Andres 2009-01-03 22:26:25 UTC
What KDE version (or SVN revision) are you using ?
Reassigning to KFile
Comment 2 Georg Wittenburg 2009-01-03 22:33:19 UTC
(In reply to comment #1)
> What KDE version (or SVN revision) are you using ?

I'm using KDE 4.1.86 packaged as unofficial Debian packages from kde42.debian.net at version 4:4.1.86+svn902575-0r1.
Comment 3 Dario Andres 2009-01-17 22:37:10 UTC
*** Bug 181106 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2009-01-17 22:37:33 UTC
Look at bug 181106 comment 1 for another testcase information
Comment 5 Dario Andres 2009-01-17 22:40:22 UTC
Here using:

Qt: 4.4.3 + qt-copy-patches-910240
KDE: 4.2.60 (KDE 4.2.60 (KDE 4.3 >= 20090116))
kdelibs svn rev. 912325 / kdebase svn rev. 912325
on ArchLinux x86_64 - Kernel 2.6.28

I have reproduced the crash. 

Backtrace:

Application: KMail (kmail), signal SIGABRT
0x00007f5b0ab8a001 in nanosleep () from /lib/libc.so.6

Thread 1 (Thread 0x7f5b1004b750 (LWP 5163)):
[KCrash Handler]
#5  0x00007f5b0ab1d0c5 in raise () from /lib/libc.so.6
#6  0x00007f5b0ab1e5e3 in abort () from /lib/libc.so.6
#7  0x00007f5b0c79c0a5 in qt_message_output () from /usr/lib/libQtCore.so.4
#8  0x00007f5b0c79c1c7 in qFatal () from /usr/lib/libQtCore.so.4
#9  0x00007f5b006f9962 in KFileWidget::slotOk (this=0x12590c0) at /home/kde-devel/kde/src/KDE/kdelibs/kfile/kfilewidget.cpp:735
#10 0x00007f5b0d1d47d5 in KFileDialog::qt_metacall (this=0x7fff1819b840, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1819a2b0)
    at /home/kde-devel/kde/build/KDE/kdelibs/kio/kfiledialog.moc:80
#11 0x00007f5b0c885d30 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#12 0x00007f5b0bc80a97 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4
#13 0x00007f5b0ba40f2b in ?? () from /usr/lib/libQtGui.so.4
#14 0x00007f5b0ba41d02 in ?? () from /usr/lib/libQtGui.so.4
#15 0x00007f5b0ba41f35 in QAbstractButton::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#16 0x00007f5b0b7c85ec in QWidget::event () from /usr/lib/libQtGui.so.4
#17 0x00007f5b0b77b4ed in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#18 0x00007f5b0b7820fe in QApplication::notify () from /usr/lib/libQtGui.so.4
#19 0x00007f5b0fb8a63b in KApplication::notify (this=0x7fff1819eff0, receiver=0xd5ca20, event=0x7fff1819abd0) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#20 0x00007f5b0c874401 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#21 0x00007f5b0b7834a8 in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#22 0x00007f5b0b7d9b6c in ?? () from /usr/lib/libQtGui.so.4
#23 0x00007f5b0b7d8ce9 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#24 0x00007f5b0b7fc794 in ?? () from /usr/lib/libQtGui.so.4
#25 0x00007f5b0221caa2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0x00007f5b0222021d in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#27 0x00007f5b022203db in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0x00007f5b0c8988cf in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#29 0x00007f5b0b7fc04f in ?? () from /usr/lib/libQtGui.so.4
#30 0x00007f5b0c872d72 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#31 0x00007f5b0c872f05 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#32 0x00007f5b0bb36b3f in QDialog::exec () from /usr/lib/libQtGui.so.4
#33 0x00007f5b0edecb88 in KMail::AccountDialog::slotLocationChooser (this=0x7fff1819d040) at /home/kde-devel/kde/src/KDE/kdepim/kmail/accountdialog.cpp:1153
#34 0x00007f5b0edf3d85 in KMail::AccountDialog::qt_metacall (this=0x7fff1819d040, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1819baa0)
    at /home/kde-devel/kde/build/KDE/kdepim/kmail/accountdialog.moc:124
#35 0x00007f5b0c885d30 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#36 0x00007f5b0bc80a97 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4
#37 0x00007f5b0ba40f2b in ?? () from /usr/lib/libQtGui.so.4
#38 0x00007f5b0ba41d02 in ?? () from /usr/lib/libQtGui.so.4
#39 0x00007f5b0ba41f35 in QAbstractButton::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#40 0x00007f5b0b7c85ec in QWidget::event () from /usr/lib/libQtGui.so.4
#41 0x00007f5b0b77b4ed in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#42 0x00007f5b0b7820fe in QApplication::notify () from /usr/lib/libQtGui.so.4
#43 0x00007f5b0fb8a63b in KApplication::notify (this=0x7fff1819eff0, receiver=0x124acb0, event=0x7fff1819c3c0) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#44 0x00007f5b0c874401 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#45 0x00007f5b0b7834a8 in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#46 0x00007f5b0b7d9b6c in ?? () from /usr/lib/libQtGui.so.4
#47 0x00007f5b0b7d8ce9 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#48 0x00007f5b0b7fc794 in ?? () from /usr/lib/libQtGui.so.4
#49 0x00007f5b0221caa2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#50 0x00007f5b0222021d in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#51 0x00007f5b022203db in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#52 0x00007f5b0c8988cf in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#53 0x00007f5b0b7fc04f in ?? () from /usr/lib/libQtGui.so.4
#54 0x00007f5b0c872d72 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#55 0x00007f5b0c872f05 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#56 0x00007f5b0bb36b3f in QDialog::exec () from /usr/lib/libQtGui.so.4
#57 0x00007f5b0ec05478 in AccountsPageReceivingTab::slotAddAccount (this=0x13655f0) at /home/kde-devel/kde/src/KDE/kdepim/kmail/configuredialog.cpp:974
#58 0x00007f5b0ec36ec0 in AccountsPageReceivingTab::qt_metacall (this=0x13655f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1819d930)
    at /home/kde-devel/kde/build/KDE/kdepim/kmail/configuredialog_p.moc:470
#59 0x00007f5b0c885d30 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#60 0x00007f5b0bc80a97 in QAbstractButton::clicked () from /usr/lib/libQtGui.so.4
#61 0x00007f5b0ba40f2b in ?? () from /usr/lib/libQtGui.so.4
#62 0x00007f5b0ba41d02 in ?? () from /usr/lib/libQtGui.so.4
#63 0x00007f5b0ba41f35 in QAbstractButton::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#64 0x00007f5b0b7c85ec in QWidget::event () from /usr/lib/libQtGui.so.4
#65 0x00007f5b0b77b4ed in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#66 0x00007f5b0b7820fe in QApplication::notify () from /usr/lib/libQtGui.so.4
#67 0x00007f5b0fb8a63b in KApplication::notify (this=0x7fff1819eff0, receiver=0x127dd00, event=0x7fff1819e250) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#68 0x00007f5b0c874401 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#69 0x00007f5b0b7834a8 in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#70 0x00007f5b0b7d9b6c in ?? () from /usr/lib/libQtGui.so.4
#71 0x00007f5b0b7d8ce9 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#72 0x00007f5b0b7fc794 in ?? () from /usr/lib/libQtGui.so.4
#73 0x00007f5b0221caa2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#74 0x00007f5b0222021d in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#75 0x00007f5b022203db in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#76 0x00007f5b0c8988cf in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#77 0x00007f5b0b7fc04f in ?? () from /usr/lib/libQtGui.so.4
#78 0x00007f5b0c872d72 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#79 0x00007f5b0c872f05 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#80 0x00007f5b0c875065 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#81 0x00000000004030bb in main (argc=<value optimized out>, argv=<value optimized out>) at /home/kde-devel/kde/src/KDE/kdepim/kmail/main.cpp:146

Comment 6 Dario Andres 2009-02-10 13:37:18 UTC
*** Bug 183803 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2009-04-17 16:55:18 UTC
*** Bug 189886 has been marked as a duplicate of this bug. ***
Comment 8 Georg Wittenburg 2009-04-22 00:31:15 UTC
Fixed in KDE 4.2.2 using Qt 4.5 (Debian packages).