Version: Unbekannt (using KDE 3.2.92 (3.3 beta2), compiled sources) Compiler: gcc version 3.3.3 (SuSE Linux) OS: Linux (i686) release 2.6.5-7.71-default Just starting "kwrite man:sudoers" crashes reproducible for me: #0 0x410812dd in QLatin15Codec::toUnicode (this=0x8053cd8, chars=0x83c8a60 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n<HTML><HEAD><TITLE>SUDOERS Manpage</TITLE>\n<link rel=\"stylesheet\" href=\"file:/home/coolo/prod/KDE/share/doc/HTML//en/common/kde-default."..., len=11474) at codecs/qtextcodec.cpp:2545 #1 0x4107eb1e in QTextStatelessDecoder::toUnicode (this=0x833e190, chars=0x83c8a60 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n<HTML><HEAD><TITLE>SUDOERS Manpage</TITLE>\n<link rel=\"stylesheet\" href=\"file:/home/coolo/prod/KDE/share/doc/HTML//en/common/kde-default."..., len=53507) at codecs/qtextcodec.cpp:196 #2 0x41b644dd in KateFileLoader::open (this=0xbfffe010) at /home/coolo/prod/kdelibs/kate/part/katebuffer.cpp:113 #3 0x41b5f1fd in KateBuffer::openFile (this=0x8222da0, m_file=@0x827e4a8) at /home/coolo/prod/kdelibs/kate/part/katebuffer.cpp:409 #4 0x41b88cbe in KateDocument::openFile (this=0x827e440, job=0x83b8d90) at /home/coolo/prod/kdelibs/kate/part/katedocument.cpp:2532 #5 0x41b889ea in KateDocument::slotFinishedKate (this=0x827e440, job=0x83b8d90) at /home/coolo/prod/kdelibs/kate/part/katedocument.cpp:2482 #6 0x41b7ddff in KateDocument::qt_invoke (this=0x827e440, _id=104, _o=0xbfffe220) at katedocument.moc:1143 #7 0x40d6a337 in QObject::activate_signal (this=0x83b8d90, clist=0x8394590, o=0xbfffe220) at kernel/qobject.cpp:2356 #8 0x40250fec in KIO::Job::result (this=0x83b8d90, t0=0x83b8d90) at jobclasses.moc:156 #9 0x4023d725 in KIO::Job::emitResult (this=0x83b8d90) at /home/coolo/prod/kdelibs/kio/kio/job.cpp:207 #10 0x4023ecb4 in KIO::SimpleJob::slotFinished (this=0x83b8d90) at /home/coolo/prod/kdelibs/kio/kio/job.cpp:524 #11 0x40240f96 in KIO::TransferJob::slotFinished (this=0x83b8d90) at /home/coolo/prod/kdelibs/kio/kio/job.cpp:884 #12 0x4025363c in KIO::TransferJob::qt_invoke (this=0x83b8d90, _id=17, _o=0xbfffe4e0) at jobclasses.moc:1050 #13 0x40d6a337 in QObject::activate_signal (this=0x83bf910, clist=0x83255e0, o=0xbfffe4e0) at kernel/qobject.cpp:2356 #14 0x40d6a1d6 in QObject::activate_signal (this=0x83bf910, signal=6) at kernel/qobject.cpp:2325 #15 0x4022fe21 in KIO::SlaveInterface::finished (this=0x83bf910) at slaveinterface.moc:226 #16 0x4022e463 in KIO::SlaveInterface::dispatch (this=0x83bf910, _cmd=104, rawdata=@0xbfffe6a0) at /home/coolo/prod/kdelibs/kio/kio/slaveinterface.cpp:255 #17 0x4022e0cc in KIO::SlaveInterface::dispatch (this=0x83bf910) at /home/coolo/prod/kdelibs/kio/kio/slaveinterface.cpp:191 #18 0x4022bb1d in KIO::Slave::gotInput (this=0x83bf910) at /home/coolo/prod/kdelibs/kio/kio/slave.cpp:294 #19 0x4022d5b7 in KIO::Slave::qt_invoke (this=0x83bf910, _id=4, _o=0xbfffe7e0) at slave.moc:113 #20 0x40d6a337 in QObject::activate_signal (this=0x83bd9e0, clist=0x8379428, o=0xbfffe7e0) at kernel/qobject.cpp:2356 #21 0x40d6a6a9 in QObject::activate_signal (this=0x83bd9e0, signal=2, param=11) at kernel/qobject.cpp:2449 #22 0x410c0965 in QSocketNotifier::activated (this=0x83bd9e0, t0=11) at .moc/debug-shared-mt/moc_qsocketnotifier.cpp:85 #23 0x40d8a4cc in QSocketNotifier::event (this=0x83bd9e0, e=0xbfffea50) at kernel/qsocketnotifier.cpp:280
==12897== Invalid read of size 2 ==12897== at 0x7609F2DD: QLatin15Codec::toUnicode(char const*, int) const (qtextcodec.cpp:2545) ==12897== by 0x7609CB1D: QTextStatelessDecoder::toUnicode(char const*, int) (qtextcodec.cpp:196) ==12897== by 0x773C54DC: KateFileLoader::open() (katebuffer.cpp:113) ==12897== by 0x773C01FC: KateBuffer::openFile(QString const&) (katebuffer.cpp:409) ==12897== by 0x773E9CBD: KateDocument::openFile(KIO::Job*) (katedocument.cpp:2532) ==12897== by 0x773E99E9: KateDocument::slotFinishedKate(KIO::Job*) (katedocument.cpp:2482) ==12897== by 0x773DEDFE: KateDocument::qt_invoke(int, QUObject*) (katedocument.moc:1143) ==12897== by 0x75D88336: QObject::activate_signal(QConnectionList*, QUObject*) (qobject.cpp:2356) ==12897== by 0x75260FEB: KIO::Job::result(KIO::Job*) (jobclasses.moc:156) ==12897== by 0x7524D724: KIO::Job::emitResult() (job.cpp:207) ==12897== by 0x7524ECB3: KIO::SimpleJob::slotFinished() (job.cpp:524) ==12897== by 0x75250F95: KIO::TransferJob::slotFinished() (job.cpp:884) ==12897== by 0x7526363B: KIO::TransferJob::qt_invoke(int, QUObject*) (jobclasses.moc:1050) ==12897== by 0x75D88336: QObject::activate_signal(QConnectionList*, QUObject*) (qobject.cpp:2356) ==12897== Address 0x778733CE is 0 bytes after a block of size 4502 alloc'd ==12897== at 0x7501EC24: operator new[](unsigned) (vg_replace_malloc.c:113) ==12897== by 0x760750EA: internalLatin1ToUnicode(char const*, unsigned*, unsigned) (qstring.cpp:1188) ==12897== by 0x7607D19C: QString::fromLatin1(char const*, int) (qstring.cpp:5809) ==12897== by 0x7609F2A9: QLatin15Codec::toUnicode(char const*, int) const (qtextcodec.cpp:2542) ==12897== by 0x7609CB1D: QTextStatelessDecoder::toUnicode(char const*, int) (qtextcodec.cpp:196) ==12897== by 0x773C54DC: KateFileLoader::open() (katebuffer.cpp:113) ==12897== by 0x773C01FC: KateBuffer::openFile(QString const&) (katebuffer.cpp:409) ==12897== by 0x773E9CBD: KateDocument::openFile(KIO::Job*) (katedocument.cpp:2532) ==12897== by 0x773E99E9: KateDocument::slotFinishedKate(KIO::Job*) (katedocument.cpp:2482) ==12897== by 0x773DEDFE: KateDocument::qt_invoke(int, QUObject*) (katedocument.moc:1143) ==12897== by 0x75D88336: QObject::activate_signal(QConnectionList*, QUObject*) (qobject.cpp:2356) ==12897== by 0x75260FEB: KIO::Job::result(KIO::Job*) (jobclasses.moc:156) ==12897== by 0x7524D724: KIO::Job::emitResult() (job.cpp:207) ==12897== by 0x7524ECB3: KIO::SimpleJob::slotFinished() (job.cpp:524)
here valgrind shows no such errors and kwrite doesn't crash, problem with used QT version ? here qt-copy up and running (from some weeks ago)
This is an encoding problem. Try 'kwrite man:screen' with an ISO-encoding (for example ISO-8859-15) :) If I switch my encoding in 'Open/Save' to utf8 it works great, and man:* always works.
*** Bug 87193 has been marked as a duplicate of this bug. ***
*** Bug 87206 has been marked as a duplicate of this bug. ***
Another testcase file is attached in bug #87206.
*** Bug 87929 has been marked as a duplicate of this bug. ***
*** Bug 91248 has been marked as a duplicate of this bug. ***
*** Bug 104545 has been marked as a duplicate of this bug. ***
*** Bug 105180 has been marked as a duplicate of this bug. ***
*** Bug 105252 has been marked as a duplicate of this bug. ***
*** Bug 107533 has been marked as a duplicate of this bug. ***
Isn't this a duplicate of BUG:88788?
Could be. I can't reproduce either bug on trunk 430645.
As the man: KIO slave was heavily modified, this bug should not appear like that anymore. Have a nice day!
then change the summary!
Sounds like this one is long gone, and probably a dup anyway. *** This bug has been marked as a duplicate of bug 88788 ***