Application: kmail (1.13.5) KDE Platform Version: 4.5.4 (KDE 4.5.4) Qt Version: 4.7.1 Operating System: Linux 2.6.37-rc6-00009-gb3444d1 x86_64 -- Information about the crash: - What I was doing when the application crashed: I'm composing new mail, clicking to add attachment, "open file" picker shows up. Assume the file I want is in /home/arekm/Desktop/somewhere/file.txt and I'm in /home/arekm. So I start typing "Des" in file picker form, hint for "Desktop" name shows up. Then I press "End" key to go to end of text in that form and kmail crashes then. Easy to reproduce here. The crash can be reproduced every time. -- Backtrace: Application: KMail (kmail), signal: Segmentation fault [Current thread is 1 (Thread 0x7f5723c96760 (LWP 13410))] Thread 3 (Thread 0x7f571237f710 (LWP 13434)): #0 0x00007f5733443a29 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f573581e142 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4 #2 0x00007f5735814168 in ?? () from /usr/lib64/libQtCore.so.4 #3 0x00007f573581daee in ?? () from /usr/lib64/libQtCore.so.4 #4 0x00007f573343eda5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007f5734ff4f3d in clone () from /lib64/libc.so.6 #6 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f5711b7e710 (LWP 13435)): #0 0x00007f5733443a29 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f573581e142 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4 #2 0x00007f5735814168 in ?? () from /usr/lib64/libQtCore.so.4 #3 0x00007f573581daee in ?? () from /usr/lib64/libQtCore.so.4 #4 0x00007f573343eda5 in start_thread () from /lib64/libpthread.so.0 #5 0x00007f5734ff4f3d in clone () from /lib64/libc.so.6 #6 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f5723c96760 (LWP 13410)): [KCrash Handler] #6 0x00007f5732481623 in KFileItem::isDir (this=0x7fff6c63ba90) at /usr/src/debug/kdelibs-4.5.4/kio/kio/kfileitem.cpp:998 #7 0x00007f571111bdaf in KDirOperator::Private::_k_slotExpandToUrl (this=0x403b6f0, index=<value optimized out>) at /usr/src/debug/kdelibs-4.5.4/kfile/kdiroperator.cpp:2568 #8 0x00007f571111c54d in KDirOperator::qt_metacall (this=0x403e500, _c=QMetaObject::InvokeMetaMethod, _id=70, _a=0x7fff6c63bc10) at /usr/src/debug/kdelibs-4.5.4/build/kfile/kdiroperator.moc:265 #9 0x00007f573591d3b7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4 #10 0x00007f5732475c32 in KDirModel::expand (this=<value optimized out>, _t1=<value optimized out>) at /usr/src/debug/kdelibs-4.5.4/build/kio/kdirmodel.moc:107 #11 0x00007f5732479fc5 in KDirModelPrivate::_k_slotNewItems (this=0x403b850, directoryUrl=<value optimized out>, items=<value optimized out>) at /usr/src/debug/kdelibs-4.5.4/kio/kio/kdirmodel.cpp:445 #12 0x00007f573247b2c6 in KDirModel::qt_metacall (this=0x403c590, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6c63c180) at /usr/src/debug/kdelibs-4.5.4/build/kio/kdirmodel.moc:90 #13 0x00007f573591d3b7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4 #14 0x00007f57324604da in KDirLister::itemsAdded (this=<value optimized out>, _t1=<value optimized out>, _t2=<value optimized out>) at /usr/src/debug/kdelibs-4.5.4/build/kio/kdirlister.moc:274 #15 0x00007f5732462732 in KDirLister::Private::emitItems (this=0x403c4d0) at /usr/src/debug/kdelibs-4.5.4/kio/kio/kdirlister.cpp:2387 #16 0x00007f5732464486 in KDirListerCache::slotEntries (this=<value optimized out>, job=<value optimized out>, entries=<value optimized out>) at /usr/src/debug/kdelibs-4.5.4/kio/kio/kdirlister.cpp:1165 #17 0x00007f5732470827 in KDirListerCache::qt_metacall (this=0x3f7ab60, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6c63c610) at /usr/src/debug/kdelibs-4.5.4/build/kio/kdirlister_p.moc:104 #18 0x00007f573591d3b7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4 #19 0x00007f5732447754 in KIO::ListJob::entries (this=<value optimized out>, _t1=0x49c76f0, _t2=<value optimized out>) at /usr/src/debug/kdelibs-4.5.4/build/kio/jobclasses.moc:835 #20 0x00007f573244b707 in KIO::ListJobPrivate::slotListEntries (this=<value optimized out>, list=...) at /usr/src/debug/kdelibs-4.5.4/kio/kio/job.cpp:2464 #21 0x00007f573244b8da in KIO::ListJob::qt_metacall (this=0x49c76f0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6c63c920) at /usr/src/debug/kdelibs-4.5.4/build/kio/jobclasses.moc:821 #22 0x00007f573591d3b7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4 #23 0x00007f57324ea7d5 in KIO::SlaveInterface::listEntries (this=<value optimized out>, _t1=<value optimized out>) at /usr/src/debug/kdelibs-4.5.4/build/kio/slaveinterface.moc:185 #24 0x00007f57324ed19c in KIO::SlaveInterface::dispatch (this=<value optimized out>, _cmd=<value optimized out>, rawdata=...) at /usr/src/debug/kdelibs-4.5.4/kio/kio/slaveinterface.cpp:193 #25 0x00007f57324ea153 in KIO::SlaveInterface::dispatch (this=<value optimized out>) at /usr/src/debug/kdelibs-4.5.4/kio/kio/slaveinterface.cpp:91 #26 0x00007f57324dd7d6 in KIO::Slave::gotInput (this=0x3f5ead0) at /usr/src/debug/kdelibs-4.5.4/kio/kio/slave.cpp:347 #27 0x00007f57324dddec in KIO::Slave::qt_metacall (this=0x3f5ead0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6c63ccd0) at /usr/src/debug/kdelibs-4.5.4/build/kio/slave.moc:82 #28 0x00007f573591d3b7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4 #29 0x00007f5732416717 in KIO::ConnectionPrivate::dequeue (this=0x4b41bb0) at /usr/src/debug/kdelibs-4.5.4/kio/kio/connection.cpp:82 #30 0x00007f57324167cd in KIO::Connection::qt_metacall (this=0x4b1fbb0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x4233600) at /usr/src/debug/kdelibs-4.5.4/build/kio/connection.moc:79 #31 0x00007f573591ce9e in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4 #32 0x00007f5735df11cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #33 0x00007f5735df5ece in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #34 0x00007f5737e53ad6 in KApplication::notify (this=0x7fff6c63ed70, receiver=0x4b1fbb0, event=0x40b8bb0) at /usr/src/debug/kdelibs-4.5.4/kdeui/kernel/kapplication.cpp:310 #35 0x00007f573590884c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4 #36 0x00007f573590c15f in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4 #37 0x00007f57359343a3 in ?? () from /usr/lib64/libQtCore.so.4 #38 0x00007f572cbac70f in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #39 0x00007f572cbacf20 in ?? () from /usr/lib64/libglib-2.0.so.0 #40 0x00007f572cbad1e1 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #41 0x00007f5735934546 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #42 0x00007f5735e96eae in ?? () from /usr/lib64/libQtGui.so.4 #43 0x00007f5735907bf2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #44 0x00007f5735907e34 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #45 0x00007f57362ade5e in QDialog::exec() () from /usr/lib64/libQtGui.so.4 #46 0x00007f5736e4bae0 in ?? () from /usr/lib64/libkmailprivate.so.4 #47 0x00007f5736e5c7aa in ?? () from /usr/lib64/libkmailprivate.so.4 #48 0x00007f573591d3b7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4 #49 0x00007f5735deaab2 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4 #50 0x00007f5735deacaa in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4 #51 0x00007f57361ada9a in ?? () from /usr/lib64/libQtGui.so.4 #52 0x00007f57361add4c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4 #53 0x00007f573626bc1a in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4 #54 0x00007f5735e42de3 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4 #55 0x00007f5735df11cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #56 0x00007f5735df6753 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #57 0x00007f5737e53ad6 in KApplication::notify (this=0x7fff6c63ed70, receiver=0x3ce14e0, event=0x7fff6c63e190) at /usr/src/debug/kdelibs-4.5.4/kdeui/kernel/kapplication.cpp:310 #58 0x00007f573590884c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4 #59 0x00007f5735df22d2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4 #60 0x00007f5735e70ec8 in ?? () from /usr/lib64/libQtGui.so.4 #61 0x00007f5735e6f481 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4 #62 0x00007f5735e97232 in ?? () from /usr/lib64/libQtGui.so.4 #63 0x00007f572cbac70f in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #64 0x00007f572cbacf20 in ?? () from /usr/lib64/libglib-2.0.so.0 #65 0x00007f572cbad1e1 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #66 0x00007f5735934546 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #67 0x00007f5735e96eae in ?? () from /usr/lib64/libQtGui.so.4 #68 0x00007f5735907bf2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #69 0x00007f5735907e34 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #70 0x00007f573590c41f in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4 #71 0x00000000004031c8 in _start () Possible duplicates by query: bug 194666, bug 187066. Reported using DrKonqi
(gdb) frame 1 #1 0x00007f4a2ce52daf in KDirOperator::Private::_k_slotExpandToUrl (this=0x7e2e900, index=<value optimized out>) at /usr/src/debug/kdelibs-4.5.4/kfile/kdiroperator.cpp:2568 2568 if (_item.isDir()) { (gdb) l 2563 KUrl::List::Iterator it = itemsToBeSetAsCurrent.begin(); 2564 while (it != itemsToBeSetAsCurrent.end()) { 2565 const KUrl url = *it; 2566 if (url.isParentOf(item.url())) { 2567 const KFileItem _item = dirLister->findByUrl(url); 2568 if (_item.isDir()) { 2569 const QModelIndex _index = dirModel->indexForItem(_item); 2570 const QModelIndex _proxyIndex = proxyModel->mapFromSource(_index); 2571 treeView->expand(_proxyIndex); 2572 (gdb) print _item $1 = { d = { d = 0x0 } } (gdb) print itemsToBeSetAsCurrent $2 = { <QList<KUrl>> = { { p = { static shared_null = { ref = { _q_value = 22161 }, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0} }, d = 0x4830d30 }, d = 0x4830d30 } }, <No data fields>} (gdb) print url $3 = { <QUrl> = { d = 0x47afb40 }, members of KUrl: d = 0x0 } (gdb) print url->d $4 = (KUrlPrivate * const) 0x0
kdelibs bugs
Thanks for the bug report! I can't reproduce the crash here, but it looks like bug 187066 (which I can reproduce).
*** This bug has been marked as a duplicate of bug 187066 ***