Version: 2.3 (using KDE 3.3.0, SuSE) Compiler: gcc version 3.3.1 (SuSE Linux) OS: Linux (i686) release 2.6.8-rc4 I tried to edit a long diff with Kate. It crashes every time I open the diff. It has something to do with the binary data at the end of the file (my make clean missed one object file) but kate does not crash if the diff only contains this file.
Created attachment 7860 [details] my diff that crashes kate
Could you provide a backtrace please?
This file crashes Kate 100% reproducably on KDE 3.3.0, Gentoo. Unfortunately I don't have a debug build, but anyone should be able to reproduce this one.
my build got this (I think the crash occurs even before the highlighting kicks in): Using host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 1819)] [KCrash handler] #4 0x40f24a60 in QLatin15Codec::toUnicode () from /usr/lib/qt/lib/libqt-mt.so.3 #5 0x40f221ef in QTextStatelessDecoder::toUnicode () from /usr/lib/qt/lib/libqt-mt.so.3 #6 0x4198c055 in KateFileLoader::open () from /opt/kde3/lib/kde3/libkatepart.so #7 0x419865bd in KateBuffer::openFile () from /opt/kde3/lib/kde3/libkatepart.so #8 0x419b3223 in KateDocument::openFile () from /opt/kde3/lib/kde3/libkatepart.so #9 0x419b308e in KateDocument::openFile () from /opt/kde3/lib/kde3/libkatepart.so #10 0x419b28cb in KateDocument::openURL () from /opt/kde3/lib/kde3/libkatepart.so #11 0x41747702 in KWrite::loadURL () from /opt/kde3/lib/libkdeinit_kwrite.so #12 0x41749cd2 in kdemain () from /opt/kde3/lib/libkdeinit_kwrite.so #13 0x41738976 in kdeinitmain () from /opt/kde3/lib/kde3/kwrite.so #14 0x0804cbfb in launch () #15 0x0804e104 in handle_launcher_request () #16 0x0804e647 in handle_requests () #17 0x0804f688 in main ()
Ok, true. Switch to UTF-8 encoding and it won't crash anymore afaik. Btw: I saw it with my own eyes at akademy - on cullmanns notebook kate does not crash *strange* *** This bug has been marked as a duplicate of 85938 ***