Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-31623

Divide by Zero in TextEditor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • Qt Creator 14.0.2
    • Qt Creator 14.0.1
    • Editors
    • None
    • Windows
    • 88edec1bf (14.0)

      I can't load the project anymore. Took dumps (attached) and they indicate crash here with Integer Divide by Zero:

      TextEditor.dll!TextEditor::Internal::TextEditorWidgetPrivate::updateLineAnnotation(const TextEditor::Internal::PaintEventData & data, const TextEditor::Internal::PaintEventBlockData & blockData, QPainter & painter) Line 5163
          at C:\Users\qt\work\build\qt-creator\src\plugins\texteditor\texteditor.cpp(5163)

      Disabling clangd did not help, not wiping the build directory.

      Creating a new session and loading that worked.

       

      Seems I have accidentally zoomed out to 10% or less zoom as my wheel was scrolling. 

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            davschul David Schulz
            mackeyar Marcus Sonestedt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes