Bug 286521 - Kate crashed while browsing NFS filesystem
Summary: Kate crashed while browsing NFS filesystem
Status: RESOLVED FIXED
Alias: None
Product: solid
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Alex Fiestas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-13 19:35 UTC by Scott Dial
Modified: 2012-04-22 03:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Dial 2011-11-13 19:35:46 UTC
Application: kate (3.6.5)
KDE Platform Version: 4.6.5 (4.6.5) (Compiled from sources)
Qt Version: 4.7.2
Operating System: Linux 2.6.35-gentoo-r15 i686
Distribution (Platform): Gentoo Packages

-- Information about the crash:
I have a couple VMWare Fusion VMs on a host-only network that all share their root drives with each other over NFS. I was opening to browse a CentOS 5 VM's /usr/lib folder with Kate on my Gentoo VM. I have done similiar things in the past and not had issue. The only thing special I can think of about this operation is the size of the directory listing in /usr/lib is much larger than most directories and perhaps a timeout expires? Not sure.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Kate (kate), signal: Segmentation fault
[Current thread is 1 (Thread 0xb649a710 (LWP 21667))]

Thread 4 (Thread 0xb3c19b70 (LWP 21671)):
#0  0x4be3b7e6 in clock_gettime (clock_id=1, tp=0xb3c18fb8) at ../sysdeps/unix/clock_gettime.c:100
#1  0x4c26cbc7 in do_gettime (sec=0xb3c18fe8, frac=0xb3c18fe0) at tools/qelapsedtimer_unix.cpp:123
#2  0x4c26cc6e in qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x4c2f961d in updateCurrentTime (this=0x835e90c, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x835e90c, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x4c2f8340 in timerSourcePrepareHelper (src=0x835e8d8, timeout=0xb3c190ec) at kernel/qeventdispatcher_glib.cpp:136
#6  0x4c2f83c9 in timerSourcePrepare (source=0x835e8d8, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x4c0ebd4a in g_main_context_prepare (context=0x835ec58, priority=0xb3c1913c) at gmain.c:2762
#8  0x4c0ec88b in g_main_context_iterate (context=0x835ec58, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3072
#9  0x4c0ecc9b in g_main_context_iteration (context=0x835ec58, may_block=1) at gmain.c:3155
#10 0x4c2f82b2 in QEventDispatcherGlib::processEvents (this=0x835e880, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#11 0x4c2d6db1 in QEventLoop::processEvents (this=0xb3c19290, flags=...) at kernel/qeventloop.cpp:149
#12 0x4c2d6fa2 in QEventLoop::exec (this=0xb3c19290, flags=...) at kernel/qeventloop.cpp:201
#13 0x4c2317a0 in QThread::exec (this=0x835e098) at thread/qthread.cpp:492
#14 0x4c2c304f in QInotifyFileSystemWatcherEngine::run (this=0x835e098) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x4c233a76 in QThreadPrivate::start (arg=0x835e098) at thread/qthread_unix.cpp:320
#16 0x4be0de32 in start_thread (arg=0xb3c19b70) at pthread_create.c:301
#17 0x4bd4b1fe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 3 (Thread 0xb320db70 (LWP 21672)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0x4be1241c in pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x4bd5860d in __pthread_cond_wait (cond=0xb3f8b254, mutex=0xb3f8b23c) at forward.c:139
#3  0xb3ea9625 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0xb3f86164) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0xb3ea9686 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb3f86164) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0x4be0de32 in start_thread (arg=0xb320db70) at pthread_create.c:301
#6  0x4bd4b1fe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0xb2406b70 (LWP 17932)):
[KCrash Handler]
#7  QMutex::lock (this=0x50) at thread/qmutex.cpp:151
#8  0x4c233028 in QThreadPrivate::finish (arg=0x8eb1948) at thread/qthread_unix.cpp:342
#9  0x4c233c6b in __pthread_cleanup_class::~__pthread_cleanup_class (this=0xb2406320, __in_chrg=<value optimized out>) at /usr/include/pthread.h:545
#10 0x4c233a88 in QThreadPrivate::start (arg=0x8eb1948) at thread/qthread_unix.cpp:279
#11 0x4be0de32 in start_thread (arg=0xb2406b70) at pthread_create.c:301
#12 0x4bd4b1fe in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb649a710 (LWP 21667)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0x4be1241c in pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x4bd5860d in __pthread_cond_wait (cond=0x835e5e0, mutex=0x835e5c8) at forward.c:139
#3  0x4c2340da in QWaitConditionPrivate::wait (this=0x835e5c8, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  0x4c233e50 in QWaitCondition::wait (this=0x835e550, mutex=0x835e538, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x4c233404 in QThread::wait (this=0x835e098, time=4294967295) at thread/qthread_unix.cpp:722
#6  0x4c2ba5c1 in QFileSystemWatcher::~QFileSystemWatcher (this=0x835e380, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:446
#7  0x4c2ba694 in QFileSystemWatcher::~QFileSystemWatcher (this=0x835e380, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:462
#8  0x4c2e7389 in QObjectPrivate::deleteChildren (this=0x835e328) at kernel/qobject.cpp:1955
#9  0x4c2ea0df in QObject::~QObject (this=0x835e310, __in_chrg=<value optimized out>) at kernel/qobject.cpp:946
#10 0xb673995b in Solid::Backends::Fstab::FstabWatcher::~FstabWatcher (this=0x835e310, __in_chrg=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.6.5-r2/work/kdelibs-4.6.5/solid/solid/backends/fstab/fstabwatcher.cpp:48
#11 0xb6739982 in Solid::Backends::Fstab::FstabWatcher::~FstabWatcher (this=0x835e310, __in_chrg=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.6.5-r2/work/kdelibs-4.6.5/solid/solid/backends/fstab/fstabwatcher.cpp:51
#12 0xb6739862 in destroy () at /var/tmp/portage/kde-base/kdelibs-4.6.5-r2/work/kdelibs-4.6.5/solid/solid/backends/fstab/fstabwatcher.cpp:30
#13 0xb66f2be3 in Solid::CleanUpGlobalStatic::~CleanUpGlobalStatic (this=0xb67528c0, __in_chrg=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.6.5-r2/work/kdelibs-4.6.5/solid/solid/soliddefs_p.h:67
#14 0x4bca9eff in __run_exit_handlers (status=1, listp=0x4bdd4324, run_list_atexit=true) at exit.c:78
#15 0x4bca9f5f in exit (status=1) at exit.c:100
#16 0xb7162a78 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:772
#17 0xb6cb9dd4 in KApplication::xioErrhandler (this=0xbf87c438, dpy=0x8075458) at /var/tmp/portage/kde-base/kdelibs-4.6.5-r2/work/kdelibs-4.6.5/kdeui/kernel/kapplication.cpp:419
#18 0xb6cb9e0a in kde_xio_errhandler (dpy=0x8075458) at /var/tmp/portage/kde-base/kdelibs-4.6.5-r2/work/kdelibs-4.6.5/kdeui/kernel/kapplication.cpp:126
#19 0x4bf8952a in _XIOError (dpy=0x8075458) at /var/tmp/portage/x11-libs/libX11-1.4.4/work/libX11-1.4.4/src/XlibInt.c:1618
#20 0x4bf87518 in _XEventsQueued (dpy=0x8075458, mode=2) at /var/tmp/portage/x11-libs/libX11-1.4.4/work/libX11-1.4.4/src/xcb_io.c:365
#21 0x4bf7b48d in XEventsQueued (dpy=0x8075458, mode=2) at /var/tmp/portage/x11-libs/libX11-1.4.4/work/libX11-1.4.4/src/Pending.c:43
#22 0xb718f91a in x11EventSourceCheck (s=0x8074ba8) at kernel/qguieventdispatcher_glib.cpp:85
#23 0x4c0ec192 in g_main_context_check (context=0x8073e70, max_priority=2147483647, fds=0x854e618, n_fds=8) at gmain.c:2962
#24 0x4c0eca96 in g_main_context_iterate (context=0x8073e70, block=1276080956, dispatch=1, self=<value optimized out>) at gmain.c:3089
#25 0x4c0ecc9b in g_main_context_iteration (context=0x8073e70, may_block=1) at gmain.c:3155
#26 0x4c2f82b2 in QEventDispatcherGlib::processEvents (this=0x804fbe8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#27 0xb718f85d in QGuiEventDispatcherGlib::processEvents (this=0x804fbe8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x4c2d6db1 in QEventLoop::processEvents (this=0xbf87b1e0, flags=...) at kernel/qeventloop.cpp:149
#29 0x4c2d6fa2 in QEventLoop::exec (this=0xbf87b1e0, flags=...) at kernel/qeventloop.cpp:201
#30 0xb748ee1f in QDialog::exec (this=0xbf87b230) at dialogs/qdialog.cpp:552
#31 0xb698e033 in KEncodingFileDialog::getOpenUrlsAndEncoding (encoding=..., startDir=..., filter=..., parent=0x826fb60, caption=...) at /var/tmp/portage/kde-base/kdelibs-4.6.5-r2/work/kdelibs-4.6.5/kio/kfile/kencodingfiledialog.cpp:162
#32 0x4ab54f7c in KateViewManager::slotDocumentOpen (this=0x827f850) at /var/tmp/portage/kde-base/kate-4.6.5/work/kate-4.6.5/kate/app/kateviewmanager.cpp:178
#33 0x4ab55115 in KateViewManager::qt_metacall (this=0x827f850, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbf87b428) at /var/tmp/portage/kde-base/kate-4.6.5/work/kate-4.6.5_build/kate/app/kateviewmanager.moc:129
#34 0x4c2dc8be in QMetaObject::metacall (object=0x827f850, cl=QMetaObject::InvokeMetaMethod, idx=36, argv=0xbf87b428) at kernel/qmetaobject.cpp:237
#35 0x4c2e8450 in QMetaObject::activate (sender=0x829d370, m=0xb7852ff0, local_signal_index=1, argv=0xbf87b428) at kernel/qobject.cpp:3278
#36 0xb7105549 in QAction::triggered (this=0x829d370, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#37 0xb710578b in QAction::activate (this=0x829d370, event=QAction::Trigger) at kernel/qaction.cpp:1257
#38 0xb7426b5a in QMenuPrivate::activateCausedStack (this=0x8301760, causedStack=..., action=0x829d370, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#39 0xb742a914 in QMenuPrivate::activateAction (this=0x8301760, action=0x829d370, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1085
#40 0xb742bb4c in QMenu::mouseReleaseEvent (this=0x82f2e50, e=0xbf87bcd0) at widgets/qmenu.cpp:2306
#41 0xb6d4c32b in KMenu::mouseReleaseEvent (this=0x82f2e50, e=0xbf87bcd0) at /var/tmp/portage/kde-base/kdelibs-4.6.5-r2/work/kdelibs-4.6.5/kdeui/widgets/kmenu.cpp:458
#42 0xb714cdf2 in QWidget::event (this=0x82f2e50, event=0xbf87bcd0) at kernel/qwidget.cpp:8259
#43 0xb742b3f2 in QMenu::event (this=0x82f2e50, e=0xbf87bcd0) at widgets/qmenu.cpp:2415
#44 0xb710ad77 in QApplicationPrivate::notify_helper (this=0x8071210, receiver=0x82f2e50, e=0xbf87bcd0) at kernel/qapplication.cpp:4462
#45 0xb7111f84 in QApplication::notify (this=0xbf87c438, receiver=0x82f2e50, e=0xbf87bcd0) at kernel/qapplication.cpp:4023
#46 0xb6cbac7b in KApplication::notify (this=0xbf87c438, receiver=0x82f2e50, event=0xbf87bcd0) at /var/tmp/portage/kde-base/kdelibs-4.6.5-r2/work/kdelibs-4.6.5/kdeui/kernel/kapplication.cpp:311
#47 0x4c2d7aaa in QCoreApplication::notifyInternal (this=0xbf87c438, receiver=0x82f2e50, event=0xbf87bcd0) at kernel/qcoreapplication.cpp:731
#48 0xb7112604 in QCoreApplication::sendSpontaneousEvent (receiver=0x82f2e50, event=0xbf87bcd0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#49 0xb710b931 in QApplicationPrivate::sendMouseEvent (receiver=0x82f2e50, event=0xbf87bcd0, alienWidget=0x0, nativeWidget=0x82f2e50, buttonDown=0xb786d9e8, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#50 0xb7170905 in QETWidget::translateMouseEvent (this=0x82f2e50, event=0xbf87c0f8) at kernel/qapplication_x11.cpp:4395
#51 0xb716f759 in QApplication::x11ProcessEvent (this=0xbf87c438, event=0xbf87c0f8) at kernel/qapplication_x11.cpp:3666
#52 0xb718fc35 in x11EventSourceDispatch (s=0x8074ba8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#53 0x4c0ec44b in g_main_dispatch (context=0x8073e70) at gmain.c:2441
#54 g_main_context_dispatch (context=0x8073e70) at gmain.c:3014
#55 0x4c0ecaaa in g_main_context_iterate (context=0x8073e70, block=1276080956, dispatch=1, self=<value optimized out>) at gmain.c:3092
#56 0x4c0ecc9b in g_main_context_iteration (context=0x8073e70, may_block=1) at gmain.c:3155
#57 0x4c2f82b2 in QEventDispatcherGlib::processEvents (this=0x804fbe8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#58 0xb718f85d in QGuiEventDispatcherGlib::processEvents (this=0x804fbe8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#59 0x4c2d6db1 in QEventLoop::processEvents (this=0xbf87c3c4, flags=...) at kernel/qeventloop.cpp:149
#60 0x4c2d6fa2 in QEventLoop::exec (this=0xbf87c3c4, flags=...) at kernel/qeventloop.cpp:201
#61 0x4c2da19c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#62 0xb7109751 in QApplication::exec () at kernel/qapplication.cpp:3736
#63 0x4ab7c35b in kdemain (argc=2, argv=0xbf87ca94) at /var/tmp/portage/kde-base/kate-4.6.5/work/kate-4.6.5/kate/app/katemain.cpp:377
#64 0x080486bb in main (argc=) at /var/tmp/portage/kde-base/kate-4.6.5/work/kate-4.6.5_build/kate/app/kate_dummy.cpp:3

Reported using DrKonqi
Comment 1 Alex Fiestas 2012-04-22 03:48:57 UTC
This is fixed now, can't say for how long though (at least 4.7.4 and 4.8.0 are not affected).

Thanks for reporting !