I've got KDE 4.10.2 installed on Windows. Every time I open an empty file with Kwrite KWrite crashes. Reproducible: Always Steps to Reproduce: 1. Open an empty file with kwrite Actual Results: Crash Expected Results: No crash Version data: Application: kwrite (4.10.2) KDE Platform Version: 4.10.2 Qt Version: 4.8.4 Operating System: WindowsNT Windows 6.2 i686 ********************************************************************* -- Backtrace: Application: KWrite (kwrite.exe), signal: EXCEPTION_ACCESS_VIOLATION kdecore.dll!KCharsets::~KCharsets() [[unknown] @ -1] at 0x69ef2a21 [unknown]![unknown]() [[unknown] @ -1] at 0x5074f68 kdecore.dll!KCharsets::~KCharsets() [[unknown] @ -1] at 0x69e1a831 kparts.dll!KParts::OpenUrlArguments::reload() [[unknown] @ -1] at 0x6d0be6ea kparts.dll!KParts::OpenUrlArguments::reload() [[unknown] @ -1] at 0x6d0bee70 kwrite.exe![unknown]() [[unknown] @ -1] at 0x1232163 kwrite.exe!QMap<QString,QString>::unite() [[unknown] @ -1] at 0x123c63b kwrite.exe!QMap<QString,QString>::unite() [[unknown] @ -1] at 0x123b11e kwrite.exe!kdemain() [[unknown] @ -1] at 0x123511b KERNEL32.DLL!BaseThreadInitThunk() [[unknown] @ -1] at 0x7509495d ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x774398c4 ntdll.dll!RtlCaptureContext() [[unknown] @ -1] at 0x7742e0dd ntdll.dll!NtWaitForWorkViaWorkerFactory() [[unknown] @ -1] at 0x7742d6ec KERNEL32.DLL!BaseThreadInitThunk() [[unknown] @ -1] at 0x7509495d ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x774398ee ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x774398c4 ntdll.dll!ZwWaitForMultipleObjects() [[unknown] @ -1] at 0x7742c1ac KERNEL32.DLL!WaitForMultipleObjects() [[unknown] @ -1] at 0x7509a6ee QtCore4.dll!QString::contains() [[unknown] @ -1] at 0x694e4313 QtCore4.dll!QThread::setTerminationEnabled() [[unknown] @ -1] at 0x69417ddd QtCore4.dll!QEventDispatcherWin32::`default constructor closure'() [[unknown] @ -1] at 0x694176fd ntdll.dll!ZwRemoveIoCompletion() [[unknown] @ -1] at 0x7742bc8c KERNEL32.DLL!BaseThreadInitThunk() [[unknown] @ -1] at 0x7509495d ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x774398ee ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x774398c4 ntdll.dll!ZwWaitForMultipleObjects() [[unknown] @ -1] at 0x7742c1ac KERNEL32.DLL!BaseThreadInitThunk() [[unknown] @ -1] at 0x7509495d ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x774398ee ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x774398c4 ntdll.dll!ZwWaitForMultipleObjects() [[unknown] @ -1] at 0x7742c1ac combase.dll!StringFromCLSID() [[unknown] @ -1] at 0x76a438c8 combase.dll!StringFromCLSID() [[unknown] @ -1] at 0x76a4391e KERNEL32.DLL!BaseThreadInitThunk() [[unknown] @ -1] at 0x7509495d ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x774398ee ntdll.dll!RtlInitializeExceptionChain() [[unknown] @ -1] at 0x774398c4
IMHO this is fixed in the KF5 based Windows version, please try it out, see: http://kate-editor.org/2016/01/28/kate-on-windows/
I just confirmed that now on Windows kwrite doesn't crash any more when opening an empty file.