Bug 181106

Summary: Crashed after selecting file for local mailbox
Product: [Unmaintained] kmail Reporter: David Jarvie <djarvie>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description David Jarvie 2009-01-17 22:27:13 UTC
Version:           KDE 4.2 SVN 16/1/09 (using Devel)
Compiler:          gcc 4.3 
OS:                Linux
Installed from:    Compiled sources

I was attempting to add a local mailbox in the configuration dialog. As soon as I clicked OK after entering a file name in the file selection dialog, it crashed.

Application: KMail (kmail), signal SIGABRT
[Current thread is 0 (LWP 11993)]

Thread 2 (Thread 0xb0e3eb90 (LWP 11997)):
#0  0xb7ee5424 in __kernel_vsyscall ()
#1  0xb5eb19f1 in select () from /lib/i686/cmov/libc.so.6
#2  0xb6a16120 in QProcessManager::run (this=0x85ac400) at io/qprocess_unix.cpp:301
#3  0xb69579b0 in QThreadPrivate::start (arg=0x85ac400) at thread/qthread_unix.cpp:185
#4  0xb68d34c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#5  0xb5eb961e in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb400e6c0 (LWP 11993)):
[KCrash Handler]
#6  0xb7ee5424 in __kernel_vsyscall ()
#7  0xb5e04640 in raise () from /lib/i686/cmov/libc.so.6
#8  0xb5e06018 in abort () from /lib/i686/cmov/libc.so.6
#9  0xb6950895 in qt_message_output (msgType=QtFatalMsg, 
    buf=0xbf7f7e80 "ASSERT: \"(mode & KFile::File) || (mode & KFile::Directory) || (mode & KFile::Files)\" in file /home/david/src/svn/4.2/kdelibs/kfile/kfilewidget.cpp, line 735")
    at global/qglobal.cpp:2102
#10 0xb6950946 in qFatal (msg=0xb6a7b338 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2303
#11 0xb69509d5 in qt_assert (assertion=0xb4554cb4 "(mode & KFile::File) || (mode & KFile::Directory) || (mode & KFile::Files)", 
    file=0xb45544f8 "/home/david/src/svn/4.2/kdelibs/kfile/kfilewidget.cpp", line=735) at global/qglobal.cpp:1872
#12 0xb4524be5 in KFileWidget::slotOk (this=0x8bc8908) at /home/david/src/svn/4.2/kdelibs/kfile/kfilewidget.cpp:735
#13 0xb6d3cca3 in KFileDialog::slotOk (this=0xbf7faf74) at /home/david/src/svn/4.2/kdelibs/kio/kfile/kfiledialog.cpp:374
#14 0xb6d3d2c6 in KFileDialog::qt_metacall (this=0xbf7faf74, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf7fa18c) at /home/david/src/svn/obj/4.2/kdelibs/kio/kfiledialog.moc:80
#15 0xb6a43e9a in QMetaObject::activate (sender=0x8c4a3b0, from_signal_index=29, to_signal_index=30, argv=0xbf7fa18c) at kernel/qobject.cpp:3028
#16 0xb6a44190 in QMetaObject::activate (sender=0x8c4a3b0, m=0xb67c0be4, from_local_signal_index=2, to_local_signal_index=3, argv=0xbf7fa18c) at kernel/qobject.cpp:3121
#17 0xb66f76c1 in QAbstractButton::clicked (this=0x8c4a3b0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:185
#18 0xb6486d29 in QAbstractButtonPrivate::emitClicked (this=0x8bc8058) at widgets/qabstractbutton.cpp:538
#19 0xb6487b34 in QAbstractButtonPrivate::click (this=0x8bc8058) at widgets/qabstractbutton.cpp:531
#20 0xb6487d96 in QAbstractButton::mouseReleaseEvent (this=0x8c4a3b0, e=0xbf7fa7dc) at widgets/qabstractbutton.cpp:1110
#21 0xb61e0f06 in QWidget::event (this=0x8c4a3b0, event=0xbf7fa7dc) at kernel/qwidget.cpp:7163
#22 0xb6486bce in QAbstractButton::event (this=0x8c4a3b0, e=0xbf7fa7dc) at widgets/qabstractbutton.cpp:1072
#23 0xb651d6b0 in QPushButton::event (this=0x8c4a3b0, e=0xbf7fa7dc) at widgets/qpushbutton.cpp:652
#24 0xb618e60c in QApplicationPrivate::notify_helper (this=0x85a8cc0, receiver=0x8c4a3b0, e=0xbf7fa7dc) at kernel/qapplication.cpp:3803
#25 0xb6196077 in QApplication::notify (this=0xbf7fd218, receiver=0x8c4a3b0, e=0xbf7fa7dc) at kernel/qapplication.cpp:3528
#26 0xb7d2806d in KApplication::notify (this=0xbf7fd218, receiver=0x8c4a3b0, event=0xbf7fa7dc) at /home/david/src/svn/4.2/kdelibs/kdeui/kernel/kapplication.cpp:307
#27 0xb6a32641 in QCoreApplication::notifyInternal (this=0xbf7fd218, receiver=0x8c4a3b0, event=0xbf7fa7dc) at kernel/qcoreapplication.cpp:583
#28 0xb619536e in QApplicationPrivate::sendMouseEvent (receiver=0x8c4a3b0, event=0xbf7fa7dc, alienWidget=0x0, nativeWidget=0x8c4a3b0, buttonDown=0xb67cc750, lastMouseReceiver=@0xb67cc754)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212
#29 0xb61f39bf in QETWidget::translateMouseEvent (this=0x8c4a3b0, event=0xbf7facbc) at kernel/qapplication_x11.cpp:4042
#30 0xb61f2e2d in QApplication::x11ProcessEvent (this=0xbf7fd218, event=0xbf7facbc) at kernel/qapplication_x11.cpp:3038
#31 0xb62189aa in x11EventSourceDispatch (s=0x85abdc8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#32 0xb46441b8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#33 0xb4647853 in ?? () from /usr/lib/libglib-2.0.so.0
#34 0x085ab098 in ?? ()
#35 0x00000000 in ?? ()
Comment 1 David Jarvie 2009-01-17 22:30:20 UTC
It turns out that I entered a file name in a non-existent directory. That is, I entered /home/david/.mail in the directory field, and typed a file name in the file name field, and clicked OK. But /home/david/.mail doesn't exist.
Comment 2 Dario Andres 2009-01-17 22:37:10 UTC

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