Application: kdevelop (4.2.81) KDE Platform Version: 4.8.00 (4.8.0 Qt Version: 4.8.0 Operating System: Linux 3.2.2-1-ARCH x86_64 Distribution: "Arch Linux" -- Information about the crash: I'm not sure what's going on but I'm now getting this crash everytime on startup. and I think I've seen this before valgrind log: ==17455== Invalid read of size 1 ==17455== at 0x817BDBB: QTextLine::cursorToX(int*, QTextLine::Edge) const (in /usr/lib/libQtGui.so.4.8.0) ==17455== by 0x1E4A8733: QTextLine::cursorToX(int, QTextLine::Edge) const (qtextlayout.h:230) ==17455== by 0x1E4A80A1: KateRenderer::layoutLine(KSharedPtr<KateLineLayout>, int, bool) const (katerenderer.cpp:906) ==17455== by 0x1E4AD4B8: KateLayoutCache::line(int, int) (katelayoutcache.cpp:318) ==17455== by 0x1E4AD877: KateLayoutCache::viewLine(KTextEditor::Cursor const&) (katelayoutcache.cpp:389) ==17455== by 0x1E50ACCE: KateViewInternal::viewLineOffset(KTextEditor::Cursor const&, int, bool) (kateviewinternal.cpp:1291) ==17455== by 0x1E507C70: KateViewInternal::makeVisible(KTextEditor::Cursor const&, int, bool, bool, bool) (kateviewinternal.cpp:616) ==17455== by 0x1E50DFF1: KateViewInternal::updateCursor(KTextEditor::Cursor const&, bool, bool, bool) (kateviewinternal.cpp:1848) ==17455== by 0x1E4FC384: KateView::setCursorPositionInternal(KTextEditor::Cursor const&, unsigned int, bool) (kateview.cpp:1162) ==17455== by 0x1E5006FF: KateView::setCursorPosition(KTextEditor::Cursor) (kateview.cpp:2179) ==17455== by 0x4139A6F: KDevelop::TextView::setState(QString const&) (textdocument.cpp:609) ==17455== by 0x40F37E9: KDevelop::WorkingSet::loadToArea(Sublime::Area*, Sublime::AreaIndex*, KConfigGroup, KConfigGroup) (workingset.cpp:280) ==17455== by 0x40F2A6B: KDevelop::WorkingSet::loadToArea(Sublime::Area*, Sublime::AreaIndex*, bool) (workingset.cpp:201) ==17455== by 0x40ED89A: KDevelop::WorkingSetController::changedWorkingSet(Sublime::Area*, QString const&, QString const&) (workingsetcontroller.cpp:306) ==17455== by 0x40EDCF8: KDevelop::WorkingSetController::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (workingsetcontroller.moc:84) ==17455== by 0x77E8F50: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/libQtCore.so.4.8.0) ==17455== by 0x6117216: Sublime::Area::changedWorkingSet(Sublime::Area*, QString, QString) (area.moc:185) ==17455== by 0x61164CC: Sublime::Area::setWorkingSet(QString) (area.cpp:417) ==17455== by 0x6115ED2: Sublime::Area::load(KConfigGroup const&) (area.cpp:349) ==17455== by 0x411F255: KDevelop::UiController::loadArea(Sublime::Area*, KConfigGroup const&) (uicontroller.cpp:427) ==17455== by 0x411FD97: KDevelop::UiController::loadAllAreas(KSharedPtr<KSharedConfig>) (uicontroller.cpp:519) ==17455== by 0x411A1C2: KDevelop::CorePrivate::initialize(KDevelop::Core::Setup, QString) (core.cpp:239) ==17455== by 0x411A6EA: KDevelop::Core::initialize(KSplashScreen*, KDevelop::Core::Setup, QString const&) (core.cpp:290) ==17455== by 0x40A2A7: main (main.cpp:358) ==17455== Address 0x35edd8d8 is 0 bytes after a block of size 1,336 alloc'd ==17455== at 0x4C2993D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==17455== by 0x4C29AC7: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==17455== by 0x8166BF5: QTextEngine::LayoutData::reallocate(int) (in /usr/lib/libQtGui.so.4.8.0) ==17455== by 0x816D77B: QTextEngine::attributes() const (in /usr/lib/libQtGui.so.4.8.0) ==17455== by 0x817B70F: QTextLine::cursorToX(int*, QTextLine::Edge) const (in /usr/lib/libQtGui.so.4.8.0) ==17455== by 0x1E4A8733: QTextLine::cursorToX(int, QTextLine::Edge) const (qtextlayout.h:230) ==17455== by 0x1E4A80A1: KateRenderer::layoutLine(KSharedPtr<KateLineLayout>, int, bool) const (katerenderer.cpp:906) ==17455== by 0x1E4AD4B8: KateLayoutCache::line(int, int) (katelayoutcache.cpp:318) ==17455== by 0x1E4AD877: KateLayoutCache::viewLine(KTextEditor::Cursor const&) (katelayoutcache.cpp:389) ==17455== by 0x1E50ACCE: KateViewInternal::viewLineOffset(KTextEditor::Cursor const&, int, bool) (kateviewinternal.cpp:1291) ==17455== by 0x1E507C70: KateViewInternal::makeVisible(KTextEditor::Cursor const&, int, bool, bool, bool) (kateviewinternal.cpp:616) ==17455== by 0x1E50DFF1: KateViewInternal::updateCursor(KTextEditor::Cursor const&, bool, bool, bool) (kateviewinternal.cpp:1848) ==17455== by 0x1E4FC384: KateView::setCursorPositionInternal(KTextEditor::Cursor const&, unsigned int, bool) (kateview.cpp:1162) ==17455== by 0x1E5006FF: KateView::setCursorPosition(KTextEditor::Cursor) (kateview.cpp:2179) ==17455== by 0x4139A6F: KDevelop::TextView::setState(QString const&) (textdocument.cpp:609) ==17455== by 0x40F37E9: KDevelop::WorkingSet::loadToArea(Sublime::Area*, Sublime::AreaIndex*, KConfigGroup, KConfigGroup) (workingset.cpp:280) ==17455== by 0x40F2A6B: KDevelop::WorkingSet::loadToArea(Sublime::Area*, Sublime::AreaIndex*, bool) (workingset.cpp:201) ==17455== by 0x40ED89A: KDevelop::WorkingSetController::changedWorkingSet(Sublime::Area*, QString const&, QString const&) (workingsetcontroller.cpp:306) ==17455== by 0x40EDCF8: KDevelop::WorkingSetController::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (workingsetcontroller.moc:84) ==17455== by 0x77E8F50: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/libQtCore.so.4.8.0) ==17455== by 0x6117216: Sublime::Area::changedWorkingSet(Sublime::Area*, QString, QString) (area.moc:185) ==17455== by 0x61164CC: Sublime::Area::setWorkingSet(QString) (area.cpp:417) ==17455== by 0x6115ED2: Sublime::Area::load(KConfigGroup const&) (area.cpp:349) ==17455== by 0x411F255: KDevelop::UiController::loadArea(Sublime::Area*, KConfigGroup const&) (uicontroller.cpp:427) ==17455== by 0x411FD97: KDevelop::UiController::loadAllAreas(KSharedPtr<KSharedConfig>) (uicontroller.cpp:519) ==17455== ==17455== Invalid read of size 4 ==17455== at 0x817BDB8: QTextLine::cursorToX(int*, QTextLine::Edge) const (in /usr/lib/libQtGui.so.4.8.0) ==17455== by 0x1E4A8733: QTextLine::cursorToX(int, QTextLine::Edge) const (qtextlayout.h:230) ==17455== by 0x1E4A80A1: KateRenderer::layoutLine(KSharedPtr<KateLineLayout>, int, bool) const (katerenderer.cpp:906) ==17455== by 0x1E4AD4B8: KateLayoutCache::line(int, int) (katelayoutcache.cpp:318) ==17455== by 0x1E4AD877: KateLayoutCache::viewLine(KTextEditor::Cursor const&) (katelayoutcache.cpp:389) ==17455== by 0x1E50ACCE: KateViewInternal::viewLineOffset(KTextEditor::Cursor const&, int, bool) (kateviewinternal.cpp:1291) ==17455== by 0x1E507C70: KateViewInternal::makeVisible(KTextEditor::Cursor const&, int, bool, bool, bool) (kateviewinternal.cpp:616) ==17455== by 0x1E50DFF1: KateViewInternal::updateCursor(KTextEditor::Cursor const&, bool, bool, bool) (kateviewinternal.cpp:1848) ==17455== by 0x1E4FC384: KateView::setCursorPositionInternal(KTextEditor::Cursor const&, unsigned int, bool) (kateview.cpp:1162) ==17455== by 0x1E5006FF: KateView::setCursorPosition(KTextEditor::Cursor) (kateview.cpp:2179) ==17455== by 0x4139A6F: KDevelop::TextView::setState(QString const&) (textdocument.cpp:609) ==17455== by 0x40F37E9: KDevelop::WorkingSet::loadToArea(Sublime::Area*, Sublime::AreaIndex*, KConfigGroup, KConfigGroup) (workingset.cpp:280) ==17455== by 0x40F2A6B: KDevelop::WorkingSet::loadToArea(Sublime::Area*, Sublime::AreaIndex*, bool) (workingset.cpp:201) ==17455== by 0x40ED89A: KDevelop::WorkingSetController::changedWorkingSet(Sublime::Area*, QString const&, QString const&) (workingsetcontroller.cpp:306) ==17455== by 0x40EDCF8: KDevelop::WorkingSetController::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (workingsetcontroller.moc:84) ==17455== by 0x77E8F50: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/libQtCore.so.4.8.0) ==17455== by 0x6117216: Sublime::Area::changedWorkingSet(Sublime::Area*, QString, QString) (area.moc:185) ==17455== by 0x61164CC: Sublime::Area::setWorkingSet(QString) (area.cpp:417) ==17455== by 0x6115ED2: Sublime::Area::load(KConfigGroup const&) (area.cpp:349) ==17455== by 0x411F255: KDevelop::UiController::loadArea(Sublime::Area*, KConfigGroup const&) (uicontroller.cpp:427) ==17455== by 0x411FD97: KDevelop::UiController::loadAllAreas(KSharedPtr<KSharedConfig>) (uicontroller.cpp:519) ==17455== by 0x411A1C2: KDevelop::CorePrivate::initialize(KDevelop::Core::Setup, QString) (core.cpp:239) ==17455== by 0x411A6EA: KDevelop::Core::initialize(KSplashScreen*, KDevelop::Core::Setup, QString const&) (core.cpp:290) ==17455== by 0x40A2A7: main (main.cpp:358) ==17455== Address 0x35edd8d8 is 0 bytes after a block of size 1,336 alloc'd ==17455== at 0x4C2993D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==17455== by 0x4C29AC7: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==17455== by 0x8166BF5: QTextEngine::LayoutData::reallocate(int) (in /usr/lib/libQtGui.so.4.8.0) ==17455== by 0x816D77B: QTextEngine::attributes() const (in /usr/lib/libQtGui.so.4.8.0) ==17455== by 0x817B70F: QTextLine::cursorToX(int*, QTextLine::Edge) const (in /usr/lib/libQtGui.so.4.8.0) ==17455== by 0x1E4A8733: QTextLine::cursorToX(int, QTextLine::Edge) const (qtextlayout.h:230) ==17455== by 0x1E4A80A1: KateRenderer::layoutLine(KSharedPtr<KateLineLayout>, int, bool) const (katerenderer.cpp:906) ==17455== by 0x1E4AD4B8: KateLayoutCache::line(int, int) (katelayoutcache.cpp:318) ==17455== by 0x1E4AD877: KateLayoutCache::viewLine(KTextEditor::Cursor const&) (katelayoutcache.cpp:389) ==17455== by 0x1E50ACCE: KateViewInternal::viewLineOffset(KTextEditor::Cursor const&, int, bool) (kateviewinternal.cpp:1291) ==17455== by 0x1E507C70: KateViewInternal::makeVisible(KTextEditor::Cursor const&, int, bool, bool, bool) (kateviewinternal.cpp:616) ==17455== by 0x1E50DFF1: KateViewInternal::updateCursor(KTextEditor::Cursor const&, bool, bool, bool) (kateviewinternal.cpp:1848) ==17455== by 0x1E4FC384: KateView::setCursorPositionInternal(KTextEditor::Cursor const&, unsigned int, bool) (kateview.cpp:1162) ==17455== by 0x1E5006FF: KateView::setCursorPosition(KTextEditor::Cursor) (kateview.cpp:2179) ==17455== by 0x4139A6F: KDevelop::TextView::setState(QString const&) (textdocument.cpp:609) ==17455== by 0x40F37E9: KDevelop::WorkingSet::loadToArea(Sublime::Area*, Sublime::AreaIndex*, KConfigGroup, KConfigGroup) (workingset.cpp:280) ==17455== by 0x40F2A6B: KDevelop::WorkingSet::loadToArea(Sublime::Area*, Sublime::AreaIndex*, bool) (workingset.cpp:201) ==17455== by 0x40ED89A: KDevelop::WorkingSetController::changedWorkingSet(Sublime::Area*, QString const&, QString const&) (workingsetcontroller.cpp:306) ==17455== by 0x40EDCF8: KDevelop::WorkingSetController::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (workingsetcontroller.moc:84) ==17455== by 0x77E8F50: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/libQtCore.so.4.8.0) ==17455== by 0x6117216: Sublime::Area::changedWorkingSet(Sublime::Area*, QString, QString) (area.moc:185) ==17455== by 0x61164CC: Sublime::Area::setWorkingSet(QString) (area.cpp:417) ==17455== by 0x6115ED2: Sublime::Area::load(KConfigGroup const&) (area.cpp:349) ==17455== by 0x411F255: KDevelop::UiController::loadArea(Sublime::Area*, KConfigGroup const&) (uicontroller.cpp:427) ==17455== by 0x411FD97: KDevelop::UiController::loadAllAreas(KSharedPtr<KSharedConfig>) (uicontroller.cpp:519) ==17455== ==17455== Invalid read of size 4 ==17455== at 0x817BDC7: QTextLine::cursorToX(int*, QTextLine::Edge) const (in /usr/lib/libQtGui.so.4.8.0) ==17455== by 0x1E4A8733: QTextLine::cursorToX(int, QTextLine::Edge) const (qtextlayout.h:230) ==17455== by 0x1E4A80A1: KateRenderer::layoutLine(KSharedPtr<KateLineLayout>, int, bool) const (katerenderer.cpp:906) ==17455== by 0x1E4AD4B8: KateLayoutCache::line(int, int) (katelayoutcache.cpp:318) ==17455== by 0x1E4AD877: KateLayoutCache::viewLine(KTextEditor::Cursor const&) (katelayoutcache.cpp:389) ==17455== by 0x1E50ACCE: KateViewInternal::viewLineOffset(KTextEditor::Cursor const&, int, bool) (kateviewinternal.cpp:1291) ==17455== by 0x1E507C70: KateViewInternal::makeVisible(KTextEditor::Cursor const&, int, bool, bool, bool) (kateviewinternal.cpp:616) ==17455== by 0x1E50DFF1: KateViewInternal::updateCursor(KTextEditor::Cursor const&, bool, bool, bool) (kateviewinternal.cpp:1848) ==17455== by 0x1E4FC384: KateView::setCursorPositionInternal(KTextEditor::Cursor const&, unsigned int, bool) (kateview.cpp:1162) ==17455== by 0x1E5006FF: KateView::setCursorPosition(KTextEditor::Cursor) (kateview.cpp:2179) ==17455== by 0x4139A6F: KDevelop::TextView::setState(QString const&) (textdocument.cpp:609) ==17455== by 0x40F37E9: KDevelop::WorkingSet::loadToArea(Sublime::Area*, Sublime::AreaIndex*, KConfigGroup, KConfigGroup) (workingset.cpp:280) ==17455== by 0x40F2A6B: KDevelop::WorkingSet::loadToArea(Sublime::Area*, Sublime::AreaIndex*, bool) (workingset.cpp:201) ==17455== by 0x40ED89A: KDevelop::WorkingSetController::changedWorkingSet(Sublime::Area*, QString const&, QString const&) (workingsetcontroller.cpp:306) ==17455== by 0x40EDCF8: KDevelop::WorkingSetController::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (workingsetcontroller.moc:84) ==17455== by 0x77E8F50: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/libQtCore.so.4.8.0) ==17455== by 0x6117216: Sublime::Area::changedWorkingSet(Sublime::Area*, QString, QString) (area.moc:185) ==17455== by 0x61164CC: Sublime::Area::setWorkingSet(QString) (area.cpp:417) ==17455== by 0x6115ED2: Sublime::Area::load(KConfigGroup const&) (area.cpp:349) ==17455== by 0x411F255: KDevelop::UiController::loadArea(Sublime::Area*, KConfigGroup const&) (uicontroller.cpp:427) ==17455== by 0x411FD97: KDevelop::UiController::loadAllAreas(KSharedPtr<KSharedConfig>) (uicontroller.cpp:519) ==17455== by 0x411A1C2: KDevelop::CorePrivate::initialize(KDevelop::Core::Setup, QString) (core.cpp:239) ==17455== by 0x411A6EA: KDevelop::Core::initialize(KSplashScreen*, KDevelop::Core::Setup, QString const&) (core.cpp:290) ==17455== by 0x40A2A7: main (main.cpp:358) ==17455== Address 0x35edd8d8 is 0 bytes after a block of size 1,336 alloc'd ==17455== at 0x4C2993D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==17455== by 0x4C29AC7: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==17455== by 0x8166BF5: QTextEngine::LayoutData::reallocate(int) (in /usr/lib/libQtGui.so.4.8.0) ==17455== by 0x816D77B: QTextEngine::attributes() const (in /usr/lib/libQtGui.so.4.8.0) ==17455== by 0x817B70F: QTextLine::cursorToX(int*, QTextLine::Edge) const (in /usr/lib/libQtGui.so.4.8.0) ==17455== by 0x1E4A8733: QTextLine::cursorToX(int, QTextLine::Edge) const (qtextlayout.h:230) ==17455== by 0x1E4A80A1: KateRenderer::layoutLine(KSharedPtr<KateLineLayout>, int, bool) const (katerenderer.cpp:906) ==17455== by 0x1E4AD4B8: KateLayoutCache::line(int, int) (katelayoutcache.cpp:318) ==17455== by 0x1E4AD877: KateLayoutCache::viewLine(KTextEditor::Cursor const&) (katelayoutcache.cpp:389) ==17455== by 0x1E50ACCE: KateViewInternal::viewLineOffset(KTextEditor::Cursor const&, int, bool) (kateviewinternal.cpp:1291) ==17455== by 0x1E507C70: KateViewInternal::makeVisible(KTextEditor::Cursor const&, int, bool, bool, bool) (kateviewinternal.cpp:616) ==17455== by 0x1E50DFF1: KateViewInternal::updateCursor(KTextEditor::Cursor const&, bool, bool, bool) (kateviewinternal.cpp:1848) ==17455== by 0x1E4FC384: KateView::setCursorPositionInternal(KTextEditor::Cursor const&, unsigned int, bool) (kateview.cpp:1162) ==17455== by 0x1E5006FF: KateView::setCursorPosition(KTextEditor::Cursor) (kateview.cpp:2179) ==17455== by 0x4139A6F: KDevelop::TextView::setState(QString const&) (textdocument.cpp:609) ==17455== by 0x40F37E9: KDevelop::WorkingSet::loadToArea(Sublime::Area*, Sublime::AreaIndex*, KConfigGroup, KConfigGroup) (workingset.cpp:280) ==17455== by 0x40F2A6B: KDevelop::WorkingSet::loadToArea(Sublime::Area*, Sublime::AreaIndex*, bool) (workingset.cpp:201) ==17455== by 0x40ED89A: KDevelop::WorkingSetController::changedWorkingSet(Sublime::Area*, QString const&, QString const&) (workingsetcontroller.cpp:306) ==17455== by 0x40EDCF8: KDevelop::WorkingSetController::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (workingsetcontroller.moc:84) ==17455== by 0x77E8F50: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/libQtCore.so.4.8.0) ==17455== by 0x6117216: Sublime::Area::changedWorkingSet(Sublime::Area*, QString, QString) (area.moc:185) ==17455== by 0x61164CC: Sublime::Area::setWorkingSet(QString) (area.cpp:417) ==17455== by 0x6115ED2: Sublime::Area::load(KConfigGroup const&) (area.cpp:349) ==17455== by 0x411F255: KDevelop::UiController::loadArea(Sublime::Area*, KConfigGroup const&) (uicontroller.cpp:427) ==17455== by 0x411FD97: KDevelop::UiController::loadAllAreas(KSharedPtr<KSharedConfig>) (uicontroller.cpp:519) ==17455== ==17455== Conditional jump or move depends on uninitialised value(s) ==17455== at 0x1E4A810E: KateRenderer::layoutLine(KSharedPtr<KateLineLayout>, int, bool) const (katerenderer.cpp:910) ==17455== by 0x1E4AD4B8: KateLayoutCache::line(int, int) (katelayoutcache.cpp:318) ==17455== by 0x1E4AD877: KateLayoutCache::viewLine(KTextEditor::Cursor const&) (katelayoutcache.cpp:389) ==17455== by 0x1E50ACCE: KateViewInternal::viewLineOffset(KTextEditor::Cursor const&, int, bool) (kateviewinternal.cpp:1291) ==17455== by 0x1E507C70: KateViewInternal::makeVisible(KTextEditor::Cursor const&, int, bool, bool, bool) (kateviewinternal.cpp:616) ==17455== by 0x1E50DFF1: KateViewInternal::updateCursor(KTextEditor::Cursor const&, bool, bool, bool) (kateviewinternal.cpp:1848) ==17455== by 0x1E4FC384: KateView::setCursorPositionInternal(KTextEditor::Cursor const&, unsigned int, bool) (kateview.cpp:1162) ==17455== by 0x1E5006FF: KateView::setCursorPosition(KTextEditor::Cursor) (kateview.cpp:2179) ==17455== by 0x4139A6F: KDevelop::TextView::setState(QString const&) (textdocument.cpp:609) ==17455== by 0x40F37E9: KDevelop::WorkingSet::loadToArea(Sublime::Area*, Sublime::AreaIndex*, KConfigGroup, KConfigGroup) (workingset.cpp:280) ==17455== by 0x40F2A6B: KDevelop::WorkingSet::loadToArea(Sublime::Area*, Sublime::AreaIndex*, bool) (workingset.cpp:201) ==17455== by 0x40ED89A: KDevelop::WorkingSetController::changedWorkingSet(Sublime::Area*, QString const&, QString const&) (workingsetcontroller.cpp:306) ==17455== by 0x40EDCF8: KDevelop::WorkingSetController::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (workingsetcontroller.moc:84) ==17455== by 0x77E8F50: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/libQtCore.so.4.8.0) ==17455== by 0x6117216: Sublime::Area::changedWorkingSet(Sublime::Area*, QString, QString) (area.moc:185) ==17455== by 0x61164CC: Sublime::Area::setWorkingSet(QString) (area.cpp:417) ==17455== by 0x6115ED2: Sublime::Area::load(KConfigGroup const&) (area.cpp:349) ==17455== by 0x411F255: KDevelop::UiController::loadArea(Sublime::Area*, KConfigGroup const&) (uicontroller.cpp:427) ==17455== by 0x411FD97: KDevelop::UiController::loadAllAreas(KSharedPtr<KSharedConfig>) (uicontroller.cpp:519) ==17455== by 0x411A1C2: KDevelop::CorePrivate::initialize(KDevelop::Core::Setup, QString) (core.cpp:239) ==17455== by 0x411A6EA: KDevelop::Core::initialize(KSplashScreen*, KDevelop::Core::Setup, QString const&) (core.cpp:290) ==17455== by 0x40A2A7: main (main.cpp:358) ==17455== Uninitialised value was created by a heap allocation ==17455== at 0x4C2993D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==17455== by 0x4C29AC7: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==17455== by 0x8166BF5: QTextEngine::LayoutData::reallocate(int) (in /usr/lib/libQtGui.so.4.8.0) ==17455== by 0x816D77B: QTextEngine::attributes() const (in /usr/lib/libQtGui.so.4.8.0) ==17455== by 0x817B70F: QTextLine::cursorToX(int*, QTextLine::Edge) const (in /usr/lib/libQtGui.so.4.8.0) ==17455== by 0x1E4A8733: QTextLine::cursorToX(int, QTextLine::Edge) const (qtextlayout.h:230) ==17455== by 0x1E4A80A1: KateRenderer::layoutLine(KSharedPtr<KateLineLayout>, int, bool) const (katerenderer.cpp:906) ==17455== by 0x1E4AD4B8: KateLayoutCache::line(int, int) (katelayoutcache.cpp:318) ==17455== by 0x1E4AD877: KateLayoutCache::viewLine(KTextEditor::Cursor const&) (katelayoutcache.cpp:389) ==17455== by 0x1E50ACCE: KateViewInternal::viewLineOffset(KTextEditor::Cursor const&, int, bool) (kateviewinternal.cpp:1291) ==17455== by 0x1E507C70: KateViewInternal::makeVisible(KTextEditor::Cursor const&, int, bool, bool, bool) (kateviewinternal.cpp:616) ==17455== by 0x1E50DFF1: KateViewInternal::updateCursor(KTextEditor::Cursor const&, bool, bool, bool) (kateviewinternal.cpp:1848) ==17455== by 0x1E4FC384: KateView::setCursorPositionInternal(KTextEditor::Cursor const&, unsigned int, bool) (kateview.cpp:1162) ==17455== by 0x1E5006FF: KateView::setCursorPosition(KTextEditor::Cursor) (kateview.cpp:2179) ==17455== by 0x4139A6F: KDevelop::TextView::setState(QString const&) (textdocument.cpp:609) ==17455== by 0x40F37E9: KDevelop::WorkingSet::loadToArea(Sublime::Area*, Sublime::AreaIndex*, KConfigGroup, KConfigGroup) (workingset.cpp:280) ==17455== by 0x40F2A6B: KDevelop::WorkingSet::loadToArea(Sublime::Area*, Sublime::AreaIndex*, bool) (workingset.cpp:201) ==17455== by 0x40ED89A: KDevelop::WorkingSetController::changedWorkingSet(Sublime::Area*, QString const&, QString const&) (workingsetcontroller.cpp:306) ==17455== by 0x40EDCF8: KDevelop::WorkingSetController::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (workingsetcontroller.moc:84) ==17455== by 0x77E8F50: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/libQtCore.so.4.8.0) ==17455== by 0x6117216: Sublime::Area::changedWorkingSet(Sublime::Area*, QString, QString) (area.moc:185) ==17455== by 0x61164CC: Sublime::Area::setWorkingSet(QString) (area.cpp:417) ==17455== by 0x6115ED2: Sublime::Area::load(KConfigGroup const&) (area.cpp:349) ==17455== by 0x411F255: KDevelop::UiController::loadArea(Sublime::Area*, KConfigGroup const&) (uicontroller.cpp:427) ==17455== by 0x411FD97: KDevelop::UiController::loadAllAreas(KSharedPtr<KSharedConfig>) (uicontroller.cpp:519) ==17455== ==17455== Conditional jump or move depends on uninitialised value(s) ==17455== at 0x1E4A810E: KateRenderer::layoutLine(KSharedPtr<KateLineLayout>, int, bool) const (katerenderer.cpp:910) ==17455== by 0x1E4AD4B8: KateLayoutCache::line(int, int) (katelayoutcache.cpp:318) ==17455== by 0x1E50AFE1: KateViewInternal::viewLineOffset(KTextEditor::Cursor const&, int, bool) (kateviewinternal.cpp:1327) ==17455== by 0x1E507C70: KateViewInternal::makeVisible(KTextEditor::Cursor const&, int, bool, bool, bool) (kateviewinternal.cpp:616) ==17455== by 0x1E50DFF1: KateViewInternal::updateCursor(KTextEditor::Cursor const&, bool, bool, bool) (kateviewinternal.cpp:1848) ==17455== by 0x1E4FC384: KateView::setCursorPositionInternal(KTextEditor::Cursor const&, unsigned int, bool) (kateview.cpp:1162) ==17455== by 0x1E5006FF: KateView::setCursorPosition(KTextEditor::Cursor) (kateview.cpp:2179) ==17455== by 0x4139A6F: KDevelop::TextView::setState(QString const&) (textdocument.cpp:609) ==17455== by 0x40F37E9: KDevelop::WorkingSet::loadToArea(Sublime::Area*, Sublime::AreaIndex*, KConfigGroup, KConfigGroup) (workingset.cpp:280) ==17455== by 0x40F2A6B: KDevelop::WorkingSet::loadToArea(Sublime::Area*, Sublime::AreaIndex*, bool) (workingset.cpp:201) ==17455== by 0x40ED89A: KDevelop::WorkingSetController::changedWorkingSet(Sublime::Area*, QString const&, QString const&) (workingsetcontroller.cpp:306) ==17455== by 0x40EDCF8: KDevelop::WorkingSetController::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (workingsetcontroller.moc:84) ==17455== by 0x77E8F50: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/libQtCore.so.4.8.0) ==17455== by 0x6117216: Sublime::Area::changedWorkingSet(Sublime::Area*, QString, QString) (area.moc:185) ==17455== by 0x61164CC: Sublime::Area::setWorkingSet(QString) (area.cpp:417) ==17455== by 0x6115ED2: Sublime::Area::load(KConfigGroup const&) (area.cpp:349) ==17455== by 0x411F255: KDevelop::UiController::loadArea(Sublime::Area*, KConfigGroup const&) (uicontroller.cpp:427) ==17455== by 0x411FD97: KDevelop::UiController::loadAllAreas(KSharedPtr<KSharedConfig>) (uicontroller.cpp:519) ==17455== by 0x411A1C2: KDevelop::CorePrivate::initialize(KDevelop::Core::Setup, QString) (core.cpp:239) ==17455== by 0x411A6EA: KDevelop::Core::initialize(KSplashScreen*, KDevelop::Core::Setup, QString const&) (core.cpp:290) ==17455== by 0x40A2A7: main (main.cpp:358) ==17455== Uninitialised value was created by a heap allocation ==17455== at 0x4C2993D: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==17455== by 0x4C29AC7: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==17455== by 0x8166BF5: QTextEngine::LayoutData::reallocate(int) (in /usr/lib/libQtGui.so.4.8.0) ==17455== by 0x816D77B: QTextEngine::attributes() const (in /usr/lib/libQtGui.so.4.8.0) ==17455== by 0x817B70F: QTextLine::cursorToX(int*, QTextLine::Edge) const (in /usr/lib/libQtGui.so.4.8.0) ==17455== by 0x1E4A8733: QTextLine::cursorToX(int, QTextLine::Edge) const (qtextlayout.h:230) ==17455== by 0x1E4A80A1: KateRenderer::layoutLine(KSharedPtr<KateLineLayout>, int, bool) const (katerenderer.cpp:906) ==17455== by 0x1E4AD4B8: KateLayoutCache::line(int, int) (katelayoutcache.cpp:318) ==17455== by 0x1E50AFE1: KateViewInternal::viewLineOffset(KTextEditor::Cursor const&, int, bool) (kateviewinternal.cpp:1327) ==17455== by 0x1E507C70: KateViewInternal::makeVisible(KTextEditor::Cursor const&, int, bool, bool, bool) (kateviewinternal.cpp:616) ==17455== by 0x1E50DFF1: KateViewInternal::updateCursor(KTextEditor::Cursor const&, bool, bool, bool) (kateviewinternal.cpp:1848) ==17455== by 0x1E4FC384: KateView::setCursorPositionInternal(KTextEditor::Cursor const&, unsigned int, bool) (kateview.cpp:1162) ==17455== by 0x1E5006FF: KateView::setCursorPosition(KTextEditor::Cursor) (kateview.cpp:2179) ==17455== by 0x4139A6F: KDevelop::TextView::setState(QString const&) (textdocument.cpp:609) ==17455== by 0x40F37E9: KDevelop::WorkingSet::loadToArea(Sublime::Area*, Sublime::AreaIndex*, KConfigGroup, KConfigGroup) (workingset.cpp:280) ==17455== by 0x40F2A6B: KDevelop::WorkingSet::loadToArea(Sublime::Area*, Sublime::AreaIndex*, bool) (workingset.cpp:201) ==17455== by 0x40ED89A: KDevelop::WorkingSetController::changedWorkingSet(Sublime::Area*, QString const&, QString const&) (workingsetcontroller.cpp:306) ==17455== by 0x40EDCF8: KDevelop::WorkingSetController::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (workingsetcontroller.moc:84) ==17455== by 0x77E8F50: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/libQtCore.so.4.8.0) ==17455== by 0x6117216: Sublime::Area::changedWorkingSet(Sublime::Area*, QString, QString) (area.moc:185) ==17455== by 0x61164CC: Sublime::Area::setWorkingSet(QString) (area.cpp:417) ==17455== by 0x6115ED2: Sublime::Area::load(KConfigGroup const&) (area.cpp:349) ==17455== by 0x411F255: KDevelop::UiController::loadArea(Sublime::Area*, KConfigGroup const&) (uicontroller.cpp:427) ==17455== by 0x411FD97: KDevelop::UiController::loadAllAreas(KSharedPtr<KSharedConfig>) (uicontroller.cpp:519) ==17455== by 0x411A1C2: KDevelop::CorePrivate::initialize(KDevelop::Core::Setup, QString) (core.cpp:239) ==17455== The crash can be reproduced every time. -- Backtrace: Application: KDevelop (kdevelop), signal: Segmentation fault Using host libthread_db library "/lib/libthread_db.so.1". [Current thread is 1 (Thread 0x7f3a94b29780 (LWP 18055))] Thread 7 (Thread 0x7f3a8e3bb700 (LWP 18056)): #0 0x00007f3aa3455f3e in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f3aa36e31df in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f3aa03148a8 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1a2d870) at /home/milian/projects/kde4/kdevplatform/language/duchain/duchain.cpp:282 #3 0x00007f3aa36e2d6b in ?? () from /usr/lib/libQtCore.so.4 #4 0x00007f3aa3451e7a in start_thread () from /lib/libpthread.so.0 #5 0x00007f3aa1891b7d in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 6 (Thread 0x7f3a82940700 (LWP 18057)): #0 0x00007f3aa1889883 in poll () from /lib/libc.so.6 #1 0x00007f3a9cdc4d58 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f3a9cdc5219 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f3aa380f0ff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0x00007f3aa37dee92 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x00007f3aa37df0e7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007f3aa36dfd47 in QThread::exec() () from /usr/lib/libQtCore.so.4 #7 0x00007f3aa04394a9 in KDevelop::CompletionWorkerThread::run (this=0x2306240) at /home/milian/projects/kde4/kdevplatform/language/codecompletion/codecompletionmodel.cpp:84 #8 0x00007f3aa36e2d6b in ?? () from /usr/lib/libQtCore.so.4 #9 0x00007f3aa3451e7a in start_thread () from /lib/libpthread.so.0 #10 0x00007f3aa1891b7d in clone () from /lib/libc.so.6 #11 0x0000000000000000 in ?? () Thread 5 (Thread 0x7f3a81e54700 (LWP 18058)): #0 0x00007f3aa188b953 in select () from /lib/libc.so.6 #1 0x00007f3aa37bd181 in ?? () from /usr/lib/libQtCore.so.4 #2 0x00007f3aa36e2d6b in ?? () from /usr/lib/libQtCore.so.4 #3 0x00007f3aa3451e7a in start_thread () from /lib/libpthread.so.0 #4 0x00007f3aa1891b7d in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 4 (Thread 0x7f3a7b9b5700 (LWP 18060)): #0 0x00007f3aa1889883 in poll () from /lib/libc.so.6 #1 0x00007f3a9cdc4d58 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f3a9cdc5219 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f3aa380f0ff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0x00007f3aa37dee92 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x00007f3aa37df0e7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007f3aa36dfd47 in QThread::exec() () from /usr/lib/libQtCore.so.4 #7 0x00007f3aa04394a9 in KDevelop::CompletionWorkerThread::run (this=0x2516a40) at /home/milian/projects/kde4/kdevplatform/language/codecompletion/codecompletionmodel.cpp:84 #8 0x00007f3aa36e2d6b in ?? () from /usr/lib/libQtCore.so.4 #9 0x00007f3aa3451e7a in start_thread () from /lib/libpthread.so.0 #10 0x00007f3aa1891b7d in clone () from /lib/libc.so.6 #11 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f3a7b1b4700 (LWP 18061)): #0 0x00007f3aa1889883 in poll () from /lib/libc.so.6 #1 0x00007f3a9cdc4d58 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f3a9cdc5219 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f3aa380f0ff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0x00007f3aa37dee92 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x00007f3aa37df0e7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007f3aa36dfd47 in QThread::exec() () from /usr/lib/libQtCore.so.4 #7 0x00007f3aa04394a9 in KDevelop::CompletionWorkerThread::run (this=0x24797f0) at /home/milian/projects/kde4/kdevplatform/language/codecompletion/codecompletionmodel.cpp:84 #8 0x00007f3aa36e2d6b in ?? () from /usr/lib/libQtCore.so.4 #9 0x00007f3aa3451e7a in start_thread () from /lib/libpthread.so.0 #10 0x00007f3aa1891b7d in clone () from /lib/libc.so.6 #11 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f3a7a9b3700 (LWP 18066)): #0 0x00007f3aa3455bc4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f3aa0a1fbd2 in ?? () from /usr/lib/libQtScript.so.4 #2 0x00007f3aa0a1fc09 in ?? () from /usr/lib/libQtScript.so.4 #3 0x00007f3aa3451e7a in start_thread () from /lib/libpthread.so.0 #4 0x00007f3aa1891b7d in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f3a94b29780 (LWP 18055)): [KCrash Handler] #6 0x00007f3aa2bb7db8 in QTextLine::cursorToX(int*, QTextLine::Edge) const () from /usr/lib/libQtGui.so.4 #7 0x00007f3a8eff9734 in QTextLine::cursorToX (this=0x7fffa04e7ab0, cursorPos=6, edge=QTextLine::Leading) at /usr/include/QtGui/qtextlayout.h:230 #8 0x00007f3a8eff90a2 in KateRenderer::layoutLine (this=0x4fd2cb0, lineLayout=..., maxwidth=0, cacheLayout=false) at /home/milian/projects/kde4/kate/part/render/katerenderer.cpp:906 #9 0x00007f3a8effe4b9 in KateLayoutCache::line (this=0x4fd37c0, realLine=5006, virtualLine=-1) at /home/milian/projects/kde4/kate/part/render/katelayoutcache.cpp:318 #10 0x00007f3a8effe878 in KateLayoutCache::viewLine (this=0x4fd37c0, realCursor=...) at /home/milian/projects/kde4/kate/part/render/katelayoutcache.cpp:389 #11 0x00007f3a8f05bccf in KateViewInternal::viewLineOffset (this=0x4fd2ef0, virtualCursor=..., offset=-1, keepX=false) at /home/milian/projects/kde4/kate/part/view/kateviewinternal.cpp:1291 #12 0x00007f3a8f058c71 in KateViewInternal::makeVisible (this=0x4fd2ef0, c=..., endCol=7, force=false, center=true, calledExternally=true) at /home/milian/projects/kde4/kate/part/view/kateviewinternal.cpp:616 #13 0x00007f3a8f05eff2 in KateViewInternal::updateCursor (this=0x4fd2ef0, newCursor=..., force=false, center=true, calledExternally=true) at /home/milian/projects/kde4/kate/part/view/kateviewinternal.cpp:1848 #14 0x00007f3a8f04d385 in KateView::setCursorPositionInternal (this=0x4fd2520, position=..., tabwidth=1, calledExternally=true) at /home/milian/projects/kde4/kate/part/view/kateview.cpp:1162 #15 0x00007f3a8f051700 in KateView::setCursorPosition (this=0x4fd2520, position=...) at /home/milian/projects/kde4/kate/part/view/kateview.cpp:2179 #16 0x00007f3aa645da70 in KDevelop::TextView::setState (this=0x4ecd470, state=...) at /home/milian/projects/kde4/kdevplatform/shell/textdocument.cpp:609 #17 0x00007f3aa64177ea in KDevelop::WorkingSet::loadToArea (this=0x1a5ed90, area=0x76c950, areaIndex=0x766e40, setGroup=<incomplete type>, areaGroup=<incomplete type>) at /home/milian/projects/kde4/kdevplatform/shell/workingsets/workingset.cpp:280 #18 0x00007f3aa6416a6c in KDevelop::WorkingSet::loadToArea (this=0x1a5ed90, area=0x76c950, areaIndex=0x766e40, clear=false) at /home/milian/projects/kde4/kdevplatform/shell/workingsets/workingset.cpp:201 #19 0x00007f3aa641189b in KDevelop::WorkingSetController::changedWorkingSet (this=0x6ec0a0, area=0x76c950, from=..., to=...) at /home/milian/projects/kde4/kdevplatform/shell/workingsetcontroller.cpp:306 #20 0x00007f3aa6411cf9 in KDevelop::WorkingSetController::qt_static_metacall (_o=0x6ec0a0, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fffa04e8c40) at /home/milian/projects/.build/kde4/kdevplatform/shell/workingsetcontroller.moc:84 #21 0x00007f3aa37f3f51 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #22 0x00007f3aa5058217 in Sublime::Area::changedWorkingSet (this=0x76c950, _t1=0x76c950, _t2=..., _t3=...) at /home/milian/projects/.build/kde4/kdevplatform/sublime/area.moc:185 #23 0x00007f3aa50574cd in Sublime::Area::setWorkingSet (this=0x76c950, name=...) at /home/milian/projects/kde4/kdevplatform/sublime/area.cpp:417 #24 0x00007f3aa5056ed3 in Sublime::Area::load (this=0x76c950, group=...) at /home/milian/projects/kde4/kdevplatform/sublime/area.cpp:349 #25 0x00007f3aa6443256 in KDevelop::UiController::loadArea (this=0x706ea0, area=0x76c950, group=...) at /home/milian/projects/kde4/kdevplatform/shell/uicontroller.cpp:427 #26 0x00007f3aa6443d98 in KDevelop::UiController::loadAllAreas (this=0x706ea0, config=...) at /home/milian/projects/kde4/kdevplatform/shell/uicontroller.cpp:519 #27 0x00007f3aa643e1c3 in KDevelop::CorePrivate::initialize (this=0x6c2100, mode=KDevelop::Core::Default, session=...) at /home/milian/projects/kde4/kdevplatform/shell/core.cpp:239 #28 0x00007f3aa643e6eb in KDevelop::Core::initialize (splash=0x6de2f0, mode=KDevelop::Core::Default, session=...) at /home/milian/projects/kde4/kdevplatform/shell/core.cpp:290 #29 0x000000000040a2a8 in main (argc=3, argv=0x7fffa04eb598) at /home/milian/projects/kde4/kdevelop/app/main.cpp:358 Reported using DrKonqi
potentially a qt bug but I'll have to investigate
in my case maxwidth = 0 (probably the view is not yet shown) and hence .setLineWidth is never called. this seems to be required before calling cursorToX... I can fix the crash for me by checking line.width() != 0 before calling cursorToX. can I push this to kate as a workaround?
Yes, if that works around the problem atm, that is ok.
Push to 4.8 branch, too, please.
I have this exact same bug. kate --version Qt: 4.8.0 KDE Development Platform: 4.8.00 (4.8.0 Kate: 3.8.0 Thread 1 (Thread 0x7f355bac1780 (LWP 8190)): [KCrash Handler] #6 0x00007f3559abedd8 in QTextLine::cursorToX(int*, QTextLine::Edge) const () from /usr/lib/libQtGui.so.4 Any resolution for this bug ?
Git commit ee4ffa58cea5798b62c61825c338865cbba82ed8 by Milian Wolff. Committed on 06/02/2012 at 21:58. Pushed by mwolff into branch 'master'. fix crash in QTextLine::cursorToX seems like the above must not be called in Qt 4.8 when the line width is set to zero M +1 -1 part/render/katerenderer.cpp http://commits.kde.org/kate/ee4ffa58cea5798b62c61825c338865cbba82ed8
Git commit cb37d1b2daa09bfa811ffc3962306141f06cb6d1 by Milian Wolff. Committed on 06/02/2012 at 21:58. Pushed by mwolff into branch 'KDE/4.8'. backport from master to 4.8: fix crash in QTextLine::cursorToX seems like the above must not be called in Qt 4.8 when the line width is set to zero M +1 -1 part/render/katerenderer.cpp http://commits.kde.org/kate/cb37d1b2daa09bfa811ffc3962306141f06cb6d1
*** Bug 288583 has been marked as a duplicate of this bug. ***
*** Bug 295227 has been marked as a duplicate of this bug. ***
*** Bug 295356 has been marked as a duplicate of this bug. ***
*** Bug 300432 has been marked as a duplicate of this bug. ***