https://bugs.kde.org/show_bug.cgi?id=397545
--- Comment #5 from David Faure <fa...@kde.org> --- Still can't reproduce the assert though. In ktexteditor/src/buffer/katetextbuffer.cpp I do - QScopedPointer<QIODevice> saveFile((type == KCompressionDevice::None) ? static_cast<QIODevice*>(new QFile(filename)) : static_cast<QIODevice*>(new KCompressionDevice(filename, type))); + QScopedPointer<QIODevice> saveFile(new KCompressionDevice(filename, type)); And then kwrite /tmp/mnt/foobar, paste a huge amount of text, save. No error, 0 bytes file (because I don't have your KCompressionDevice error handling in yet). -- You are receiving this mail because: You are watching all bug changes.