Summary: | kwrite crashes on unicode data | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kdelibs | Reporter: | Stephan Kulow <coolo> |
Component: | qt | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | andihartmann, c.monget, crespin.quartz, kde, kde, kollix, luca.lupano, seric2570, zahl |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Stephan Kulow
2004-07-25 15:13:07 UTC
==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 *** |