Bug 264010

Summary: Kate crashes on "open" if a file in the "root" of a drive is already opened
Product: [Unmaintained] kio Reporter: Andrius <andriusmao>
Component: generalAssignee: KDE-Windows <kde-windows>
Status: RESOLVED FIXED    
Severity: crash CC: ps_ml
Priority: NOR    
Version: SVN   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andrius 2011-01-22 21:26:54 UTC
Application: kate (3.6.40)
KDE Platform Version: 4.6.40 (4.7 >= 20101222) (Compiled from sources)
Qt Version: 4.7.1
Operating System: WindowsNT Windows 7 i686

-- Information about the crash:
This is always reproducible:
start kate, open any file inside the root of a drive (e.g.: E:\bla.txt or C:\bla.txt ), then try opening any file. Kate crashes before the "open" dialog appear. This does not happen if you have only files outside the root of a drive opened (e.g.: E:\asdf\bla.txt )

Dragging files to kate still works normally.

The crash can be reproduced every time.

-- Backtrace:
Application: Kate (kate), signal: EXCEPTION_ACCESS_VIOLATION


ntdll.dll!ZwDelayExecution() [[unknown] @ -1] at 0x776cfd21
KERNELBASE.dll!Sleep() [[unknown] @ -1] at 0x75873520
ole32.dll!CoRegisterMessageFilter() [[unknown] @ -1] at 0x76e9580c
ole32.dll!CoGetTreatAsClass() [[unknown] @ -1] at 0x76e9c8b3
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x756d3677
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x776e9d42
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x776e9d15


ntdll.dll!NtWaitForWorkViaWorkerFactory() [[unknown] @ -1] at 0x776d1ed6
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x756d3677
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x776e9d42
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x776e9d15


ntdll.dll!NtWaitForMultipleObjects() [[unknown] @ -1] at 0x776d00ed
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x756d3677
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x776e9d42
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x776e9d15


ntdll.dll!NtWaitForMultipleObjects() [[unknown] @ -1] at 0x776d00ed
kernel32.dll!WaitForMultipleObjectsEx() [[unknown] @ -1] at 0x756d162d
kernel32.dll!WaitForMultipleObjects() [[unknown] @ -1] at 0x756d1921
QtCore4.dll!QFSFileEngine::fileTime() [[unknown] @ -1] at 0x670d60cb
QtCore4.dll!QThread::setTerminationEnabled() [[unknown] @ -1] at 0x6701fbd2
QtCore4.dll!QEventDispatcherWin32::`default constructor closure'() [[unknown] @ -1] at 0x6701f632


ntdll.dll!NtRemoveIoCompletion() [[unknown] @ -1] at 0x776cf8e9
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x756d3677
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x776e9d42
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x776e9d15


ntdll.dll!NtWaitForWorkViaWorkerFactory() [[unknown] @ -1] at 0x776d1ed6
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x756d3677
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x776e9d42
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x776e9d15


ntdll.dll!NtWaitForMultipleObjects() [[unknown] @ -1] at 0x776d00ed
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x756d3677
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x776e9d42
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x776e9d15


kio.dll!KDirLister::Private::emitChanges() [s:\trunk\kde\kdelibs\kio\kio\kdirlister.cpp @ 2080] at 0x180279c
kfile.dll!KDirOperator::updateDir() [s:\trunk\kde\kdelibs\kfile\kdiroperator.cpp @ 1102] at 0x96e82c5
kfile.dll!KFileWidget::setFilter() [s:\trunk\kde\kdelibs\kfile\kfilewidget.cpp @ 674] at 0x970fa5a
kio.dll!KFileDialog::KFileDialog() [s:\trunk\kde\kdelibs\kio\kfile\kfiledialog.cpp @ 288] at 0x18d518a
kio.dll!KEncodingFileDialog::KEncodingFileDialog() [s:\trunk\kde\kdelibs\kio\kfile\kencodingfiledialog.cpp @ 43] at 0x18cf017
kio.dll!KEncodingFileDialog::getOpenUrlsAndEncoding() [s:\trunk\kde\kdelibs\kio\kfile\kencodingfiledialog.cpp @ 159] at 0x18cfd4e
kateinterfaces.dll!KateViewManager::slotDocumentOpen() [s:\trunk\kde\kdesdk\kate\app\kateviewmanager.cpp @ 178] at 0x10410d5
kateinterfaces.dll!KateViewManager::qt_metacall() [r:\build\kde\kdesdk-20080202\work\msvc2008-relwithdebinfo-svnhead\kate\app\kateviewmanager.moc @ 129] at 0x1041356
QtCore4.dll!QMetaObject::activate() [[unknown] @ -1] at 0x670fec96
QtGui4.dll!QAction::activate() [[unknown] @ -1] at 0x65010a8f
QtGui4.dll!QAbstractButton::mouseReleaseEvent() [[unknown] @ -1] at 0x652dc955
QtGui4.dll!QAbstractButton::event() [[unknown] @ -1] at 0x652dc7f3
QtGui4.dll!QToolButton::event() [[unknown] @ -1] at 0x6537d3e8
kdeui.dll!KApplication::notify() [s:\trunk\kde\kdelibs\kdeui\kernel\kapplication.cpp @ 312] at 0x12cba65
kdeui.dll!getpid() [[unknown] @ -1] at 0x145c93b
QtCore4.dll!QCoreApplication::sendSpontaneousEvent() [[unknown] @ -1] at 0x67140832
QtGui4.dll!QApplication::winMouseButtonUp() [[unknown] @ -1] at 0x6507a9eb
QtGui4.dll!QApplication::winFocus() [[unknown] @ -1] at 0x6507758e
USER32.dll!gapfnScSendMessage() [[unknown] @ -1] at 0x75446238
USER32.dll!gapfnScSendMessage() [[unknown] @ -1] at 0x754468ea
USER32.dll!LoadStringW() [[unknown] @ -1] at 0x75447d31
USER32.dll!DispatchMessageW() [[unknown] @ -1] at 0x75447dfa
QtCore4.dll!QEventDispatcherWin32::processEvents() [[unknown] @ -1] at 0x6710defc
QtGui4.dll!qt_getRegisteredWndClass() [[unknown] @ -1] at 0x6507649f
QtCore4.dll!QCoreApplication::exec() [[unknown] @ -1] at 0x670eb36c
kate.exe!kdemain() [s:\trunk\kde\kdesdk\kate\app\katemain.cpp @ 377] at 0x406cf2
kate.exe!WinMain() [[unknown] @ -1] at 0x4010be
kate.exe!__tmainCRTStartup() [f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c @ 578] at 0x407258
kernel32.dll!BaseThreadInitThunk() [[unknown] @ -1] at 0x756d3677
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x776e9d42
ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x776e9d15

Reported using DrKonqi
Comment 1 Andrius 2011-01-22 21:33:56 UTC
Seems to be not kate-specific
Comment 2 Andrius 2012-07-14 14:46:59 UTC
May have been fixed, can't reproduce with current version.
Comment 3 Patrick Spendrin 2013-03-05 00:40:39 UTC
Can't reproduce in 4.10.1 too, so I mark this as resolved.